Packages scheduled

classic Classic list List threaded Threaded
39 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Mathias Radtke


On 19.06.2017 10:06, Frank Schreiner wrote:

> On Montag, 19. Juni 2017 10:03:42 CEST Mathias Radtke wrote:
>> On 19.06.2017 09:57, Frank Schreiner wrote:
>>>> I have another addition: it is entirely possible, that the kvm workers
>>>> do not set up correctly for quite a while, not just since a few days.
>>>> I stopped my chroot-workers last week due to the build errors with
>>>> openSUSE_Tumbleweed (where the rpmlint packages now probably needs
>>>> access to some hardware RNGs, which are not availabe in chroot), and
>>>> ran into the problem of the failing kvm workers with older targets.
>>> Please check if haveged is installed
>>>
>>> rpm -q haveged
>>>
>>> and make sure that rng-tools are not installed
>>>
>>> rpm -e rng-tools
>>>
>>> on the worker host of course.
>> obs:/srv/obs/log # rpm -q haveged
>> haveged-1.9.1-12.2.x86_64
>> obs:/srv/obs/log # rpm -e rng-tools
>> obs:/srv/obs/log # rpm -e rng-tools
>> error: package rng-tools is not installed
>>
>> Seems it was installed.
>> Do I need to restart any services?
> Hmm, maybe haveged, to be sure - but you could also try "journalctl" before if
> haveged already has been started by systemd.
restarted haveged and obsworker, didn't change anything :(

--
Mathias Radtke


---
http://uib.de/de/support-schulung/schulung/

---
uib gmbh
Bonifaziusplatz 1B
55118 Mainz

Tel. 06131 / 27561-16 <phone:061312756116>
Fax  06131 / 27561-22 <phone:061312756122>

E-Mail: [hidden email]
Internet: www.uib.de

Geschäftsführer: dr. detlef oertel & erol ueluekmen
Handelsregister: Amtsgericht Mainz HRB 6942

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Mathias Radtke


On 19.06.2017 10:14, Mathias Radtke wrote:

>
>
> On 19.06.2017 10:06, Frank Schreiner wrote:
>> On Montag, 19. Juni 2017 10:03:42 CEST Mathias Radtke wrote:
>>> On 19.06.2017 09:57, Frank Schreiner wrote:
>>>>> I have another addition: it is entirely possible, that the kvm
>>>>> workers
>>>>> do not set up correctly for quite a while, not just since a few days.
>>>>> I stopped my chroot-workers last week due to the build errors with
>>>>> openSUSE_Tumbleweed (where the rpmlint packages now probably needs
>>>>> access to some hardware RNGs, which are not availabe in chroot), and
>>>>> ran into the problem of the failing kvm workers with older targets.
>>>> Please check if haveged is installed
>>>>
>>>> rpm -q haveged
>>>>
>>>> and make sure that rng-tools are not installed
>>>>
>>>> rpm -e rng-tools
>>>>
>>>> on the worker host of course.
>>> obs:/srv/obs/log # rpm -q haveged
>>> haveged-1.9.1-12.2.x86_64
>>> obs:/srv/obs/log # rpm -e rng-tools
>>> obs:/srv/obs/log # rpm -e rng-tools
>>> error: package rng-tools is not installed
>>>
>>> Seems it was installed.
>>> Do I need to restart any services?
>> Hmm, maybe haveged, to be sure - but you could also try "journalctl"
>> before if
>> haveged already has been started by systemd.
> restarted haveged and obsworker, didn't change anything :(
>
The current screen session output is the following:

Name "Build::Kiwi::urlmapper" used only once: possible typo at
./bs_worker line 2574.
worker started on port 46265 code d41d8cd98f00b204e9800998ecf8427e build
d41d8cd98f00b204e9800998ecf8427e

Cheers

--
Mathias Radtke


---
http://uib.de/de/support-schulung/schulung/

---
uib gmbh
Bonifaziusplatz 1B
55118 Mainz

Tel. 06131 / 27561-16 <phone:061312756116>
Fax  06131 / 27561-22 <phone:061312756122>

E-Mail: [hidden email]
Internet: www.uib.de

Geschäftsführer: dr. detlef oertel & erol ueluekmen
Handelsregister: Amtsgericht Mainz HRB 6942

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Frank Schreiner-2
>
> The current screen session output is the following:
>
> Name "Build::Kiwi::urlmapper" used only once: possible typo at
> ./bs_worker line 2574.
> worker started on port 46265 code d41d8cd98f00b204e9800998ecf8427e build
> d41d8cd98f00b204e9800998ecf8427e

The worker is not building - so it might be still marked as badhost.

obs_admin --list-badhosts

