Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8365

Zone creation acceptance tests fail on Solaris 11 SPARC after failed package downloads

    XMLWordPrintable

Details

    • CI Blocker
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 5.4.0
    • None
    • Not Needed
    • Needs Assessment

    Description

      The following puppet acceptance tests failed on solaris-11-sparc for the 5.3.x and master agent branches - it's unclear whether this affects 1.10.x, which is currently red because of other problems.

      • tests/resource/zone.should_be_created_and_removed.rb
      • tests/resource/zone.should_be_idempotent.rb
      • tests/resource/zone.statemachine.rb
      • tests/resource/zone.stepstates.rb

      The log for master is here: https://jenkins-master-prod-1.delivery.puppetlabs.net/job/platform_puppet-agent_puppet-agent-integration-suite_daily-master/COMPONENT=puppet,SLAVE_LABEL=beaker,TEST_TARGET=solaris11-SPARCa/67/console

      And for 5.3.x: https://jenkins-master-prod-1.delivery.puppetlabs.net/view/puppet-agent/view/Public%20Suites/view/5.3.x/view/Suite/job/platform_puppet-agent_puppet-agent-integration-suite_daily-5.3.x/74/COMPONENT=puppet,SLAVE_LABEL=beaker,TEST_TARGET=solaris11-SPARCa/console

      I tested a simple zone creation manifest on a machine with a known-passing agent installed, and it produced the same error, so it looks like this could be an environmental problem - below is some output from the zone creation test that suggests this is happening because of a download failure. I'll keep looking into this.

      Error: Could not install zone: Execution of '/usr/sbin/zoneadm -z testzone install' returned 1: The following ZFS file system(s) have been created:
          rpool/tstzones
          rpool/tstzones/mnt
      Progress being logged to /var/log/zones/zoneadm.20180117T195130Z.testzone.install
             Image: Preparing at /tstzones/mnt/root.
       
       Install Log: /system/volatile/install.1744/install_log
       AI Manifest: /tmp/manifest.xml.2TaGyd
        SC Profile: /usr/share/auto_install/sc_profiles/enable_sci.xml
          Zonename: testzone
      Installation: Starting ...
       
              Creating IPS image
               Startup: Retrieving catalog 'solaris' ... Done
               Startup: Retrieving catalog 'puppetlabs.com' ... Done
               Startup: Caching catalogs ... Done
               Startup: Finished processing linked images.
               Startup: Refreshing catalog 'solaris' ... Done
               Startup: Refreshing catalog 'puppetlabs.com' ... Done
              Installing packages from:
                  solaris
                      origin:  http://pkg.oracle.com/solaris/release/
                  puppetlabs.com
               Startup: Refreshing catalog 'solaris' ... Done
               Startup: Refreshing catalog 'puppetlabs.com' ... Done
              Planning: Solver setup ... Done
              Planning: Running solver ... Done
              Planning: Finding local manifests ... Done
              Planning: Fetching manifests:   0/277  0% complete
              Planning: Fetching manifests: 277/277  100% complete
              Planning: Package planning ... Done
              Planning: Merging actions ... Done
              Planning: Checking for conflicting actions ... Done
              Planning: Consolidating action changes ... Done
              Planning: Evaluating mediators ... Done
              Planning: Planning completed in 91.83 seconds
              Download:     0/47919 items    0.0/353.1MB  0% complete
              Download:   397/47919 items    4.5/353.1MB  1% complete (933k/s)
              Download:  1234/47919 items    9.3/353.1MB  2% complete (928k/s)
              Download:  1830/47919 items   17.2/353.1MB  4% complete (1.3M/s)
              Download:  2773/47919 items   23.4/353.1MB  6% complete (1.4M/s)
              Download:  3555/47919 items   31.3/353.1MB  8% complete (1.4M/s)
              Download:  4348/47919 items   36.1/353.1MB  10% complete (1.3M/s)
              Download:  5071/47919 items   41.9/353.1MB  11% complete (1.0M/s)
              Download:  5752/47919 items   47.3/353.1MB  13% complete (1.1M/s)
              Download:  6158/47919 items   57.4/353.1MB  16% complete (1.6M/s)
              Download:  6421/47919 items   62.3/353.1MB  17% complete (1.5M/s)
              Download:  6421/47919 items   64.9/353.1MB  18% complete (870k/s)
              Download:  6421/47919 items   67.7/353.1MB  19% complete (559k/s)
              Download:  6421/47919 items   71.0/353.1MB  20% complete (601k/s)
              Download:  6421/47919 items   74.2/353.1MB  21% complete (671k/s)
              Download:  6421/47919 items   75.9/353.1MB  21% complete (609k/s)
              Download:  6421/47919 items   78.4/353.1MB  22% complete (426k/s)
              Download:  6436/47919 items   80.4/353.1MB  22% complete (465k/s)
              Download:  6845/47919 items   90.1/353.1MB  25% complete (1.2M/s)
              Download:  7647/47919 items   97.6/353.1MB  27% complete (1.7M/s)
              Download:  8122/47919 items  103.3/353.1MB  29% complete (1.3M/s)
              Download:  9116/47919 items  105.1/353.1MB  29% complete (778k/s)
              Download: 10996/47919 items  106.6/353.1MB  30% complete (340k/s)
              Download: 11529/47919 items  114.1/353.1MB  32% complete (919k/s)
              Download: 12024/47919 items  120.3/353.1MB  34% complete (1.3M/s)
              Download: 12845/47919 items  124.5/353.1MB  35% complete (919k/s)
              Download: 13792/47919 items  131.3/353.1MB  37% complete (935k/s)
              Download: 14384/47919 items  139.0/353.1MB  39% complete (1.4M/s)
              Download: 14737/47919 items  145.6/353.1MB  41% complete (1.4M/s)
              Download: 15311/47919 items  153.5/353.1MB  43% complete (1.4M/s)
              Download: 16240/47919 items  160.1/353.1MB  45% complete (1.5M/s)
              Download: 17199/47919 items  166.1/353.1MB  47% complete (1.3M/s)
              Download: 17895/47919 items  170.7/353.1MB  48% complete (1.1M/s)
              Download: 18783/47919 items  176.1/353.1MB  49% complete (1.0M/s)
              Download: 19694/47919 items  182.2/353.1MB  51% complete (1.2M/s)
              Download: 20886/47919 items  190.5/353.1MB  53% complete (1.3M/s)
              Error occurred during execution of 'generated-transfer-1744-1' checkpoint.
              Failed Checkpoints:
       
              Checkpoint execution error:
       
                      1: Framework error: code: 18 reason: transfer closed with 337204 bytes remaining to read
                      URL: 'http://pkg.oracle.com/solaris/release/solaris/file/1/ecc539554841e7df0db0d16030163f3287715f49'
                      2: Framework error: code: 18 reason: transfer closed with 336829 bytes remaining to read
                      URL: 'http://pkg.oracle.com/solaris/release/solaris/file/1/ecc539554841e7df0db0d16030163f3287715f49' (happened 3 times)
       
      Installation: Failed.  See install log at /system/volatile/install.1744/install_log
      ERROR: auto-install failed.
      Error: /Stage[main]/Main/Zone[testzone]/ensure: change from 'absent' to 'running' failed: Could not install zone: Execution of '/usr/sbin/zoneadm -z testzone install' returned 1: The following ZFS file system(s) have been created:
          rpool/tstzones
          rpool/tstzones/mnt
      Progress being logged to /var/log/zones/zoneadm.20180117T195130Z.testzone.install
             Image: Preparing at /tstzones/mnt/root.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            casey.williams Casey Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support