Bug 16465 - AB-INT PTEST RISCV64: python3-calver ptest failure in tests/test_integration.py:test_version_str
Summary: AB-INT PTEST RISCV64: python3-calver ptest failure in tests/test_integration....
Status: NEW
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-10-20 08:42 UTC by João Marcos Costa
Modified: 2026-10-20 08:43 UTC (History)
2 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 2026-10-20 08:42:53 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2570/steps/15/logs/stdio

Failed ptests:
{'python3-calver': ['tests/test_integration.py:test_version_str']}

qemuriscv64-ptest ubuntu2610-vk-1

"""
dist = <stub(metadata=<stub(version='Thu Oct  8 10:19:55 2026')>)>
keyword = <stub()>, ignore_pkginfo = None

    def test_version_str(dist, keyword, ignore_pkginfo):
        value = "%c"
    
        calver.integration.version(dist, keyword, value)
    
>       assert dist.metadata.version == datetime.datetime.now(
            datetime.timezone.utc
        ).strftime(value)
E       AssertionError: assert 'Thu Oct  8 10:19:55 2026' == 'Thu Oct  8 10:19:56 2026'
E         
E         - Thu Oct  8 10:19:56 2026
E         ?                   ^
E         + Thu Oct  8 10:19:55 2026
E         ?                   ^

tests/test_integration.py:32: AssertionError
FAIL: tests/test_integration.py:test_version_str
"""

Full logs at: https://valkyrie.yocto.io/pub/non-release/20261008-67/testresults/qemuriscv64-ptest/python3-calver.log