Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-3343

Setting up docker containers in provisioning, downloads all packages from upstream repos instead of using local mirrors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • unversioned
    • None

    Description

      http://coin.intra.qt.io/coin/api/results/provisioning/qtci-linux-Ubuntu-18.04-x86_64-d7680d/provision_1572974116/log.txt.gz

      First it downloads the images from dockerhub (read here for setting up a cache):

      ++ sudo docker build -t qt-test-server-apache2:27217ecb2f32f20ca4da20bc470f7c6c8447e30c /tmp/provisioning-390579701/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/../common/shared/testserver/apache2
      Sending build context to Docker daemon  2.048kB
      
      Step 1/5 : FROM ubuntu:16.04
      16.04: Pulling from library/ubuntu
      e80174c8b43b: Pulling fs layer
      d1072db285cc: Pulling fs layer
      858453671e67: Pulling fs layer
      3d07b1124f98: Pulling fs layer
      858453671e67: Verifying Checksum
      858453671e67: Download complete
      d1072db285cc: Verifying Checksum
      d1072db285cc: Download complete
      3d07b1124f98: Verifying Checksum
      3d07b1124f98: Download complete
      e80174c8b43b: Download complete
      e80174c8b43b: Pull complete
      d1072db285cc: Pull complete
      858453671e67: Pull complete
      3d07b1124f98: Pull complete
      Digest: sha256:bb5b48c7750a6a8775c74bcb601f7e5399135d0a06de004d000e05fd25c1a71c
      Status: Downloaded newer image for ubuntu:16.04
      

      Then it downloads the packages:

      Step 3/5 : RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
       ---> Running in b3de01705eb8
      Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
      Get:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
      Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
      Get:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [985 kB]
      Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
      Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]
      Get:7 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.7 kB]
      Get:8 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [589 kB]
      Get:9 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
      Get:10 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
      Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6281 B]
      Get:12 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB]
      Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1362 kB]
      Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.1 kB]
      Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [993 kB]
      Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [19.3 kB]
      Get:17 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7942 B]
      Get:18 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8807 B]
      Fetched 16.1 MB in 3s (5074 kB/s)
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jimis Dimitrios Apostolou
              jimis Dimitrios Apostolou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes