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

Puppet tests fail with 'environment env2 enviroment_key lookup failed'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: PUP 4.9.0
    • Fix Version/s: PUP 4.9.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDS 2016-11-30
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      CI failure in new feature.
    • QA Risk Assessment:
      Automate
    • QA Risk Assessment Reason:
      fix previous automation

      Description

      All cells in the puppet acceptance tests (from the puppet agent pipeline) are failing with:

      11:57:37   jr2mzdotr1mti5b.delivery.puppetlabs.net (redhat7-64-1) executed in 1.50 seconds
      11:57:37   Beaker::DSL::Outcomes::FailTest: 
      11:57:37   environment env2 enviroment_key lookup failed, expected /FunctionEnvDataProvider.* *.*env-env2-ruby-function/.
      11:57:37   Expected /FunctionEnvDataProvider.*\s*.*env-env2-ruby-function/ to match "Searching for \"lookup_options\"\n  Data Binding \"hiera\"\n    No such key: \"lookup_options\"\n  Environment Data Provider (lookup version 5)\n    deprecated API function \"environment::data\"\n      No such key: \"lookup_options\"\nSearching for \"environment_key\"\n  Data Binding \"hiera\"\n    No such key: \"environment_key\"\n  Environment Data Provider (lookup version 5)\n    deprecated API function \"environment::data\"\n      Found key: \"environment_key\" value: \"env-env2-ruby-function data() provided value\"\n".
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/dsl/outcomes.rb:44
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/dsl/helpers/puppet_helpers.rb:184
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/dsl/helpers/puppet_helpers.rb:224
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/tests/parser_functions/puppet_lookup_cmd.rb:2159
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/test_case.rb:133
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/test_case.rb:133
      11:57:37   /usr/local/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/test_case.rb:130
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/test_suite.rb:325
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/test_suite.rb:322
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/test_suite.rb:322
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/test_suite.rb:371
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/cli.rb:174
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/lib/beaker/cli.rb:100
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/gems/beaker-3.1.0/bin/beaker:6
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/bin/beaker:23
      11:57:37   /var/lib/jenkins/workspace/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/SLAVE_LABEL/beaker/TEST_TARGET/redhat5-64a/puppet/acceptance/.bundle/gems/bin/beaker:23
      11:57:37   Begin teardown
      11:57:37   End teardown
      11:57:37   tests/parser_functions/puppet_lookup_cmd.rb failed in 100.23 seconds
      

      Link to full failing output: https://jenkins.puppetlabs.com/view/puppet-agent/view/master/view/puppet-agent/job/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master/lastCompletedBuild/SLAVE_LABEL=beaker,TEST_TARGET=redhat5-64a/consoleFull

      Note that the puppet acceptance tests..
      (https://jenkins.puppetlabs.com/view/puppet-agent/view/master/view/puppet-agent/job/platform_puppet-agent_intn-van-sys_suite-daily-puppet-master)

      ..have not had a passing run since November 10th so perhaps we should get a green run before further merges?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                moses Moses Mendoza
                QA Contact:
                Eric Thompson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support