summary refs log tree commit diff stats
path: root/results/classifier/118/unknown/1880518
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-16 16:59:00 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-16 16:59:33 +0000
commit9aba81d8eb048db908c94a3c40c25a5fde0caee6 (patch)
treeb765e7fb5e9a3c2143c68b0414e0055adb70e785 /results/classifier/118/unknown/1880518
parentb89a938452613061c0f1f23e710281cf5c83cb29 (diff)
downloademulator-bug-study-9aba81d8eb048db908c94a3c40c25a5fde0caee6.tar.gz
emulator-bug-study-9aba81d8eb048db908c94a3c40c25a5fde0caee6.zip
add 18th iteration of classifier
Diffstat (limited to 'results/classifier/118/unknown/1880518')
-rw-r--r--results/classifier/118/unknown/1880518113
1 files changed, 113 insertions, 0 deletions
diff --git a/results/classifier/118/unknown/1880518 b/results/classifier/118/unknown/1880518
new file mode 100644
index 00000000..587bd032
--- /dev/null
+++ b/results/classifier/118/unknown/1880518
@@ -0,0 +1,113 @@
+peripherals: 0.889
+permissions: 0.864
+TCG: 0.845
+register: 0.833
+user-level: 0.826
+VMM: 0.819
+assembly: 0.819
+virtual: 0.816
+arm: 0.816
+x86: 0.814
+vnc: 0.813
+graphic: 0.812
+ppc: 0.808
+risc-v: 0.801
+i386: 0.796
+files: 0.795
+architecture: 0.794
+semantic: 0.792
+debug: 0.777
+performance: 0.774
+PID: 0.774
+KVM: 0.772
+device: 0.772
+mistranslation: 0.766
+socket: 0.764
+boot: 0.741
+hypervisor: 0.727
+network: 0.721
+kernel: 0.708
+
+issue while installing docker inside s390x container
+
+This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
+I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
+Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
+docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
+enabled
+interpreter /usr/bin/qemu-s390x-static
+flags: F
+offset 0
+magic 7f454c4602020100000000000000000000020016
+mask ffffffffffffff00fffffffffffffffffffeffff
+I could get docker service up with the following trick. 
+printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
+But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
+failed to register layer: Error processing tar file(exit status 1):
+
+Without a more detailled error message we can'know what happens.
+
+What I see is you don't have the 'OC' flags that should help to execute binaries with (s) bit.
+
+You should also report the version of qemu.
+
+The error message that I posted above is all that I see when I go to pull and image.
+Following is the log from docker daemon
+
+time="2020-05-26T07:34:31.385796553Z" level=info msg="API listen on /var/run/docker.sock"
+time="2020-05-26T07:34:34.607431981Z" level=debug msg="Calling GET /_ping"
+time="2020-05-26T07:34:34.635096021Z" level=debug msg="Calling GET /v1.38/containers/json"
+time="2020-05-26T07:34:43.919894850Z" level=debug msg="Calling GET /_ping"
+time="2020-05-26T07:34:43.963634642Z" level=debug msg="Calling GET /v1.38/info"
+time="2020-05-26T07:34:44.702451808Z" level=debug msg="Calling POST /v1.38/images/create?fromImage=hello-world&tag=latest"
+time="2020-05-26T07:34:44.715857621Z" level=debug msg="Trying to pull hello-world from https://registry-1.docker.io v2"
+time="2020-05-26T07:34:46.805807639Z" level=debug msg="Pulling ref from V2 registry: hello-world:latest"
+time="2020-05-26T07:34:46.806872106Z" level=debug msg="docker.io/library/hello-world:latest resolved to a manifestList object with 9 entries; looking for a unknown/s390x match"
+time="2020-05-26T07:34:46.808815074Z" level=debug msg="found match for linux/s390x with media type application/vnd.docker.distribution.manifest.v2+json, digest sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf"
+time="2020-05-26T07:34:47.233545931Z" level=debug msg="pulling blob \"sha256:3c80930bfdd5b53b7ca2a6b8116ed9a273af43a6b2dd13e81e82aae7521be469\""
+time="2020-05-26T07:34:47.864739182Z" level=debug msg="Downloaded 3c80930bfdd5 to tempfile /var/lib/docker/tmp/GetImageBlob114078888"
+time="2020-05-26T07:34:48.038875327Z" level=debug msg="Cleaning up layer b3da5d545c61d65059a2190feb19ae13797338ee999542b615e93e9708b88507: Error processing tar file(exit status 1): "
+time="2020-05-26T07:34:48.049928529Z" level=info msg="Attempting next endpoint for pull after error: failed to register layer: Error processing tar file(exit status 1): "
+
+Since I am using multiarch/qemu-user-static with the latest tag, qemu version is 4.2.0-6.
+
+docker in docker works flawlessly on native s390x host. I am facing this issue only with qemu. Are there any other steps to follow to make docker in docker work under qemu?
+
+Any pointers about this issue? Any other steps needs to be followed to resolve the issue?
+
+Also same issue observed with docker version 19.03. docker pull command failing with an error "failed to register layer: Error processing tar file(exit status 1):" 
+
+
+
+QEMU 4.2 is quite old already, can you also reproduce the issue with the latest version of QEMU (v5.2 ... or maybe even with the 6.0-rc1 that should get released next week)?
+
+Yes we have observed the issue with multiarch/qemu-user-static image v5.2.0-1 and 5.2.0-2 
+
+
+docker not starting inside s390x container. Log shows:
+
+Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.6.1: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
+Perhaps iptables or your kernel needs to be upgraded.
+ (exit status 3)
+
+
+As we are facing issue with service docker start ( for docker in docker s390x container under qemu)
+
+time="2021-03-23T07:29:07.645278866Z" level=warning msg="Running modprobe nf_nat failed with message: ``, error: exec: \"modprobe\": executable file not found in $PATH"
+time="2021-03-23T07:29:07.645535879Z" level=warning msg="Running modprobe xt_conntrack failed with message: ``, error: exec: \"modprobe\": executable file not found in $PATH"
+Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.6.1: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
+Perhaps iptables or your kernel needs to be upgraded.
+ (exit status 3)
+
+Does it mean that qemu doesn't support/have enabled related modules? modprobe?
+
+
+Could you please let me know if my understanding is correct? Qemu doesn't support/have enabled related modules? modprobe?
+
+insmod/modprobe inside the container cannot load the modules because they are the one for the target architecture while the kernel is the one of the host. If you need functionalities in the container provided by some modules you need to load these modules using modprobe/insmod on the host.
+
+Looks like for docker in docker in cross architectures is not yet supported. if we use -v /var/run/docker.sock:/var/run/docker.sock , docker will always run as client in s390x container and server from amd64.
+
+Looks like docker in docker for cross architectures is not yet supported in qemu. 
+can be closed
+