Commit Graph

118 Commits

Author SHA1 Message Date
Alexandre Poumaroux
5d699b9ebf Commercial fixes, CI tests, more tests, coverage (#883)
* Add authentication flags for list-qt-commercial, add tests for coverage

* Add dry run

* Make tests really use auth since secrets have been added, fix some indents

* Fix auth issue, rename user 'email, and password 'pw'

* Fix modules param type

* Update commands names
2025-02-22 09:56:56 +09:00
Alexandre Poumaroux
a09b5cee28 Fix WASM (#846)
* Rewrite WASM support

* Add WASM tests to CI, update CI to test more the latest versions, add auto EMSDK version detection function

* Fix some mistakes, typos, moved emsdk version function into BuildJob

* Fix issue related to extensions interfering with wasm on 6.8+

* Fix tests

* Remove dep on Version in CI

* Remove safety before patch

* handle cases where extensions don't exist.

for example with windows desktop 6.8.1 win64_msvc2022_arm64_cross_compiled
both qtwebengine and qtpdf don't exist.

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* for --long-modules assume extension doesn't exist on download error.

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* for --modules assume extension doesn't exist for download failures.

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* reformat with black

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* fix flake8 regression that doesn't occur locally.

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* Fix autodesktop by also updating the OS when searching for a valid desktop version to download

* Fix extension issue, reduce the possible retry for getting extensions to prevent server spam

* Fix CI asking for msvc2019 on 6.8+ but its no longer supported

* Make CI use C++20 and MSVC2022

* Fix linux build

* Update runners to windows-2022

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* Fix patching

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* Add back the semantic version changes to prevent crashes, add tests for it

* Update checks

* Cast 'https://mirrors.ustc.edu.cn' to the shadow realm

* Again

* Update settings.ini

* Update settings.ini

* Update settings.ini

* Remove one_rep on silent

* Update settings.ini

* Restore master settings, remove hash check

* ci: Use specific mirror

Attempt to work around download errors in Azure due to Qt's official download site often redirecting to mirrors to which the network connection is unstable

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* Re enable hash checking

* Treat read timeout error during download as connection error

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* Add test for modules in WASM with autodesktop

* Fix format

* Fix test

* Make '--autodesktop' trigger its own install process, and test it

* Fix older autodesktop tests

* Add mock update files for 680 wasm, add test for wasm 680 autodesktop

* Passes the additional tests

* Fix format

* Improve coverage, fix format

* Fix tests and improve logging or install

* Fix format

* Fix regression in other tests

* Use flavor

* Fix line len

* Fix codeql

* Fix list-qt for WASM arch on 6.5.x and 6.6.x, restore to original download URL

* Fix test error

* Revert ci settings URL as it is never used by clients, only in CI

* Add comment for clarity in ci/settings.ini

---------

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
Co-authored-by: tsteven4 <13596209+tsteven4@users.noreply.github.com>
Co-authored-by: J.D. Purcell <jdpurcell@gmail.com>
2025-01-06 15:35:40 +09:00
Dave Dalcino
20f8b7b3b8 attempt fix for installation of llvm mingw 2024-10-06 14:03:20 -07:00
Hiroshi Miura
bdf8b4b1f9 chore(ci): bump target qt versions: 6.5.x, 6.6.x, 6.7.x and 6.8.0 (#822)
* chore(ci): bump target qt versions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): use install-qt subcommand

- Drop backward compat check

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix qmake query checks

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix mingw targets

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add target 6.8.0 and drop use of python3.9

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add expectation for Qt 6.8

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): drop tox test from install-qt check

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix expectation for windows/android qt 6.6

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci):  wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci):  wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add taget Qt 6.7.3

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): bump actions/setup-python@v5

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: drop test target Qt5

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: update triggers

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: disable Linux_ARM64

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: replace list with list-qt

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: no build check if list-qt

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-10-06 08:40:49 +09:00
iakov
81ea66d7f6 Add UITools specific test 2023-11-25 15:52:28 +03:00
iakov
96437b3e7b Use mirror to download mingw_tools 2023-11-25 15:47:31 +03:00
Dave Dalcino
8ad9c686e3 revert arm64 arch: not a valid arch 2023-09-06 21:11:37 -07:00
Dave Dalcino
954dbfd183 Reformat steps.yml conditions for readability 2023-09-06 18:58:17 -07:00
Dave Dalcino
15f72c5c9d Add msvc arm64 azure pipelines job 2023-09-06 18:56:01 -07:00
Dave Dalcino
c467ef56bf Test list-qt for 6.5.0 wasm 2023-02-11 10:35:48 -08:00
Dave Dalcino
e3c7d14c3f Add tests for qt 6.5.0 wasm 2023-02-11 10:35:48 -08:00
iakov
bc10ba9e85 Pin EMSDK version for build where useful
Also fix test that fails at the moment
2023-02-03 12:06:03 +03:00
Dave Dalcino
13685b7b93 update azure pipeline tests 2022-11-16 16:14:55 -08:00
Dave Dalcino
7792c192a6 Use Qt6 version of example project
The directory structure of the Qt libraries has changed enough that
the Qt5 example project we are using for WASM cannot be built using
Qt6. This change adds an example project appropriate for use with
Qt6, and adds build jobs for Mac and Linux that build it too,
to prove that we can build the same code on all 3 platforms.
2022-10-10 22:57:21 -07:00
Dave Dalcino
09e0a7c1c5 fix emsdk version & qmake path 2022-10-10 22:57:21 -07:00
Dave Dalcino
42481c42e1 Allow --autodesktop to autoinstall desktop qt for qt6/wasm.
Apparently, Qt6 for wasm does not ship with qmake, so CI must install it.
This change leverages `--autodesktop` for that purpose.
2022-10-10 22:57:21 -07:00
Dave Dalcino
0aed2cb926 Add powershell script for windows wasm build 2022-10-10 22:57:21 -07:00
Dave Dalcino
5563b3e7b2 Test --autodesktop in Azure Pipelines 2022-08-20 09:04:52 -07:00
David Dalcino
ad20856738 Fix patching of Qt6.2.2-ios (#510)
* Add tests for proper patching of Qt6.2.2-ios
* Add a build target for ios installations
* Add test coverage for mobile patching on linux

This change folds in some refactoring as well, in an attempt to reduce
repetitive logic, and make sure that this logic is used everywhere appropriate.
2022-04-04 14:22:13 +09:00
David Dalcino
cdfeac22a1 Conditionally install dependencies on Ubuntu 2022-02-27 17:00:31 -08:00
David Dalcino
8a289e922c Merge remote-tracking branch 'upstream/master' into fix-archives-flag 2021-12-13 18:17:17 -08:00
David Dalcino
fbbf0cb239 no restore keys 2021-12-10 09:55:06 -08:00
David Dalcino
b72891f139 cache powershell modules
This change saves PowerShell modules used in the Azure Pipelines to a
cache, and loads them when required. This is intended to prevent random
failures when the PowerShell Gallery fails to provide the requested
modules. These failures occur at random, possibly as a result of a
backpressure mechanism.

This change will also speed up all Windows Azure Pipelines jobs, since
downloads from the PowerShell Gallery will no longer be necessary.
2021-12-10 09:45:45 -08:00
David Dalcino
7f97b96b6e Improve Azure tests for install-src/doc/example
This change updates the usage of `install-src`, `install-doc`, and
`install-example` to omit the optional `TARGET` parameter.
It also changes the usage of `--archives`, so that the archives for
the modules are not be specified.

This also adds customizable checks to each build job, so that specific
requirements can be made on an individual basis.
The three `install-src/doc/example` commands now have specific checks
that will cause the build job to fail if the requested modules and
archives have not been installed.
2021-12-05 13:41:54 -08:00
David Dalcino
31bcbe945b [CI]: Only build example if qt is installed 2021-11-23 11:47:04 -08:00
David Dalcino
c7320cb0f1 Improve CI & tests for install-src/doc/example
This updates CI and unit tests to monitor behavior of
`install-src/doc/example`, now that the `target` parameter has been
deprecated. This makes sure that the `target` parameter is optional,
and that the CLI warns the user that `target` is deprecated when a user
uses it.

[CI tests]:
This adds a test to `install-src/doc/example` Azure Pipeline jobs to
ensure that the desired files are installed, using `ls`.

This also changes some of the archives installed to `qtlottie`, which
is a particularly small file.

This also adds a build job for `install-example`.

[Unit tests]:
This adds tests for `install-src`, with and without the `target`
parameter.

It also fixes existing tests for `install-doc`, to account for
changes to the `target` parameter.
2021-11-23 11:10:06 -08:00
David Dalcino
092d4e8c02 Add tests for list-src, list-doc, list-example 2021-11-23 11:08:07 -08:00
David Dalcino
8b61f3ae66 Use windows-2019 image in CI
This commit squashes some existing commits, all related to
the Azure Pipeline CI builds.

WHAT:
1. Use `windows-2019` image in CI
2. Switch Qt download mirror to `https`
3. Replace MSVC-2017 builds: MSVC-2017 is not present in `windows-2019`
4. Fix broken mingw builds

WHY:
As you can see in a recent Azure Pipelines build, the Windows Server
2016 image is now deprecated:
https://dev.azure.com/miurahr/github/_build/results?buildId=4687&view=logs&j=c4497b2b-649a-591e-539b-0d716883e33e

The newer `vmImage: 'windows-2022'` would work too, see
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml

MINGW:
The existing mingw builds were a little bit broken because the `Path`
environment variable did not include the mingw toolchain installed with
`aqt install-tool`, so the Chocolatey mingw was being used.
This change fixes that by adding parameters to BuildJob that are
specific to each mingw toolchain and fixing the code that sets the Path
environment variable in Powershell.
2021-11-06 11:08:37 -07:00
David Dalcino
42cc21e254 Add Azure build jobs for QtIFW and QtCreator 2021-10-31 14:04:16 -07:00
David Dalcino
6d477d2028 cause Azure Pipeline to fail on install-tool error 2021-10-30 19:23:23 -07:00
David Dalcino
b67749e4fc Add tests 2021-09-17 14:48:57 -07:00
David Dalcino
8251a0628f Add azure build job that installs by spec 2021-09-07 14:47:54 -07:00
David Dalcino
6cc53b825a Don't build examples when testing list command 2021-08-01 13:59:45 -07:00
David Dalcino
0eddcabf5d Fix azure tests for new syntax 2021-08-01 11:14:02 -07:00
Hiroshi Miura
67aa6365bc CI: update azure-pipelines to new syntax
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-08-01 20:56:26 +09:00
Hiroshi Miura
8bcce0c8b5 CI: patch test case for Qt6
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-07-27 15:47:34 +09:00
Hiroshi Miura
ef2d6d8dc7 CI Azure: test Qt6.2 with module
- Bump Pscx 4.0.0-beta2

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-07-27 09:13:21 +09:00
David Dalcino
04e2acc8cb Merge branch 'master' into list-syntax-update 2021-07-23 23:15:58 -07:00
David Dalcino
1b19c3d7f2 fix usage of list-tool in Azure Pipelines 2021-07-22 13:40:18 -07:00
David Dalcino
703447474a fix usage of list-tool in Azure Pipelines 2021-07-22 13:13:43 -07:00
David Dalcino
c3d202730c Update tests to use list-qt/list-tool syntax 2021-07-22 09:47:39 -07:00
Hiroshi Miura
0c346d77c8 Merge branch 'master' into topic-tool-latest 2021-07-15 14:10:09 +09:00
Hiroshi Miura
9e44b7eed6 Update ci and document
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-07-11 11:30:40 +09:00
David Dalcino
10d4ec02d5 Add tool-long-listing to ListCommand
This change adds the ability to list all the 'tool variant names'
alongside the version and release date of the tool.

When using the `aqt list tools` feature, I often find that I need more
information than the tool provides. I often need to know the release
date and the version for each tool, and I can't get that information
without looking up the Updates.xml file. This feature enables me to skip
that part.
2021-07-09 19:05:08 -07:00
David Dalcino
705c6225e2 Add capability to list tools (#235)
* Add html scraping capability to helper.py

The function scrape_html_for_folders() reads an html file at
`https://download.qt.io/online/qtsdkrepository/<os>/<target>/` and
extracts a list of all the folders within that directory.
It separates the folders by category, so that 'tools' are not
mixed in with 'qt5' or 'qt6'.

This commit also adds a function that prints the available folders,
allowing the caller to filter the output by category.

* Add interface for accessing scrape_html_for_folders

I'm sure this isn't exactly what is needed, and that this functionality
should probably be folded into `aqt list`, but it does demonstrate that
aqt can list all the tools available at downloads.qt.io by scraping html.

This allows you to type `aqt list2 tools linux desktop`, and get a list
of all the tools on the server.
There are more options; type `aqt list2 -h` to see them all.

* Add failing tests for `aqt list`

* Add passing implementation of `aqt list`

* Remove old implementation of `aqt list`

This removes `Cli.run_list_old`, as well as any commented-out code in
installer.py that was related to the old implementation of `run_list`.

This also restores some code that was commented out erroneously.

* Fix misuse of semantic_version

In an earlier commit, I used the parameter `partial=True` for the
preview builds of Qt, since they do not include a patch number. I did
not recognize this as a misuse of semantic_version until I ran the tox
linter. `partial` is meant for 'partial specification', as in, 'this
program requires version 6.2, and the patch is unimportant`.

This change removes the `partial=True` parameter, adds a `0` for the
patch number, and uses a format string to print preview versions without
the patch.

* Use semantic version in interfaces instead of str

This updates all functions that accept a Qt version as a string, so that
they now accept a semantic version object instead. This forces the
caller to do some input validation, and moves the responsibility of
string-to-version conversions out of functions where it does not belong.

* Improve `aqt list` interface as discussed

This adds several new options to `aqt list`, and renames the ambiguous
`packages` to `modules`. New options include the ability to list
targets, extensions, and architectures for a particular (host, target,
Qt version) tuple. The goal is to provide sufficient information to the
user, such that the user can use all the other features of aqt without
having to look them up somewhere else.

* Cleanup `targets` dictionary

* Add `list architectures` feature

* Add tests for `list architectures` feature

* Add documentation for new list feature.

* Fix url bugs related to BASE_URL change

* Add stub for `list --extensions`

* Implement `list --extensions`

* Cleanup imports

* Add basic tests of `aqt list` to azure pipeline

* Fix failed merge with upstream

* Simplify string-to-version code

An earlier commit introduced `cli_2_semantic_version`, which calls
`get_semantic_version_with_dots`, which will never be called by any
other code. I think that this should really just be one function, and
splitting it in two is just needlessly complex.

* Revert dd41e653 - changes to azure-pipelines.yml

* CI: change test case for list command

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Update MANIFEST

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Fix errors reported by flake8

This commit fixes some unused imports, missing imports, and formatting
errors.

* Run isort

* Add three more build jobs to azure pipelines

This adds three more combinations of `qt version/host/target` to the
`aqt list` command tests on the azure pipelines. This is pretty far from
exhaustive, but I think it's worth it to add these: they execute
slightly different code paths than the standard `linux/desktop`
variants. I don't want to add a whole lot more than this; `aqt list` is
slower than I'd like it to be, and I don't want to waste CI time.

* Fix bug where empty extensions returns success

Prior to this commit, if you ran `aqt list` to list possible extensions,
it could print a blank line and return 0. This is because the
get_extensions_for_version function was accepting empty strings as a
valid extension, and returning a list consisting of one empty string.
This commit filters out those empty strings.

* Attempt to fix ci bug when listing android exts

Android extensions for Qt6 follow different rules than Qt5; this
attempts to account for that.

* remove invalid ArchiveId objects from tests

* Add author

* Use Python for test logic instead of bash

* Remove 'build accelbubble' step from 'list' test

This commit attempts to separate the 'build accelbubble example' test
from the 'aqt list' test.

In this case, the test for `aqt list qt5 linux android` was running the
"build accelbubble example" test in addition to the intended test. If
the "build accelbubble example" test fails, then it looks like the `aqt
list` test failed, until you look to see why it failed.

* Remove dead code

* Accept `latest` keyword instead of qt version

This commit modifies the interface of `aqt list`, so that the flags
`--modules`, `--extensions`, and `--arch` will accept either a Qt
version or the word `latest`. If the user specifies a version of Qt,
the command works as before. If the user specifies `--modules latest`,
`aqt list` will determine the latest version of Qt, given the filters
specified, and return the modules for that version.

This commit removes the flag `--latest-modules`, because that flag is no
longer necessary. The `latest` keyword serves the same function, and it
works for the `--extensions`, and `--arch` flags as well. This prevents
the need for flags such as `--latest-extensions` and `--latest-arch`,
which otherwise would have been necessary to provide this functionality
to the other list features.

* remove unused import

* Update azure pipeline to reflect `latest` feature

* WIP refactor helper methods into ListCommand

* Refactor helper methods into ListCommand

This PR adds many helper methods to helper.py that are closely related
to each other, and which are only useful to the ListCommand object. This
commit moves the majority of these into the ListCommand object, so that
they don't confuse future readers who are looking for something else.

* Fix imports after merge

* Fix unused import

* Add test and impl for list tool modules

This adds code that parses an 'Updates.xml' file for the names of tool
modules, which a user can use to install tools. This does not have any
cli-facing code yet, since the current interface does not make sense for
this purpose.

* Add CLI command to list tool variant names

This exposes `ListCommand.fetch_tool_modules` to the CLI.
Accordingly, it adds a test to the Azure Pipelines for every `aqt list`
job, and it adds documentation to docs/cli.rst.

Since this feature is meant to print values you can feed into the `aqt
tool` command, the documentation for the `aqt tool` command was changed
as well.

* Use monkeypatch for http_fetcher

This removes the http_fetcher parameter for ListCommand in favor of
monkeypatching.

* Remove dataclasses

Dataclasses were new in Python 3.7, and don't exist in the minimum
supported Python 3.6.

* black

* Fix ci test for `aqt list tools --tool`

* Add default timeout to request_http_with_failover

* fix monkeypatched http fetcher

* Fix 'aqt list tools' command on Azure Pipeline

Currently, the `tools_qt3dstudio_runtime_240` appears to be the only
tool available on all host/target combinations, so we will check that
one in Azure Pipelines.

* Move helper classes specific to ListCommand into ListCommand

* Fix use of new global Settings object

* Fix sphinx docstring syntax

* Swap `request_http_with_failover` for `getUrl`

* Add additional follow-up suggestion on error

* Fix exceptions import

* Prevent repeated 'suggested follow up' actions

This change uses exclusive branches to prevent `aqt list` from repeating
the same/similar recommended actions.

* Fix bugs related to updated getUrl error messages

* run black

* docs: add auto section link label extension

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* docs: add more list command examples

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Fix typo in docs

* remove duplicate `semantic_version`

* Add expected outputs and arch example to docs

This change adds some expected output to the documentation. For any
user who is confused about what the documentation means when it
mentions `tools` and `modules`, and is unsure which is which, this
change should help that user figure that out.

This also adds an example for listing architectures.

* Remove `logger` from `getUrl` parameter list

* helper: getLogger("aqt.helper") in helper functions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Use `pretty_print` instead of `str()` for output

* test_list.py use pretty_print instead of str

* fix Versions constructor

* black

Co-authored-by: Hiroshi Miura <miurahr@linux.com>
2021-07-06 07:58:18 +09:00
Hiroshi Miura
d7acd2bee5 bundle jom.zip for test
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-07-05 09:10:28 +09:00
Hiroshi Miura
f35edf398a Fix logging in installer sub-process when multiprocessing context with spawn method (#273)
* Simplify logging

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Update logging

- keep logging file path in Settings
- introduce installer logger

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* PEP8/Black

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: add queue handler

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: introduce logutils module

- Add QueueListenerHandler
- Add queue listener handler config
- qualname to aqt.installer

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: introduce aqt.updater logger

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: introduce aqt.main and aqt.archives logger

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* PEP8/Black

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: simplify config file

- use propergate for last output handler
- change formatter
  * console: brief
  * file: verbose
- Use multiprocessing.Queue() instead of queue.Queue()
- Remember logging config file customization in Settings
- QueueListener use handler as of getLogger("aqt").handlers

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* change log level of redirection

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: Single global LoggingQueueListener

- Global instance of LoggingQueueListener
- Drop queue_listener from logging.ini
- Generate QueueHandler from LoggingQueueLisnter.get_queue_handler
- Explicitly close QueueListenerHandler and Queue object.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: use verbose console logging for ci

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CLI: drop options to specify logger and logger configuration file

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Make Instance of LoggingQueueListener in Cli class

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Handle QueueListener in Cli.call_installer

- Use mp.Manager().Queue()
- start(), stop() in caller
- Gracefully close QueueHandler in installer

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* PEP8

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Drop berkeley.edu from fallbacks of mirror site

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Fix log format of time digits

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Update settings load

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: catch custom settings from change in master branch

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Show log when loading custom settings

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Improve subprocess logging that use root logger

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* fix logging.ini settings

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Fix against tests

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Introduce MyQueueListener

- Inherit System QueueListner to override logger name

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* PEP8/Black

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-06-21 15:25:00 +09:00
Hiroshi Miura
b30348180d CI: change URL of jom.zip downloading
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-06-20 14:46:44 +09:00
David Dalcino
533fd5a0b6 Fix #268
This prevents "number %= 60" from returning 1 and causing the job to fail.

Fixes #268
2021-06-15 20:28:25 -07:00
Hiroshi Miura
6a2d46bd71 CI: random sleep < 60s
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-06-12 10:49:08 +09:00