Bug 859206

Summary: RHC Feature tests need to create a user when running under origin
Product: OpenShift Container Platform Reporter: John (J5) Palmieri <johnp>
Component: Test InfrastructureAssignee: Fotios Lindiakos <fotios>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aos-bugs, ccoleman, jkeck, jokerman, mmccomas, pruan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-09 19:34:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.