Bug 15350

Summary: AB-INT PTEST: python3-attrs tests/test_make.py test failure
Product: [QA/Testing] Package Testing (ptest) Reporter: João Marcos Costa <joaomarcos.costa>
Component: ptestAssignee: Tim Orling <tim.orling>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, randy.macleod, tim.orling
Version: unspecified   
Target Milestone: 5.0   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description João Marcos Costa 2024-01-17 09:31:15 UTC
WARNING: core-image-ptest-python3-attrs-1.0-r0 do_testimage: There were failing ptests.
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 27, in test_ptestrunner_expectfail
    self.do_ptestrunner()
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 120, in do_ptestrunner
    self.fail(failmsg)
AssertionError: 
Failed ptests:
{'python3-attrs': ['tests/test_make.py:TestConverter.test_converter_factory_property']}

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5959/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 1 Tim Orling 2024-02-15 15:49:24 UTC
Was this with the python3-pytest_8.0.0 upgrade? It looks like that kind of behavior.
Comment 2 Tim Orling 2024-02-15 15:52:58 UTC
This was with the python3-pytest_7.4.4 upgrade. This was around the time when the python3-attrs-ptest was first enabled.
Comment 3 Tim Orling 2024-02-29 23:05:26 UTC
We suspect this failure was due to the deadline issue, but this bug did not provide logs that show this.

Closing for now with:
https://github.com/python-attrs/attrs/pull/1252
https://patchwork.yoctoproject.org/project/oe-core/patch/20240229230025.3253330-1-tim.orling@konsulko.com/

If this same test case fails again, please re-open the bug (but be sure to link to the AB ptest logs please :)