Merge ~smoser/curtin:feature/add-xenial-tox-env into curtin:master
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | e4427f78bd94938ac0d73c401b60cbe8e4e131b0 |
Merge reported by: | Scott Moser |
Merged at revision: | f98eb1bf6ee15a8a4abee7cefa0768f058cac7e9 |
Proposed branch: | ~smoser/curtin:feature/add-xenial-tox-env |
Merge into: | curtin:master |
Diff against target: |
46 lines (+27/-1) 1 file modified
tox.ini (+27/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Chad Smith | Approve | ||
Review via email: mp+345947@code.launchpad.net |
Commit message
tox: add a xenial environments, default envlist changes.
A previous commit used mock.assert_called, which is not
present in xenial versions of mock so build would fail on xenial.
Due to bugs that are present in the trusty versions of mock it would
pass there.
So we add a tox environment 'xenial-py3' and add that to the
default set of environments that are run with a 'tox' invocation.
Other changes to the envlist here:
a.) make it multiple lines for easier future diffing.
b.) run py3-flake8 first, it runs quickly and gives good feedback.
c.) drop trusty-check which was running trusty pyflakes. We do not
run pyflakes in package build any more.
d.) replace trusty-py3 with xenial-py3. Just to save time in default 'tox'
run we only run one "old" python3 unit tests.
Description of the change
see commit message
FAILED: Continuous integration, rev:6fbc2910703 f7907b4e7a6bdce 990f6e1505bba3 /jenkins. ubuntu. com/server/ job/curtin- ci/942/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-amd64/ 942/console /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 942/console /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 942/console /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 942/console
https:/
Executed test runs:
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/942/ rebuild
https:/