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 : <nose.suite.ContextSuite context=RHCIDeploymentTestCase>:setup #2558

Closed tkolhar closed 9 years ago

tkolhar commented 9 years ago
TestNames:
nose.suite.ContextSuite context=RHCIDeploymentTestCase:setup

Error Message
'organization'

Stacktrace

  File "/home/jenkins/shiningpanda/jobs/f593b203/virtualenvs/d41d8cd9/lib/python2.7/site-packages/nose/suite.py", line 209, in run
    self.setUp()
  File "/home/jenkins/shiningpanda/jobs/f593b203/virtualenvs/d41d8cd9/lib/python2.7/site-packages/nose/suite.py", line 292, in setUp
    self.setupContext(ancestor)
  File "/home/jenkins/shiningpanda/jobs/f593b203/virtualenvs/d41d8cd9/lib/python2.7/site-packages/nose/suite.py", line 315, in setupContext
    try_run(context, names)
  File "/home/jenkins/shiningpanda/jobs/f593b203/virtualenvs/d41d8cd9/lib/python2.7/site-packages/nose/util.py", line 471, in try_run
    return func()
  File "/home/jenkins/workspace/satellite6-automation-downstream-rhel71-api/tests/foreman/api/test_rhci.py", line 18, in setUpClass
    org_id = entities.Organization().create_json()['organization']['id']
'\'organization\'\n
Ichimonji10 commented 9 years ago

RHCI is a plugin for Katello - thus, a plug-in for a plug-in. As a result, an RHCI system provides a superset of the functionality provided by a Satellite system.

Unfortunately, the RHCI plugin completely mucks with the Satellite 6 API. The tests in module tests.foreman.api.test_rhci work well with an RHCI system but not a Satellite system, and the remaining API tests work well with a normal Satellite system but not an RHCI system.

elyezer commented 9 years ago

So maybe the right place to place this module is under tests.rhci.api?

elyezer commented 9 years ago

@JacobCallahan any suggestion?

tkolhar commented 9 years ago

this issue occurred again dated 07/16/2015 TestNames:

:setup Error Message 'organization' Stacktrace File "/home/jenkins/shiningpanda/jobs/2e7576f6/virtualenvs/d41d8cd9/lib/python2.7/site-packages/nose/suite.py", line 209, in run self.setUp() File "/home/jenkins/shiningpanda/jobs/2e7576f6/virtualenvs/d41d8cd9/lib/python2.7/site-packages/nose/suite.py", line 292, in setUp self.setupContext(ancestor) File "/home/jenkins/shiningpanda/jobs/2e7576f6/virtualenvs/d41d8cd9/lib/python2.7/site-packages/nose/suite.py", line 315, in setupContext try_run(context, names) File "/home/jenkins/shiningpanda/jobs/2e7576f6/virtualenvs/d41d8cd9/lib/python2.7/site-packages/nose/util.py", line 471, in try_run return func() File "/home/jenkins/workspace/satellite6-automation-downstream-rhel66-api/tests/foreman/api/test_rhci.py", line 18, in setUpClass org_id = entities.Organization().create_json()['organization']['id'] '\'organization\'\n--------------------
elyezer commented 9 years ago

RHCI tests were moved to a separated package and will run against RHCI enabled servers.

Closing this.