[opensuse-buildservice] local obs problem - packages are not published after build
Hi I setup a local obs. Added needed repos without problem. Great so far. :) under home:Admin added a package and triggered build. Package is build and webclient shows "finished" but build packages are not shown. They aren't listed under "/srv/obs/build/home:Admin" and "/srv/obs/repos". inside "/srv/obs/repos" there aren't any directories. And if I try a "rebuild" nothing happens. Thanks for any help. Kind regards Chris --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 26.05.2008 at 17:18, Christian
wrote: Hi I setup a local obs. Added needed repos without problem. Great so far. :) under home:Admin added a package and triggered build. Package is build and webclient shows "finished" but build packages are not shown.
They aren't listed under "/srv/obs/build/home:Admin" and "/srv/obs/repos". inside "/srv/obs/repos" there aren't any directories.
Having them in state finished actually means they are not published yet. It's the state that comes normally directly before 'successful' or 'failed'. Is your scheduler running correctly? If that one died, the packages will stay in this state. Dominique --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Dominique, Scheduler Status * *i586*: running for about 1 hour (last restart: 2008-05-26T13:46:50+00:00) * *x86_64*: running for about 1 hour (last restart: 2008-05-26T13:46:50+00:00) * *dispatcher*: running for about 1 hour (last restart: 2008-05-26T13:32:55+00:00) * *publisher*: running for about 1 hour (last restart: 2008-05-26T13:32:55+00:00) I already checked logs, but could not find any errors. Chris Dominique Leuenberger schrieb:
On 26.05.2008 at 17:18, Christian
wrote: Hi
I setup a local obs. Added needed repos without problem. Great so far. :) under home:Admin added a package and triggered build. Package is build and webclient shows "finished" but build packages are not shown.
They aren't listed under "/srv/obs/build/home:Admin" and "/srv/obs/repos". inside "/srv/obs/repos" there aren't any directories.
Having them in state finished actually means they are not published yet. It's the state that comes normally directly before 'successful' or 'failed'.
Is your scheduler running correctly? If that one died, the packages will stay in this state.
Dominique
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 26.05.2008 at 17:35, Christian
wrote: Hi Dominique, Scheduler Status
* *i586*: running for about 1 hour (last restart: 2008-05-26T13:46:50+00:00) * *x86_64*: running for about 1 hour (last restart: 2008-05-26T13:46:50+00:00) * *dispatcher*: running for about 1 hour (last restart: 2008-05-26T13:32:55+00:00) * *publisher*: running for about 1 hour (last restart: 2008-05-26T13:32:55+00:00)
I already checked logs, but could not find any errors.
Is the worker running on the same station as the scheduler? (I'd start with this setup...) you can also try to switch to the 'screen' session of a worker...sometimes this can reveal some information (screen -R as root) Dominique --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Dominique, Dominique Leuenberger schrieb:
Is the worker running on the same station as the scheduler? (I'd start with this setup...)
you can also try to switch to the 'screen' session of a worker...sometimes this can reveal some information (screen -R as root)
worker is running on same station. And there are two remote workers. screenseesion only shows "starting worker d41d8cd98f00b204e9800998ecf8427e build d41d8cd98f00b204e9800998ecf8427e" I need to mention that /srv/obs/{build,repos} are shared via NFS. Could this be the problem ? Chris
Dominique
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 26.05.2008 at 17:52, Christian
wrote: Hi Dominique, Is the worker running on the same station as the scheduler? (I'd start with
Dominique Leuenberger schrieb: this setup...)
you can also try to switch to the 'screen' session of a worker...sometimes
this can reveal some information (screen -R as root)
worker is running on same station. And there are two remote workers. screenseesion only shows "starting worker d41d8cd98f00b204e9800998ecf8427e build d41d8cd98f00b204e9800998ecf8427e"
I need to mention that /srv/obs/{build,repos} are shared via NFS. Could this be the problem ?
I doubt this should be a problem. Anyhow, the workers do never access those directories on their own. They get all they need from the Source server and send also the packages back there. (at least that's what I understood so far.. I'm not an expert in this domain). check the log files in /srv/obs/log, especially the scheduler logs. They appear sometimes a bit cryptic (to me) but still are valuable once understood. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
This is the log, Name "BSConfig::bsgroup" used only once: possible typo at ./bs_sched line 51. starting build service scheduler cold start, scanning all projects getting data for all projects from http://build.de.scorpio-it.net:6362 calculating project dependencies... sorting projects and repositories... looking at low prio SUSE:SLE-10 (0/0/11/7) looking at low prio SUSE:SLE-10:SDK (0/0/10/7) looking at low prio home:Admin (0/0/9/7) looking at low prio openSUSE:10.2 (0/0/8/7) looking at low prio openSUSE:10.3 (0/0/7/7) looking at low prio SUSE:SLE-10/standard (0/0/6/7) - SUSE:SLE-10/standard (spec) packages found: 2000 (hits: 2000, misses: 0) expanding dependencies sorting 0 packages building: 0, notready: 0 looking at low prio openSUSE:10.2/standard (0/0/5/7) - openSUSE:10.2/standard (spec) packages found: 5102 (hits: 5102, misses: 0) expanding dependencies sorting 0 packages building: 0, notready: 0 looking at low prio openSUSE:10.3/standard (0/0/4/7) - openSUSE:10.3/standard (spec) packages found: 6359 (hits: 6359, misses: 0) expanding dependencies sorting 0 packages building: 0, notready: 0 looking at low prio SUSE:SLE-10:SDK/standard (0/0/3/7) - SUSE:SLE-10:SDK/standard (spec) packages found: 1940 (hits: 1940, misses: 0) expanding dependencies sorting 0 packages building: 0, notready: 0 looking at low prio home:Admin/openSUSE_10.2 (0/0/2/7) - home:Admin/openSUSE_10.2 (spec) expanding dependencies sorting 1 packages scheduled: 1 building: 1, notready: 1 looking at low prio home:Admin/openSUSE_10.3 (0/0/1/7) - home:Admin/openSUSE_10.3 (spec) expanding dependencies sorting 1 packages scheduled: 1 building: 1, notready: 1 looking at low prio home:Admin/SLE_10 (0/0/0/7) - home:Admin/SLE_10 (spec) expanding dependencies sorting 1 packages scheduled: 1 building: 1, notready: 1 waiting for an event... and how to understand ? here it says "notready: 1" but webclient said finished ?? But will also have a look without NFS-shares. Chris Dominique Leuenberger schrieb:
On 26.05.2008 at 17:52, Christian
wrote: Hi Dominique,
Dominique Leuenberger schrieb:
Is the worker running on the same station as the scheduler? (I'd start with
this setup...)
you can also try to switch to the 'screen' session of a worker...sometimes
this can reveal some information (screen -R as root)
worker is running on same station. And there are two remote workers. screenseesion only shows "starting worker d41d8cd98f00b204e9800998ecf8427e build d41d8cd98f00b204e9800998ecf8427e"
I need to mention that /srv/obs/{build,repos} are shared via NFS. Could this be the problem ?
I doubt this should be a problem. Anyhow, the workers do never access those directories on their own. They get all they need from the Source server and send also the packages back there. (at least that's what I understood so far.. I'm not an expert in this domain).
check the log files in /srv/obs/log, especially the scheduler logs. They appear sometimes a bit cryptic (to me) but still are valuable once understood.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, yes NFS-share is a problem. tried without NFS-share and everything works well. Then I tried to mount NFS-share for /srv/obs/repos and after that package is build, can remove files, but not add the new build ones, and then the package gets rebuild and rebuild and rebuild. For testing i gave "obsrun" a shell, die su - obsrun and tried to write/delete on the NFS-share without any problem. So I can not understand why does not work. share is exported as following /srv/obs/repos obs(rw,sync,no_root_squash) and mounted via fstab: hades:/srv/obs/repos /srv/obs/repos nfs rsize=8192,wsize=8192,timeo=14,intr Any idea ? Chris
I doubt this should be a problem. Anyhow, the workers do never access those directories on their own. They get all they need from the Source server and send also the packages back there. (at least that's what I understood so far.. I'm not an expert in this domain).
check the log files in /srv/obs/log, especially the scheduler logs. They appear sometimes a bit cryptic (to me) but still are valuable once understood.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-05-26 20:57:46 +0000, Christian wrote:
Hi,
yes NFS-share is a problem. tried without NFS-share and everything works well. Then I tried to mount NFS-share for /srv/obs/repos and after that package is build, can remove files, but not add the new build ones, and then the package gets rebuild and rebuild and rebuild. For testing i gave "obsrun" a shell, die su - obsrun and tried to write/delete on the NFS-share without any problem. So I can not understand why does not work.
share is exported as following /srv/obs/repos obs(rw,sync,no_root_squash)
and mounted via fstab: hades:/srv/obs/repos /srv/obs/repos nfs rsize=8192,wsize=8192,timeo=14,intr
Any idea ?
You probably encountered #389346 (https://bugzilla.novell.com/show_bug.cgi?id=389346). All files and dirs below /srv/obs must be on the same device. Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Marcus, thanks for info. So I have to completely share /srv/obs via NFS. I'll give it a try :) Chris Marcus Hüwe schrieb:
On 2008-05-26 20:57:46 +0000, Christian wrote:
Hi,
yes NFS-share is a problem. tried without NFS-share and everything works well. Then I tried to mount NFS-share for /srv/obs/repos and after that package is build, can remove files, but not add the new build ones, and then the package gets rebuild and rebuild and rebuild. For testing i gave "obsrun" a shell, die su - obsrun and tried to write/delete on the NFS-share without any problem. So I can not understand why does not work.
share is exported as following /srv/obs/repos obs(rw,sync,no_root_squash)
and mounted via fstab: hades:/srv/obs/repos /srv/obs/repos nfs rsize=8192,wsize=8192,timeo=14,intr
Any idea ?
You probably encountered #389346 (https://bugzilla.novell.com/show_bug.cgi?id=389346). All files and dirs below /srv/obs must be on the same device.
Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag 26 Mai 2008 22:57:46 schrieb Christian:
Hi,
yes NFS-share is a problem. tried without NFS-share and everything works well. Then I tried to mount NFS-share for /srv/obs/repos and after that package is build, can remove files, but not add the new build ones, and then the package gets rebuild and rebuild and rebuild. For testing i gave "obsrun" a shell, die su - obsrun and tried to write/delete on the NFS-share without any problem. So I can not understand why does not work.
share is exported as following /srv/obs/repos obs(rw,sync,no_root_squash)
and mounted via fstab: hades:/srv/obs/repos /srv/obs/repos nfs rsize=8192,wsize=8192,timeo=14,intr
You need /repos and /build on the same volume, because the files get hard linked. If you want to upload to /repos data to a remote server, you can do so by defining a rsync upload in the BSConfig.pm --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Adrian Schröter
-
Christian
-
Dominique Leuenberger
-
Marcus Hüwe