https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-containers/docker-compose-2.11.2 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 814723 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6d4a7b7e3156209bb838139a5b84e6a026440f1 commit e6d4a7b7e3156209bb838139a5b84e6a026440f1 Author: Nic Boet <nic@boet.cc> AuthorDate: 2022-12-05 00:55:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-05 02:29:00 +0000 app-containers/docker-buildx: new package Today, Gentoo's offical docker-images depends on GitHub actions and Ubuntu image to build our release media. By adding this new docker "buildx" ebuild, building Gentoo docker images locally on Gentoo hosts becomes possible. Addtionally, Bug 873589 reports "buildx" not found. Bug: https://bugs.gentoo.org/873589 Closes: https://github.com/gentoo/gentoo/pull/28543 Signed-off-by: Nic Boet <nic@boet.cc> Signed-off-by: Sam James <sam@gentoo.org> app-containers/docker-buildx/Manifest | 1 + .../docker-buildx/docker-buildx-0.9.1.ebuild | 42 ++++++++++++++++++++++ app-containers/docker-buildx/metadata.xml | 19 ++++++++++ 3 files changed, 62 insertions(+)
With docker-buildx installed, the command is found. Hence, the docker-compose ebuild should depend on app-containers/docker-buildx. But there is another problem: The tests need access to a running docker instance, but that is denied: >>> Test phase: app-containers/docker-compose-2.12.2 make -j8 test docker buildx bake test [+] Building 0.0s (0/0) ERROR: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied make: *** [Makefile:96: test] Error 1 * ERROR: app-containers/docker-compose-2.12.2::gentoo failed (test phase): * emake failed Maybe adding the portage user to the docker group would help. But for me personally, the solution will be to disable the tests.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95004627eed0776b6e090335d1fe4fca7a36c07e commit 95004627eed0776b6e090335d1fe4fca7a36c07e Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2023-04-07 04:54:45 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2023-04-07 04:54:45 +0000 app-containers/docker-compose: restrict tests The tests require a running docker daemon. Closes: https://bugs.gentoo.org/873589 Signed-off-by: William Hubbs <williamh@gentoo.org> app-containers/docker-compose/docker-compose-2.17.2.ebuild | 1 + 1 file changed, 1 insertion(+)