Skip to content

workflow,pytest: add new --error-on-skip for pytest #913

workflow,pytest: add new --error-on-skip for pytest

workflow,pytest: add new --error-on-skip for pytest #913

Triggered via push December 19, 2024 08:15
Status Failure
Total duration 3h 5m 38s
Artifacts

test.yml

on: push
Assembler test (legacy)
11m 50s
Assembler test (legacy)
Smoke run: unittest as normal user on default runner
55s
Smoke run: unittest as normal user on default runner
Matrix: Unittest
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 8 warnings
Unittest (parallel, py313)
Command failed: /usr/bin/docker run --net=host --privileged --rm --volume=/:/osb/host --volume=/home/runner/work/osbuild/osbuild:/osb/workdir --volume=/lib/modules/:/lib/modules/ --volume=/var/run/docker.sock:/var/run/docker.sock ghcr.io/osbuild/osbuild-ci:latest-202411221033 /bin/bash -o errexit -c # Hacky replacement of container storage driver: # The default overlayfs doesn't work in the runner, so let's change # it to vfs for the local storage skopeo stage test. sed -i 's/overlay/vfs/g' /usr/share/containers/storage.conf # default system config sed -i 's/overlay/vfs/g' /etc/containers/storage.conf || true # potential overrides # not running "test_selinux_ro" here as it needs a real selinux TEST_SKIP="not test_selinux_ro" if [ "parallel" == "parallel" ]; then # 4 is a bit arbitrary TEST_WORKERS="-n 4" TEST_CATEGORY="test_stages.py" else # test_assemblers.py is run below TEST_CATEGORY="not test_stages.py and not test_assemblers.py" # DNF python package can't be installed using pip in the tox environment. # We need to use the version from the system to test things. # Since we are running tests on Fedora, enable site packages only # for Python version which is available on Fedora. # See also: https://github.com/osbuild/containers/pull/79 if [ "py313" == "$(cat /osb/libdnf-python-version)" ]; then TOX_ARGS="-x testenv.sitepackages=True" fi fi OSBUILD_TEST_STORE="/var/tmp/osbuild-test-store" \ tox -e "py313" $TOX_ARGS -- -rs $TEST_WORKERS -k "$TEST_CATEGORY" --error-on-skip -k "$TEST_SKIP"
Unittest (parallel, py39)
Command failed: /usr/bin/docker run --net=host --privileged --rm --volume=/:/osb/host --volume=/home/runner/work/osbuild/osbuild:/osb/workdir --volume=/lib/modules/:/lib/modules/ --volume=/var/run/docker.sock:/var/run/docker.sock ghcr.io/osbuild/osbuild-ci:latest-202411221033 /bin/bash -o errexit -c # Hacky replacement of container storage driver: # The default overlayfs doesn't work in the runner, so let's change # it to vfs for the local storage skopeo stage test. sed -i 's/overlay/vfs/g' /usr/share/containers/storage.conf # default system config sed -i 's/overlay/vfs/g' /etc/containers/storage.conf || true # potential overrides # not running "test_selinux_ro" here as it needs a real selinux TEST_SKIP="not test_selinux_ro" if [ "parallel" == "parallel" ]; then # 4 is a bit arbitrary TEST_WORKERS="-n 4" TEST_CATEGORY="test_stages.py" else # test_assemblers.py is run below TEST_CATEGORY="not test_stages.py and not test_assemblers.py" # DNF python package can't be installed using pip in the tox environment. # We need to use the version from the system to test things. # Since we are running tests on Fedora, enable site packages only # for Python version which is available on Fedora. # See also: https://github.com/osbuild/containers/pull/79 if [ "py39" == "$(cat /osb/libdnf-python-version)" ]; then TOX_ARGS="-x testenv.sitepackages=True" fi fi OSBUILD_TEST_STORE="/var/tmp/osbuild-test-store" \ tox -e "py39" $TOX_ARGS -- -rs $TEST_WORKERS -k "$TEST_CATEGORY" --error-on-skip -k "$TEST_SKIP"
Unittest (parallel, py36)
Command failed: /usr/bin/docker run --net=host --privileged --rm --volume=/:/osb/host --volume=/home/runner/work/osbuild/osbuild:/osb/workdir --volume=/lib/modules/:/lib/modules/ --volume=/var/run/docker.sock:/var/run/docker.sock ghcr.io/osbuild/osbuild-ci:latest-202411221033 /bin/bash -o errexit -c # Hacky replacement of container storage driver: # The default overlayfs doesn't work in the runner, so let's change # it to vfs for the local storage skopeo stage test. sed -i 's/overlay/vfs/g' /usr/share/containers/storage.conf # default system config sed -i 's/overlay/vfs/g' /etc/containers/storage.conf || true # potential overrides # not running "test_selinux_ro" here as it needs a real selinux TEST_SKIP="not test_selinux_ro" if [ "parallel" == "parallel" ]; then # 4 is a bit arbitrary TEST_WORKERS="-n 4" TEST_CATEGORY="test_stages.py" else # test_assemblers.py is run below TEST_CATEGORY="not test_stages.py and not test_assemblers.py" # DNF python package can't be installed using pip in the tox environment. # We need to use the version from the system to test things. # Since we are running tests on Fedora, enable site packages only # for Python version which is available on Fedora. # See also: https://github.com/osbuild/containers/pull/79 if [ "py36" == "$(cat /osb/libdnf-python-version)" ]; then TOX_ARGS="-x testenv.sitepackages=True" fi fi OSBUILD_TEST_STORE="/var/tmp/osbuild-test-store" \ tox -e "py36" $TOX_ARGS -- -rs $TEST_WORKERS -k "$TEST_CATEGORY" --error-on-skip -k "$TEST_SKIP"
Unittest (normal, py313)
Command failed: /usr/bin/docker run --net=host --privileged --rm --volume=/:/osb/host --volume=/home/runner/work/osbuild/osbuild:/osb/workdir --volume=/lib/modules/:/lib/modules/ --volume=/var/run/docker.sock:/var/run/docker.sock ghcr.io/osbuild/osbuild-ci:latest-202411221033 /bin/bash -o errexit -c # Hacky replacement of container storage driver: # The default overlayfs doesn't work in the runner, so let's change # it to vfs for the local storage skopeo stage test. sed -i 's/overlay/vfs/g' /usr/share/containers/storage.conf # default system config sed -i 's/overlay/vfs/g' /etc/containers/storage.conf || true # potential overrides # not running "test_selinux_ro" here as it needs a real selinux TEST_SKIP="not test_selinux_ro" if [ "normal" == "parallel" ]; then # 4 is a bit arbitrary TEST_WORKERS="-n 4" TEST_CATEGORY="test_stages.py" else # test_assemblers.py is run below TEST_CATEGORY="not test_stages.py and not test_assemblers.py" # DNF python package can't be installed using pip in the tox environment. # We need to use the version from the system to test things. # Since we are running tests on Fedora, enable site packages only # for Python version which is available on Fedora. # See also: https://github.com/osbuild/containers/pull/79 if [ "py313" == "$(cat /osb/libdnf-python-version)" ]; then TOX_ARGS="-x testenv.sitepackages=True" fi fi OSBUILD_TEST_STORE="/var/tmp/osbuild-test-store" \ tox -e "py313" $TOX_ARGS -- -rs $TEST_WORKERS -k "$TEST_CATEGORY" --error-on-skip -k "$TEST_SKIP"
Unittest (normal, py39)
Command failed: /usr/bin/docker run --net=host --privileged --rm --volume=/:/osb/host --volume=/home/runner/work/osbuild/osbuild:/osb/workdir --volume=/lib/modules/:/lib/modules/ --volume=/var/run/docker.sock:/var/run/docker.sock ghcr.io/osbuild/osbuild-ci:latest-202411221033 /bin/bash -o errexit -c # Hacky replacement of container storage driver: # The default overlayfs doesn't work in the runner, so let's change # it to vfs for the local storage skopeo stage test. sed -i 's/overlay/vfs/g' /usr/share/containers/storage.conf # default system config sed -i 's/overlay/vfs/g' /etc/containers/storage.conf || true # potential overrides # not running "test_selinux_ro" here as it needs a real selinux TEST_SKIP="not test_selinux_ro" if [ "normal" == "parallel" ]; then # 4 is a bit arbitrary TEST_WORKERS="-n 4" TEST_CATEGORY="test_stages.py" else # test_assemblers.py is run below TEST_CATEGORY="not test_stages.py and not test_assemblers.py" # DNF python package can't be installed using pip in the tox environment. # We need to use the version from the system to test things. # Since we are running tests on Fedora, enable site packages only # for Python version which is available on Fedora. # See also: https://github.com/osbuild/containers/pull/79 if [ "py39" == "$(cat /osb/libdnf-python-version)" ]; then TOX_ARGS="-x testenv.sitepackages=True" fi fi OSBUILD_TEST_STORE="/var/tmp/osbuild-test-store" \ tox -e "py39" $TOX_ARGS -- -rs $TEST_WORKERS -k "$TEST_CATEGORY" --error-on-skip -k "$TEST_SKIP"
Unittest (normal, py36)
Command failed: /usr/bin/docker run --net=host --privileged --rm --volume=/:/osb/host --volume=/home/runner/work/osbuild/osbuild:/osb/workdir --volume=/lib/modules/:/lib/modules/ --volume=/var/run/docker.sock:/var/run/docker.sock ghcr.io/osbuild/osbuild-ci:latest-202411221033 /bin/bash -o errexit -c # Hacky replacement of container storage driver: # The default overlayfs doesn't work in the runner, so let's change # it to vfs for the local storage skopeo stage test. sed -i 's/overlay/vfs/g' /usr/share/containers/storage.conf # default system config sed -i 's/overlay/vfs/g' /etc/containers/storage.conf || true # potential overrides # not running "test_selinux_ro" here as it needs a real selinux TEST_SKIP="not test_selinux_ro" if [ "normal" == "parallel" ]; then # 4 is a bit arbitrary TEST_WORKERS="-n 4" TEST_CATEGORY="test_stages.py" else # test_assemblers.py is run below TEST_CATEGORY="not test_stages.py and not test_assemblers.py" # DNF python package can't be installed using pip in the tox environment. # We need to use the version from the system to test things. # Since we are running tests on Fedora, enable site packages only # for Python version which is available on Fedora. # See also: https://github.com/osbuild/containers/pull/79 if [ "py36" == "$(cat /osb/libdnf-python-version)" ]; then TOX_ARGS="-x testenv.sitepackages=True" fi fi OSBUILD_TEST_STORE="/var/tmp/osbuild-test-store" \ tox -e "py36" $TOX_ARGS -- -rs $TEST_WORKERS -k "$TEST_CATEGORY" --error-on-skip -k "$TEST_SKIP"
Smoke run: unittest as normal user on default runner
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
Assembler test (legacy)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unittest (parallel, py313)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unittest (parallel, py39)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unittest (parallel, py36)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unittest (normal, py313)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unittest (normal, py39)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unittest (normal, py36)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636