Hi Jirka,
----- Original Message -----
From: "Jirka Hladky" <jhladky(a)redhat.com>
To: "Dan Callaghan" <dcallagh(a)redhat.com>
Cc: "Kamil Kolakowski" <kkolakow(a)redhat.com>, "Beaker
development" <beaker-devel(a)lists.fedorahosted.org>
Sent: Wednesday, November 26, 2014 8:21:54 PM
Subject: Re: [Beaker-devel] Task /distribution/reservesys is broken on Fedora21
On 11/25/2014 04:48 AM, Dan Callaghan wrote:
> Excerpts from Amit Saha's message of 2014-11-25 12:45 +10:00:
>>> Hello,
>>>
>>> extendtesttime.sh does not work on Fedora21 Server:
>>>
>>> [root@karkulka-02 tests]# extendtesttime.sh 48
>>> Extending reservation time 48
>>> ERROR: 2 args provided
>>>
>>> Usage:
>>> rhts-test-checkin <lab_server> <hostname> <jobid>
<test> <killtime>
>>> <testid>
>>>
>>> root: rhts-test-checkin
karkulka-02.lab.eng.brq.redhat.com 48h
>> It looks like the extendtestime.sh script wasn't created correctly by
>> the reservesys task. These last few lines are relevant:
>>
>> export RESULT_SERVER=$RESULT_SERVER
>> export HOSTNAME=$HOSTNAME
>> export JOBID=$JOBID
>> export TEST=$TEST
>> export TESTID=$TESTID
>> rhts-test-checkin $RESULT_SERVER $HOSTNAME $JOBID $TEST \$EXTRESTIME
>> $TESTID
>> logger -s "rhts-test-checkin $RESULT_SERVER $HOSTNAME $JOBID $TEST
>> \$EXTRESTIME $TESTID"
>>
>> So, looks like the environment variables above were not correctly
>> available to your task.
> Jirka, are you using a harness other than beah?
>
Hi all,
I have used "Provision" functionality in Beaker.
1) Pick up a free server in Beaker
2) Click on Provision
3)Select Fedora21 Beta Server
4)Click on Schedule Provision
I did exactly this, and sorry, I can't still reproduce it:
# rpm -q beah
beah-0.7.7-1.fc21.noarch
# extendtesttime.sh 48
Extending reservation time 48
root: rhts-test-checkin [::1]:7083
cisco-b200m3-01.rhts.eng.bos.redhat.com 811874
/distribution/reservesys 48h 26225415
Can you please copy/paste your
/usr/bin/extendtesttime.sh script next time you see this? Please make sure to modify
the internal host names in the script.
--
Amit Saha
SED, Hosted & Shared Services
Red Hat, Inc.