Skipping 5,147 KB..
Full LogTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTest
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/json', params={'limit': -1, 'all': 1, 'size': 0, 'trunc_cmd': 0, 'since': None, 'before': None}, timeout=60)
17:03:50 _______________________ ContainerTest.test_log_following _______________________
17:03:50 tests/unit/api_container_test.py:1407: in test_log_following
17:03:50 stream=False
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'timestamps': 0, 'follow': 1, 'stderr': 1, 'stdout': 1, 'tail': 'all'}, stream=False, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', params={'stderr': 1, 'stdout': 1, 'timestamps': 0, 'follow': 1, 'tail': 'all'}, stream=False, timeout=60)
17:03:50 __________________ ContainerTest.test_log_following_backwards __________________
17:03:50 tests/unit/api_container_test.py:1422: in test_log_following_backwards
17:03:50 stream=True
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'timestamps': 0, 'follow': 1, 'stderr': 1, 'stdout': 1, 'tail': 'all'}, stream=True, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', params={'stderr': 1, 'stdout': 1, 'timestamps': 0, 'follow': 1, 'tail': 'all'}, stream=True, timeout=60)
17:03:50 _________________________ ContainerTest.test_log_since _________________________
17:03:50 tests/unit/api_container_test.py:1472: in test_log_since
17:03:50 stream=False
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'timestamps': 0, 'follow': 0, 'stderr': 1, 'stdout': 1, 'tail': 'all', 'since': 809222400}, stream=False, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', params={'stderr': 1, 'stdout': 1, 'timestamps': 0, 'follow': 0, 'tail': 'all', 'since': 809222400}, stream=False, timeout=60)
17:03:50 __________________ ContainerTest.test_log_since_with_datetime __________________
17:03:50 tests/unit/api_container_test.py:1490: in test_log_since_with_datetime
17:03:50 stream=False
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'timestamps': 0, 'follow': 0, 'stderr': 1, 'stdout': 1, 'tail': 'all', 'since': 809222400}, stream=False, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', params={'stderr': 1, 'stdout': 1, 'timestamps': 0, 'follow': 0, 'tail': 'all', 'since': 809222400}, stream=False, timeout=60)
17:03:50 _______________________ ContainerTest.test_log_streaming _______________________
17:03:50 tests/unit/api_container_test.py:1391: in test_log_streaming
17:03:50 stream=True
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'timestamps': 0, 'follow': 0, 'stderr': 1, 'stdout': 1, 'tail': 'all'}, stream=True, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', params={'stderr': 1, 'stdout': 1, 'timestamps': 0, 'follow': 0, 'tail': 'all'}, stream=True, timeout=60)
17:03:50 ________________ ContainerTest.test_log_streaming_and_following ________________
17:03:50 tests/unit/api_container_test.py:1438: in test_log_streaming_and_following
17:03:50 stream=True
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'timestamps': 0, 'follow': 1, 'stderr': 1, 'stdout': 1, 'tail': 'all'}, stream=True, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', params={'stderr': 1, 'stdout': 1, 'timestamps': 0, 'follow': 1, 'tail': 'all'}, stream=True, timeout=60)
17:03:50 _________________________ ContainerTest.test_log_tail __________________________
17:03:50 tests/unit/api_container_test.py:1455: in test_log_tail
17:03:50 stream=False
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'timestamps': 0, 'follow': 0, 'stderr': 1, 'stdout': 1, 'tail': 10}, stream=False, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', params={'stderr': 1, 'stdout': 1, 'timestamps': 0, 'follow': 0, 'tail': 10}, stream=False, timeout=60)
17:03:50 __________________________ ContainerTest.test_log_tty __________________________
17:03:50 tests/unit/api_container_test.py:1517: in test_log_tty
17:03:50 stream=True
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'timestamps': 0, 'follow': 1, 'stderr': 1, 'stdout': 1, 'tail': 'all'}, stream=True, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', params={'stderr': 1, 'stdout': 1, 'timestamps': 0, 'follow': 1, 'tail': 'all'}, stream=True, timeout=60)
17:03:50 ___________________________ ContainerTest.test_logs ____________________________
17:03:50 tests/unit/api_container_test.py:1356: in test_logs
17:03:50 stream=False
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'timestamps': 0, 'follow': 0, 'stderr': 1, 'stdout': 1, 'tail': 'all'}, stream=False, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', params={'stderr': 1, 'stdout': 1, 'timestamps': 0, 'follow': 0, 'tail': 'all'}, stream=False, timeout=60)
17:03:50 _______________ ContainerTest.test_logs_with_dict_instead_of_id ________________
17:03:50 tests/unit/api_container_test.py:1373: in test_logs_with_dict_instead_of_id
17:03:50 stream=False
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'timestamps': 0, 'follow': 0, 'stderr': 1, 'stdout': 1, 'tail': 'all'}, stream=False, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/logs', params={'stderr': 1, 'stdout': 1, 'timestamps': 0, 'follow': 0, 'tail': 'all'}, stream=False, timeout=60)
17:03:50 ______________________ ContainerTest.test_pause_container ______________________
17:03:50 tests/unit/api_container_test.py:1584: in test_pause_container
17:03:50 timeout=(DEFAULT_TIMEOUT_SECONDS)
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/pause', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, timeout=60)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/pause', timeout=60)
17:03:50 ___________________________ ContainerTest.test_port ____________________________
17:03:50 tests/unit/api_container_test.py:1547: in test_port
17:03:50 timeout=DEFAULT_TIMEOUT_SECONDS
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/json', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, timeout=60)
17:03:50 E Actual call: mock('GET', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/json', timeout=60)
17:03:50 _____________________ ContainerTest.test_remove_container ______________________
17:03:50 tests/unit/api_container_test.py:1660: in test_remove_container
17:03:50 timeout=DEFAULT_TIMEOUT_SECONDS
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('DELETE', 'http+docker://localhost/v1.39/containers/3cc2351ab11b', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'v': False, 'link': False, 'force': False}, timeout=60)
17:03:50 E Actual call: mock('DELETE', 'http+docker://localhost/v1.39/containers/3cc2351ab11b', params={'v': False, 'link': False, 'force': False}, timeout=60)
17:03:50 _________ ContainerTest.test_remove_container_with_dict_instead_of_id __________
17:03:50 tests/unit/api_container_test.py:1671: in test_remove_container_with_dict_instead_of_id
17:03:50 timeout=DEFAULT_TIMEOUT_SECONDS
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('DELETE', 'http+docker://localhost/v1.39/containers/3cc2351ab11b', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'v': False, 'link': False, 'force': False}, timeout=60)
17:03:50 E Actual call: mock('DELETE', 'http+docker://localhost/v1.39/containers/3cc2351ab11b', params={'v': False, 'link': False, 'force': False}, timeout=60)
17:03:50 _____________________ ContainerTest.test_rename_container ______________________
17:03:50 tests/unit/api_container_test.py:1319: in test_rename_container
17:03:50 timeout=DEFAULT_TIMEOUT_SECONDS
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/rename', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'name': 'foobar'}, timeout=60)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/rename', params={'name': 'foobar'}, timeout=60)
17:03:50 _____________________ ContainerTest.test_resize_container ______________________
17:03:50 tests/unit/api_container_test.py:1305: in test_resize_container
17:03:50 timeout=DEFAULT_TIMEOUT_SECONDS
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/resize', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'h': 15, 'w': 120}, timeout=60)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/resize', params={'h': 15, 'w': 120}, timeout=60)
17:03:50 _____________________ ContainerTest.test_restart_container _____________________
17:03:50 tests/unit/api_container_test.py:1638: in test_restart_container
17:03:50 timeout=(DEFAULT_TIMEOUT_SECONDS + 2)
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/restart', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'t': 2}, timeout=62)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/restart', params={'t': 2}, timeout=62)
17:03:50 _________ ContainerTest.test_restart_container_with_dict_instead_of_id _________
17:03:50 tests/unit/api_container_test.py:1649: in test_restart_container_with_dict_instead_of_id
17:03:50 timeout=(DEFAULT_TIMEOUT_SECONDS + 2)
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/restart', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'t': 2}, timeout=62)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/restart', params={'t': 2}, timeout=62)
17:03:50 ______________________ ContainerTest.test_stop_container _______________________
17:03:50 tests/unit/api_container_test.py:1560: in test_stop_container
17:03:50 timeout=(DEFAULT_TIMEOUT_SECONDS + timeout)
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/stop', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'t': 2}, timeout=62)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/stop', params={'t': 2}, timeout=62)
17:03:50 __________ ContainerTest.test_stop_container_with_dict_instead_of_id ___________
17:03:50 tests/unit/api_container_test.py:1574: in test_stop_container_with_dict_instead_of_id
17:03:50 timeout=(DEFAULT_TIMEOUT_SECONDS + timeout)
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/stop', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'t': 2}, timeout=62)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/stop', params={'t': 2}, timeout=62)
17:03:50 _____________________ ContainerTest.test_unpause_container _____________________
17:03:50 tests/unit/api_container_test.py:1594: in test_unpause_container
17:03:50 timeout=(DEFAULT_TIMEOUT_SECONDS)
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/unpause', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, timeout=60)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/unpause', timeout=60)
17:03:50 ___________________________ ContainerTest.test_wait ____________________________
17:03:50 tests/unit/api_container_test.py:1330: in test_wait
17:03:50 params={}
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/wait', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={}, timeout=None)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/wait', params={}, timeout=None)
17:03:50 _______________ ContainerTest.test_wait_with_dict_instead_of_id ________________
17:03:50 tests/unit/api_container_test.py:1341: in test_wait_with_dict_instead_of_id
17:03:50 params={}
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/wait', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={}, timeout=None)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/containers/3cc2351ab11b/wait', params={}, timeout=None)
17:03:50 __________________________ ExecTest.test_exec_create ___________________________
17:03:50 tests/unit/api_exec_test.py:41: in test_exec_create
17:03:50 assert args[1]['headers'] == \
17:03:50 E AssertionError: assert {'Content-Typ...ication/json'} == {'Accept': '*/...on/json', ...}
17:03:50 E Omitting 1 identical items, use -vv to show
17:03:50 E Right contains more items:
17:03:50 E {'Accept': '*/*',
17:03:50 E 'Accept-Encoding': 'gzip, deflate',
17:03:50 E 'Connection': 'keep-alive',
17:03:50 E 'User-Agent': 'docker-sdk-python/4.4.0-dev'}
17:03:50 E Full diff:...
17:03:50 E
17:03:50 E ...Full output truncated (9 lines hidden), use '-vv' to show
17:03:50 __________________________ ExecTest.test_exec_resize ___________________________
17:03:50 tests/unit/api_exec_test.py:97: in test_exec_resize
17:03:50 timeout=DEFAULT_TIMEOUT_SECONDS
17:03:50 /usr/local/lib/python3.7/unittest/mock.py:878: in assert_called_with
17:03:50 raise AssertionError(_error_message()) from cause
17:03:50 E AssertionError: Expected call: mock('POST', 'http+docker://localhost/v1.39/exec/d5d177f121dc/resize', headers={'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'User-Agent': 'docker-sdk-python/4.4.0-dev'}, params={'h': 20, 'w': 60}, timeout=60)
17:03:50 E Actual call: mock('POST', 'http+docker://localhost/v1.39/exec/d5d177f121dc/resize', params={'h': 20, 'w': 60}, timeout=60)
17:03:50 ___________________________ ExecTest.test_exec_start ___________________________
17:03:50 tests/unit/api_exec_test.py:58: in test_exec_start
17:03:50 assert args[1]['headers'] == merge_dicts(DEFAULT_HEADERS, {
17:03:50 E AssertionError: assert {'Connection'...grade': 'tcp'} == {'Accept': '*/...on/json', ...}
17:03:50 E Omitting 3 identical items, use -vv to show
17:03:50 E Right contains more items:
17:03:50 E {'Accept': '*/*',
17:03:50 E 'Accept-Encoding': 'gzip, deflate',
17:03:50 E 'User-Agent': 'docker-sdk-python/4.4.0-dev'}
17:03:50 E Full diff:
17:03:50 E - {'Connection': 'Upgrade', 'Content-Type': 'application/json', 'Upgrade': 'tcp'}...
17:03:50 E
17:03:50 E ...Full output truncated (7 lines hidden), use '-vv' to show
17:03:50 ______________________ ExecTest.test_exec_start_detached _______________________
17:03:50 tests/unit/api_exec_test.py:77: in test_exec_start_detached
17:03:50 assert args[1]['headers'] == merge_dicts(DEFAULT_HEADERS, {
17:03:50 E AssertionError: assert {'Content-Typ...ication/json'} == {'Accept': '*/...on/json', ...}
17:03:50 E Omitting 1 identical items, use -vv to show
17:03:50 E Right contains more items:
17:03:50 E {'Accept': '*/*',
17:03:50 E 'Accept-Encoding': 'gzip, deflate',
17:03:50 E 'Connection': 'keep-alive',
17:03:50 E 'User-Agent': 'docker-sdk-python/4.4.0-dev'}
17:03:50 E Full diff:...
17:03:50 E
17:03:50 E ...Full output truncated (9 lines hidden), use '-vv' to show
17:03:50 ____________________________ ImageTest.test_commit _____________________________
17:03:50 tests/unit/api_image_test.py:106: in test_commit
17:03:50 {'Content-Type': 'application/json'}),
17:03:50 tests/unit/api_exec_test.py:17: in merge_dicts
17:03:50 result.update(dictionary)
17:03:50 E ValueError: dictionary update sequence element #0 has length 1; 2 is required
17:03:50 =============================== warnings summary ===============================
17:03:50 /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23
17:03:50 /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
17:03:50 from collections import MutableMapping
17:03:50
17:03:50 -- Docs: https://docs.pytest.org/en/latest/warnings.html
17:03:50
17:03:50 ----------- coverage: platform linux, python 3.7.9-final-0 -----------
17:03:50 Name Stmts Miss Branch BrPart Cover
17:03:50 -----------------------------------------------------------------------
17:03:50 docker/__init__.py 8 0 0 0 100%
17:03:50 docker/api/__init__.py 1 0 0 0 100%
17:03:50 docker/api/build.py 126 18 93 16 83%
17:03:50 docker/api/client.py 263 46 98 13 82%
17:03:50 docker/api/config.py 31 0 6 2 95%
17:03:50 docker/api/container.py 266 17 104 19 90%
17:03:50 docker/api/daemon.py 39 2 14 4 89%
17:03:50 docker/api/exec_api.py 46 4 22 4 88%
17:03:50 docker/api/image.py 157 21 58 12 84%
17:03:50 docker/api/network.py 90 13 48 12 80%
17:03:50 docker/api/plugin.py 90 13 14 4 82%
17:03:50 docker/api/secret.py 36 3 10 3 83%
17:03:50 docker/api/service.py 200 60 149 32 61%
17:03:50 docker/api/swarm.py 106 14 38 10 82%
17:03:50 docker/api/volume.py 38 3 14 3 88%
17:03:50 docker/auth.py 198 17 74 17 88%
17:03:50 docker/client.py 69 4 2 0 94%
17:03:50 docker/constants.py 22 0 0 0 100%
17:03:50 docker/context/__init__.py 2 0 0 0 100%
17:03:50 docker/context/api.py 78 16 38 8 76%
17:03:50 docker/context/config.py 61 24 16 2 56%
17:03:50 docker/context/context.py 151 21 62 15 81%
17:03:50 docker/credentials/__init__.py 3 0 0 0 100%
17:03:50 docker/credentials/constants.py 4 0 0 0 100%
17:03:50 docker/credentials/errors.py 11 1 2 1 85%
17:03:50 docker/credentials/store.py 50 9 16 5 73%
17:03:50 docker/credentials/utils.py 23 13 12 1 31%
17:03:50 docker/errors.py 110 12 20 6 86%
17:03:50 docker/models/__init__.py 0 0 0 0 100%
17:03:50 docker/models/configs.py 21 8 2 0 57%
17:03:50 docker/models/containers.py 183 6 70 5 95%
17:03:50 docker/models/images.py 137 29 56 3 76%
17:03:50 docker/models/networks.py 37 1 12 0 98%
17:03:50 docker/models/nodes.py 15 1 2 0 94%
17:03:50 docker/models/plugins.py 49 30 10 0 32%
17:03:50 docker/models/resource.py 41 9 6 2 77%
17:03:50 docker/models/secrets.py 21 8 2 0 57%
17:03:50 docker/models/services.py 87 3 36 3 95%
17:03:50 docker/models/swarm.py 39 3 6 3 87%
17:03:50 docker/models/volumes.py 23 1 4 0 96%
17:03:50 docker/tls.py 37 6 14 6 76%
17:03:50 docker/transport/__init__.py 11 3 0 0 73%
17:03:50 docker/transport/basehttpadapter.py 6 0 2 1 88%
17:03:50 docker/transport/npipeconn.py 59 54 10 0 7%
17:03:50 docker/transport/npipesocket.py 137 132 22 0 3%
17:03:50 docker/transport/sshconn.py 149 110 50 1 20%
17:03:50 docker/transport/ssladapter.py 36 10 10 4 65%
17:03:50 docker/transport/unixconn.py 66 6 12 4 87%
17:03:50 docker/types/__init__.py 6 0 0 0 100%
17:03:50 docker/types/base.py 5 0 2 0 100%
17:03:50 docker/types/containers.py 420 66 326 43 84%
17:03:50 docker/types/daemon.py 36 8 14 4 72%
17:03:50 docker/types/healthcheck.py 34 12 4 1 61%
17:03:50 docker/types/networks.py 41 6 28 5 81%
17:03:50 docker/types/services.py 312 45 206 33 83%
17:03:50 docker/types/swarm.py 51 24 40 10 52%
17:03:50 docker/utils/__init__.py 3 0 0 0 100%
17:03:50 docker/utils/build.py 155 18 76 7 87%
17:03:50 docker/utils/config.py 36 2 10 2 91%
17:03:50 docker/utils/decorators.py 37 1 18 2 95%
17:03:50 docker/utils/fnmatch.py 55 18 28 2 61%
17:03:50 docker/utils/json_stream.py 43 8 14 2 79%
17:03:50 docker/utils/ports.py 50 3 32 2 91%
17:03:50 docker/utils/proxy.py 32 1 12 0 98%
17:03:50 docker/utils/socket.py 86 9 40 7 86%
17:03:50 docker/utils/utils.py 285 19 177 13 92%
17:03:50 docker/version.py 2 0 2 0 100%
17:03:50 -----------------------------------------------------------------------
17:03:50 TOTAL 5122 991 2265 354 78%
17:03:50
17:03:50 =========================== short test summary info ============================
17:03:50 XFAIL tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options
17:03:50 CONFIG_RT_GROUP_SCHED isn't enabled
17:03:50 XFAIL tests/integration/api_container_test.py::CreateContainerTest::test_create_with_storage_opt
17:03:50 Not supported on most drivers
17:03:50 XFAIL tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs
17:03:50 Output of docker top depends on host distro, and is not formalized.
17:03:50 XFAIL tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver
17:03:50 This doesn't seem to be taken into account by the engine
17:03:50 XFAIL tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows
17:03:50 SKIPPED [3] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode
17:03:50 SKIPPED [1] tests/integration/api_image_test.py:292: Doesn't work inside a container - FIXME
17:03:50 SKIPPED [1] /src/tests/integration/api_swarm_test.py:31: Test stalls the engine on 1.12.0
17:03:50 SKIPPED [1] tests/unit/api_build_test.py:188: Windows-specific syntax
17:03:50 SKIPPED [1] tests/unit/client_test.py:103: Npipe Connection Pool only on Windows
17:03:50 SKIPPED [1] tests/unit/client_test.py:142: Npipe Connection Pool only on Windows
17:03:50 SKIPPED [1] tests/unit/client_test.py:216: Npipe Connection Pool only on Windows
17:03:50 SKIPPED [1] tests/unit/client_test.py:253: Npipe Connection Pool only on Windows
17:03:50 SKIPPED [1] tests/unit/context_test.py:18: Windows specific path check
17:03:50 SKIPPED [1] tests/unit/utils_build_test.py:232: Backslash patterns only on Windows
17:03:50 SKIPPED [1] tests/unit/utils_build_test.py:254: Backslash patterns only on Windows
17:03:50 SKIPPED [1] tests/unit/utils_build_test.py:402: root user always has access ; no chmod on Windows
17:03:50 SKIPPED [1] tests/unit/utils_config_test.py:58: condition: sys.platform != 'win32'
17:03:50 SKIPPED [1] tests/unit/utils_test.py:487: shlex doesn't support bytes in py3
17:03:50 = 75 failed, 853 passed, 16 skipped, 5 xfailed, 4 xpassed, 1 warnings in 339.43 seconds =
[Pipeline] sh
17:03:50 dpy-dind-38-0-py3.7-20.10.0
17:03:50 + docker network rm dpy-testnet-38-0-py3.7-20.10.0
17:03:50 dpy-testnet-38-0-py3.7-20.10.0
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch py3.7_20.10.0
17:03:50 + docker stop dpy-dind-38-0-py3.7-19.03.13
17:03:56 dpy-dind-38-0-py3.7-19.03.12
17:03:56 + docker network rm dpy-testnet-38-0-py3.7-19.03.12
17:03:56 dpy-testnet-38-0-py3.7-19.03.12
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch py3.7_19.03.12
17:04:02 dpy-dind-38-0-py3.7-19.03.13
17:04:02 + docker network rm dpy-testnet-38-0-py3.7-19.03.13
17:04:02 dpy-testnet-38-0-py3.7-19.03.13
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch py3.7_19.03.13
[Pipeline] // parallel
[Pipeline] End of Pipeline
GitHub has been notified of this commit’s build result
ERROR: script returned exit code 1
Finished: FAILURE