docker smoke test failed with Trusty i386

Bug #1779109 reported by Po-Hsu Lin on 2018-06-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Po-Hsu Lin

Bug Description

The test will complain about "System error: exec format error"

  ++ sudo docker run ubuntu:bionic /bin/sh -c 'cat /etc/lsb-release | grep CODENAME | cut -d '\''='\'' -f 2'
  exec format error
  time="2018-06-28T11:42:25Z" level=fatal msg="Error response from daemon: Cannot start container fb9c3d0d9f1802f4eb7feb7afdc1ba8b033b4ab10ca3e048ec7c52e28364c1ca: [8] System error: exec format error"
  + RESULT=
  + '[' '' '!=' bionic ']'
  + echo '** ERROR: The codename returned from lsb_release -c was (' ') and we were expecting bionic'
  + exit 1

The image it's using is ubuntu:bionic, it looks like it must use i386/docker on Trusty

ubuntu@onza:~$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
i386/ubuntu latest a60868e2a549 3 weeks ago 81.57 MB
ubuntu bionic 7feff7652c69 3 weeks ago 81.15 MB

Issue was introduced in http://kernel.ubuntu.com/git/ubuntu/autotest-client-tests.git/commit/?id=0af31728efd6edbdf1d6f3d89ce385eca315e7a5

Note that this test works on other releases, so it looks like docker is not that smart in Trusty.

Po-Hsu Lin (cypressyew) on 2018-06-28
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Po-Hsu Lin (cypressyew) wrote :
Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers