SatelliteQE / robottelo

Robottelo is a test suite that exercises The Foreman.
GNU General Public License v3.0
61 stars 114 forks source link

Automation failure : tests.foreman.cli.test_host_collection.TestHostCollection #2566

Closed tkolhar closed 9 years ago

tkolhar commented 9 years ago

TestNames: tests.foreman.cli.test_host_collection.TestHostCollection.test_positive_update tests.foreman.cli.test_host_collection.TestHostCollection.test_positive_update_2_1

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 --output=csv host-collection update --id="18" --organization-id="275" --name="nFXkLNNOzgTq6gC" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x3ff2dd0 robottelo.common.ssh: INFO: Destroying Paramiko client 0x3ff2dd0 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x3ff2dd0 robottelo.common.ssh: DEBUG: <<< stderr [ERROR 2015-07-13 21:50:23 Exception] Error: Unrecognised option '--organization-id'

See: 'hammer host-collection update --help' Could not update the the host collection: Error: Unrecognised option '--organization-id'

See: 'hammer host-collection update --help' [ERROR 2015-07-13 21:50:23 Exception]

Clamp::UsageError (Unrecognised option '--organization-id'): /usr/lib/ruby/gems/1.8/gems/clamp-1.0.0/lib/clamp/option/parsing.rb:62:in find_option' /usr/lib/ruby/gems/1.8/gems/clamp-1.0.0/lib/clamp/option/parsing.rb:28:inparse_options' /usr/lib/ruby/gems/1.8/gems/clamp-1.0.0/lib/clamp/command.rb:53:in parse' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:31:inparse' /usr/lib/ruby/gems/1.8/gems/clamp-1.0.0/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-1.0.0/lib/clamp/subcommand/execution.rb:11:in execute' /usr/lib/ruby/gems/1.8/gems/clamp-1.0.0/lib/clamp/command.rb:68: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-1.0.0/lib/clamp/subcommand/execution.rb:11:inexecute' /usr/lib/ruby/gems/1.8/gems/clamp-1.0.0/lib/clamp/command.rb:68: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-1.0.0/lib/clamp/command.rb:133:in run' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/bin/hammer:115 /usr/bin/hammer:19:inload' /usr/bin/hammer:19

Stacktrace

File "/usr/lib64/python2.7/unittest/case.py", line 369, in run testMethod() File "/home/jenkins/shiningpanda/jobs/2fbde56b/virtualenvs/d41d8cd9/lib/python2.7/site-packages/ddt.py", line 146, in wrapper return func(self, _args, *_kwargs) File "/home/jenkins/workspace/satellite6-automation-upstream-rhel66-cli/tests/foreman/cli/test_host_collection.py", line 219, in test_positive_update_1 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--------------------

tkolhar commented 9 years ago

closing this as this issue is added a to a common github issue created for all upstream failures