File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
testMethod()
File "/home/jenkins/workspace/satellite6-automation-upstream-rhel66-cli/tests/foreman/cli/test_host_collection.py", line 426, in test_remove_content_host
self.assertEqual(result.return_code, 0)
File "/usr/lib64/python2.7/unittest/case.py", line 553, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib64/python2.7/unittest/case.py", line 546, in _baseAssertEqual
raise self.failureException(msg)
'64 != 0\n-------------------
TestNames: tests.foreman.cli.test_host_collection.TestHostCollection.test_content_hosts tests.foreman.cli.test_host_collection.TestHostCollection.test_remove_content_host tests.foreman.cli.test_host_collection.TestHostCollection.test_add_content_host
Error Message
64 != 0
robottelo.common.ssh: DEBUG: >>> [qe-foreman-rhel66.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme host-collection add-content-host --content-host-ids="31913b86-1e20-4181-90d2-1de5f96efd78" --id="23" --organization-id="218" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x7f4f74024250 robottelo.common.ssh: INFO: Destroying Paramiko client 0x7f4f74024250 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x7f4f74024250 robottelo.common.ssh: DEBUG: <<< stderr [ERROR 2015-06-07 22:16:41 Exception] Error: Unrecognised option '--organization-id'
See: 'hammer host-collection add-content-host --help' Could not add content host(s): Error: Unrecognised option '--organization-id'
See: 'hammer host-collection add-content-host --help' [ERROR 2015-06-07 22:16:41 Exception]
Clamp::UsageError (Unrecognised option '--organization-id'): /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/option/parsing.rb:62:in
find_option' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/option/parsing.rb:28:in
parse_options' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:52:inparse' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:31:in
parse' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:66:inrun' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:23:in
run' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:inexecute' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in
run' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:23:inrun' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:in
execute' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:inrun' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:23:in
run' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:inrun' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/bin/hammer:108 /usr/bin/hammer:19:in
load' /usr/bin/hammer:19Stacktrace
File "/usr/lib64/python2.7/unittest/case.py", line 369, in run testMethod() File "/home/jenkins/workspace/satellite6-automation-upstream-rhel66-cli/tests/foreman/cli/test_host_collection.py", line 426, in test_remove_content_host self.assertEqual(result.return_code, 0) File "/usr/lib64/python2.7/unittest/case.py", line 553, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python2.7/unittest/case.py", line 546, in _baseAssertEqual raise self.failureException(msg) '64 != 0\n-------------------
filed a bz: https://bugzilla.redhat.com/show_bug.cgi?id=1230162