Issue #7905 has been reported by Dominic Maraglia.

----------------------------------------
Bug #7905: Test failure on one host prevents tests from runnong on other hosts
https://projects.puppetlabs.com/issues/7905

Author: Dominic Maraglia
Status: Investigating
Priority: High
Assignee: 
Category: Harness
Target version: 
Patch: None
Keywords: test failure skip tests
Branch: 


A test that fails on one host, will not execute on subsequent nodes; this 
limits the test harness to run with only 2nodes -- one master, one agent.  
Harness should be able to support testing with many agents.

Given a multi-node configuration such as:
<pre>
cent-55-64-1 master
cent-55-386-1 agent
ubnt-1004-386-1 agent
</pre>

Here are examples running "on hosts" and "on agents" with "ls foo" and the 
command:

<pre>
# Very simple test case -- Should fail

step "Perform FOO action on each host"
on hosts,'ls foo'
</pre>


<pre>
# Very simple test case -- Should fail

step "Perform FOO action on each host"
on agents,'ls foo'
</pre>


The output for each case:

<pre>
  - Test Case Summary -
  Attempted: 1
     Passed: 0
     Failed: 0
    Errored: 1
    Skipped: 0

  - Specific Test Case Status -
Failed Tests Cases:
Errored Tests Cases:
  Test Case template/FailTest.rb reported: #<RuntimeError: Host 'cent-55-386-1' 
exited with 2 running: ls foo>
</pre>

Test execution halts when the first host/agents fails. 


-- 
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.

Reply via email to