Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2947 Project Frontier: Bigtop Integration Test Framework 2.0
  3. BIGTOP-3154

[Provisioner] Failed to bootstrap provisioning environment on Debian/Ubuntu

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • provisioner
    • None

    Description

      On Debian/Ubuntu systems, the boostrap script failed to install required packages because of outdated repo. See example:

      Reading package lists...Reading package lists...Reading package lists...
      Building dependency tree...
      Reading state information...
      The following additional packages will be installed:
        udev
      
      The following NEW packages will be installed:
        rng-tools udev
      Building dependency tree...
      Building dependency tree...
      Reading state information...
      
      Reading state information...
      The following additional packages will be installed:
        udev
      The following NEW packages will be installed:
        rng-tools udev
      0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      Need to get 1158 kB of archives.
      After this operation, 7357 kB of additional disk space will be used.
      Err:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 udev amd64 232-25+deb9u4
        404  Not Found
      The following additional packages will be installed:
        udev
      Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 rng-tools amd64 2-unofficial-mt.14-1+b2 [43.1 kB]
      Fetched 43.1 kB in 0s (136 kB/s)
      E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/s/systemd/udev_232-25+deb9u4_amd64.deb  404  Not Found
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
      sed: can't read /etc/default/rng-tools: No such file or directory
      The following NEW packages will be installed:
        rng-tools udev
      Failed to start rng-tools.service: Unit rng-tools.service not found.
      Reading package lists...0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      Need to get 1158 kB of archives.
      After this operation, 7357 kB of additional disk space will be used.
      Err:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 udev amd64 232-25+deb9u4
        404  Not Found
      Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 rng-tools amd64 2-unofficial-mt.14-1+b2 [43.1 kB]
      Fetched 43.1 kB in 0s (207 kB/s)
      E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/s/systemd/udev_232-25+deb9u4_amd64.deb  404  Not Found
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
      sed: can't read /etc/default/rng-tools: No such file or directory
      Failed to start rng-tools.service: Unit rng-tools.service not found.
      0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      Need to get 1158 kB of archives.
      After this operation, 7357 kB of additional disk space will be used.
      Err:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 udev amd64 232-25+deb9u4
        404  Not Found
      Reading package lists...Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 rng-tools amd64 2-unofficial-mt.14-1+b2 [43.1 kB]
      E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/s/systemd/udev_232-25+deb9u4_amd64.deb  404  Not Found
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
      Fetched 43.1 kB in 0s (134 kB/s)
      sed: can't read /etc/default/rng-tools: No such file or directory
      Failed to start rng-tools.service: Unit rng-tools.service not found.
      Reading package lists...
      Building dependency tree...
      Reading state information...
      The following additional packages will be installed:
        libcurl3-gnutls
      The following NEW packages will be installed:
        apt-transport-https libcurl3-gnutls
      0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      Need to get 460 kB of archives.
      After this operation, 873 kB of additional disk space will be used.
      Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 apt-transport-https amd64 1.4.8 [171 kB]
      
      Building dependency tree...
      Reading state information...
      
      Building dependency tree...The following additional packages will be installed:
        libcurl3-gnutls
      The following NEW packages will be installed:
        apt-transport-https libcurl3-gnutls
      
      Reading state information...
      0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      Need to get 460 kB of archives.
      After this operation, 873 kB of additional disk space will be used.
      Err:1 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libcurl3-gnutls amd64 7.52.1-5+deb9u7
        404  Not Found
      Err:2 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libcurl3-gnutls amd64 7.52.1-5+deb9u7
        404  Not Found
      Fetched 171 kB in 0s (310 kB/s)
      E: Failed to fetch http://security-cdn.debian.org/debian-security/pool/updates/main/c/curl/libcurl3-gnutls_7.52.1-5+deb9u7_amd64.deb  404  Not Found
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
      local apt = false ; NOT Enabling local apt. Packages will be pulled from remote...
      The following additional packages will be installed:
        libcurl3-gnutls
      Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 apt-transport-https amd64 1.4.8 [171 kB]
      The following NEW packages will be installed:
        apt-transport-https libcurl3-gnutls
      Fetched 171 kB in 0s (942 kB/s)
      E: Failed to fetch http://security-cdn.debian.org/debian-security/pool/updates/main/c/curl/libcurl3-gnutls_7.52.1-5+deb9u7_amd64.deb  404  Not Found
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
      local apt = false ; NOT Enabling local apt. Packages will be pulled from remote...
      0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      Need to get 460 kB of archives.
      After this operation, 873 kB of additional disk space will be used.
      Err:1 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libcurl3-gnutls amd64 7.52.1-5+deb9u7
        404  Not Found
      Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 apt-transport-https amd64 1.4.8 [171 kB]
      Fetched 171 kB in 0s (1132 kB/s)
      E: Failed to fetch http://security-cdn.debian.org/debian-security/pool/updates/main/c/curl/libcurl3-gnutls_7.52.1-5+deb9u7_amd64.deb  404  Not Found
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
      local apt = false ; NOT Enabling local apt. Packages will be pulled from remote...
      

      Ref: https://ci.bigtop.apache.org/view/Test/job/Bigtop-trunk-smoke-tests_BIGTOP-2996/3/COMPONENTS=ambari.bigtop-utils@ambari,OS=debian-9-amd64-deploy/console

      Attachments

        Activity

          People

            evans_ye Evans Ye
            evans_ye Evans Ye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: