Commit graph

252 commits

Author SHA1 Message Date
Pedro Algarvio
a420d94431
Merge 3006.x into master 2023-11-26 16:10:40 +00:00
Pedro Algarvio
effd3da06f Removed all remaining invoke support
Fixes #64374

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-23 08:44:35 +00:00
Pedro Algarvio
486b67f320 Rerun test failures in package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-21 12:20:45 +00:00
Pedro Algarvio
830daeee97
Merge 3006.x into master 2023-10-19 20:00:40 +01:00
Pedro Algarvio
eba7a074df Also fix broken shebangs
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-16 15:48:39 +01:00
MKLeb
2bc691598d We need to install pyzmq, not zeromq when running the package tests 2023-10-16 15:12:16 +01:00
Pedro Algarvio
144b1314d8
Merge 3006.x into master 2023-10-07 08:43:20 +01:00
Pedro Algarvio
efe18b6f12 The XML coverage reports need to be created for Salt and Tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-07 08:37:06 +01:00
Pedro Algarvio
5242d44474 Reduce code duplication and some code coverage reporting improvements
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-07 08:37:06 +01:00
Pedro Algarvio
8e07f20ef0
Merge 3006.x into master 2023-10-04 21:25:32 +01:00
Pedro Algarvio
ef30291e53 Fix code coverage collection/reporting. Create Salt specific coverage report.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-04 20:54:42 +01:00
Pedro Algarvio
18defa2f5d Increase splits for faster test results turnaround.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-04 20:54:42 +01:00
Pedro Algarvio
cb287ef190 Go back to coverage==5.5
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-04 20:54:42 +01:00
Pedro Algarvio
a6b3b79923 Also check for SALT_TRANSPORT in ci_test_onedir
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-01 03:49:21 +01:00
Pedro Algarvio
872293bbb0 Bump lowest coverage version to 6.2
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-30 18:36:40 +01:00
Pedro Algarvio
4b02270161 Create the XML coverage reports using the onedir
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-30 18:36:40 +01:00
Pedro Algarvio
2702705043
Merge 3006.x into master 2023-09-29 18:15:30 +01:00
Pedro Algarvio
309829e5e3 Set and make use of the TOOLS_DISTRO_SLUG environment variable in CI
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
8c243a64de Downgrade importlib-metadata from the workflow, not nox.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
b2633987ef Just install the dependencies directly
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
dae70dab94 Fix workaround in order not to break nox
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
d53eff39fd On VMs, use Salt's onedir to combine code coverage
And newer Python versions where we don't want to download the onedir

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
7f2d7c342f Upgrade to coverage==7.3.1
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
c6bc5720e9 Allow handling windows artifacts when not on windows, and vice-versa
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
88073e1331 Reduce the number of cached artifacts in a CI run
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
ac7db60b86 Reuse the onedir CI virtualenvs
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Megan Wilhite
4608a470b0 Migrate the package tests to use the main test dependencies 2023-09-29 16:12:59 +01:00
Pedro Algarvio
8dc6f1c8f5
Merge 3006.x into master 2023-09-26 21:44:35 +01:00
Pedro Algarvio
e8115ec126 Fix onedir code coverage collection and reporting
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-26 20:57:49 +01:00
Pedro Algarvio
29a57d2d32 Generate the XML code coverage reports before trying to use them
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-26 20:57:49 +01:00
Pedro Algarvio
2430a0eeb3 Don't erase collected coverage data on test failure re-runs
Fixes #65214

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-26 20:57:49 +01:00
Pedro Algarvio
b85da8d8b0
Merge 3006.x into master 2023-09-26 07:01:03 +01:00
Pedro Algarvio
99b9246760 Add missing space
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 17:26:12 +01:00
Pedro Algarvio
f389c29473
Merge 3006.x into master
Conflicts:
 * requirements/darwin.txt
 * requirements/pytest.txt
 * requirements/static/ci/common.in
 * requirements/static/ci/darwin.in
 * requirements/static/ci/freebsd.in
 * requirements/static/ci/linux.in
 * requirements/static/ci/py3.10/cloud.txt
 * requirements/static/ci/py3.10/darwin.txt
 * requirements/static/ci/py3.10/freebsd.txt
 * requirements/static/ci/py3.10/lint.txt
 * requirements/static/ci/py3.10/linux.txt
 * requirements/static/ci/py3.10/windows.txt
 * requirements/static/ci/py3.11/windows.txt
 * requirements/static/ci/py3.7/cloud.txt
 * requirements/static/ci/py3.7/freebsd.txt
 * requirements/static/ci/py3.7/lint.txt
 * requirements/static/ci/py3.7/linux.txt
 * requirements/static/ci/py3.8/cloud.txt
 * requirements/static/ci/py3.8/freebsd.txt
 * requirements/static/ci/py3.8/lint.txt
 * requirements/static/ci/py3.8/linux.txt
 * requirements/static/ci/py3.8/windows.txt
 * requirements/static/ci/py3.9/cloud.txt
 * requirements/static/ci/py3.9/darwin.txt
 * requirements/static/ci/py3.9/freebsd.txt
 * requirements/static/ci/py3.9/lint.txt
 * requirements/static/ci/py3.9/linux.txt
 * requirements/static/ci/py3.9/windows.txt
 * requirements/static/pkg/freebsd.in
 * requirements/static/pkg/linux.in
 * requirements/static/pkg/py3.10/darwin.txt
 * requirements/static/pkg/py3.10/windows.txt
 * requirements/static/pkg/py3.11/windows.txt
 * requirements/static/pkg/py3.8/windows.txt
 * requirements/static/pkg/py3.9/darwin.txt
 * requirements/static/pkg/py3.9/windows.txt
 * requirements/windows.txt
