Bug 789232 - The description of the output result isn't clear When check status of the embedded jenkins-client
Summary: The description of the output result isn't clear When check status of the emb...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-10 06:41 UTC by bzhao
Modified: 2015-05-15 01:46 UTC (History)
1 user (show)

Fixed In Version: devenv_1601
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-17 02:07:03 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description bzhao 2012-02-10 06:41:39 UTC
Description of problem:
The description of the output result isn't clear When check status of the embedded jenkins-client by rhc-ctl-app

Version-Release number of selected component (if applicable):
rhc-0.86.2-1.git.0.c3a52d2.el6.noarch
rhc-cartridge-jenkins-client-1.4-0.20.1-1.git.119.3c4cb39.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1.Create an app of php type
# rhc-create-app -t php-5.3 -a phptest -p xx
2.Create an app of jenkins type.
# rhc-create-app -t jenkins-1.4 -a jenkinstest -p xx
3.Embed jenkins client to phptest.
# rhc-ctl-app -a phptest -e add-jenkins-client-1.4 -p xx
4.Start and check the status of jenkins client
# rhc-ctl-app -a phptest -p xx -e start-jenkins-client-1.4
# rhc-ctl-app -a phptest -p xx -e status-jenkins-client-1.4
5.Stop and check the status of jenkins client
# rhc-ctl-app -a phptest -p xx -e stop-jenkins-client-1.4
# rhc-ctl-app -a phptest -p xx -e status-jenkins-client-1.4

Actual results:
The description of the output result is always success, it hasn't explained clearly that current jenkin's status

Expected results:
The output messages should be "jenkins-client server instance is running" or "jenkins-client server instance is stopped" or what other descriptions after start or stop jenkins-client

Additional info:
# rhc-ctl-app -a phptest -p redhat -e stop-jenkins-client-1.4

# rhc-ctl-app -a phptest -p redhat -e status-jenkins-client-1.4 -d
Contacting https://xxxxxxxxxxxxxxxxxx
Response from server:
DEBUG:

Exit Code: 0
broker_c: namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi
api_c: placeholder
API version:    1.1.2

RESULT:
Success
----------------
rhc-ctl-app -a phptest -p redhat -e start-jenkins-client-1.4

rhc-ctl-app -a phptest -p redhat -e status-jenkins-client-1.4 -d
Contacting https://xxxxxxxxxxxxxxxxxxxxx
Response from server:
DEBUG:

Exit Code: 0
broker_c: namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi
api_c: placeholder
API version:    1.1.2

RESULT:
Success

Comment 1 bzhao 2012-02-13 09:35:14 UTC
Passed verification against devenv_1606


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