Mailinglist Archive: opensuse-buildservice (247 mails)

< Previous Next >
Re: [opensuse-buildservice] Different invocation of service run act differently
Am Freitag, 7. Juni 2013, 23:24:01 schrieb Jan Engelhardt:
To do verification of the raw tarball, I have, in a _service file,

<service name="recompress">
<param name="file">*.tar*</param>
<param name="compression">none</param>
<service name="verify_file">
name="file">_service:recompress:Alnuth-3.0.0.tar</param> <param
7b477</param> </service>
<service name="recompress">
<param name="file">*.tar*</param>
<param name="compression">xz</param>

using this, the package builds on the server-side, but only there.
When issuing a localrun, I get

Compressed Alnuth-3.0.0.tar to Alnuth-3.0.0.tar
sha256sum: _service:recompress:Alnuth-3.0.0.tar: No such file or
Aborting: service call failed: /usr/lib/obs/service/verify_file --file
'_service:recompress:Alnuth-3.0.0.tar' --verifier 'sha256' --checksum
'7203be33535135af16ba1a1479b057ec5fe4048c628d6d9bd2926824a017b477' --outdir

Instead of

<param name="file">_service:recompress:Alnuth-3.0.0.tar</param>

I could place

<param name="file">Alnuth-3.0.0.tar</param>

in the _service file, but then it only works locally and not on
the server side.

Looks like a bug to me..

Yes, a bug in verify_file service ....


Adrian Schroeter
email: adrian@xxxxxxx

SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284
Maxfeldstraße 5
90409 Nürnberg

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

< Previous Next >