for more info, and

obs_admin --drop-badhosts

should help.

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Mathias Radtke


On 19.06.2017 10:30, Frank Schreiner wrote:
> obs_admin --list-badhosts
> obs_admin --drop-badhosts

I dont have these commands on my OBS 2.8.1 system

If i trigger a rebuild of an failed or succeeded package, it builds.
Seems it doesnt want to buiild one specific package.

After uninstalling rng-tools the hashsums seem to match at least

from dispatcher.log
checkconstraints
x86_64/home:uibmz:opsi:opsi40-experimental::SLE_12_SP1::opsi-linux-bootimage-b9bbf281ed748f21e4249a2ec4c1a755

# curl
"http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage"
<projpack repoid="944824085">
   <project name="home:uibmz:opsi:opsi40-experimental">
     <title>remote experimental repo</title>
     <description></description>
     <package name="opsi-linux-bootimage" rev="9"
srcmd5="b9bbf281ed748f21e4249a2ec4c1a755"
verifymd5="f58ce6478db93749199604c958a7c9b8" revtime="1497859904">
       <linked
project="openSUSE.org:home:uibmz:opsi:opsi40-experimental"
package="opsi-linux-bootimage" />
     </package>
   </project>
</projpack>

But still no builds

--
Mathias Radtke


---
http://uib.de/de/support-schulung/schulung/

---
uib gmbh
Bonifaziusplatz 1B
55118 Mainz

Tel. 06131 / 27561-16 <phone:061312756116>
Fax  06131 / 27561-22 <phone:061312756122>

E-Mail: [hidden email]
Internet: www.uib.de

Geschäftsführer: dr. detlef oertel & erol ueluekmen
Handelsregister: Amtsgericht Mainz HRB 6942

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Frank Schreiner-2
On Montag, 19. Juni 2017 10:34:15 CEST Mathias Radtke wrote:

> On 19.06.2017 10:30, Frank Schreiner wrote:
> > obs_admin --list-badhosts
> > obs_admin --drop-badhosts
>
> I dont have these commands on my OBS 2.8.1 system
>
> If i trigger a rebuild of an failed or succeeded package, it builds.
> Seems it doesnt want to buiild one specific package.
>
> After uninstalling rng-tools the hashsums seem to match at least
>
> from dispatcher.log
> checkconstraints
> x86_64/home:uibmz:opsi:opsi40-experimental::SLE_12_SP1::opsi-linux-bootimage
> -b9bbf281ed748f21e4249a2ec4c1a755
>
> # curl
> "http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi:op
> si40-experimental&package=opsi-linux-bootimage" <projpack
> repoid="944824085">
>    <project name="home:uibmz:opsi:opsi40-experimental">
>      <title>remote experimental repo</title>
>      <description></description>
>      <package name="opsi-linux-bootimage" rev="9"
> srcmd5="b9bbf281ed748f21e4249a2ec4c1a755"
> verifymd5="f58ce6478db93749199604c958a7c9b8" revtime="1497859904">
>        <linked
> project="openSUSE.org:home:uibmz:opsi:opsi40-experimental"
> package="opsi-linux-bootimage" />
>      </package>
>    </project>
> </projpack>
>
> But still no builds
obs_admin  --deep-check-project  openSUSE.org:home:uibmz:opsi:opsi40-experimental x86_64

and check /srv/obs/log/scheduler_x86_64.log



signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Mathias Radtke


On 19.06.2017 10:51, Frank Schreiner wrote:

