Unit Test failed with master at commit 5d5a6b9afea07f088a30a9493683427a4fb10ebe
zhihuacc opened this issue · 0 comments
I checked out master at 5d5a6b9 and run test locally but one case failed as below.
ERROR: test_21_check_withdrawal_2 (bgp_router_test.GoBGPTestBase)
Traceback (most recent call last):
File "/root/xxx/codebase/gobgp/test/scenario_test/bgp_router_test.py", line 394, in test_21_check_withdrawal_2
r = g2.local('gobgp monitor global rib -j', stream=True, tty=False)
File "/root/xxx/codebase/gobgp/test/lib/base.py", line 297, in local
dckr = Client(timeout=120, version='auto')
File "/root/xxx/codebase/gobgp/.test/lib/python3.10/site-packages/docker/client.py", line 99, in init
self._version = self._retrieve_server_version()
File "/root/xxx/codebase/gobgp/.test/lib/python3.10/site-packages/docker/client.py", line 123, in _retrieve_server_version
raise errors.DockerException(
docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'
-------------------- >> begin captured logging << --------------------
invoke: DEBUG: Didn't see any /etc/invoke.yaml, skipping.
invoke: DEBUG: Didn't see any /etc/invoke.yml, skipping.
invoke: DEBUG: Didn't see any /etc/invoke.json, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.yaml, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.yml, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.json, skipping.
invoke: DEBUG: Merging config sources in order onto new empty _config...
invoke: DEBUG: Defaults: {'run': {'warn': False, 'hide': None, 'shell': '/bin/bash', 'pty': False, 'fallback': True, 'env': {}, 'replace_env': False, 'echo': False, 'encoding': None, 'out_stream': None, 'err_stream': None, 'in_stream': None, 'watchers': [], 'echo_stdin': None}, 'runners': {'local': <class 'invoke.runners.Local'>}, 'sudo': {'prompt': '[sudo] password: ', 'password': None, 'user': None}, 'tasks': {'dedupe': True, 'auto_dash_names': True, 'collection_name': 'tasks', 'search_root': None}}
invoke: DEBUG: Collection-driven: {}
invoke: DEBUG: System-wide config file (/etc/invoke.py): {}
invoke: DEBUG: Per-user config file (/root/.invoke.py): {}
invoke: DEBUG: Per-project config file has not been loaded yet, skipping
invoke: DEBUG: Environment variable config: {}
invoke: DEBUG: Runtime config file has not been loaded yet, skipping
invoke: DEBUG: Overrides: {}
invoke: DEBUG: Modifications: {}
invoke: DEBUG: Deletions: {}
invoke: DEBUG: Didn't see any /etc/invoke.yaml, skipping.
invoke: DEBUG: Didn't see any /etc/invoke.yml, skipping.
invoke: DEBUG: Didn't see any /etc/invoke.json, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.yaml, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.yml, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.json, skipping.
invoke: DEBUG: Merging config sources in order onto new empty _config...
invoke: DEBUG: Defaults: {'run': {'warn': False, 'hide': None, 'shell': '/bin/bash', 'pty': False, 'fallback': True, 'env': {}, 'replace_env': False, 'echo': False, 'encoding': None, 'out_stream': None, 'err_stream': None, 'in_stream': None, 'watchers': [], 'echo_stdin': None}, 'runners': {'local': <class 'invoke.runners.Local'>}, 'sudo': {'prompt': '[sudo] password: ', 'password': None, 'user': None}, 'tasks': {'dedupe': True, 'auto_dash_names': True, 'collection_name': 'tasks', 'search_root': None}}
invoke: DEBUG: Collection-driven: {}
invoke: DEBUG: System-wide config file (/etc/invoke.py): {}
invoke: DEBUG: Per-user config file (/root/.invoke.py): {}
invoke: DEBUG: Per-project config file has not been loaded yet, skipping
invoke: DEBUG: Environment variable config: {}
invoke: DEBUG: Runtime config file has not been loaded yet, skipping
invoke: DEBUG: Overrides: {}
invoke: DEBUG: Modifications: {}
invoke: DEBUG: Deletions: {}
invoke: DEBUG: Didn't see any /etc/invoke.yaml, skipping.
invoke: DEBUG: Didn't see any /etc/invoke.yml, skipping.
invoke: DEBUG: Didn't see any /etc/invoke.json, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.yaml, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.yml, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.json, skipping.
invoke: DEBUG: Merging config sources in order onto new empty _config...
invoke: DEBUG: Defaults: {'run': {'warn': False, 'hide': None, 'shell': '/bin/bash', 'pty': False, 'fallback': True, 'env': {}, 'replace_env': False, 'echo': False, 'encoding': None, 'out_stream': None, 'err_stream': None, 'in_stream': None, 'watchers': [], 'echo_stdin': None}, 'runners': {'local': <class 'invoke.runners.Local'>}, 'sudo': {'prompt': '[sudo] password: ', 'password': None, 'user': None}, 'tasks': {'dedupe': True, 'auto_dash_names': True, 'collection_name': 'tasks', 'search_root': None}}
invoke: DEBUG: Collection-driven: {}
invoke: DEBUG: System-wide config file (/etc/invoke.py): {}
invoke: DEBUG: Per-user config file (/root/.invoke.py): {}
invoke: DEBUG: Per-project config file has not been loaded yet, skipping
invoke: DEBUG: Environment variable config: {}
invoke: DEBUG: Runtime config file has not been loaded yet, skipping
invoke: DEBUG: Overrides: {}
invoke: DEBUG: Modifications: {}
invoke: DEBUG: Deletions: {}
invoke: DEBUG: Didn't see any /etc/invoke.yaml, skipping.
invoke: DEBUG: Didn't see any /etc/invoke.yml, skipping.
invoke: DEBUG: Didn't see any /etc/invoke.json, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.yaml, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.yml, skipping.
invoke: DEBUG: Didn't see any /root/.invoke.json, skipping.
invoke: DEBUG: Merging config sources in order onto new empty _config...
invoke: DEBUG: Defaults: {'run': {'warn': False, 'hide': None, 'shell': '/bin/bash', 'pty': False, 'fallback': True, 'env': {}, 'replace_env': False, 'echo': False, 'encoding': None, 'out_stream': None, 'err_stream': None, 'in_stream': None, 'watchers': [], 'echo_stdin': None}, 'runners': {'local': <class 'invoke.runners.Local'>}, 'sudo': {'prompt': '[sudo] password: ', 'password': None, 'user': None}, 'tasks': {'dedupe': True, 'auto_dash_names': True, 'collection_name': 'tasks', 'search_root': None}}
invoke: DEBUG: Collection-driven: {}
invoke: DEBUG: System-wide config file (/etc/invoke.py): {}
invoke: DEBUG: Per-user config file (/root/.invoke.py): {}
invoke: DEBUG: Per-project config file has not been loaded yet, skipping
invoke: DEBUG: Environment variable config: {}
invoke: DEBUG: Runtime config file has not been loaded yet, skipping
invoke: DEBUG: Overrides: {}
invoke: DEBUG: Modifications: {}
invoke: DEBUG: Deletions: {}
docker.auth.auth: DEBUG: Trying paths: <filter object at 0x7fd9e10b81c0>
docker.auth.auth: DEBUG: No config file found
--------------------- >> end captured logging << ---------------------
At the end, it shows
Ran 11 tests in 251.397s
OK