Bug 859206 - RHC Feature tests need to create a user when running under origin
Summary: RHC Feature tests need to create a user when running under origin
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Test Infrastructure
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Fotios Lindiakos
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-20 19:34 UTC by John (J5) Palmieri
Modified: 2019-03-29 14:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-09 19:34:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John (J5) Palmieri 2012-09-20 19:34:30 UTC
Description of problem:

RHC Feature tests fail under Origin due to needing the tests to register a user before running.  What needs to be added -

 * RHC_REGISTER_USER env var needs to be checked by the runner in rhc/features/support/env.rb
 * init stage needs to create a user on server based on $username, $password
 * li/build/origin script needs to be updated to pass RHC_REGISTER_USER to the tests

Comment 1 Fotios Lindiakos 2012-09-25 01:16:18 UTC
I added flags for the rhc cucumber tests as well as to the origin test scripts. I do not know how I can test this, so I am marking it as MODIFIED and pinging agupta to try the changes (he was the original reporter of the problem).

Associated branches are here:
https://github.com/fotioslindiakos/rhc/tree/BZ859206
https://github.com/fotioslindiakos/li/tree/BZ859206

NOTE: The li branch was based off the code before clayton's refactor. Since the master branch is being frozen, the code will have to be merged in another pull request against the new master. I did it this way so it can be tested before that refactor goes live. This code should not have any problems since it is isolated.

Comment 2 Peter Ruan 2012-10-22 16:26:43 UTC
still waiting for origin build to work in Fedora16.  Will test this once that is ready.

Comment 3 Clayton Coleman 2012-11-09 19:34:55 UTC
Origin should run in a no-security mode in the test environment, rendering this bug unnecessary.  We'll track this by ensuring the tests are run in Origin outside of bugzilla.


Note You need to log in before you can comment on or make changes to this bug.