xc-tests: lxc-test-api-reboot (78s)                                             
                                                                                
                                                        
18:19:08 DEBUG| [stdout] PASS: lxc-tests: lxc-test-apparmor (0s)                
                                                                                
                                                        
18:20:01 DEBUG| [stdout] PASS: lxc-tests: lxc-test-apparmor-mount (52s)         
                                                                                
                                                        
18:20:02 DEBUG| [stdout] PASS: lxc-tests: lxc-test-attach (1s)                  
                                                                                
                                                        
18:21:16 DEBUG| [stdout] PASS: lxc-tests: lxc-test-autostart (74s)              
                                                                                
                                                        
18:21:16 DEBUG| [stdout] PASS: lxc-tests: lxc-test-basic (0s)                   
                                                                                
                                                        
18:21:18 DEBUG| [stdout] PASS: lxc-tests: lxc-test-cgpath (2s)                  
                                                                                
                                                        
18:21:18 DEBUG| [stdout] PASS: lxc-tests: lxc-test-checkpoint-restore (0s)      
                                                                                
                                                        
18:21:23 DEBUG| [stdout] PASS: lxc-tests: lxc-test-cloneconfig (5s)             
                                                                                
                                                        
18:21:23 DEBUG| [stdout] PASS: lxc-tests: lxc-test-clonetest (0s)               
                                                                                
                                                        
18:21:24 DEBUG| [stdout] PASS: lxc-tests: lxc-test-concurrent (1s)              
                                                                                
                                                        
18:21:24 DEBUG| [stdout] PASS: lxc-tests: lxc-test-config-jump-table (0s)       
                                                                                
                                                        
18:21:26 DEBUG| [stdout] PASS: lxc-tests: lxc-test-console (2s)                 
                                                                                
                                                        
18:21:34 DEBUG| [stdout] PASS: lxc-tests: lxc-test-console-log (8s)             
                                                                                
                                                        
18:21:38 DEBUG| [stdout] PASS: lxc-tests: lxc-test-containertests (4s)          
                                                                                
                                                        
18:21:39 DEBUG| [stdout] PASS: lxc-tests: lxc-test-createtest (1s)              
                                                                                
                                                        
18:21:39 DEBUG| [stdout] PASS: lxc-tests: lxc-test-criu-check-feature (0s)      
                                                                                
                                                        
18:21:42 DEBUG| [stdout] PASS: lxc-tests: lxc-test-cve-2019-5736 (3s)
18:21:43 DEBUG| [stdout] PASS: lxc-tests: lxc-test-destroytest (1s)
18:21:43 DEBUG| [stdout] PASS: lxc-tests: lxc-test-device-add-remove (0s)
18:21:44 DEBUG| [stdout] PASS: lxc-tests: lxc-test-get_item (1s)
18:21:44 DEBUG| [stdout] PASS: lxc-tests: lxc-test-getkeys (0s)
18:21:44 DEBUG| [stdout] PASS: lxc-tests: lxc-test-list (0s)
18:21:47 DEBUG| [stdout] PASS: lxc-tests: lxc-test-locktests (3s)
18:21:49 DEBUG| [stdout] PASS: lxc-tests: lxc-test-lxc-attach (2s)
18:21:49 DEBUG| [stdout] PASS: lxc-tests: lxc-test-lxcpath (0s)
18:22:58 DEBUG| [stdout] PASS: lxc-tests: lxc-test-no-new-privs (69s)
18:22:58 DEBUG| [stdout] PASS: lxc-tests: lxc-test-parse-config-file (0s)
18:22:58 DEBUG| [stdout] PASS: lxc-tests: lxc-test-raw-clone (0s)
18:22:58 DEBUG| [stdout] PASS: lxc-tests: lxc-test-reboot (0s)
18:22:59 DEBUG| [stdout] PASS: lxc-tests: lxc-test-rootfs (1s)
18:23:00 DEBUG| [stdout] PASS: lxc-tests: lxc-test-saveconfig (1s)
18:23:21 DEBUG| [stdout] PASS: lxc-tests: lxc-test-share-ns (21s)
18:23:25 DEBUG| [stdout] PASS: lxc-tests: lxc-test-shortlived (4s)
18:23:48 DEBUG| [stdout] PASS: lxc-tests: lxc-test-shutdowntest (23s)
18:23:49 DEBUG| [stdout] PASS: lxc-tests: lxc-test-snapshot (1s)
18:23:53 DEBUG| [stdout] PASS: lxc-tests: lxc-test-startone (4s)
18:23:53 DEBUG| [stdout] IGNORED: lxc-tests: lxc-test-state-server
18:23:54 DEBUG| [stdout] PASS: lxc-tests: lxc-test-symlink (1s)
18:24:07 DEBUG| [stdout] PASS: lxc-tests: lxc-test-unpriv (13s)
18:24:07 DEBUG| [stdout] PASS: lxc-tests: lxc-test-utils (0s)
18:24:07 DEBUG| [stdout] 
18:24:07 DEBUG| [stdout] SUMMARY: pass=40, fail=0, ignored=1

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-azure in Ubuntu.
https://bugs.launchpad.net/bugs/1821152

