Bug 720661

Summary: Problem with multihost test
Product: [Retired] Beaker Reporter: Kamil Kolakowski <kkolakow>
Component: testsAssignee: Bill Peck <bpeck>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.7CC: bpeck, dcallagh, mcsontos, rmancy, stl
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: 2011-07-12 14:04:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
runtest.sh none

Description Kamil Kolakowski 2011-07-12 12:22:28 UTC
Created attachment 512410 [details]
runtest.sh

Description of problem:
I'm running multihost test with beaker utils. I have 1 server 1 client. 

SERVER PART:
1. When server installation is finished I set 
rhts-sync-set -s SVR_INSTALLED

2. and then I'm waiting for TEST_FINISHED from CLIENTS.
rhts-sync-block -s TEST_FINISHED $CLIENTS

CLIENT PART:
1. I'm checking with 
rhts-sync-block -s SVR_INSTALLED $SERVERS
if server installation is finished.

2. I'm running test itself

3. I'm setting  
rhts-sync-set -s TEST_FINISHED 
when test is finished.

I got this problem: 
On client I see process
/usr/bin/python /usr/bin/rhts-sync-block -s SVR_INSTALLED ibm-x3650m3-01.lab.eng.brq.redhat.com 

what means I'm waiting for SVR_INSTALLED on ibm-x3650m3-01.lab.eng.brq.redhat.com 

But on server I see process

/usr/bin/python /usr/bin/rhts-sync-block -s TEST_FINISHED dell-per210-01.lab.eng.brq.redhat.

what mean that step 

1. rhts-sync-set -s SVR_INSTALLED
on server part is done.

I will attach runtest.sh script I'm running for this multihost test.

Beaker job you can see in this url:
https://beaker.engineering.redhat.com/jobs/clone?job_id=109875


Thanks

Kamil

Comment 1 Marian Csontos 2011-07-12 14:04:40 UTC
Test changing RESULT_SERVER env.variable in use by rhts* scripts.

Q: How to prevent this from happening?