Description of problem: Some cucumber tests use the rhc tools to create domains and applications. A recent change causes them to stop and ask for interactive directions even if the tool has been given everything on the command line it needs to perform its task. This causes domain and application creation to either fail or hang. Version-Release number of selected component (if applicable): How reproducible: Always. Steps to Reproduce: 1. cd /root/li-test/tests 2. cucumber trap-user.feature (this will hang if done interactively) 3. in another terminal; examine /tmp/rhc/cartridge-php/cucumber.log Actual results: Either it will hang or you will get the following in the log file. Starting Interactive Setup. It looks like you've not used OpenShift Express on this machine before. We'll help get you setup with just a couple of questions. You can skip this in the future by copying your config's around: /root/.openshift/express.conf /root/.ssh/ https://openshift.redhat.com/ username: stty: standard input: Inappropriate ioctl for device Expected results: The domain and application are created non-interactively. Additional info: The proposed solution is to add a "--noninteractive" flag to the tools to prevent the wizard from running.
I just pushed a quick fix that restricts the wizard to only the rhc tool for now and adds a --noprompt flag. I wanted to reserve the verbiage "interactive" for something like the git interactive tools if we ever wanted to add that. As I reorg the code I will be cleaning this up a little more.
Fixed with default configs in rhc as well as the cucumber tests generating their own configs.
Verified on devenv_1782.