Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing debian10 docker-in-docker e2e test #34

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Conversation

kke
Copy link
Contributor

@kke kke commented Sep 18, 2023

Fixes #17

@kke kke force-pushed the debian10-dockerindocker branch from ddc54db to 99e543b Compare September 18, 2023 08:34
kke added 3 commits September 18, 2023 11:43
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke force-pushed the debian10-dockerindocker branch from 99e543b to c000a00 Compare September 18, 2023 08:43
tests/Makefile Show resolved Hide resolved
@kke
Copy link
Contributor Author

kke commented Sep 18, 2023

I do not know how any of this fixes it, but now it works?!

@kke kke marked this pull request as ready for review September 18, 2023 08:49
@kke kke changed the title Investigating debian10 docker-in-docker Fix failing debian10 docker-in-docker e2e test Sep 18, 2023
@kke kke added bug Something isn't working area/e2e labels Sep 18, 2023
@kke
Copy link
Contributor Author

kke commented Sep 18, 2023

I wonder if they changed something in the apt repo? 🤔 It was already failing at apt install -y docker.io before, not the line I modified here.

Looks like probably not, as the diff for two runs only shows change in result, not in any package versions.

1,3c1,3
< time="2023-09-18T06:37:58Z" level=info msg="Creating SSH key: test-docker-in-docker-debian10-key ..."
< time="2023-09-18T06:38:00Z" level=info msg="Docker Image: debian10 present locally"
< time="2023-09-18T06:38:00Z" level=info msg="Creating machine: test-docker-in-docker-debian10-node0 ..."
---
> time="2023-09-18T08:44:45Z" level=info msg="Creating SSH key: test-docker-in-docker-debian10-key ..."
> time="2023-09-18T08:44:46Z" level=info msg="Docker Image: debian10 present locally"
> time="2023-09-18T08:44:46Z" level=info msg="Creating machine: test-docker-in-docker-debian10-node0 ..."
13c13
< Fetched 8682 kB in 2s (4235 kB/s)
---
> Fetched 8682 kB in 2s (3888 kB/s)
100c100
< Fetched 80.6 MB in 1s (78.0 MB/s)
---
> Fetched 80.6 MB in 1s (99.3 MB/s)
302,313c302,303
< Job for docker.service failed because the control process exited with error code.
< See "systemctl status docker.service" and "journalctl -xe" for details.
< invoke-rc.d: initscript docker, action "start" failed.
< ● docker.service - Docker Application Container Engine
<    Loaded: loaded (/lib/systemd/system/docker.service; disabled; vendor preset: enabled)
<    Active: activating (auto-restart) (Result: exit-code) since Mon 2023-09-18 06:38:20 UTC; 10ms ago
<      Docs: https://docs.docker.com
<   Process: 1030 ExecStart=/usr/sbin/dockerd -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE)
<  Main PID: 1030 (code=exited, status=1/FAILURE)
<       CPU: 140ms
< dpkg: error processing package docker.io (--configure):
<  installed docker.io package post-installation script subprocess returned error exit status 1
---
> Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
> Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
327,337c317,324
< Errors were encountered while processing:
<  docker.io
< E: Sub-process /usr/bin/dpkg returned an error code (1)
< time="2023-09-18T06:38:21Z" level=fatal msg="exit status 100"
<     e2e_test.go:321: output:
<     e2e_test.go:323:
<         	Error Trace:	/home/runner/work/footloose/footloose/tests/e2e_test.go:323
<         	            				/home/runner/work/footloose/footloose/tests/e2e_test.go:416
<         	Error:      	Received unexpected error:
<         	            	exit status 1
<         	Test:       	TestEndToEnd/test-docker-in-docker-debian10
\ No newline at end of file
---
> Using default tag: latest
> latest: Pulling from library/busybox
> 3f4d90098f5b: Pulling fs layer
> 3f4d90098f5b: Verifying Checksum
> 3f4d90098f5b: Download complete
> 3f4d90098f5b: Pull complete
> Digest: sha256:3fbc632167424a6d997e74f52b878d7cc478225cffac6bc977eedfe51c7f4e79
> Status: Downloaded newer image for busybox:latest

Maybe github runner changed somehow?

@kke kke merged commit 77c9c0a into main Sep 18, 2023
@kke kke deleted the debian10-dockerindocker branch September 18, 2023 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/e2e bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing e2e: debian10 docker in docker
1 participant