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

calling_all_functions test fails on master

    XMLWordPrintable

    Details

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

      puppet#master, all platforms

    • Template:
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDS 2016-10-05

      Description

      The full error output:

      16:49:29 Failed Tests Cases:
      16:49:29   Test Case tests/parser_functions/calling_all_functions.rb reported: #<Minitest::Assertion: map output didn't match expected value.
      16:49:29 Expected /Map:\ Scope\(Class\[main\]\):\ \[7,\ 8,\ 9\]/ to match "\e[mNotice: Scope(Class[main]): sayeth Assert_type: Scope(Class[main]): Valar morghulis\e[0m\n\e[mNotice: Scope(Class[main]): 1\e[0m\n\e[mNotice: Scope(Class[main]): 2\e[0m\n\e[mNotice: Scope(Class[main]): 3\e[0m\n\e[mNotice: Scope(Class[main]): sayeth Each: Scope(Class[main]): [1, 2, 3]\e[0m\n\e[mNotice: Scope(Class[main]): sayeth Epp: Scope(Class[main]): This is the droid you are looking for!\e[0m\n\e[mNotice: Scope(Class[main]): sayeth Filter: Scope(Class[main]): [4, 5, 6]\e[0m\n\e[mNotice: Scope(Class[main]): sayeth Inline_epp: Scope(Class[main]): 10\e[0m\n\e[mNotice: Scope(Class[main]): 7\e[0m\n\e[mNotice: Scope(Class[main]): 8\e[0m\n\e[mNotice: Scope(Class[main]): 9\e[0m\n\e[mNotice: Scope(Class[main]): sayeth Map: Scope(Class[main]): [, , ]\e[0m\n\e[mNotice: Scope(Class[main]): sayeth Match: Scope(Class[main]): [b]\e[0m\n\e[mNotice: Scope(Class[main]): sayeth Reduce: Scope(Class[main]): 15\e[0m\n\e[mNotice: Scope(Class[main]): sayeth Slice: Scope(Class[main]): [[1, 2], [3, 4], [5, 6]]\e[0m\n\e[mNotice: Scope(Class[main]): sayeth Strftime: Scope(Class[main]): 42\e[0m\n\e[mNotice: Scope(Class[main]): [1, Catelyn]\e[0m\n\e[mNotice: Scope(Class[main]): sayeth With: Scope(Class[main]): \e[0m\n\e[mNotice: Compiled catalog for j98z11kw650x3fl.delivery.puppetlabs.net in environment production in 0.11 seconds\e[0m\n\e[0;32mInfo: Applying configuration version '1475278825'\e[0m\n\e[mNotice: Applied catalog in 0.02 seconds\e[0m\n".>
      16:49:29     Test line: tests/parser_functions/calling_all_functions.rb:176:in `block (4 levels) in run_test'
      

      The specific bit that failed was:
      https://github.com/puppetlabs/puppet/blob/832d27d4d745bbc8e65b2433020f3c2e15acedf2/acceptance/tests/parser_functions/calling_all_functions.rb#L95

      Expected /Map:\ Scope\(Class\[main\]\):\ \[7,\ 8,\ 9\]/ to match sayeth Map: Scope(Class[main]): [, , ]\e[0m\n\e[mNotice: Scope(Class[main]):
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              whopper William Hopper
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support