You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Get "https://java-buildpack.cloudfoundry.org/openjdk/jammy/x86_64/bellsoft-jre8u452%2B11-linux-amd64.tar.gz": dial tcp 104.18.17.211:443: connect: no route to host, retrying in 712.622241ms...
216
+
```
217
+
Check whether the URL, for which the issue appears, is accessible from the host machine. If the URL appears reachable and can be accessed successfully, check again from within the corresponding Switchblade container where the test is run. This can be achieved with `docker exec -it <container_id> /bin/bash` while the container is still up in order to access the container interactively and, for example, issue a `curl` to the URL from within it. If the `connect: no route to host` can be reproduced from within the corresponding Switchblade container, you can try the following in order to mitigate it:
218
+
1. Execute `docker network prune` - this will remove any unused networks including `switchblade-internal` bridge networks set while running the integration tests.
219
+
2. Execute `sudo systemctl restart docker` - this restarts Docker and resets its networking stack, which can resolve stale or broken network routes in the Docker daemon.
220
+
221
+
- Integration test is executed successfully but the following issue appears on test container removal:
222
+
```
223
+
tomcat_test.go:34:
224
+
Expected success, but got an error:
225
+
<*fmt.wrapError | 0xc00034f140>:
226
+
failed to run teardown phase: failed to remove container: Error response from daemon: cannot remove container "switchblade-pqsal7svg": could not kill container: permission denied
227
+
{
228
+
msg: "failed to run teardown phase: failed to remove container: Error response from daemon: cannot remove container \"switchblade-pqsal7svg\": could not kill container: permission denied",
229
+
err: <*fmt.wrapError | 0xc00034f0c0>{
230
+
msg: "failed to remove container: Error response from daemon: cannot remove container \"switchblade-pqsal7svg\": could not kill container: permission denied",
231
+
err: <errdefs.errSystem>{
232
+
error: <*errors.withStack | 0xc000405b60>{
233
+
error: <*errors.withMessage | 0xc00034f000>{
234
+
cause: <*errors.fundamental | 0xc000405b30>{
235
+
msg: "cannot remove container \"switchblade-pqsal7svg\": could not kill container: permission denied",
To mitigate the above issue try executing `sudo systemctl restart docker.socket docker.service`. This command restarts both the Docker systemd socket unit (which accepts client connections) and the main Docker daemon service. Doing so refreshes the daemon’s runtime state and can clear stale processes, file handles, or permission-related inconsistencies that prevent containers from being stopped or removed, resolving the `permission denied` error seen during teardown.
200
248
201
249
### GitHub authentication errors with Docker platform
202
250
If you see errors like "Bad credentials" or "401 Unauthorized" when running Docker platform tests:
0 commit comments