[noble] FTBFS on failure in test vlog - Python3, change of behavior in Python 3.13, backported to 3.12 and 3.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvswitch (Ubuntu) |
Fix Released
|
Undecided
|
Frode Nordahl |
Bug Description
ERROR: 1 test was run,
1 failed unexpectedly.
## -------
## Summary of the failures. ##
## -------
Failed tests:
openvswitch 3.3.0 test suite test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS
2531: vlog.at:3 vlog - Python3
## -------
## Detailed failed tests. ##
## -------
# -*- compilation -*-
2531. vlog.at:3: testing vlog - Python3 ...
../../tests/
-v dbg module_1:info module_2:warn syslog:off 2>stderr_log
../../tests/
-e 's/File ".*", line [0-9][0-9]*,/File <name>, line <number>,/' \
stderr_log
--- - 2024-04-06 13:05:02.236874405 +0000
+++ /<<PKGBUILDDIR>
@@ -7,31 +7,37 @@
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
6 | module_0 | ERR | error exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
7 | module_0 | WARN | warn exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
8 | module_0 | INFO | information exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
9 | module_0 | DBG | debug exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
10 | module_0 | ERR | exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
11 | module_1 | EMER | emergency
12 | module_1 | ERR | error
@@ -41,26 +47,31 @@
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
17 | module_1 | ERR | error exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
18 | module_1 | WARN | warn exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
19 | module_1 | INFO | information exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
21 | module_1 | ERR | exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
22 | module_2 | EMER | emergency
23 | module_2 | ERR | error
@@ -69,20 +80,24 @@
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
28 | module_2 | ERR | error exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
29 | module_2 | WARN | warn exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
32 | module_2 | ERR | exception
Traceback (most recent call last):
File <name>, line <number>, in main
assert fail
+ ^^^^
AssertionError
Changed in openvswitch (Ubuntu): | |
assignee: | nobody → Frode Nordahl (fnordahl) |
status: | New → In Progress |
summary: |
- [noble] FTBFS on failure in test vlog - Python3, change of behavior - between Python 3.11 and 3.12 + [noble][arm64] FTBFS on failure in test vlog - Python3, change of + behavior between Python 3.11 and 3.12 |
summary: |
- [noble][arm64] FTBFS on failure in test vlog - Python3, change of - behavior between Python 3.11 and 3.12 + [noble] FTBFS on failure in test vlog - Python3, change of behavior + between Python 3.11 and 3.12 |
summary: |
- [noble] FTBFS on failure in test vlog - Python3, change of behavior - between Python 3.11 and 3.12 + [noble] FTBFS on failure in test vlog - Python3, change of behavior in + Python 3.13, backported to 3.12 and 3.11 |
Changed in openvswitch (Ubuntu): | |
status: | In Progress → Fix Committed |
This boils down to a change in behavior for Python 3.12:
Consider the script a.py:
f = False
assert f
$ python3 --version ubuntu/ a.py", line 2, in <module>
Python 3.11.6
$ python3 a.py
Traceback (most recent call last):
File "/home/
assert f
AssertionError
$ python3 --version frode/tmp/ a.py", line 2, in <module>
Python 3.12.2
$ python3 a.py
Traceback (most recent call last):
File "/home/
assert f
^
AssertionError