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

Failing spec test in puppet travis testing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.5.10, PUP 6.0.5, PUP 6.1.0
    • Component/s: None
    • Labels:
      None
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      example job: https://travis-ci.org/puppetlabs/puppet/jobs/463959473

      failure:

        1) Puppet::Indirector::Yaml when searching should return an array of fact instances with one instance for each file when globbing *
           Failure/Error: expect(terminus.search(request)).to eq([one, two])
             expected: [{"name"=>"one", "values"=>{"foo"=>"bar"}}, {"name"=>"two", "values"=>{"foo"=>"baz"}}]
                  got: [{"name"=>"two", "values"=>{"foo"=>"baz"}}, {"name"=>"one", "values"=>{"foo"=>"bar"}}]
             (compared using ==)
             Diff:
             @@ -1,3 +1,3 @@
             -[{"name"=>"one", "values"=>{"foo"=>"bar"}},
             - {"name"=>"two", "values"=>{"foo"=>"baz"}}]
             +[{"name"=>"two", "values"=>{"foo"=>"baz"}},
             + {"name"=>"one", "values"=>{"foo"=>"bar"}}]
           # ./spec/unit/indirector/yaml_spec.rb:144:in `block (3 levels) in <top (required)>'
           # util/rspec_runner:44:in `run'
           # util/rspec_runner:59:in `<main>'
      Finished in 11.11 seconds (files took 3.28 seconds to load)
      

      The failure is unrelated to any changes in the PR that it was tested against, the test seems pretty fragile.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                jacob.helwig Jacob Helwig
                Reporter:
                sean.mcdonald Sean McDonald
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: