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

CI acceptance: solaris 11 failure tests/resource/zone.ticket_4840_should_create_zone_with_zpool.rb

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.8.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Solaris 11 sparc

    • Template:
    • Team:
      Agent
    • Sprint:
      AP 2017-02-22
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      The Solaris 11 OS base image was incorrect which caused the test failures

      Description

      The puppet acceptance test tests/resource/zone.ticket_4840_should_create_zone_with_zpool.rb
      is failing on the Solaris Sparc 11 system.

      https://jenkins.puppetlabs.com/view/puppet-agent/view/manual/view/stable/job/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/lastCompletedBuild/SLAVE_LABEL=beaker,TEST_TARGET=solaris-11-sparc/testReport/

      Begin tests/resource/zone/ticket_4840_should_create_zone_with_zpool.rb

      Zone: ticket #4840 - verify that the given manifest works.

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) 03:07:39$ mktemp -t apply_manifest.pp.XXXXXX
      /tmp/apply_manifest.pp.jXaaSL

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) executed in 0.74 seconds
      localhost $ scp /tmp/beaker20170201-15269-bdkcrd solaris-11-sparc:/tmp/apply_manifest.pp.jXaaSL {:ignore => }

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) 03:07:41$ puppet apply --verbose /tmp/apply_manifest.pp.jXaaSL
      Notice: Compiled catalog for sol11a.delivery.puppetlabs.net in environment production in 1.12 seconds
      Info: Applying configuration version '1485947286'
      Error: Could not install zone: Execution of '/usr/sbin/zoneadm -z tstzone install' returned 1: zoneadm: zone tstzone: WARNING: Skipping network interface: net resource for 'ip.if.1': unable to find physical 'ip.if.1': object not found.
      ERROR: The zone you are trying to (re)install has been detached previously.
      You must either re-attach the zone or mark incomplete and uninstall before
      trying again.
      zoneadm: zone 'tstzone': ERROR: installation failed: zone switching to configured state
      Error: /Stage[main]/Main/Zone[tstzone]/ensure: change from absent to running failed: Could not install zone: Execution of '/usr/sbin/zoneadm -z tstzone install' returned 1: zoneadm: zone tstzone: WARNING: Skipping network interface: net resource for 'ip.if.1': unable to find physical 'ip.if.1': object not found.
      ERROR: The zone you are trying to (re)install has been detached previously.
      You must either re-attach the zone or mark incomplete and uninstall before
      trying again.
      zoneadm: zone 'tstzone': ERROR: installation failed: zone switching to configured state
      Notice: Applied catalog in 11.13 seconds

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) executed in 38.06 seconds
      Minitest::Assertion: err: sol11a.delivery.puppetlabs.net.
      Expected /ensure: created/ to match "\e[mNotice: Compiled catalog for sol11a.delivery.puppetlabs.net in environment production in 1.12 seconds\e[0m\n\e[0;32mInfo: Applying configuration version '1485947286'\e[0m\n\e[mNotice: Applied catalog in 11.13 seconds\e[0m\n".
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/minitest-5.10.1/lib/minitest/assertions.rb:139
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/minitest-5.10.1/lib/minitest/assertions.rb:248
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/tests/resource/zone/ticket_4840_should_create_zone_with_zpool.rb:35
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:90
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:487
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:416
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/tests/resource/zone/ticket_4840_should_create_zone_with_zpool.rb:17
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/tests/resource/zone/ticket_4840_should_create_zone_with_zpool.rb:13
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/tests/resource/zone/ticket_4840_should_create_zone_with_zpool.rb:13
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/test_case.rb:133
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/test_case.rb:133
      /usr/local/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/test_case.rb:130
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/test_suite.rb:325
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/test_suite.rb:322
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/test_suite.rb:322
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/test_suite.rb:371
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/cli.rb:180
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/lib/beaker/cli.rb:106
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/gems/beaker-3.5.0/bin/beaker:6
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/bin/beaker:23
      /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-manual-puppet-stable/SLAVE_LABEL/beaker/TEST_TARGET/solaris-11-sparc/puppet/acceptance/.bundle/gems/bin/beaker:23
      Begin teardown

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) 03:08:20$ zoneadm list -cip
      0:global:running:/::solaris:shared:-:none:
      :tstzone:configured: /ztstpool/mnt::solaris:excl:::

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) executed in 0.94 seconds

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) 03:08:21$ zonecfg -z tstzone delete -F

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) executed in 0.78 seconds

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) 03:08:21$ rm -f /etc/zones/tstzone.xml

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) executed in 0.79 seconds

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) 03:08:22$ zfs list
      NAME USED AVAIL REFER MOUNTPOINT
      rpool 11.4G 13.1G 400K /rpool
      rpool/ROOT 7.12G 13.1G 288K legacy
      rpool/ROOT/solaris 7.10G 13.1G 3.34G /
      rpool/ROOT/solaris-backup-1 496K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-1/var 256K 13.1G 1.40G /var
      rpool/ROOT/solaris-backup-10 1.05M 13.1G 3.31G /
      rpool/ROOT/solaris-backup-10/var 656K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-11 1.06M 13.1G 3.31G /
      rpool/ROOT/solaris-backup-11/var 672K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-12 496K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-12/var 256K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-13 544K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-13/var 304K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-14 720K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-14/var 400K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-15 784K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-15/var 448K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-16 800K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-16/var 464K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-17 848K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-17/var 512K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-18 880K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-18/var 544K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-19 960K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-19/var 592K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-2 544K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-2/var 304K 13.1G 1.40G /var
      rpool/ROOT/solaris-backup-20 1M 13.1G 3.31G /
      rpool/ROOT/solaris-backup-20/var 656K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-21 1.11M 13.1G 3.31G /
      rpool/ROOT/solaris-backup-21/var 752K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-22 1.12M 13.1G 3.31G /
      rpool/ROOT/solaris-backup-22/var 768K 13.1G 1.41G /var
      rpool/ROOT/solaris-backup-3 768K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-3/var 432K 13.1G 1.40G /var
      rpool/ROOT/solaris-backup-4 848K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-4/var 496K 13.1G 1.40G /var
      rpool/ROOT/solaris-backup-5 864K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-5/var 512K 13.1G 1.40G /var
      rpool/ROOT/solaris-backup-6 832K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-6/var 464K 13.1G 1.40G /var
      rpool/ROOT/solaris-backup-7 864K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-7/var 496K 13.1G 1.40G /var
      rpool/ROOT/solaris-backup-8 928K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-8/var 528K 13.1G 1.40G /var
      rpool/ROOT/solaris-backup-9 976K 13.1G 3.31G /
      rpool/ROOT/solaris-backup-9/var 576K 13.1G 1.40G /var
      rpool/ROOT/solaris/var 3.08G 13.1G 1.44G /var
      rpool/VARSHARE 3.83M 13.1G 2.97M /var/share
      rpool/VARSHARE/pkg 592K 13.1G 304K /var/share/pkg
      rpool/VARSHARE/pkg/repositories 288K 13.1G 288K /var/share/pkg/repositories
      rpool/VARSHARE/zones 288K 13.1G 288K /system/zones
      rpool/dump 2.06G 13.2G 2.00G -
      rpool/export 592K 13.1G 304K /export
      rpool/export/home 288K 13.1G 288K /export/home
      rpool/swap 1.03G 13.2G 1.00G -
      rpool/tstfs 1.09G 13.1G 288K /ztstpool/mnt
      rpool/tstfs/rpool 1.09G 13.1G 288K /rpool
      rpool/tstfs/rpool/ROOT 1.09G 13.1G 288K legacy
      rpool/tstfs/rpool/ROOT/solaris 1.09G 13.1G 304K /
      rpool/tstfs/rpool/ROOT/solaris/var 109M 13.1G 288K /var
      rpool/tstfs/rpool/VARSHARE 288K 13.1G 288K /var/share
      rpool/tstfs/rpool/export 576K 13.1G 288K /export
      rpool/tstfs/rpool/export/home 288K 13.1G 288K /export/home

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) executed in 2.43 seconds

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) 03:08:25$ rm -rf /tstzones

      sol11a.delivery.puppetlabs.net (solaris-11-sparc) executed in 0.65 seconds
      End teardown
      tests/resource/zone/ticket_4840_should_create_zone_with_zpool.rb failed in 46.11 seconds

        Attachments

          Activity

            People

            • Assignee:
              qa qa
              Reporter:
              eric.delaney Eric Delaney
              QA Contact:
              Eric Delaney
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support