[opensuse-buildservice] KIWI image build on OBS creates endless loop
Hello, i'm trying to build a small image using kiwi as a base for a later project, i created .kiwi files for each image (net,iso,usb,vmx). The usb & vmx build is running into an endless loop, maybe someone can have a look what the problem may be and can point me to the right direction to fix this. Project: home:netmax:playground:kiwi Package: mini-image-usb & mini-image-vmx Thats the part which is looping: Feb-28 20:11:32 <1> : Increasing disk size by 10M to: 4283M [ 986s] . [ 986s] Feb-28 20:11:32 <1> : EXEC [qemu-img create /usr/src/packages/KIWI-vmx/vmx/mini-image.x86_64-0.0.1.raw 4283M 2>&1] [ 986s] Feb-28 20:11:33 <1> : EXEC [/sbin/losetup -f --show /usr/src/packages/KIWI-vmx/vmx/mini-image.x86_64-0.0.1.raw 2>&1] [ 986s] Feb-28 20:11:33 <1> : EXEC [bash -c "PATH=$PATH:/sbin which parted" 2>&1] [ 986s] Feb-28 20:11:33 <1> : EXEC [bash -c "PATH=$PATH:/sbin which parted" 2>&1] [ 986s] Feb-28 20:11:33 <1> : EXEC [dd if=/dev/zero of=/dev/loop0 bs=512 count=1 2>&1] [ 986s] Feb-28 20:11:33 <1> : EXEC [/usr/sbin/parted -s /dev/loop0 mklabel msdos 2>&1] [ 987s] Feb-28 20:11:33 <1> : EXEC [/usr/sbin/parted -m /dev/loop0 unit s print | head -n 3 | tail -n 1 | cut -f2 -d:] [ 987s] Feb-28 20:11:33 <1> : Disk Sector count is: 8771583 [ 987s] Feb-28 20:11:33 <1> : PARTED input: /dev/loop0 [mkpart primary 2048 8771583] [ 987s] Feb-28 20:11:33 <1> : EXEC [/usr/sbin/parted -s /dev/loop0 unit s mkpart primary 2048 8771583 2>&1] [ 987s] Feb-28 20:11:33 <1> : PARTED input: /dev/loop0 [set 1 boot on] [ 987s] Feb-28 20:11:33 <1> : EXEC [/usr/sbin/parted -s /dev/loop0 unit s set 1 boot on 2>&1] [ 987s] Feb-28 20:11:33 <1> : EXEC [/sbin/kpartx -a /dev/loop0 2>&1] [ 987s] Use of uninitialized value $pdev in concatenation (.) or string at /usr/share/kiwi/modules/KIWIBoot.pm line 5872. [ 987s] Feb-28 20:11:33 <1> : EXEC [blockdev --getsize64 2>&1] [ 988s] Feb-28 20:11:34 <1> : EXEC [sync] [ 988s] Feb-28 20:11:34 <1> : EXEC [sync] [ 988s] Feb-28 20:11:34 <1> : EXEC [kpartx -d /dev/loop0 2>&1] [ 988s] Feb-28 20:11:34 <1> : EXEC [losetup -d /dev/loop0 2>&1] Regards, Carsten
So after waiting a few days it looks like some of the images got build. I think the worker "build05" is the cause, is there something different on that host (configuration, loaded kernel modules, os)? I need to adapt that to my lokal obs instance. One image is still building on build35, which is not working. So hopefully someone can have a look and tell me what's the difference between build05 an the other hosts! Am 28.02.2013 21:12, schrieb Carsten Schoene:
Hello,
i'm trying to build a small image using kiwi as a base for a later project, i created .kiwi files for each image (net,iso,usb,vmx).
The usb & vmx build is running into an endless loop, maybe someone can have a look what the problem may be and can point me to the right direction to fix this.
Project: home:netmax:playground:kiwi Package: mini-image-usb & mini-image-vmx
Thats the part which is looping:
Feb-28 20:11:32 <1> : Increasing disk size by 10M to: 4283M [ 986s] . [ 986s] Feb-28 20:11:32 <1> : EXEC [qemu-img create /usr/src/packages/KIWI-vmx/vmx/mini-image.x86_64-0.0.1.raw 4283M 2>&1] [ 986s] Feb-28 20:11:33 <1> : EXEC [/sbin/losetup -f --show /usr/src/packages/KIWI-vmx/vmx/mini-image.x86_64-0.0.1.raw 2>&1] [ 986s] Feb-28 20:11:33 <1> : EXEC [bash -c "PATH=$PATH:/sbin which parted" 2>&1] [ 986s] Feb-28 20:11:33 <1> : EXEC [bash -c "PATH=$PATH:/sbin which parted" 2>&1] [ 986s] Feb-28 20:11:33 <1> : EXEC [dd if=/dev/zero of=/dev/loop0 bs=512 count=1 2>&1] [ 986s] Feb-28 20:11:33 <1> : EXEC [/usr/sbin/parted -s /dev/loop0 mklabel msdos 2>&1] [ 987s] Feb-28 20:11:33 <1> : EXEC [/usr/sbin/parted -m /dev/loop0 unit s print | head -n 3 | tail -n 1 | cut -f2 -d:] [ 987s] Feb-28 20:11:33 <1> : Disk Sector count is: 8771583 [ 987s] Feb-28 20:11:33 <1> : PARTED input: /dev/loop0 [mkpart primary 2048 8771583] [ 987s] Feb-28 20:11:33 <1> : EXEC [/usr/sbin/parted -s /dev/loop0 unit s mkpart primary 2048 8771583 2>&1] [ 987s] Feb-28 20:11:33 <1> : PARTED input: /dev/loop0 [set 1 boot on] [ 987s] Feb-28 20:11:33 <1> : EXEC [/usr/sbin/parted -s /dev/loop0 unit s set 1 boot on 2>&1] [ 987s] Feb-28 20:11:33 <1> : EXEC [/sbin/kpartx -a /dev/loop0 2>&1] [ 987s] Use of uninitialized value $pdev in concatenation (.) or string at /usr/share/kiwi/modules/KIWIBoot.pm line 5872. [ 987s] Feb-28 20:11:33 <1> : EXEC [blockdev --getsize64 2>&1] [ 988s] Feb-28 20:11:34 <1> : EXEC [sync] [ 988s] Feb-28 20:11:34 <1> : EXEC [sync] [ 988s] Feb-28 20:11:34 <1> : EXEC [kpartx -d /dev/loop0 2>&1] [ 988s] Feb-28 20:11:34 <1> : EXEC [losetup -d /dev/loop0 2>&1]
Regards, Carsten
participants (1)
-
Carsten Schoene