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
Generated XML is bellow this message.
Please check this job in Beaker: https://beaker.engineering.redhat.com/jobs/808833
Thanks Jirka
<job retention_tag="scratch"> <whiteboard> Provision Fedora-Server-21_Beta Server x86_64 </whiteboard> <recipeSet priority="High"> <recipe kernel_options="console=tty0 console=ttyS1,115200n81 ksdevice=C8:1F:66:F4:15:C4 rdblacklist=mtip32xx" kernel_options_post="" ks_meta="docker_package=docker-io end=%end grubport=0x02f8 has_autopart_type=True has_chrony=True has_leavebootorder=True has_repo_cost=True has_systemd=True has_unsupported_hardware=True" role="RECIPE_MEMBERS" whiteboard=""> <autopick random="false"/> <watchdog panic="ignore"/> <packages/> <ks_appends/> <repos/> <distroRequires> <and> <distro_family op="=" value="Fedora21"/> <distro_variant op="=" value="Server"/> <distro_name op="=" value="Fedora-Server-21_Beta"/> <distro_arch op="=" value="x86_64"/> </and> </distroRequires> <hostRequires> <and> <hostname op="=" value="karkulka-02.lab.eng.brq.redhat.com"/> <system_type op="=" value="Machine"/> </and> </hostRequires> <partitions/> <task name="/distribution/install" role="STANDALONE"/> <task name="/distribution/reservesys" role="STANDALONE"> <params> <param name="RESERVETIME" value="86400"/> </params> </task> </recipe> </recipeSet> </job>