Re: [packman] Build fails with bad tempdir
On Mon, Oct 17, Stefan Botter wrote: > The behavior should be fixed on all workers now. The ARM workers are still affected. Olaf signature.asc Description: PGP signature ___ Packman mailing list Packman@links2linux.de http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
Re: [packman] Build fails with bad tempdir
On Fri, 14 Oct 2016 15:53:15 +0200 Stefan Botterwrote: > On Thu, 13 Oct 2016 23:19:08 +0200 > Olaf Hering wrote: > > Can you modify the code to print also $buildroot and $tempdir to see > > whats going one? When did this start to happen? > > I am not sure, where that comes from. > The chroot-workers do not have package "build" installed, usually the > worker process fetches its source from the repserver. But there I do > not see any reference to build, let alone runservices. ... found it. It is pushed from the build server, and the comparison which failed is the result of an incredible stupid concatenation of base path, worker directory and a trailing slash in basepath, which also forms the buildroot. Without the trainling slash in config the comparison succeeds, and the source services will run. The behavior should be fixed on all workers now. Greetings, Stefan -- Stefan Botter zu Hause Bremen pgp0lo4sw9aG1.pgp Description: OpenPGP digital signature ___ Packman mailing list Packman@links2linux.de http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
Re: [packman] Build fails with bad tempdir
Hi Olaf, On Thu, 13 Oct 2016 23:19:08 +0200 Olaf Heringwrote: > On Wed, Oct 12, Stefan Botter wrote: > > > The "bad tempdir" error is emitted by the runservices script from > > build: > > Lines 33 ff. > > > > my $tempdir; > > if ($buildroot ne '') { > > $tempdir = File::Temp::tempdir('CLEANUP' => 1, 'DIR' => > > "$buildroot/tmp"); die("bad tempdir\n") unless $tempdir =~ > > s/^\Q$buildroot\E//; } else { > > $tempdir = File::Temp::tempdir('CLEANUP' => 1); > > } > > > > > > > > This is run only if there are source services present in the > > package, but I do not understand why this fails on certain > > buildhosts. > > Can you modify the code to print also $buildroot and $tempdir to see > whats going one? When did this start to happen? I am not sure, where that comes from. The chroot-workers do not have package "build" installed, usually the worker process fetches its source from the repserver. But there I do not see any reference to build, let alone runservices. Greetings, Stefan -- Stefan Botter zu Hause Bremen pgpAFrECxWWq6.pgp Description: OpenPGP digital signature ___ Packman mailing list Packman@links2linux.de http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
Re: [packman] Build fails with bad tempdir
On Wed, Oct 12, Stefan Botter wrote: > The "bad tempdir" error is emitted by the runservices script from > build: > Lines 33 ff. > > my $tempdir; > if ($buildroot ne '') { > $tempdir = File::Temp::tempdir('CLEANUP' => 1, 'DIR' => "$buildroot/tmp"); > die("bad tempdir\n") unless $tempdir =~ s/^\Q$buildroot\E//; > } else { > $tempdir = File::Temp::tempdir('CLEANUP' => 1); > } > > > > This is run only if there are source services present in the package, > but I do not understand why this fails on certain buildhosts. Can you modify the code to print also $buildroot and $tempdir to see whats going one? When did this start to happen? Olaf signature.asc Description: PGP signature ___ Packman mailing list Packman@links2linux.de http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
Re: [packman] Build fails with bad tempdir
Hi Olaf, On Mon, 10 Oct 2016 11:05:26 +0200 Olaf Heringwrote: > On Sun, Aug 28, Olaf Hering wrote: > > > On Thu, Aug 25, Olaf Hering wrote: > > > > > Since earlier this week many builds fail with "bad tempdir", it > > > is not specific to a certain host or target. > > > > This affects all packages with a '_service' file. > > What is the status with this buildhost bug? > I see various packages have now their _service files removed, which I > think is the very wrong way to approach the issue. I am sorry for not replying earlier, I had extremely busy weeks and still not much time to do anything else. The "bad tempdir" error is emitted by the runservices script from build: Lines 33 ff. my $tempdir; if ($buildroot ne '') { $tempdir = File::Temp::tempdir('CLEANUP' => 1, 'DIR' => "$buildroot/tmp"); die("bad tempdir\n") unless $tempdir =~ s/^\Q$buildroot\E//; } else { $tempdir = File::Temp::tempdir('CLEANUP' => 1); } This is run only if there are source services present in the package, but I do not understand why this fails on certain buildhosts. Affected hosts are swkj1[5-9], which are still openSUSE 13.1, mainly with the obs-worker from OBS 2.5, and more importantly are running builds in chroot. swkj0[1-9] are also building in chroot, are openSUSE 12.3, only swkj1[1-4] and swkjt01 (real hardware machines) are building in kvm. I do not know, how the tempdir viable is at the very moment the above script stops, but I do not think, that the workers itself have a problem, more that this is a problem of the code with source services on chroot workers. I also do not know if updating the build hosts or the server will help, PMSB is still running OBS 2.6. What I so know is, that I do not have the time to update the machines in the next few weeks. I can however shut down swkj15-19, then the effect should not be that dramatic. Greetings, Stefan -- Stefan Botter zu Hause Bremen pgpcAquD3o4_d.pgp Description: OpenPGP digital signature ___ Packman mailing list Packman@links2linux.de http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
Re: [packman] Build fails with bad tempdir
On Sun, Aug 28, Olaf Hering wrote: > On Thu, Aug 25, Olaf Hering wrote: > > > Since earlier this week many builds fail with "bad tempdir", it is not > > specific to a certain host or target. > > This affects all packages with a '_service' file. What is the status with this buildhost bug? I see various packages have now their _service files removed, which I think is the very wrong way to approach the issue. Olaf signature.asc Description: PGP signature ___ Packman mailing list Packman@links2linux.de http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
Re: [packman] Build fails with bad tempdir
On Thu, Aug 25, Olaf Hering wrote: > Since earlier this week many builds fail with "bad tempdir", it is not > specific to a certain host or target. This affects all packages with a '_service' file. Olaf signature.asc Description: PGP signature ___ Packman mailing list Packman@links2linux.de http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
[packman] Build fails with bad tempdir
Since earlier this week many builds fail with "bad tempdir", it is not specific to a certain host or target. Olaf ___ Packman mailing list Packman@links2linux.de http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman