Project

General

Profile

Actions

Bug #5239

closed

Can't find classes with Puppet 3.5.1 and future parser

Added by Dominic Cleal over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Puppet
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Using puppet 3.5.1:

# Running tests:

[ 45/178] ClassScannerEParserTest#test_should_extract_parameters__empty_param_parenthesis = 0.00 s              
  1) Failure:
test_should_extract_parameters__empty_param_parenthesis(ClassScannerEParserTest) [/home/dcleal/code/foreman/smart-proxy/test/class_scanner_eparser_test.rb:86]:
<1> expected but was
<0>.

[ 46/178] ClassScannerEParserTest#test_should_extract_parameters__no_param_parenthesis = 0.00 s           
  2) Failure:
test_should_extract_parameters__no_param_parenthesis(ClassScannerEParserTest) [/home/dcleal/code/foreman/smart-proxy/test/class_scanner_eparser_test.rb:73]:
<1> expected but was
<0>.

[ 47/178] ClassScannerEParserTest#test_should_extract_parameters__single_param_no_value = 0.00 s       
  3) Failure:
test_should_extract_parameters__single_param_no_value(ClassScannerEParserTest) [/home/dcleal/code/foreman/smart-proxy/test/class_scanner_eparser_test.rb:99]:
<1> expected but was
<0>.

[ 48/178] ClassScannerEParserTest#test_should_extract_parameters__type_coverage = 0.00 s                
  4) Failure:
test_should_extract_parameters__type_coverage(ClassScannerEParserTest) [/home/dcleal/code/foreman/smart-proxy/test/class_scanner_eparser_test.rb:125]:
<1> expected but was
<0>.

[ 49/178] ClassScannerEParserTest#test_should_find_class_in_a_manifest = 0.00 s                 
  5) Failure:
test_should_find_class_in_a_manifest(ClassScannerEParserTest) [/home/dcleal/code/foreman/smart-proxy/test/class_scanner_eparser_test.rb:14]:
<1> expected but was
<0>.

[ 50/178] ClassScannerEParserTest#test_should_find_multiple_class_in_a_manifest = 0.00 s
  6) Failure:
test_should_find_multiple_class_in_a_manifest(ClassScannerEParserTest) [/home/dcleal/code/foreman/smart-proxy/test/class_scanner_eparser_test.rb:44]:
<2> expected but was
<0>.

[ 51/178] ClassScannerEParserTest#test_should_handle_import_in_a_manifest = 0.00 s              
  7) Failure:
test_should_handle_import_in_a_manifest(ClassScannerEParserTest) [/home/dcleal/code/foreman/smart-proxy/test/class_scanner_eparser_test.rb:147]:
<2> expected but was
<0>.

[148/178] PuppetEnvironmentTest#test_uses_puppet_config = 0.00 s                                                                  
  8) Failure:
test_uses_puppet_config(PuppetEnvironmentTest) [/home/dcleal/.rvm/gems/ruby-2.0.0-p247@proxy/gems/puppet-3.5.1/lib/puppet/file_system/file_impl.rb:83]:
unexpected invocation: File.exist?(#<Pathname:0x5202588>)
unsatisfied expectations:
- expected exactly once, not yet invoked: #<Mock:config>.get(any_parameters)
- expected exactly once, not yet invoked: Proxy::Puppet::ConfigReader.new('/foo/puppet.conf')
satisfied expectations:
- expected at least once, invoked 4 times: Proxy::Puppet::Initializer.config(any_parameters)
- expected at least once, invoked once: File.exist?('/foo/puppet.conf')

Finished tests in 0.945191s, 188.3217 tests/s, 315.2801 assertions/s.                         
178 tests, 298 assertions, 8 failures, 0 errors, 0 skips
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Target version set to 1.8.3
Actions #2

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal
Actions #3

Updated by Dominic Cleal over 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #4

Updated by Dominic Cleal over 10 years ago

  • Translation missing: en.field_release changed from 4 to 17
Actions #5

Updated by Dominic Cleal over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF