Bug 15350 - AB-INT PTEST: python3-attrs tests/test_make.py test failure
Summary: AB-INT PTEST: python3-attrs tests/test_make.py test failure
Status: RESOLVED FIXED
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 5.0
Assignee: Tim Orling
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2024-01-17 09:31 UTC by João Marcos Costa
Modified: 2024-02-29 23:05 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)