Issue #3554 has been updated by Markus Roberts.
Status changed from Available In Testing Branch to Code Insufficient
This patch breaks a test:
<pre>
1)
'Puppet::Type::Mount::ProviderParsed Puppet::Type::Mount::ProviderParsed should
default to /etc/vfstab on Solaris and /etc/fstab everywhere else' FAILED
expected: "/etc/fstab",
got: "/Users/markus/projects/puppet/test/data/types/mount/linux.fstab"
(using ==)
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in
`fail_with'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in
`fail_with_message'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in
`__delegate_operator'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in
`eval_match'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in
`=='
spec/unit/provider/mount/parsed.rb:109:
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in
`instance_eval'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in
`execute'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:53:in
`timeout'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in
`execute'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in
`run_examples'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`each'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`run_examples'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in
`run'
/Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in
`run_examples'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:61:in `run'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:45:in `autorun'
spec/unit/provider/mount/parsed.rb:76:
</pre>
----------------------------------------
Bug #3554: Inconsistent failures in test/ral/providers/host/parsed
http://projects.puppetlabs.com/issues/3554
Author: Jesse Wolfe
Status: Code Insufficient
Priority: Normal
Assigned to: Jesse Wolfe
Category: testing
Target version: Rowlf
Affected version: development
Keywords:
Branch: http://github.com/jes5199/puppet/tree/ticket/master/3554
Loaded suite ral/providers/host/parsed
Started
..FF.F
Finished in 0.83739 seconds.
1) Failure:
test_hostsparse(TestParsedHostProvider)
[/home/jes5199/puppet/test/lib/puppettest/fileparsing.rb:18:in
`fakedataparse'
/home/jes5199/puppet/test/lib/puppettest/fileparsing.rb:16:in `each'
/home/jes5199/puppet/test/lib/puppettest/fileparsing.rb:16:in
`fakedataparse'
/home/jes5199/puppet/test/lib/puppettest/fileparsing.rb:4:in `each'
/home/jes5199/puppet/test/lib/puppettest/fileparsing.rb:4:in
`fakedataparse'
ral/providers/host/parsed.rb:179:in `test_hostsparse'
ral/providers/host/parsed.rb:179:in `each'
ral/providers/host/parsed.rb:179:in `test_hostsparse']:
File was not written back out correctly.
<"#HEADER:ThisfilewasautogeneratedatTueApr1316:56:46-07002010"> expected but was
<"192.168.27.1fakehost1alias1">.
2) Failure:
test_modifyingfile(TestParsedHostProvider)
[ral/providers/host/parsed.rb:218:in `test_modifyingfile'
ral/providers/host/parsed.rb:216:in `each'
ral/providers/host/parsed.rb:216:in `test_modifyingfile']:
Host fakehost1 is not in file.
<false> is not true.
3) Failure:
test_simplehost(TestParsedHostProvider)
[ral/providers/host/parsed.rb:148:in `test_simplehost'
ral/providers/host/parsed.rb:147:in `test_simplehost']:
Did not flush host to disk.
<false> is not true.
6 tests, 39 assertions, 3 failures, 0 errors
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.