Bug 1212026

Summary: python-virtualenv:test: fails testsuite on ALP
Product: [SUSE ALP - SUSE Adaptable Linux Platform] Granite Reporter: Héctor Orón Martínez <hector.oron>
Component: BasesystemAssignee: Python maintainers (group account) <python-maintainers>
Status: VERIFIED FIXED QA Contact:
Severity: Major    
Priority: P1 - Urgent CC: daniel.garcia, ihno, jsrain, kstreitova, mmachova, python-maintainers, saweber, screening-team-bugs
Version: unspecified   
Target Milestone: ---   
Hardware: PowerPC-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Héctor Orón Martínez 2023-06-05 13:06:27 UTC
ALP June Milestone 1 expects to have packages fixed to build images to take under test by Friday 9th.

In that context the following package has been found to fail to build from source:

  python-virtualenv:test

Note there is newer version in Factory:

 https://build.opensuse.org/package/show/openSUSE:Factory:PowerPC/python-virtualenv

With the following error:

[   38s] + PYTHONDONTWRITEBYTECODE=1
[   38s] + pytest-3.11 --ignore=_build. --ignore=_build.python311 --ignore=_build.python310 -v -k 'not (test_seed_link_via_app_data or test_py_pyc_missing)'
[   38s] ============================= test session starts ==============================
[   38s] platform linux -- Python 3.11.2, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python3.11
[   38s] cachedir: .pytest_cache
[   38s] rootdir: /home/abuild/rpmbuild/BUILD/virtualenv-20.22.0
[   38s] configfile: pyproject.toml
[   38s] plugins: freezegun-0.4.2, env-0.8.1, timeout-2.1.0, mock-3.10.0, flaky-3.7.0
[   38s] timeout: 600.0s
[   38s] timeout method: signal
[   38s] timeout func_only: False
[   39s] collecting ... collected 294 items / 2 deselected / 292 selected
[   39s] 
[   39s] tests/unit/test_run.py::test_help PASSED                                 [  0%]
[   39s] tests/unit/test_run.py::test_version PASSED                              [  0%]
[   39s] tests/unit/test_run.py::test_logging_setup[True] PASSED                  [  1%]
[   39s] tests/unit/test_run.py::test_logging_setup[False] PASSED                 [  1%]
[   39s] tests/unit/test_util.py::test_run_fail PASSED                            [  1%]
[ 5448s] tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe qemu-system-ppc64: terminating on signal 15 from pid 58529 (<unknown process>)
[ 5449s] ### VM INTERACTION END ###
[ 5449s] No buildstatus set, either the base system is broken (kernel/initrd/udev/glibc/bash/perl)
[ 5449s] or the build host has a kernel or hardware problem...

Full log: https://build.suse.de/package/live_build_log/SUSE:ALP:Source:Standard:Core:1.0:Build/python-virtualenv:test/standard/ppc64le
Comment 1 Markéta Machová 2023-06-05 14:12:04 UTC
There is a newer version available on Factory. Please, sync and try again.
Comment 2 Ihno Krumreich 2023-06-06 08:23:26 UTC
Hi Markéta,
can you please submit it?
Comment 3 Daniel Garcia 2023-06-06 09:40:22 UTC
(In reply to Ihno Krumreich from comment #2)
> Hi Markéta,
> can you please submit it?

I've just done that:

https://build.suse.de/request/show/300665

And this new version requires python-time-machine that's not in the project, so I've also created a request for it:

https://build.suse.de/request/show/300664
Comment 4 Daniel Garcia 2023-06-12 09:05:53 UTC
It's building correctly for ppc:

https://build.suse.de/package/live_build_log/SUSE:ALP:Source:Standard:Core:1.0:Build/python-virtualenv:test/standard/ppc64le

I can see right now that it's also failing for x86_64, but it looks like it's a qemu-kvm process killed by OBS, so I think it should be something related to the build infrastructure and should work if re-triggered.
Comment 5 Ihno Krumreich 2023-07-30 20:40:04 UTC
Verified.