vdsm build fails

Adam Litke alitke at redhat.com
Fri Jan 8 16:51:25 UTC 2016


On 08/01/16 15:59 +0200, Eyal Edri wrote:
>Doesn't look like infra issue.
>adding Adam as the last commiter:

This is definately an infra/CI issue.  From the log [1]:

21:31:24 + loops=($(losetup -a     | grep -E "$WORKSPACE|\(build/disk" | awk '{print $1}'     | sed -e 's/://'))
21:31:24 ++ losetup -a
21:31:24 /tmp/hudson5712433727892098744.sh: line 80: losetup: command not found
21:31:24 ++ grep -E '/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64|\(build/disk'
21:31:24 ++ awk '{print $1}'
21:31:24 ++ sed -e s/://
21:31:24 + [[ -n '' ]]
21:31:24 /tmp/hudson5712433727892098744.sh: line 87: syntax error near unexpected token `\ '

The script is not checking the result of losetup before plugging the
output into further commands.  This is causing invalid shell code when
the output is blank (presumably this environment does not have losetup
installed).

[1] http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc23-x86_64/1973/console

>
>
>On Fri, Jan 8, 2016 at 9:44 AM, Piotr Kliczewski <piotr.kliczewski at gmail.com
>> wrote:
>
>> All,
>>
>> There is bunch of vdsm master builds which failed due to:
>>
>> 07:39:18 /tmp/hudson7015046652364386467.sh: line 80: losetup: command not
>> found
>> 07:39:18 ++ awk '{print $1}'
>> 07:39:18 ++ sed -e s/://
>> 07:39:18 + [[ -n '' ]]
>> 07:39:18 /tmp/hudson7015046652364386467.sh: line 87: syntax error near
>> unexpected token `\ '
>>
>> This one [1] was the first one to fail.
>>
>> Can someone please take a look?
>>
>> Thanks,
>> Piotr
>>
>> [1] http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc23-x86_64/1973
>> _______________________________________________
>> Infra mailing list
>> Infra at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/infra
>>
>>
>>
>
>
>-- 
>Eyal Edri
>Associate Manager
>EMEA ENG Virtualization R&D
>Red Hat Israel
>
>phone: +972-9-7692018
>irc: eedri (on #tlv #rhev-dev #rhev-integ)

-- 
Adam Litke



More information about the Infra mailing list