Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[backend] Avoid endless rebuilds if qemu-linux-user is missing

A common error happening on the build.opensuse.org instance
is that buidl is enabled for armv7l, but no or not the right
qemu-linux-user is installed. In those cases the builds
are looping endlessly on the build cluster, wasting a lot of
CPU. Detect that case and end it.
  • Loading branch information...
commit 8a19bba741df3b772c814c36215ead88da8706dc 1 parent 2ac9248
@dirkmueller dirkmueller authored adrianschroeter committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/backend/bs_worker
View
3  src/backend/bs_worker
@@ -2789,7 +2789,8 @@ if (!$ex) {
sysseek(LL, -10240, 2);
sysread(LL, $data, 10240);
close LL;
- if ($data =~ /^mount: error while loading shared libraries:/m) {
+ if ($data =~ /^mount: error while loading shared libraries:/m
+ || $data =~ /^execve: Exec format error/m) {
print "Wait ... spotted failed build. Host is good.\n";
$code = 'failed';
}
Please sign in to comment.
Something went wrong with that request. Please try again.