Bug 16479 - AB-INT PTEST RISCV64: python3 ptest failure in testSourceAddress
Summary: AB-INT PTEST RISCV64: python3 ptest failure in testSourceAddress
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-30 09:19 UTC by João Marcos Costa
Modified: 2026-10-30 09:20 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 2026-10-30 09:19:05 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2693/steps/15/logs/stdio

Failed ptests:
{'python3': ['testSourceAddress', 'python3']}

qemuriscv64-ptest fedora43-vk-2


"""
======================================================================
ERROR: testSourceAddress (test.test_socket.NetworkConnectionAttributesTest.testSourceAddress)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.14/test/test_socket.py", line 447, in raise_queued_exception
    raise self.queue.get()
  File "/usr/lib/python3.14/test/test_socket.py", line 484, in clientRun
    test_func()
    ~~~~~~~~~^^
  File "/usr/lib/python3.14/test/test_socket.py", line 6008, in _testSourceAddress
    self.assertEqual(self.cli.getsockname()[1], self.source_port)
                     ~~~~~~~~~~~~~~~~~~~~^^
OSError: [Errno 9] Bad file descriptor

----------------------------------------------------------------------
"""

Full logs at: https://valkyrie.yocto.io/pub/non-release/20261029-56/testresults/qemuriscv64-ptest/python3.log