Mailinglist Archive: opensuse-buildservice (166 mails)

< Previous Next >
Re: [opensuse-buildservice] Increase timeout before job killing
  • From: Guillaume Gardet <guillaume.gardet@xxxxxxx>
  • Date: Mon, 19 May 2014 22:27:29 +0200
  • Message-id: <537A6931.7070702@free.fr>

Le 19/05/2014 22:07, Adrian Schröter a écrit :
On Montag, 19. Mai 2014, 21:17:49 wrote Guillaume Gardet:
Hi,

Is it possible to increase the time before a job is killed on an OBS server?
...

[ 778s] kernel-obs-build-1-1.2
########################################
[29582s] /var/run/obs/worker/2/build/init_buildsystem: line 20: 24160 Killed
chroot $BUILD_ROOT rpm --ignorearch --nodeps -Uh
--oldpackage --ignoresize --verbose $RPMCHECKOPTS $ADDITIONAL_PARAMS
.init_b_cache/manifest 2>&1
..
But with an osc build, I can get it compiled but the install step is very
long.
I doubt that unpacking this rpm should take that long. It has no scripts, just
a kernel and initrd binary image inside.

So, increasing the timeout will not really help (it is currently hardcoded in
OBS worker),
we need to find the reason why it hangs that long..

How to debug that? A process watcher just show qemu-arm processes.

On my local build the next lines are :
********************************************************************************
[ 319s] kernel-obs-build-1-1.2
########################################
[17050s] removing nis flags from
/var/tmp/build-root/openSUSE_13.1_ARM-armv6l/etc/nsswitch.conf...
[17050s] now finalizing build dir...
[17054s] build target is armv6hl-suse-linux
[17054s] -----------------------------------------------------------------
[17054s] I have the following modifications for ffmpeg.spec:
[17054s] -----------------------------------------------------------------
[17054s] ----- building ffmpeg.spec (user abuild)
[17054s] -----------------------------------------------------------------
[17054s] -----------------------------------------------------------------
[17054s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature
--target=armv6hl-suse-linux --define '_build_create_debug 1'
/home/abuild/rpmbuild/SOURCES/ffmpeg.spec
[17055s] Building target platforms: armv6hl-suse-linux
[17055s] Building for target armv6hl-suse-linux
[17055s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MeaRdQ
(...)
********************************************************************************

Guillaume

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >