On Fri, Mar 09, 2018 at 05:49:39PM +0100, Timothy Redaelli wrote:
> Execute the "passive tcp", "fetch columns", "idl notify" and
> "idl notify SSL" tests also using Python3 (when available).
>
> Signed-off-by: Timothy Redaelli <[email protected]>
Thanks for working on this!
When I apply this, I get the actual test failure below. I do not get
the test failure for the python2 variant. Do you see this failure?
2160. ovsdb-idl.at:835: testing simple idl, initially populated - Python3 fetch
...
../../tests/ovsdb-idl.at:835: ovsdb_start_idltest
../../tests/ovsdb-idl.at:835: ovsdb-client transact unix:socket '["idltest",
{"op": "insert",
"table": "simple",
"row": {"i": 1,
"r": 2.0,
"b": true,
"s": "mystring",
"u": ["uuid", "84f5c8f5-ac76-4dbc-a24f-8860eb407fc1"],
"ia": ["set", [1, 2, 3]],
"ra": ["set", [-0.5]],
"ba": ["set", [true]],
"sa": ["set", ["abc", "def"]],
"ua": ["set", [["uuid", "69443985-7806-45e2-b35f-574a04e720f9"],
["uuid",
"aad11ef0-816a-4b01-93e6-03b8b4256b98"]]]}},
{"op": "insert",
"table": "simple",
"row": {}}]'
stderr:
stdout:
[{"uuid":["uuid","4086e641-063a-4110-a7ea-822b6543baba"]},{"uuid":["uuid","8dafd5dc-4836-401a-98f9-c5253242fd94"]}]
../../tests/ovsdb-idl.at:835: $PYTHON3 $srcdir/test-ovsdb.py -t10 idl
$srcdir/idltest.ovsschema unix:socket ?simple:i,r! 'fetch 0 r'
stderr:
Traceback (most recent call last):
File "../../../../tests/test-ovsdb.py", line 869, in <module>
main(sys.argv)
File "../../../../tests/test-ovsdb.py", line 864, in main
func(*args)
File "../../../../tests/test-ovsdb.py", line 634, in do_idl
print_idl(idl, step)
File "../../../../tests/test-ovsdb.py", line 194, in print_idl
s += get_simple_table_printable_row(row)
File "../../../../tests/test-ovsdb.py", line 175, in
get_simple_table_printable_row
return get_simple_printable_row_string(row, simple_columns)
File "../../../../tests/test-ovsdb.py", line 157, in
get_simple_printable_row_string
if hasattr(row, column) and not (type(getattr(row, column))
File "/home/blp/nicira/ovs/python/ovs/db/idl.py", line 777, in __getattr__
column = self._table.columns[column_name]
KeyError: 'b'
stdout:
../../tests/ovsdb-idl.at:835: exit code was 1, expected 0
2160. ovsdb-idl.at:835: 2160. simple idl, initially populated - Python3 fetch
(ovsdb-idl.at:835): FAILED (ovsdb-idl.at:835)
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev