Mailinglist Archive: opensuse-buildservice (144 mails)

< Previous Next >
Re: [opensuse-buildservice] Issue with revision in git services
Hi,

I had a deeper look into the code and could figure out the problem. I
filed an issue

https://github.com/openSUSE/obs-service-tar_scm/issues/330

Patch is on the way but needs some more testing

cu
Frank

Am Mittwoch, den 25.09.2019, 18:02 +0200 schrieb Dominig ar Foll (Intel
Open Source):
Hello,

I try to extract a given review from gerrit with a service file and I
get an error that I do not understand
My _service points to a pending review.
- If I run the service locally with "osc service localrun" it works.
- if I run "git clone https://review.opendev.org/starlingx/fault
refs/changes/95/684395/5" I get the code
* if I run "osc service rr" I get an error "No such revision"

Could some one explains me what is wrong ?
My test project is at

https://build.opensuse.org/package/show/home:dominig:starlingx-sandbox/fm-common2

------------------- _service ------------------------------
<services>
<service name="obs_scm">
<param name="scm">git</param>
<param name="url">
https://review.opendev.org/starlingx/fault</param>
<param name="revision">refs/changes/95/684395/5</param>
<param name="version">1.0</param>
<param name="subdir">fm-common</param>
<param name="filename">fm-common</param>
<param name="changesgenerate">disable</param>
<param name="extract">opensuse/fm-common.spec</param>
<param name="extract">opensuse/fm-common.changes</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

------------ OBS log ---------------

service obs_scm failed:
/srv/obs/service/12167
/srv/obs/service/12167/src
/srv/obs/service/12167/src/_service
/srv/obs/service/12167/src/.old
/srv/obs/service/12167/out
/srv/obs/service/12167/var
/srv/obs/service/12167/var/cache
/srv/obs/service/12167/var/cache/obs
/srv/obs/service/12167/var/cache/obs/h9UaxI3JJ6e1
/srv/obs/service/12167/var/cache/obs/h9UaxI3JJ6e1/scripts
/srv/obs/service/12167/var/cache/obs/h9UaxI3JJ6e1/scripts/inner.sh
/srv/obs/service/12167/var/cache/obs/h9UaxI3JJ6e1/scripts/inner.sh.co
mmand
/srv/obs/service/12167/home
+ echo Running /usr/lib/obs/service//obs_scm --scm git --url
https://review.opendev.org/starlingx/fault --revision
refs/changes/95/684395/5 --version 1.0 --subdir fm-common --filename
fm-common --changesgenerate disable --extract opensuse/fm-common.spec
--extract opensuse/fm-common.changes --outdir
/var/cache/obs/h9UaxI3JJ6e1/out
+ export CACHEDIRECTORY=/var/cache/obs/h9UaxI3JJ6e1/scm-cache
+ CACHEDIRECTORY=/var/cache/obs/h9UaxI3JJ6e1/scm-cache
+ export HOME=/var/cache/obs/h9UaxI3JJ6e1/home
+ HOME=/var/cache/obs/h9UaxI3JJ6e1/home
+ /usr/lib/obs/service//obs_scm --scm git --url
https://review.opendev.org/starlingx/fault --revision
refs/changes/95/684395/5 --version 1.0 --subdir fm-common --filename
fm-common --changesgenerate disable --extract opensuse/fm-common.spec
--extract opensuse/fm-common.changes --outdir
/var/cache/obs/h9UaxI3JJ6e1/out
Running /usr/lib/obs/service//obs_scm --scm git --url
https://review.opendev.org/starlingx/fault --revision
refs/changes/95/684395/5 --version 1.0 --subdir fm-common --filename
fm-common --changesgenerate disable --extract opensuse/fm-common.spec
--extract opensuse/fm-common.changes --outdir
/var/cache/obs/h9UaxI3JJ6e1/out
refs/changes/95/684395/5: No such revision

--
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre


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

< Previous Next >