Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2183989 - avocado:82lts FTBFS: python-avocado component: tests hang on /usr/bin/python3 selftests/run
Summary: avocado:82lts FTBFS: python-avocado component: tests hang on /usr/bin/python3...
Keywords:
Status: NEW
Alias: None
Product: Fedora Modules
Classification: Fedora
Component: avocado
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cleber Rosa
QA Contact: Fedora Extras Quality Assurance
URL: https://koji.fedoraproject.org/koji/t...
Whiteboard:
Depends On:
Blocks: F39FTBFS F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-04-03 10:59 UTC by Petr Pisar
Modified: 2023-08-14 12:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2023-04-03 10:59:17 UTC
avocado:82lts cannot be built for Fedora 39 <https://mbs.fedoraproject.org/module-build-service/2/module-builds/15979> because building python-avocado component <https://koji.fedoraproject.org/koji/taskinfo?taskID=99181156> hangs in tests:

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8AEXCf
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd avocado-82.2
+ PATH=/builddir/build/BUILDROOT/python-avocado-82.2-1.module_f39+15979+00f1cea4.noarch/usr/bin:/builddir/build/BUILDROOT/python-avocado-82.2-1.module_f39+15979+00f1cea4.noarch/usr/libexec/avocado:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ PYTHONPATH=/builddir/build/BUILDROOT/python-avocado-82.2-1.module_f39+15979+00f1cea4.noarch/usr/lib/python3.11/site-packages:.
+ LANG=en_US.UTF-8
+ AVOCADO_CHECK_LEVEL=0
+ /usr/bin/python3 selftests/run
...................................s..................................................Unable to resolve any reference or 'run.references' is empty.
..................................................................Process Process-5:
Traceback (most recent call last):
  File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/builddir/build/BUILDROOT/python-avocado-82.2-1.module_f39+15979+00f1cea4.noarch/usr/lib/python3.11/site-packages/avocado/core/nrunner.py", line 478, in _run_unittest
    unittest_result = runner.run(suite)
                      ^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/unittest/runner.py", line 217, in run
    test(result)
  File "/usr/lib64/python3.11/unittest/suite.py", line 84, in __call__
    return self.run(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/unittest/suite.py", line 130, in run
    self._tearDownPreviousClass(None, result)
  File "/usr/lib64/python3.11/unittest/suite.py", line 315, in _tearDownPreviousClass
    doClassCleanups()
  File "/usr/lib64/python3.11/unittest/case.py", line 670, in doClassCleanups
    while cls._class_cleanups:
          ^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'TestCase' has no attribute '_class_cleanups'

This is not a one-time random failure. I retried the build three times.


Note You need to log in before you can comment on or make changes to this bug.