Closed ligurio closed 3 years ago
I'll bring a few context details:
unit
directory, which is run by python setup.py test
and in CI. test
directory (added within PR #109), which is run by cd test && ./test-run.py
and is not run under CI (#111). There is only one test here: cluster-py/multi.test.py
.I had the idea to verify the test-run update and ensure that tests under test-run are working with the new test-run version. However they do not work neither before commit, nor after.
On the current master:
[001] Test.run() received the following error:
[001] Traceback (most recent call last):
[001] File "/home/alex/projects/tarantool-meta/tarantool-python/test-run/lib/test.py", line 180, in run
[001] self.execute(server)
[001] File "/home/alex/projects/tarantool-meta/tarantool-python/test-run/lib/tarantool_server.py", line 166, in execute
[001] **server.__dict__))
[001] File "cluster-py/multi.test.py", line 7, in <module>
[001] from mesh_connection import MeshConnection
[001] File "../tarantool/mesh_connection.py", line 11, in <module>
[001] from tarantool.error import (
[001] ImportError: cannot import name ConfigurationError
[001] [ fail ]
[001] Test failed! Output from reject file multi.reject:
[001]
On the most recent test-run (72f8b89332b552cf20b2143e6dae7fe5042a9f79):
[001] Test.run() received the following error:
[001] Traceback (most recent call last):
[001] File "/home/alex/projects/tarantool-meta/tarantool-python/test-run/lib/test.py", line 182, in run
[001] self.execute(server)
[001] File "/home/alex/projects/tarantool-meta/tarantool-python/test-run/lib/tarantool_server.py", line 400, in execute
[001] **server.__dict__))
[001] File "cluster-py/multi.test.py", line 58, in <module>
[001] encoding=ENCODING_DEFAULT)
[001] File "../tarantool/mesh_connection.py", line 214, in __init__
[001] raise ConfigurationError(msg)
[001] ConfigurationError: Address {'host': None, 'port': '/home/alex/projects/tarantool-meta/tarantool-python/test/var/001_cluster-py/instance/0/instance1.sock'}: host value must be string type, port value must be int type
[001]
[001] [ fail ]
[001] Test failed! Output from reject file var/rejects/cluster-py/multi.reject:
[001] box.schema.user.grant('guest', 'read,write,execute', 'universe')
[001] ---
[001] ...
[001] _ = box.schema.space.create('test')
[001] ---
[001] ...
[001] _ = box.space.test:create_index('primary')
[001] ---
[001] ...
[001] box.schema.user.grant('guest', 'read,write,execute', 'universe')
[001] ---
[001] ...
[001] _ = box.schema.space.create('test')
[001] ---
[001] ...
[001] _ = box.space.test:create_index('primary')
[001] ---
[001] ...
So, it is broken and will not become more broken. I don't mind updating.
commit 4aaadb9261b7d176f28bb2f1217b296268126762 ('Fix luacheck warnings') fixes luacheck warnings in Lua source code. Bumping version allows to remove test-run directory from exclusions in .luacheckrc in tarantool repository.