v5.0.1 is breaking Neutron functional job
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.log |
Fix Released
|
High
|
Rodolfo Alonso | ||
oslo.privsep |
Fix Released
|
Critical
|
Rodolfo Alonso |
Bug Description
The Neutron functional job that uses oslo master versions is not working now. Reviewing the logs [0], what I suspect is that the problem is in oslo.log v5.0.1 is breaking the CI.
Error: https:/
I've tested using the upper version limited by "requirements" (v5.0.0) and it's working. The only patch between both versions is [1]. It seems that this patch is opening files but not closing them. Eventually, the host reaches the limit of open files.
[0]https:/
[1]https:/
Changed in oslo.log: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
Changed in oslo.privsep: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
Changed in oslo.privsep: | |
importance: | Undecided → High |
importance: | High → Critical |
Changed in oslo.log: | |
importance: | Undecided → High |
I manually executed the tests in my env. What I found is this [1]. In particular I would like to focus on this: neutron/ .tox/dsvm- functional/ lib/python3. 8/site- packages/ oslo_log/ pipe_mutex. py", line 137, in __del__ neutron/ .tox/dsvm- functional/ lib/python3. 8/site- packages/ oslo_log/ pipe_mutex. py", line 116, in close
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Exception ignored in: <function PipeMutex.__del__ at 0x7f88df98c8b0>
Traceback (most recent call last):
File "/opt/stack/
self.close()
File "/opt/stack/
if self.wfd is not None:
AttributeError: 'PipeMutex' object has no attribute 'wfd'
This is another log captured during the execution of the Neutron functional jobs:
Traceback (most recent call last):
File "/opt/stack/ neutron/ .tox/dsvm- functional/ lib/python3. 8/site- packages/ fixtures/ fixture. py", line 196, in setUp
self._setUp()
File "/opt/stack/ neutron/ .tox/dsvm- functional/ lib/python3. 8/site- packages/ fixtures/ _fixtures/ logger. py", line 107, in _setUp
File "/usr/lib/ python3. 8/logging/ __init_ _.py", line 1057, in __init__
. ..