> On Montag, 19. Juni 2017 10:34:15 CEST Mathias Radtke wrote:
>> On 19.06.2017 10:30, Frank Schreiner wrote:
>>> obs_admin --list-badhosts
>>> obs_admin --drop-badhosts
>> I dont have these commands on my OBS 2.8.1 system
>>
>> If i trigger a rebuild of an failed or succeeded package, it builds.
>> Seems it doesnt want to buiild one specific package.
>>
>> After uninstalling rng-tools the hashsums seem to match at least
>>
>> from dispatcher.log
>> checkconstraints
>> x86_64/home:uibmz:opsi:opsi40-experimental::SLE_12_SP1::opsi-linux-bootimage
>> -b9bbf281ed748f21e4249a2ec4c1a755
>>
>> # curl
>> "http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi:op
>> si40-experimental&package=opsi-linux-bootimage" <projpack
>> repoid="944824085">
>>     <project name="home:uibmz:opsi:opsi40-experimental">
>>       <title>remote experimental repo</title>
>>       <description></description>
>>       <package name="opsi-linux-bootimage" rev="9"
>> srcmd5="b9bbf281ed748f21e4249a2ec4c1a755"
>> verifymd5="f58ce6478db93749199604c958a7c9b8" revtime="1497859904">
>>         <linked
>> project="openSUSE.org:home:uibmz:opsi:opsi40-experimental"
>> package="opsi-linux-bootimage" />
>>       </package>
>>     </project>
>> </projpack>
>>
>> But still no builds
> obs_admin  --deep-check-project  openSUSE.org:home:uibmz:opsi:opsi40-experimental x86_64
>
> and check /srv/obs/log/scheduler_x86_64.log
>
It did fetch some stuff, but the builds are still scheduled :(



--
Mathias Radtke


---
http://uib.de/de/support-schulung/schulung/

---
uib gmbh
Bonifaziusplatz 1B
55118 Mainz

Tel. 06131 / 27561-16 <phone:061312756116>
Fax  06131 / 27561-22 <phone:061312756122>

E-Mail: [hidden email]
Internet: www.uib.de

Geschäftsführer: dr. detlef oertel & erol ueluekmen
Handelsregister: Amtsgericht Mainz HRB 6942

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Frank Schreiner-2
On Montag, 19. Juni 2017 11:00:29 CEST Mathias Radtke wrote:

> On 19.06.2017 10:51, Frank Schreiner wrote:
> > On Montag, 19. Juni 2017 10:34:15 CEST Mathias Radtke wrote:
> >> On 19.06.2017 10:30, Frank Schreiner wrote:
> >>> obs_admin --list-badhosts
> >>> obs_admin --drop-badhosts
> >>
> >> I dont have these commands on my OBS 2.8.1 system
> >>
> >> If i trigger a rebuild of an failed or succeeded package, it builds.
> >> Seems it doesnt want to buiild one specific package.
> >>
> >> After uninstalling rng-tools the hashsums seem to match at least
> >>
> >> from dispatcher.log
> >> checkconstraints
> >> x86_64/home:uibmz:opsi:opsi40-experimental::SLE_12_SP1::opsi-linux-bootim
> >> age -b9bbf281ed748f21e4249a2ec4c1a755
> >>
> >> # curl
> >> "http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi
> >> :op si40-experimental&package=opsi-linux-bootimage" <projpack
> >> repoid="944824085">
> >>
> >>     <project name="home:uibmz:opsi:opsi40-experimental">
> >>    
> >>       <title>remote experimental repo</title>
> >>       <description></description>
> >>       <package name="opsi-linux-bootimage" rev="9"
> >>
> >> srcmd5="b9bbf281ed748f21e4249a2ec4c1a755"
> >> verifymd5="f58ce6478db93749199604c958a7c9b8" revtime="1497859904">
> >>
> >>         <linked
> >>
> >> project="openSUSE.org:home:uibmz:opsi:opsi40-experimental"
> >> package="opsi-linux-bootimage" />
> >>
> >>       </package>
> >>    
> >>     </project>
> >>
> >> </projpack>
> >>
> >> But still no builds
> >
> > obs_admin  --deep-check-project
> > openSUSE.org:home:uibmz:opsi:opsi40-experimental x86_64
> >
> > and check /srv/obs/log/scheduler_x86_64.log
>
> It did fetch some stuff, but the builds are still scheduled :(
Even without those bs_admin commands you could check your dispatcher state with

touch /srv/obs/run/bs_dispatch.dumpstate

perl -I/usr/lib/obs/server -mBSUtil -mData::Dumper -e 'print Data::Dumper::Dumper(BSUtil::retrieve("/srv/obs/run/bs_dispatch.state")->{badhost})'


and

touch  /srv/obs/run/bs_dispatch.dropbadhosts

to drop the current badhost list


signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Mathias Radtke


On 19.06.2017 11:16, Frank Schreiner wrote:

> On Montag, 19. Juni 2017 11:00:29 CEST Mathias Radtke wrote:
>> On 19.06.2017 10:51, Frank Schreiner wrote:
>>> On Montag, 19. Juni 2017 10:34:15 CEST Mathias Radtke wrote:
>>>> On 19.06.2017 10:30, Frank Schreiner wrote:
>>>>> obs_admin --list-badhosts
>>>>> obs_admin --drop-badhosts
>>>> I dont have these commands on my OBS 2.8.1 system
>>>>
>>>> If i trigger a rebuild of an failed or succeeded package, it builds.
>>>> Seems it doesnt want to buiild one specific package.
>>>>
>>>> After uninstalling rng-tools the hashsums seem to match at least
>>>>
>>>> from dispatcher.log
>>>> checkconstraints
>>>> x86_64/home:uibmz:opsi:opsi40-experimental::SLE_12_SP1::opsi-linux-bootim
>>>> age -b9bbf281ed748f21e4249a2ec4c1a755
>>>>
>>>> # curl
>>>> "http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi
>>>> :op si40-experimental&package=opsi-linux-bootimage" <projpack
>>>> repoid="944824085">
>>>>
>>>>      <project name="home:uibmz:opsi:opsi40-experimental">
>>>>      
>>>>        <title>remote experimental repo</title>
>>>>        <description></description>
>>>>        <package name="opsi-linux-bootimage" rev="9"
>>>>
>>>> srcmd5="b9bbf281ed748f21e4249a2ec4c1a755"
>>>> verifymd5="f58ce6478db93749199604c958a7c9b8" revtime="1497859904">
>>>>
>>>>          <linked
>>>>
>>>> project="openSUSE.org:home:uibmz:opsi:opsi40-experimental"
>>>> package="opsi-linux-bootimage" />
>>>>
>>>>        </package>
>>>>      
>>>>      </project>
>>>>
>>>> </projpack>
>>>>
>>>> But still no builds
>>> obs_admin  --deep-check-project
>>> openSUSE.org:home:uibmz:opsi:opsi40-experimental x86_64
>>>
>>> and check /srv/obs/log/scheduler_x86_64.log
>> It did fetch some stuff, but the builds are still scheduled :(
> Even without those bs_admin commands you could check your dispatcher state with
>
> touch /srv/obs/run/bs_dispatch.dumpstate
>
> perl -I/usr/lib/obs/server -mBSUtil -mData::Dumper -e 'print Data::Dumper::Dumper(BSUtil::retrieve("/srv/obs/run/bs_dispatch.state")->{badhost})'
>
>
> and
>
> touch  /srv/obs/run/bs_dispatch.dropbadhosts
>
> to drop the current badhost list
>
It moved some things, but still I again get the verification error

got job, run build...
2017-06-19 09:29:40: building 'opsi-linux-bootimage' for project
'home:uib:opsi4.0-experimental' repository 'Debian_8.0' arch 'i586'
using helper linux32
fetching sources, source verification fails:
713990b4462e712af44a658004e11f72 != f58ce6478db93749199604c958a7c9b8
build failed, marked as bad build host...
sent, all done...

host and workers are running on the same machine

--
Mathias Radtke


---
http://uib.de/de/support-schulung/schulung/

---
uib gmbh
Bonifaziusplatz 1B
55118 Mainz

Tel. 06131 / 27561-16 <phone:061312756116>
Fax  06131 / 27561-22 <phone:061312756122>

E-Mail: [hidden email]
Internet: www.uib.de

Geschäftsführer: dr. detlef oertel & erol ueluekmen
Handelsregister: Amtsgericht Mainz HRB 6942

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Frank Schreiner-2
>

> It moved some things, but still I again get the verification error
>
> got job, run build...
> 2017-06-19 09:29:40: building 'opsi-linux-bootimage' for project
> 'home:uib:opsi4.0-experimental' repository 'Debian_8.0' arch 'i586'
> using helper linux32
> fetching sources, source verification fails:
> 713990b4462e712af44a658004e11f72 != f58ce6478db93749199604c958a7c9b8
> build failed, marked as bad build host...
> sent, all done...
>
> host and workers are running on the same machine
First I would try to verify the md5sums on the worker side

TDIR=`mktemp -d`
cd $TDIR
curl "http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage"|cpio -i
LANG=C;md5sum *|md5sum -

if this looks ok I would check the source server side

/srv/obs/sources/opsi-linux-bootimage/b9bbf281ed748f21e4249a2ec4c1a755-MD5SUMS

should contain the correct md5sums.

Please be aware that sort algorithms might depend on locales.
Setting "LANG=C" or "LC_ALL=C" before starting verification of md5sums might be a good idea.

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Mathias Radtke
On 19.06.2017 14:03, Frank Schreiner wrote:

>> It moved some things, but still I again get the verification error
>>
>> got job, run build...
>> 2017-06-19 09:29:40: building 'opsi-linux-bootimage' for project
>> 'home:uib:opsi4.0-experimental' repository 'Debian_8.0' arch 'i586'
>> using helper linux32
>> fetching sources, source verification fails:
>> 713990b4462e712af44a658004e11f72 != f58ce6478db93749199604c958a7c9b8
>> build failed, marked as bad build host...
>> sent, all done...
>>
>> host and workers are running on the same machine
> First I would try to verify the md5sums on the worker side
>
> TDIR=`mktemp -d`
> cd $TDIR
> curl "http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage"|cpio -i
> LANG=C;md5sum *|md5sum -
curl
"http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage"|cpio
-i LANG=C;md5sum *|md5sum -
   % Total    % Received % Xferd  Average Speed   Time    Time Time  Current
                                  Dload  Upload   Total   Spent Left  Speed
100   466  100   466    0     0   3295      0 --:--:-- --:--:--
--:--:--  3304
cpio: premature end of archive
md5sum: '*': No such file or directory
d41d8cd98f00b204e9800998ecf8427e
> /srv/obs/sources/opsi-linux-bootimage/b9bbf281ed748f21e4249a2ec4c1a755-MD5SUMS
cat:
/srv/obs/sources/opsi-linux-bootimage/b9bbf281ed748f21e4249a2ec4c1a755-MD5SUMS:
No such file or directory

There isn't any file related to this checksum

--
Mathias Radtke


---
http://uib.de/de/support-schulung/schulung/

---
uib gmbh
Bonifaziusplatz 1B
55118 Mainz

Tel. 06131 / 27561-16 <phone:061312756116>
Fax  06131 / 27561-22 <phone:061312756122>

E-Mail: [hidden email]
Internet: www.uib.de

Geschäftsführer: dr. detlef oertel & erol ueluekmen
Handelsregister: Amtsgericht Mainz HRB 6942

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Frank Schreiner-2
On Montag, 19. Juni 2017 14:11:25 CEST Mathias Radtke wrote:

> On 19.06.2017 14:03, Frank Schreiner wrote:
> >> It moved some things, but still I again get the verification error
> >>
> >> got job, run build...
> >> 2017-06-19 09:29:40: building 'opsi-linux-bootimage' for project
> >> 'home:uib:opsi4.0-experimental' repository 'Debian_8.0' arch 'i586'
> >> using helper linux32
> >> fetching sources, source verification fails:
> >> 713990b4462e712af44a658004e11f72 != f58ce6478db93749199604c958a7c9b8
> >> build failed, marked as bad build host...
> >> sent, all done...
> >>
> >> host and workers are running on the same machine
> >
> > First I would try to verify the md5sums on the worker side
> >
> > TDIR=`mktemp -d`
> > cd $TDIR
> > curl
> > "http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi
> > :opsi40-experimental&package=opsi-linux-bootimage"|cpio -i LANG=C;md5sum
> > *|md5sum -
>
> curl
> "http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi:op
> si40-experimental&package=opsi-linux-bootimage"|cpio -i LANG=C;md5sum
> *|md5sum -
ARGH, stupid me:

curl  "http://obs.uib.local:5352/getsources?project=home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage&srcmd5=b9bbf281ed748f21e4249a2ec4c1a755" | cpio -i

should work


> cat:
> /srv/obs/sources/opsi-linux-bootimage/b9bbf281ed748f21e4249a2ec4c1a755-MD5SU
> MS: No such file or directory
>
> There isn't any file related to this checksum

hmm, I see, the package is linked to OBS

what gives

cd /srv/obs/sources/opsi-linux-bootimage/
ls -rt *MD5SUMS|tail -1
cat `ls -rt *MD5SUMS|tail -1`

back?


signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Mathias Radtke


On 19.06.2017 14:35, Frank Schreiner wrote:

> On Montag, 19. Juni 2017 14:11:25 CEST Mathias Radtke wrote:
>> On 19.06.2017 14:03, Frank Schreiner wrote:
>>>> It moved some things, but still I again get the verification error
>>>>
>>>> got job, run build...
>>>> 2017-06-19 09:29:40: building 'opsi-linux-bootimage' for project
>>>> 'home:uib:opsi4.0-experimental' repository 'Debian_8.0' arch 'i586'
>>>> using helper linux32
>>>> fetching sources, source verification fails:
>>>> 713990b4462e712af44a658004e11f72 != f58ce6478db93749199604c958a7c9b8
>>>> build failed, marked as bad build host...
>>>> sent, all done...
>>>>
>>>> host and workers are running on the same machine
>>> First I would try to verify the md5sums on the worker side
>>>
>>> TDIR=`mktemp -d`
>>> cd $TDIR
>>> curl
>>> "http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi
>>> :opsi40-experimental&package=opsi-linux-bootimage"|cpio -i LANG=C;md5sum
>>> *|md5sum -
>> curl
>> "http://obs.uib.local:5352/getprojpack?withsrcmd5&project=home:uibmz:opsi:op
>> si40-experimental&package=opsi-linux-bootimage"|cpio -i LANG=C;md5sum
>> *|md5sum -
> ARGH, stupid me:
>
> curl  "http://obs.uib.local:5352/getsources?project=home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage&srcmd5=b9bbf281ed748f21e4249a2ec4c1a755" | cpio -i
>
> should work
curl
"http://obs.uib.local:5352/getsources?project=home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage&srcmd5=b9bbf281ed748f21e4249a2ec4c1a755"
| cpio -i LANG=C;md5sum *|md5sum -
   % Total    % Received % Xferd  Average Speed   Time    Time Time  Current
                                  Dload  Upload   Total   Spent Left  Speed
100  211M    0  211M    0     0   251M      0 --:--:-- --:--:--
--:--:--  251M
433937 blocks
713990b4462e712af44a658004e11f72  -

>> cat:
>> /srv/obs/sources/opsi-linux-bootimage/b9bbf281ed748f21e4249a2ec4c1a755-MD5SU
>> MS: No such file or directory
>>
>> There isn't any file related to this checksum
> hmm, I see, the package is linked to OBS
>
> what gives
>
> cd /srv/obs/sources/opsi-linux-bootimage/
> ls -rt *MD5SUMS|tail -1
> cat `ls -rt *MD5SUMS|tail -1`
>
> back?
obs:/srv/obs/sources/opsi-linux-bootimage # ls -rt *MD5SUMS|tail -1
ls: cannot access '*MD5SUMS': No such file or directory
obs:/srv/obs/sources/opsi-linux-bootimage # cat `ls -rt *MD5SUMS|tail -1`
ls: cannot access '*MD5SUMS': No such file or directory

--
Mathias Radtke


---
http://uib.de/de/support-schulung/schulung/

---
uib gmbh
Bonifaziusplatz 1B
55118 Mainz

Tel. 06131 / 27561-16 <phone:061312756116>
Fax  06131 / 27561-22 <phone:061312756122>

E-Mail: [hidden email]
Internet: www.uib.de

Geschäftsführer: dr. detlef oertel & erol ueluekmen
Handelsregister: Amtsgericht Mainz HRB 6942

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: Packages scheduled

Stefan Botter-2
In reply to this post by Andreas Schwab-2
Hi Andreas,

On Mon, 19 Jun 2017 10:12:06 +0200
Andreas Schwab <[hidden email]> wrote:
> What do you get if you remove `quiet' from the kernel command line?

Where do I change that? I tried changing DEFAULT_APPEND
in /etc/sysconfig/bootloader, but to no avail.

http://susepaste.org/49404168
This is the abbreviated output while trying to build a package for
openSUSE 13.1
The kvm machine does not seem to be able to access the disk devices
needed for starting up.


Thank you for your help,

Stefan
--
Stefan Botter zu Hause
Bremen

attachment0 (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Frank Schreiner-2
In reply to this post by Mathias Radtke
> curl

> "http://obs.uib.local:5352/getsources?project=home:uibmz:opsi:opsi40-experim
> ental&package=opsi-linux-bootimage&srcmd5=b9bbf281ed748f21e4249a2ec4c1a755"
> | cpio -i LANG=C;md5sum *|md5sum -
>
>    % Total    % Received % Xferd  Average Speed   Time    Time Time  Current
> Dload  Upload   Total   Spent Left  Speed 100  211M    0  211M    0     0  
> 251M      0 --:--:-- --:--:--
> --:--:--  251M
> 433937 blocks
> 713990b4462e712af44a658004e11f72  -
Hmm, looks like the package has a lot of changes, so I cannot reproduce.

>
> obs:/srv/obs/sources/opsi-linux-bootimage # ls -rt *MD5SUMS|tail -1
> ls: cannot access '*MD5SUMS': No such file or directory
> obs:/srv/obs/sources/opsi-linux-bootimage # cat `ls -rt *MD5SUMS|tail -1`
> ls: cannot access '*MD5SUMS': No such file or directory

My fault, seems like linked packages have no *MD5SUMS files.

I tested it by branching your package on one of my test VMs via Interconnect, but everthing looks fine to me (compare the md5sums), so I cannot reproduce the problem:


### getprojpack
obs-server:~/tmp/src # curl "localhost:5352/getprojpack?withsrcmd5&project=home:Admin:branches:openSUSE.org:home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage"
<projpack repoid="683190587">
  <project name="home:Admin:branches:openSUSE.org:home:uibmz:opsi:opsi40-experimental">
    <title>Branch project for package opsi-linux-bootimage</title>
    <description>This project was created for package opsi-linux-bootimage via attribute OBS:Maintained</description>
    <package name="opsi-linux-bootimage" rev="1" srcmd5="29ea110352c26aeee1894e8b77eb5f33" verifymd5="99dbe634e938493b3c628b9ac48e4c4c" revtime="1497941216">
      <linked project="openSUSE.org:home:uibmz:opsi:opsi40-experimental" package="opsi-linux-bootimage" />
    </package>
  </project>
</projpack>

### verifiy sources
obs-server:~/tmp/src # curl "localhost:5352/getsources?project=home:Admin:branches:openSUSE.org:home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage&srcmd5=29ea110352c26aeee1894e8b77eb5f33" | cpio -i
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  211M    0  211M    0     0  35.6M      0 --:--:--  0:00:05 --:--:-- 34.5M
433937 blocks
obs-server:~/tmp/src # LANG=C;md5sum *|md5sum -
99dbe634e938493b3c628b9ac48e4c4c  -

### locally cached sources
obs-server:~/tmp/src # ls /srv/obs/sources/opsi-linux-bootimage/
26d47b5be678d77bf5cae0e3af2fbb90-opsi-linux-bootimage.spec  a00936f4319bbaffbc457499928d8856-opsi-linux-bootimage_20170620-1.dsc     ff953fd8e3522c8bb1c0c418ead13c93-_link
630c72ac8130dafca8895c3e0e4faee6-_meta                      b636e32fae65a2ca06283339d56e2a3e-opsi-linux-bootimage_20170620-1.tar.gz


signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Mathias Radtke


On 20.06.2017 09:01, Frank Schreiner wrote:

>> curl
>> "http://obs.uib.local:5352/getsources?project=home:uibmz:opsi:opsi40-experim
>> ental&package=opsi-linux-bootimage&srcmd5=b9bbf281ed748f21e4249a2ec4c1a755"
>> | cpio -i LANG=C;md5sum *|md5sum -
>>
>>     % Total    % Received % Xferd  Average Speed   Time    Time Time  Current
>> Dload  Upload   Total   Spent Left  Speed 100  211M    0  211M    0     0
>> 251M      0 --:--:-- --:--:--
>> --:--:--  251M
>> 433937 blocks
>> 713990b4462e712af44a658004e11f72  -
> Hmm, looks like the package has a lot of changes, so I cannot reproduce.
>
>> obs:/srv/obs/sources/opsi-linux-bootimage # ls -rt *MD5SUMS|tail -1
>> ls: cannot access '*MD5SUMS': No such file or directory
>> obs:/srv/obs/sources/opsi-linux-bootimage # cat `ls -rt *MD5SUMS|tail -1`
>> ls: cannot access '*MD5SUMS': No such file or directory
> My fault, seems like linked packages have no *MD5SUMS files.
>
> I tested it by branching your package on one of my test VMs via Interconnect, but everthing looks fine to me (compare the md5sums), so I cannot reproduce the problem:
>
>
> ### getprojpack
> obs-server:~/tmp/src # curl "localhost:5352/getprojpack?withsrcmd5&project=home:Admin:branches:openSUSE.org:home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage"
> <projpack repoid="683190587">
>    <project name="home:Admin:branches:openSUSE.org:home:uibmz:opsi:opsi40-experimental">
>      <title>Branch project for package opsi-linux-bootimage</title>
>      <description>This project was created for package opsi-linux-bootimage via attribute OBS:Maintained</description>
>      <package name="opsi-linux-bootimage" rev="1" srcmd5="29ea110352c26aeee1894e8b77eb5f33" verifymd5="99dbe634e938493b3c628b9ac48e4c4c" revtime="1497941216">
>        <linked project="openSUSE.org:home:uibmz:opsi:opsi40-experimental" package="opsi-linux-bootimage" />
>      </package>
>    </project>
> </projpack>
>
> ### verifiy sources
> obs-server:~/tmp/src # curl "localhost:5352/getsources?project=home:Admin:branches:openSUSE.org:home:uibmz:opsi:opsi40-experimental&package=opsi-linux-bootimage&srcmd5=29ea110352c26aeee1894e8b77eb5f33" | cpio -i
>    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                   Dload  Upload   Total   Spent    Left  Speed
> 100  211M    0  211M    0     0  35.6M      0 --:--:--  0:00:05 --:--:-- 34.5M
> 433937 blocks
> obs-server:~/tmp/src # LANG=C;md5sum *|md5sum -
> 99dbe634e938493b3c628b9ac48e4c4c  -
>
> ### locally cached sources
> obs-server:~/tmp/src # ls /srv/obs/sources/opsi-linux-bootimage/
> 26d47b5be678d77bf5cae0e3af2fbb90-opsi-linux-bootimage.spec  a00936f4319bbaffbc457499928d8856-opsi-linux-bootimage_20170620-1.dsc     ff953fd8e3522c8bb1c0c418ead13c93-_link
> 630c72ac8130dafca8895c3e0e4faee6-_meta                      b636e32fae65a2ca06283339d56e2a3e-opsi-linux-bootimage_20170620-1.tar.gz
>
Tioday i removed the link and added the files instead.
The build started and was successfull.
Afterwards I uploaded a new version onto the remote OBS isntance and
recreated the link. It now works for x86_64 and i586.
The propblem still exists for ARMv7l. But we currently only have one
build target ion this repository and it is neglible.

Thank you very much for your aid and support :)

If you will be in Mainz, write a mail. Beers on me
Cheers

--
Mathias Radtke


---
http://uib.de/de/support-schulung/schulung/

---
uib gmbh
Bonifaziusplatz 1B
55118 Mainz

Tel. 06131 / 27561-16 <phone:061312756116>
Fax  06131 / 27561-22 <phone:061312756122>

E-Mail: [hidden email]
Internet: www.uib.de

Geschäftsführer: dr. detlef oertel & erol ueluekmen
Handelsregister: Amtsgericht Mainz HRB 6942

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: Packages scheduled

Andreas Schwab-2
In reply to this post by Stefan Botter-2
On Jun 19 2017, Stefan Botter <[hidden email]> wrote:

> Hi Andreas,
>
> On Mon, 19 Jun 2017 10:12:06 +0200
> Andreas Schwab <[hidden email]> wrote:
>> What do you get if you remove `quiet' from the kernel command line?
>
> Where do I change that?

In /usr/lib/build/build-vm-kvm, variable qemu_append.

Andreas.

--
Andreas Schwab, SUSE Labs, [hidden email]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: Packages scheduled

Stefan Botter-2
Hi again,

sorry for the delay, but work got me...

On Tue, 20 Jun 2017 16:17:40 +0200
Andreas Schwab <[hidden email]> wrote:

> On Jun 19 2017, Stefan Botter <[hidden email]> wrote:
>
> > Hi Andreas,
> >
> > On Mon, 19 Jun 2017 10:12:06 +0200
> > Andreas Schwab <[hidden email]> wrote:  
> >> What do you get if you remove `quiet' from the kernel command
> >> line?  
> >
> > Where do I change that?  
>
> In /usr/lib/build/build-vm-kvm, variable qemu_append.
Does not change anything, see:

 http://susepaste.org/77652474

Line 67 says "[FAILED] Failed to start Setup Virtual Console."
after issuing the qemu-kvm command.

Thank you for more enlightenment ;-)
Greetings,

Stefan
--
Stefan Botter zu Hause
Bremen

attachment0 (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: [opensuse-buildservice] Packages scheduled

Stefan Botter-2
In reply to this post by Frank Schreiner-2
Hi Frank,

On Mon, 19 Jun 2017 09:57:40 +0200
Frank Schreiner <[hidden email]> wrote:

> > I have another addition: it is entirely possible, that the kvm
> > workers do not set up correctly for quite a while, not just since a
> > few days. I stopped my chroot-workers last week due to the build
> > errors with openSUSE_Tumbleweed (where the rpmlint packages now
> > probably needs access to some hardware RNGs, which are not availabe
> > in chroot), and ran into the problem of the failing kvm workers
> > with older targets.  
>
> Please check if haveged is installed
>
> rpm -q haveged
>
> and make sure that rng-tools are not installed
>
> rpm -e rng-tools
>
> on the worker host of course.
Thank you for this hint, my chroot-workers were still something ancient
(12.3 or 13.1), and after updating the base I checked for both
packages, and now chroot-workers do not fail on rpmlint in Tumbleweed
builds anymore.

Greetings,

Stefan
--
Stefan Botter zu Hause
Bremen

attachment0 (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Worker code does not initialize correctly for older targets, was: Re: Packages scheduled

Andreas Schwab-2
In reply to this post by Stefan Botter-2
On Jun 27 2017, Stefan Botter <[hidden email]> wrote:

> Hi again,
>
> sorry for the delay, but work got me...
>
> On Tue, 20 Jun 2017 16:17:40 +0200
> Andreas Schwab <[hidden email]> wrote:
>> On Jun 19 2017, Stefan Botter <[hidden email]> wrote:
>>
>> > Hi Andreas,
>> >
>> > On Mon, 19 Jun 2017 10:12:06 +0200
>> > Andreas Schwab <[hidden email]> wrote:  
>> >> What do you get if you remove `quiet' from the kernel command
>> >> line?  
>> >
>> > Where do I change that?  
>>
>> In /usr/lib/build/build-vm-kvm, variable qemu_append.
>
> Does not change anything, see:
>
>  http://susepaste.org/77652474

You still have quiet on the command line.

Andreas.

--
Andreas Schwab, SUSE Labs, [hidden email]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

12
Loading...