Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use new vdsm-test container #366

Merged
merged 6 commits into from
Feb 21, 2023

Conversation

aesteve-rh
Copy link
Member

Update the cis workflow to use the new vdsm-test
container at quay.io/ovirt/vdsm-test:.

Modify the test scripts to activate the venv
before running the tests, otherwise the tests
will have missing dependencies that are only
installed in the venv in the new containers.

Signed-off-by: Albert Esteve aesteve@redhat.com

ci/lint.sh Outdated Show resolved Hide resolved
tinez
tinez previously approved these changes Feb 21, 2023
Update the cis workflow to use the new vdsm-test
container at quay.io/ovirt/vdsm-test:<distro>.

Modify the test scripts to activate the venv
before running the tests, otherwise the tests
will have missing dependencies that are only
installed in the venv in the new containers.

Signed-off-by: Albert Esteve <aesteve@redhat.com>
Add alma-9 to the matrix of tested distros
for vdsm-test repository.

Signed-off-by: Albert Esteve <aesteve@redhat.com>
Add -- to separate arguments from the tox command
for the pylint target. Otherwise it fails with
unrecognized arguments.

Signed-off-by: Albert Esteve <aesteve@redhat.com>
On CentOS Stream 9, debuginfo packages now include the
minor version in the name, so has_py_gdb_support
logic needed some rework to support this. Otherwise,
it fails to find the gdb support package and fails
the test_timeout_backtrace.

Signed-off-by: Marcin Sobczyk <msobczyk@redhat.com>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
@aesteve-rh aesteve-rh force-pushed the aesteve/cis-use-new-container branch 9 times, most recently from 3817744 to 6bf7314 Compare February 21, 2023 13:06
ci/lint.sh Outdated Show resolved Hide resolved
Lint and test jobs are failing with
  git config --global --add safe.directory /__w/vdsm/vdsm
  fatal: detected dubious ownership in repository at '/__w/vdsm/vdsm'
  To add an exception for this directory, call:

As suggested in [1], add current directory to the git safe
list to avoid the issue.

[1] actions/runner-images#6775

Signed-off-by: Albert Esteve <aesteve@redhat.com>
Avoid inheriting from testenv for the reuse
environment in tox.

Testenv uses sitepackages for Python which is
interfering somehow with the setup for reuse,
which fails to recognize the current working
directory as a VCS repository and fails with:

reuse.project - WARNING - could not find supported VCS

Signed-off-by: Albert Esteve <aesteve@redhat.com>
@aesteve-rh aesteve-rh merged commit d1e6ce5 into oVirt:master Feb 21, 2023
@aesteve-rh aesteve-rh deleted the aesteve/cis-use-new-container branch February 21, 2023 13:35
@aesteve-rh aesteve-rh mentioned this pull request Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants