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_product.TestProduct #2494

Closed tkolhar closed 9 years ago

tkolhar commented 9 years ago

TestNames: tests.foreman.cli.test_product.TestProduct.test_positive_update_1_1__u_description tests.foreman.cli.test_product.TestProduct.test_positive_update_2

Error Message

u'gpAYZPjRVPExNJjfCPBL' != u'zPON7YUq1gSQrcl'

robottelo.common.ssh: DEBUG: >>> [qe-foreman-rhel71.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv product update --id="2216" --gpg-key-id="17" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x4898210 robottelo.common.ssh: INFO: Destroying Paramiko client 0x4898210 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x4898210 robottelo.common.ssh: DEBUG: <<< stderr [ERROR 2015-06-24 22:16:55 Exception] There was an issue with the backend service pulp: Pulp message bus connection issue. Could not update the product: There was an issue with the backend service pulp: Pulp message bus connection issue. [ERROR 2015-06-24 22:16:55 Exception]

RestClient::InternalServerError (500 Internal Server Error): /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in return!' /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:234:inprocess_result' /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:182:in block in transmit' /usr/share/ruby/net/http.rb:852:instart' /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:176:in transmit' /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:65:inexecute' /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:34:in execute' /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/resource.rb:76:input' /usr/share/gems/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:280:in call_client' /usr/share/gems/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:211:inhttp_call' /usr/share/gems/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:161:in call' /usr/share/gems/gems/apipie-bindings-0.0.13/lib/apipie_bindings/resource.rb:14:incall' /usr/share/gems/gems/hammer_cli-0.2.0/lib/hammer_cli/apipie/command.rb:43:in send_request' /usr/share/gems/gems/hammer_cli_foreman-0.2.0/lib/hammer_cli_foreman/commands.rb:185:insend_request' /usr/share/gems/gems/hammer_cli-0.2.0/lib/hammer_cli/apipie/command.rb:34:in execute' /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:inrun' /usr/share/gems/gems/hammer_cli-0.2.0/lib/hammer_cli/abstract.rb:23:in run' /usr/share/gems/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:inexecute' /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in run' /usr/share/gems/gems/hammer_cli-0.2.0/lib/hammer_cli/abstract.rb:23:inrun' /usr/share/gems/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in execute' /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:inrun' /usr/share/gems/gems/hammer_cli-0.2.0/lib/hammer_cli/abstract.rb:23:in run' /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:inrun' /usr/share/gems/gems/hammer_cli-0.2.0/bin/hammer:108:in <top (required)>' /usr/bin/hammer:23:inload' /usr/bin/hammer:23:in `

'

filed a bz : https://bugzilla.redhat.com/show_bug.cgi?id=1235606

tkolhar commented 9 years ago

this issue occurred again dated 07/13/2015 TestNames: tests.foreman.cli.test_product.TestProduct.test_positive_update_4_1_XtqjjBhhOwFQxsM tests.foreman.cli.test_product.TestProduct.test_positive_update_1_1udescriptionu_CGvClHc4ZWzojQ0

Error Message

u'XtqjjBhhOwFQxsM' != u'LvrcheSs'

robottelo.common.ssh: DEBUG: >>> [qe-foreman-rhel66.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv product update --id="2827" --name="LvrcheSs" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x49e0f50 robottelo.common.ssh: INFO: Destroying Paramiko client 0x49e0f50 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x49e0f50 robottelo.common.ssh: DEBUG: <<< stderr [ERROR 2015-07-14 22:08:53 Exception] There was an issue with the backend service pulp: Pulp message bus connection issue. Could not update the product: There was an issue with the backend service pulp: Pulp message bus connection issue. [ERROR 2015-07-14 22:08:53 Exception]

RestClient::InternalServerError (500 Internal Server Error): /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in return!' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:230:inprocess_result' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in transmit' /usr/lib/ruby/1.8/net/http.rb:543:instart' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in transmit' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:64:inexecute' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in execute' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/resource.rb:80:input' /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:280:in send' /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:280:incall_client' /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:211:in http_call' /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:162:incall' /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.13/lib/apipie_bindings/resource.rb:14:in call' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/command.rb:43:insend_request' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.2.0/lib/hammer_cli_foreman/commands.rb:185:in send_request' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/command.rb:34: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/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

Back to Project Status Changes Console Output View as plain text View Build Information History Parameters Environment Variables Git Build Data Test Result Previous Build Failed

tests.foreman.cli.test_product.TestProduct.test_positive_update_4_1_XtqjjBhhOwFQxsM (from nosetests) Failing for the past 1 build (Since Unstable#110 ) Took 8.5 sec. Error Message

u'XtqjjBhhOwFQxsM' != u'LvrcheSs'

-------------------- >> begin captured logging << -------------------- robottelo: DEBUG: Running test TestProduct/test_positive_update_4_1_XtqjjBhhOwFQxsM robottelo.common.ssh: DEBUG: >>> [qe-foreman-rhel66.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv product create --organization-id="274" --description="vlAvZmHPrJqDwYyKZNnR" --name="XtqjjBhhOwFQxsM" --label="bYkDKzSciLysnvOMActI" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x49e0850 robottelo.common.ssh: INFO: Destroying Paramiko client 0x49e0850 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x49e0850 robottelo.common.ssh: DEBUG: <<< stdout Message,Id,Name Product created,2827,XtqjjBhhOwFQxsM

robottelo.common.ssh: DEBUG: >>> [qe-foreman-rhel66.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme product info --id="2827" --organization-id="274" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x49e0490 robottelo.common.ssh: INFO: Destroying Paramiko client 0x49e0490 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x49e0490 robottelo.common.ssh: DEBUG: <<< stdout ID: 2827 Name: XtqjjBhhOwFQxsM Label: bYkDKzSciLysnvOMActI Description: vlAvZmHPrJqDwYyKZNnR Sync State:
Sync Plan ID: GPG:
GPG Key ID: GPG Key: Organization: ZQZx4J Readonly: false Deletable:
Content:

robottelo.common.ssh: DEBUG: >>> [qe-foreman-rhel66.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv product update --id="2827" --name="LvrcheSs" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x49e0f50 robottelo.common.ssh: INFO: Destroying Paramiko client 0x49e0f50 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x49e0f50 robottelo.common.ssh: DEBUG: <<< stderr [ERROR 2015-07-14 22:08:53 Exception] There was an issue with the backend service pulp: Pulp message bus connection issue. Could not update the product: There was an issue with the backend service pulp: Pulp message bus connection issue. [ERROR 2015-07-14 22:08:53 Exception]

RestClient::InternalServerError (500 Internal Server Error): /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in return!' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:230:inprocess_result' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in transmit' /usr/lib/ruby/1.8/net/http.rb:543:instart' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in transmit' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:64:inexecute' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in execute' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/resource.rb:80:input' /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:280:in send' /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:280:incall_client' /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:211:in http_call' /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.13/lib/apipie_bindings/api.rb:162:incall' /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.13/lib/apipie_bindings/resource.rb:14:in call' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/command.rb:43:insend_request' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.2.0/lib/hammer_cli_foreman/commands.rb:185:in send_request' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/command.rb:34: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/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

robottelo.common.ssh: DEBUG: >>> [qe-foreman-rhel66.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme product info --id="2827" --organization-id="274" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x49e0b90 robottelo.common.ssh: INFO: Destroying Paramiko client 0x49e0b90 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x49e0b90 robottelo.common.ssh: DEBUG: <<< stdout ID: 2827 Name: XtqjjBhhOwFQxsM Label: bYkDKzSciLysnvOMActI Description: vlAvZmHPrJqDwYyKZNnR Sync State:
Sync Plan ID: GPG:
GPG Key ID: GPG Key: Organization: ZQZx4J Readonly: false Deletable:
Content:

--------------------- >> end captured logging << ---------------------

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_product.py", line 383, in test_positive_update_4 self.assertEqual(result.stdout['name'], new_prod_name) 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 964, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python2.7/unittest/case.py", line 450, in fail raise self.failureException(msg) 'u\'XtqjjBhhOwFQxsM\' != u\'LvrcheSs\'\n- XtqjjBhhOwFQxsM\n+ LvrcheSs\n\n-------------------

tkolhar commented 9 years ago

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