Mailinglist Archive: opensuse-buildservice (80 mails)

< Previous Next >
Re: [opensuse-buildservice] nodejs10 build failures
  • From: Hans-Peter Jansen <hpj@xxxxxxxxx>
  • Date: Tue, 21 Aug 2018 23:06:44 +0200
  • Message-id: <20494947.ExHV1YlJ3Z@xrated>
Hi Adrian,

thanks for your support.

On Dienstag, 21. August 2018 16:18:05 Adrian Schröter wrote:
On Dienstag, 21. August 2018, 16:09:59 CEST wrote Hans-Peter Jansen:
On Montag, 20. August 2018 19:27:07 Hans-Peter Jansen wrote:
Hi,

today, I stumbled across strange build failures of nodejs10:

https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10

Most failed builds stopped at some point during install without further
indication why exactly. It looks like some watchdog is chiming in and
stopping the builder. Are there some _constraints missing? 40G disk
seems
more than enough to me, even if additional intree packages are being
built.

Any idea, what's going on here?

Here are some recurring failure patterns for consecutive builds:

After outputting a *huge* link command:
Note the printf: write error and how output is truncated here.

out/Release/obj.target/openssl/deps/openssl/openssl/crypto/x509/x509_def.o
/home/abuild/rpmbuild/BUILD/node-v10.9.0/out/Release/obj.target/openssl/d
eps/openssl/openssl/crypto/x509/x509_err.o
/home/abuild/rpmbuild/BUILD/node-v10.9.0/out/Release/obj.target/openssl/d
eps/openssl/openssl/crypto [ 1712s] printf: write error
[ 1712s] deps/openssl/openssl.target.mk:849: recipe for target
'/home/abuild/rpmbuild/BUILD/node-v10.9.0/out/Release/obj.target/deps/ope
nssl/libopenssl.a' failed [ 1712s] make[1]: ***
[/home/abuild/rpmbuild/BUILD/node-v10.9.0/out/Release/obj.target/deps/ope
nssl/libopenssl.a] Error 1 [ 1712s] make[1]: *** Waiting for unfinished
jobs....
[ 1725s] rm fbd2db1fc4431e5fd3695925235da4a90ab137a7.intermediate
113155503ab29d863c213fe7119b094018f4cb78.intermediate
8d9c811780d88c5f90f85246b1cdc5cff28496d2.intermediate [ 1725s]
Makefile:87: recipe for target 'node10' failed
[ 1725s] make: *** [node10] Error 2
[ 1725s] error: Bad exit status from /var/tmp/rpm-tmp.bdntvC (%install)

Here, it is failing out of the blue without any further indication:

[ 2255s] installing
/home/abuild/rpmbuild/BUILDROOT/nodejs10-10.9.0-lp150.20.1.x86_64/usr/lib
64/node_modules/npm10/node_modules/lodash.union/README.md [ 2255s]
installing
/home/abuild/rpmbuild/BUILDROOT/nodejs10-10.9.0-lp150.20.1.x86_64/usr/lib
64/node_modules/npm10/node_modules/lodash.union/LICENSE [ 2255s]
installing /home/abuild/rpmbuild/BUILDROOT/nodejs10error: Bad exit status
from /var/tmp/rpm-tmp.13cfRU (%install) [ 2255s]
[ 2255s]
[ 2255s] RPM build errors:
[ 2255s] Bad exit status from /var/tmp/rpm-tmp.13cfRU (%install)
[ 2255s]
[ 2255s] cumulus3 failed "build nodejs10.spec" at Tue Aug 21 10:07:45 UTC
2018.

Write error of a file:

/home/abuild/rpmbuild/BUILD/node-v10.9.0/out/Release/obj.target/openssl/de
ps/openssl/config/archs/linux-x86_64/asm/crypto/aes/aesni-x86_64.o
/home/abuild/rpmbuild/BUILD/node-v10.9.0/out/Release/obj.target/openssl/d
eps/openssl/config/archs/linux-x86_64/asm/crypto/aes/bsaes-x8rm
fbd2db1fc4431e5fd3695925235da4a90ab137a7.intermediate
113155503ab29d863c213fe7119b094018f4cb78.intermediate
8d9c811780d88c5f90f85246b1cdc5cff28496d2.intermediate [ 2131s] make[1]:
write error
[ 2131s] Makefile:87: recipe for target 'node10' failed
[ 2131s] make: *** [node10] Error 1
[ 2131s] error: Bad exit status from /var/tmp/rpm-tmp.Vsmbi1 (%install)
[ 2131s]
[ 2131s]
[ 2131s] RPM build errors:
[ 2131s] Bad exit status from /var/tmp/rpm-tmp.Vsmbi1 (%install)
[ 2131s]
[ 2131s] cumulus2 failed "build nodejs10.spec" at Tue Aug 21 10:19:37 UTC
2018.


These failures are for different targets, that differ in amount of 3rd
party packages, that are included in the build. The failures are somewhat
similar, but without a recognizable pattern.

A build for 15.0 includes the lowest number of those intree 3rd party
packages, and seems to have the highest chance for a successful build,
but even that build fails more often than not. :-(

OTOH, local builds succeed every time.

Any idea, what's going on here, is much appreciated.

You have tried kvm local builds? Because this is usually the main
difference:

osc build --vm-type=kvm ...

--vm-memory=8G

Yes, it fails, but with different patterns.

What can make (even local) kvm builds so touchy?

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

< Previous Next >
Follow Ups