Comment 1 for bug 1877518

Revision history for this message
Paul Larson (pwlars) wrote :

I've been investigating a couple of docker test failures on RPI (armhf and arm64)that we see on this kernel that seemed a bit surprising.
The checkbox tests are:
    com.canonical.certification::docker/deploy-registry_armhf.com.canonical.certification::docker/deploy-registry_armhf
    com.canonical.certification::docker/start-stop_armhf.com.canonical.certification::docker/start-stop_armhf

Here's the first one as a script to give you something that's easy to reproduce:
-----
auth_folder=/var/snap/docker/common/auth
mkdir -p $auth_folder
docker run --entrypoint htpasswd registry:2 -Bbn user passwd > $auth_folder/htpasswd
docker run -d -p 5000:5000 --restart=always --name registry \
  -v $auth_folder:/auth \
  -e "REGISTRY_AUTH=htpasswd" \
  -e "REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm" \
  -e REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd \
   registry:2
docker pull ubuntu
docker tag ubuntu localhost:5000/ubuntu
docker login --username user --password passwd localhost:5000
docker push localhost:5000/ubuntu
docker pull localhost:5000/ubuntu
docker stop registry
docker rm -v registry
----

When the registry container starts, it seems to be crashing and docker ps seems to always show it in "restarting" state. To confirm, I reverted back to the stable kernel, and the test runs fine.