Title:
  lxc-test-no-new-privs failed with Temporary failure resolving
  'archive.ubuntu.com'

Status in ubuntu-kernel-tests:
  Triaged
Status in linux-azure package in Ubuntu:
  New
Status in linux-kvm package in Ubuntu:
  New

Bug description:
  It seems this failure only exist in KVM instances.

    FAIL: lxc-tests: lxc-test-no-new-privs (37s)
    ---
    + DONE=0
    + trap cleanup EXIT SIGHUP SIGINT SIGTERM
    + mkdir -p /etc/lxc/
    + cat
    + ARCH=i386
    + type dpkg
    ++ dpkg --print-architecture
    + ARCH=amd64
    + lxc-create -t download -n c1 -- -d ubuntu -r xenial -a amd64
    Setting up the GPG keyring
    Downloading the image index
    Downloading the rootfs
    Downloading the metadata
    The image cache is now ready
    Unpacking the rootfs
    
    ---
    You just created an Ubuntu xenial amd64 (20190320_07:42) container.
    
    To enable SSH, run: apt install openssh-server
    No default root or user password are set by LXC.
    + echo 'lxc.no_new_privs = 1'
    + lxc-start -n c1
    ++ lxc-info -n c1 -p -H
    + p1=8818
    + '[' 8818 '!=' -1 ']'
    + sleep 5s
    + lxc-attach -n c1 --clear-env -- apt update -y
    
    WARNING: apt does not have a stable CLI interface. Use with caution in 
scripts.
    
    Err:1 http://archive.ubuntu.com/ubuntu xenial InRelease
      Temporary failure resolving 'archive.ubuntu.com'
    Err:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
      Temporary failure resolving 'security.ubuntu.com'
    Err:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
      Temporary failure resolving 'archive.ubuntu.com'
    Reading package lists...
    Building dependency tree...
    Reading state information...
    All packages are up to date.
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease  
Temporary failure resolving 'archive.ubuntu.com'
    W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Temporary 
failure resolving 'archive.ubuntu.com'
    W: Failed to fetch 
http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease  Temporary 
failure resolving 'security.ubuntu.com'
    W: Some index files failed to download. They have been ignored, or old ones 
used instead.
    + lxc-attach -n c1 --clear-env -- apt install -y gcc make
    
    WARNING: apt does not have a stable CLI interface. Use with caution in 
scripts.
    
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
      binutils cpp cpp-5 gcc-5 libasan2 libatomic1 libc-dev-bin libc6-dev 
libcc1-0
      libcilkrts5 libgcc-5-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3 
libmpfr4
      libmpx0 libquadmath0 libtsan0 libubsan0 linux-libc-dev manpages 
manpages-dev
    Suggested packages:
      binutils-doc cpp-doc gcc-5-locales gcc-multilib autoconf automake libtool
      flex bison gdb gcc-doc gcc-5-multilib gcc-5-doc libgcc1-dbg libgomp1-dbg
      libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg
      libubsan0-dbg libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg glibc-doc
      make-doc man-browser
    The following NEW packages will be installed:
      binutils cpp cpp-5 gcc gcc-5 libasan2 libatomic1 libc-dev-bin libc6-dev
      libcc1-0 libcilkrts5 libgcc-5-dev libgomp1 libisl15 libitm1 liblsan0 
libmpc3
      libmpfr4 libmpx0 libquadmath0 libtsan0 libubsan0 linux-libc-dev make
      manpages manpages-dev
    0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
    Need to get 28.7 MB of archives.
    After this operation, 102 MB of additional disk space will be used.
    Err:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmpfr4 amd64 
3.1.4-1
      Temporary failure resolving 'archive.ubuntu.com'
    Err:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmpc3 amd64 
1.0.3-1
      Temporary failure resolving 'archive.ubuntu.com'
    Err:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 manpages all 4.04-2
      Temporary failure resolving 'archive.ubuntu.com'
    Err:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 binutils 
amd64 2.26.1-1ubuntu1~16.04.8
      Temporary failure resolving 'archive.ubuntu.com'
    Err:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libisl15 amd64 
0.16.1-1
      Temporary failure resolving 'archive.ubuntu.com'

  
  It's a bit weird that if I run the command manually, it looks OK
  lxc-create -t download -n c1 -- -d ubuntu -r xenial -a amd64
  lxc-start -n c1
  lxc-attach -n c1 --clear-env -- apt update -y
  Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
  Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
  Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 
[925 kB]
  Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages 
[739 kB]
  Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
  Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 
[626 kB]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1821152/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to