https://bugzilla.suse.com/show_bug.cgi?id=1190985 https://bugzilla.suse.com/show_bug.cgi?id=1190985#c5 William Brown <william.brown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(william.brown@sus | |e.com) | --- Comment #5 from William Brown <william.brown@suse.com> --- Right, I can see the issue now. It's related to docker buildx. To reproduce you can use: # cat Dockerfile.base FROM opensuse/tumbleweed:latest RUN zypper in -y strace # docker build -t firstyear/tw_strace -f Dockerfile.base . # docker push firstyear/tw_strace:latest NOTE: You do need to push this image to a registry due to how buildx works (it assumes the builder MAY be remote, so it can't access local images). # cat Dockerfile.buildx # docker buildx build -f Dockerfile.buildx -t glibcrepro --load . [+] Building 9.0s (5/6) => [internal] load build definition from Dockerfile.buildx 0.0s => => transferring dockerfile: 127B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/firstyear/tw_strace:latest 4.1s => [1/3] FROM docker.io/firstyear/tw_strace:latest@sha256:e547a166006b3a459026ccdc3677904a7baad60df6e2546a55512733456f916b 4.6s => => resolve docker.io/firstyear/tw_strace:latest@sha256:e547a166006b3a459026ccdc3677904a7baad60df6e2546a55512733456f916b 0.0s => => sha256:be8f8c1e1f10f426b7128d4fc4bf5d6a8cd4f66dcf379e019e039891dbee703d 50.73MB / 50.73MB 4.2s => => extracting sha256:be8f8c1e1f10f426b7128d4fc4bf5d6a8cd4f66dcf379e019e039891dbee703d 0.4s => ERROR [2/3] RUN zypper ref --force 0.2s ------
[2/3] RUN zypper ref --force: #5 0.117 terminate called after throwing an instance of 'std::system_error' #5 0.117 what(): Operation not permitted
failed to solve: rpc error: code = Unknown desc = process "/bin/sh -c zypper ref --force" did not complete successfully: exit code: 139 Here is the strace output as requested. #5 0.301 22:15:44 read(3</usr/lib64/.libgcrypt.so.20.hmac>, "bc4aa9cc9ff4e8dc81d11b1ba42812fd"..., 4096) = 65 #5 0.301 22:15:44 read(3</usr/lib64/.libgcrypt.so.20.hmac>, "", 4096) = 0 #5 0.301 22:15:44 close(3</usr/lib64/.libgcrypt.so.20.hmac>) = 0 #5 0.330 22:15:44 prctl(PR_CAPBSET_READ, CAP_MAC_OVERRIDE) = 0 #5 0.330 22:15:44 prctl(PR_CAPBSET_READ, 0x30 /* CAP_??? */) = -1 EINVAL (Invalid argument) #5 0.330 22:15:44 prctl(PR_CAPBSET_READ, CAP_CHECKPOINT_RESTORE) = 0 #5 0.330 22:15:44 prctl(PR_CAPBSET_READ, 0x2c /* CAP_??? */) = -1 EINVAL (Invalid argument) #5 0.330 22:15:44 prctl(PR_CAPBSET_READ, 0x2a /* CAP_??? */) = -1 EINVAL (Invalid argument) #5 0.331 22:15:44 prctl(PR_CAPBSET_READ, 0x29 /* CAP_??? */) = -1 EINVAL (Invalid argument) #5 0.331 22:15:44 futex(0x7f3696d246fc, FUTEX_WAKE_PRIVATE, 2147483647) = 0 #5 0.331 22:15:44 futex(0x7f3696d24708, FUTEX_WAKE_PRIVATE, 2147483647) = 0 #5 0.331 22:15:44 brk(0x55e28a8b3000) = 0x55e28a8b3000 #5 0.332 22:15:44 pipe([3<pipe:[28381]>, 4<pipe:[28381]>]) = 0 #5 0.332 22:15:44 fcntl(3<pipe:[28381]>, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 #5 0.332 22:15:44 prctl(PR_SET_NAME, "Zypp-main") = 0 #5 0.332 22:15:44 rt_sigaction(SIGRT_1, {sa_handler=0x7f3696972f10, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f369692a7a0}, NULL, 8) = 0 #5 0.332 22:15:44 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 #5 0.333 22:15:44 mmap(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f3694e97000 #5 0.333 22:15:44 mprotect(0x7f3694e98000, 8388608, PROT_READ|PROT_WRITE) = 0 #5 0.333 22:15:44 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 #5 0.333 22:15:44 clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f3695697910, parent_tid=0x7f3695697910, exit_signal=0, stack=0x7f3694e97000, stack_size=0x7ffbc0, tls=0x7f3695697640}, 88) = -1 EPERM (Operation not permitted) #5 0.333 22:15:44 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 #5 0.334 22:15:44 futex(0x7f3696b0d1f0, FUTEX_WAKE_PRIVATE, 2147483647) = 0 #5 0.334 22:15:44 write(2<pipe:[28360]>, "terminate called after throwing "..., 48terminate called after throwing an instance of ') = 48 #5 0.334 22:15:44 write(2<pipe:[28360]>, "std::system_error", 17std::system_error) = 17 #5 0.334 22:15:44 write(2<pipe:[28360]>, "'\n", 2' #5 0.334 ) = 2 #5 0.334 22:15:44 write(2<pipe:[28360]>, " what(): ", 11 what(): ) = 11 #5 0.335 22:15:44 write(2<pipe:[28360]>, "Operation not permitted", 23Operation not permitted) = 23 #5 0.335 22:15:44 write(2<pipe:[28360]>, "\n", 1 #5 0.335 ) = 1 #5 0.335 22:15:44 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 #5 0.335 22:15:44 gettid() = 10 #5 0.335 22:15:44 getpid() = 10 #5 0.335 22:15:44 tgkill(10, 10, SIGABRT) = 0 #5 0.336 22:15:44 --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=10, si_uid=0} --- #5 0.337 22:15:44 +++ killed by SIGABRT (core dumped) +++ ------ failed to solve: rpc error: code = Unknown desc = process "/bin/sh -c strace -ftyyv zypper ref --force" did not complete successfully: exit code: 134 -- You are receiving this mail because: You are on the CC list for the bug.