Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
Re: [opensuse-buildservice] workers fail with "Not an ARRAY reference at ./bs_worker line 671." after updating obs to 2.0.1
  • From: Carsten Hoeger <choeger@xxxxxxxxxxxx>
  • Date: Mon, 28 Jun 2010 11:28:16 +0200
  • Message-id: <20100628092816.GD2903@xxxxxxxxxxxx>
On Mon, Jun 28, Michael Schröder wrote:

after I updated my OBS to 2.0.1, most of the builds fail with
"Not???an???ARRAY???reference???at???./bs_worker???line???671." without
giving me a hint on
which of the workers are failing.

Even worse, not every build fails on a worker, so it's very hard to find out
what to do... :-(

It seems to be related to the disk cache.

So how does the content look like, i.e. please do

bs_admin --dump-relsync /<cachedir>/content


This is the content file from one of the "broken" workers.
I found out which workers - sometimes - issue that error in adding that code
to bs_worker:

sub manage_cache {

[...]

$content ||= [];
if( ref(@$content) ne "ARRAY" ) {
die `uname -n`;
}
my %content = map {$_->[0] => $_->[1]} @$content;

http://choeger.de/~choeger/content.bz2

--
With best regards,

Carsten Hoeger
< Previous Next >
Follow Ups