starlingx/config: unit test exceptions & timeouts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Leonardo Fagundes Luz Serrano |
Bug Description
Brief Description
-----------------
Unit tests in starlingx/config have problems:
1) They show many exceptions similar to:
2024-05-01 22:31:32.001464 | debian-bullseye | AttributeError: 'Semaphore' object has no attribute '_at_fork_reinit'
2024-05-01 22:31:32.001518 | debian-bullseye | Exception ignored in: <function _after_
2024-05-01 22:31:32.001689 | debian-bullseye | Traceback (most recent call last):
2024-05-01 22:31:32.001715 | debian-bullseye | File "/usr/lib/
2024-05-01 22:31:32.001734 | debian-bullseye | handler.
2024-05-01 22:31:32.002157 | debian-bullseye | File "/usr/lib/
2024-05-01 22:31:32.002204 | debian-bullseye | self.lock.
2024-05-01 22:31:32.002296 | debian-bullseye | File "/usr/lib/
2024-05-01 22:31:32.002316 | debian-bullseye | self._block.
at least when executed by Zuul in Gerrit.
2) They take too long to run, and sometimes cause Zuul jobs to fail. This may be a side effect of problem 1.
Problem has been observed in Zuul. I don't know if it happens when you run these tests manually.
Example review: https:/
Failed pipeline: https:/
Severity
--------
Major
Steps to Reproduce
------------------
Problem observed in Zuul, see above
Expected Behavior
------------------
All Zuul tasks should succeed within 30 minutes
Actual Behavior
----------------
Zuul fails intermittently
Reproducibility
---------------
Intermittent
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
master/2024-05-01
Last Pass
---------
N/A
Timestamp/Logs
--------------
See TIMED_OUT jobs in https:/
Test Activity
-------------
[Sanity, Feature Testing, Regression Testing, Developer Testing, Evaluation, Other - Please specify]
Workaround
----------
Describe workaround if available
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
assignee: | nobody → Leonardo Fagundes Luz Serrano (lfagunde) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.10.0 stx.zuul |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/923576
Review: https:/