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

Mounting /etc/resolv.conf failed: no such file or directory #70

Open
kit-ty-kate opened this issue May 19, 2021 · 4 comments
Open

Mounting /etc/resolv.conf failed: no such file or directory #70

kit-ty-kate opened this issue May 19, 2021 · 4 comments

Comments

@kit-ty-kate
Copy link
Contributor

2021-05-19 15:18.53 ---> saved as "85c1320ab1ae429fb0abc80fa220f00c2346bc50657edad3e8ddfea8ca32138e"

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "opam remove -y bimage-lwt.0.4.0 && opam depext -ivyt bimage-lwt.0.4.0;\
               \n        res=$?;\
               \n        test \"$res\" != 31 && exit \"$res\";\
               \n        export OPAMCLI=2.0;\
               \n        build_dir=$(opam var prefix)/.opam-switch/build;\
               \n        failed=$(ls \"$build_dir\");\
               \n        for pkg in $failed; do\
               \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"oraclelinux-8\\\"\"; then\
               \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
               \n          fi;\
               \n        done;\
               \n        exit 1"))
time="2021-05-19T15:18:54Z" level=warning msg="exit status 1"
time="2021-05-19T15:18:54Z" level=error msg="container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting \"/etc/resolv.conf\" to rootfs at \"/var/cache/obuilder/result-tmp/0618da6351c4c1c74e51dc3b4f66ea5abe472f23150a83f94eb992da863802e6/rootfs/etc/resolv.conf\" caused: no such file or directory"
"/bin/bash" "-c"
"opam remove -y bimage-lwt.0.4.0 && opam depext -ivyt bimage-lwt.0.4.0;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"oraclelinux-8\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
        done;
        exit 1" failed with exit status 1
2021-05-19 15:19.21: Job failed: Failed: Build failed

Full log: https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/ec85e6548c1148414fca1d6e4f407d805e995776/variant/opam-2.0,distributions,oraclelinux-8,bimage-lwt.0.4.0,tests

@talex5
Copy link
Contributor

talex5 commented May 27, 2021

Very odd. According to the logs, this has happened a few times, e.g.

x86-bm-10.ocamllabs.io : ./2021-05-18/115511-ci-ocluster-build-397cc5.log:time="2021-05-18T12:41:08Z" level=error msg="container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting \"/etc/resolv.conf\" to rootfs at \"/var/cache/obuilder/result-tmp/99d6e45f1a9c19040352ca54a2b330beb581baeea762c33bfd14b1fc529f1743/rootfs/etc/resolv.conf\" caused: no such file or directory"
x86-bm-6.ocamllabs.io  : ./2021-05-18/115540-ci-ocluster-build-e7244a.log:time="2021-05-18T18:13:40Z" level=error msg="container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting \"/etc/resolv.conf\" to rootfs at \"/var/cache/obuilder/result-tmp/074efebd0a66bc546ff8975b00cb53b88b7ad6910ee3ae3c033ff3fcde17580b/rootfs/etc/resolv.conf\" caused: no such file or directory"
x86-bm-7.ocamllabs.io  : ./2021-05-24/091057-ci-ocluster-build-242081.log:time="2021-05-24T09:15:25Z" level=error msg="container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting \"/etc/resolv.conf\" to rootfs at \"/var/cache/obuilder/result-tmp/87ca3d365af464bc84ff9c6988ba26c7344127c0f3a30d100745f00a98399b0f/rootfs/etc/resolv.conf\" caused: no such file or directory"
x86-bm-7.ocamllabs.io  : ./2021-05-24/174327-ci-ocluster-build-c2cd26.log:time="2021-05-24T18:30:19Z" level=error msg="container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting \"/etc/resolv.conf\" to rootfs at \"/var/cache/obuilder/result-tmp/69b99dd975b9ba10c89e0a785f30dd5caded51ace6cf0eeb1601d2ebca2e1120/rootfs/etc/resolv.conf\" caused: no such file or directory"
x86-bm-4.ocamllabs.io  : ./2021-05-26/144123-ci-ocluster-build-9ac277.log:time="2021-05-26T20:03:55+02:00" level=error msg="container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting \"/etc/resolv.conf\" to rootfs at \"/var/cache/obuilder/result-tmp/0203f4883069487f59561fb1c11e7f3be73e79276b91868f5f6cc45d301383d9/rootfs/etc/resolv.conf\" caused: no such file or directory"

@kit-ty-kate
Copy link
Contributor Author

@samoht
Copy link
Contributor

samoht commented Jun 24, 2021

Another occurence in https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/f9b6838562de5a899902de01ea3351cdb4bf185f/variant/opam-2.0,distributions,ubuntu-18.04,irmin-chunk.2.7.0,tests

time="2021-06-23T20:07:12+02:00" level=error msg="container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting \"/etc/resolv.conf\" to rootfs at \"/var/cache/obuilder/result-tmp/a2708450d72d53b2c74e292c16fc938209e0b10d309ae5a8f833ce16963f3a70/rootfs/etc/resolv.conf\" caused: no such file or directory"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants