mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 20:32:43 +00:00
e9b7a84aa1
Sometimes you may get: > raise subprocess.CalledProcessError(exit_code, cmd) E subprocess.CalledProcessError: Command '['iptables', '--wait', '-D', 'DOCKER-USER', '-p', 'tcp', '-s', '172.16.2.3', '-d', '172.16.2.2', '-j', 'DROP']' returned non-zero exit status 137. And only sometimes you may get the reason: OCI runtime exec failed: exec failed: cannot exec in a stopped container: unknown So this means that container for iptables does not exists anymore, and the reason is the timeout. And the fact that container_exit_timeout was equal to container_expire_timeout and was 120. From the docker logs: time="2023-07-16T15:46:52.513673446Z" level=debug msg="form data: {\"AttachStderr\":false,\"AttachStdin\":false,\"AttachStdout\":false,\"Cmd\":[\"sleep\",\"120\"],\"HostConfig\":{\"AutoRemove\":true,\"NetworkMode\":\"host\"},\"Image\":\"clickhouse/integration-helper:latest\",\"NetworkDisabled\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Tty\":false}" time="2023-07-16T15:48:57.611857183Z" level=debug msg="form data: {\"AttachStderr\":false,\"AttachStdin\":false,\"AttachStdout\":false,\"Cmd\":[\"sleep\",\"120\"],\"HostConfig\":{\"AutoRemove\":true,\"NetworkMode\":\"host\"},\"Image\":\"clickhouse/integration-helper:latest\",\"NetworkDisabled\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Tty\":false}" And then pytest will try to execute the iptables command: time="2023-07-16T15:50:57.698705244Z" level=debug msg="starting exec command 860920ab2aa07e8d285050f200ac92423a3cf8ec3fb2f57683541e62cf6bc20e in container 66d6c96671b5e987345290ddd260727d96b99789b512d40f333f6263f42fd2f1" Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com> |
||
---|---|---|
.. | ||
dictonaries | ||
s3_mocks | ||
__init__.py | ||
0_common_enable_analyzer.xml | ||
0_common_enable_dictionaries.xml | ||
0_common_instance_config.xml | ||
0_common_instance_users.xml | ||
client.py | ||
cluster.py | ||
config_cluster.py | ||
corrupt_part_data_on_disk.py | ||
dictionary.py | ||
external_sources.py | ||
fake_cert.pem | ||
hdfs_api.py | ||
http_server.py | ||
keeper_config1.xml | ||
keeper_config2.xml | ||
keeper_config3.xml | ||
keeper_utils.py | ||
mock_servers.py | ||
mongo_cert.pem | ||
mongo_secure.conf | ||
network.py | ||
postgres_utility.py | ||
pytest_xdist_logging_to_separate_files.py | ||
s3_tools.py | ||
ssl_context.py | ||
test_tools.py | ||
uclient.py | ||
uexpect.py | ||
utility.py | ||
wait_for_helpers.py | ||
zookeeper_config.xml | ||
zookeeper_secure_config.xml |