2023-09-13 16:09:29 +01:00
MKLeb
ad93c28386 Finally fix the debian downgrade tests, and hopefully fix the 3006.1 upgrades 2023-09-11 21:41:05 +01:00
MKLeb
abb8011fd4 Some more fixes for the debian downgrades, we are now using a pref file to force the downgrades without knowing the exact version 2023-09-11 21:41:05 +01:00
MKLeb
d986874ab0 Initial attempt at downgrades on RPMS and DEBS 2023-09-11 21:41:05 +01:00
MKLeb
7e9dc8ca63 Start initial flow for downgrade tests 2023-09-11 21:41:05 +01:00
MKLeb
bee29be6dd
Merge remote-tracking branch 'upstream/3006.x' into mf/master/3006.x 2023-09-08 16:25:39 -04:00
Pedro Algarvio
5ed925ea5e Use the VM slug as the code coverage default context
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-31 17:32:01 +00:00
Pedro Algarvio
142a6cb9e2 Add nox session to generate code coverage HTML reports
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-31 17:32:01 +00:00
Megan Wilhite
82ef23a65e Add html coverage and combine coverage reports 2023-08-31 17:32:01 +00:00
Megan Wilhite
bf6ab537f7 Revert coverage update 2023-08-04 16:29:46 +01:00
Megan Wilhite
3e413bd82e update coverage 2023-08-04 16:29:46 +01:00
Pedro Algarvio
464c4e5eb2 Use a different pytest.ini file for the package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-17 13:39:37 +01:00
Pedro Algarvio
5c88202087 Use a different pytest.ini file for the package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-16 07:32:35 +01:00
Pedro Algarvio
a413f068c8 No need to include the linux dependencies in lint dependencies now.
Given we now properly constraint requirements files

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
180ece842c No need to include the base and zeromq dependencies in docs dependencies now.
Given we now properly constraint requirements files

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
bef7a6ab2e No need to include the linux dependencies in cloud dependencies now.
Given we now properly constraint requirements files

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
d3b82ebdcc Update supported versions in noxfile.py
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-06 11:13:17 +01:00