[opensuse-packaging] trigger_false_failures
From my experiments, it seems to be optimal to call this script every 30 minutes or so. Longer period may cause repeated triggering of too many dependent packages, shorter period may trigger packages, which not yet
Hallo. Because I have a big problem with false failures in the Build Service, which make nearly impossible to make complete rebuild of GNOME:UNSTABLE and I already spent several hours by clicking to "trigger rebuild", I wrote a simple script, which auto-triggers false failures. properly updated its status. Note: I am not able to trigger packages with "+" in name in any way (nor via). It seems to be a bug of Build Service, e. g.: osc rebuildpac GNOME:UNSTABLE libxml++ i586 does not work, web interface does not work as well. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/
On 2007-03-27 13:08:23 +0200, Stanislav Brabec wrote:
Because I have a big problem with false failures in the Build Service, which make nearly impossible to make complete rebuild of GNOME:UNSTABLE and I already spent several hours by clicking to "trigger rebuild", I wrote a simple script, which auto-triggers false failures.
From my experiments, it seems to be optimal to call this script every 30 minutes or so. Longer period may cause repeated triggering of too many dependent packages, shorter period may trigger packages, which not yet properly updated its status.
your script is sadly a bit punishing for the buildservice. the smarter solution: $ echo "machine api.opensuse.org login <username> password <yourpass>" >> ~/.netrc $ chmod 0600 ~/.netrc $ curl -n -X POST -d '' 'https://api.opensuse.org/build/GNOME:UNSTABLE?cmd=rebuild&code=failed'
Note: I am not able to trigger packages with "+" in name in any way (nor via). It seems to be a bug of Build Service, e. g.:
the '+' should be fixed since ages.
osc rebuildpac GNOME:UNSTABLE libxml++ i586
isnt the repository missing here? osc rebuildpac takes 4 args.
does not work, web interface does not work as well.
maybe something for andreas to look into. :) but i thought we fixed it. please keep in mind it wont jump to the news state instantly sometimes. if the scheduler is busy it can take a few seconds. so be patient. last but not least adrian promised xen will be more stable now. so lets hope ;) hope this helps, darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tue, Mar 27, 2007 at 03:16:02PM +0200, Marcus Rueckert wrote:
the smarter solution: $ echo "machine api.opensuse.org login <username> password <yourpass>" >> ~/.netrc $ chmod 0600 ~/.netrc $ curl -n -X POST -d '' 'https://api.opensuse.org/build/GNOME:UNSTABLE?cmd=rebuild&code=failed'
curl -n https://api.opensuse.org/build/GNOME:UNSTABLE -d cmd=rebuild -d code=failed
Note: I am not able to trigger packages with "+" in name in any way (nor via). It seems to be a bug of Build Service, e. g.:
the '+' should be fixed since ages.
Maybe it's fixed in the frontend, but osc doesn't escape the '+'? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2007-03-27 15:32:13 +0200, Michael Schroeder wrote:
On Tue, Mar 27, 2007 at 03:16:02PM +0200, Marcus Rueckert wrote:
$ curl -n -X POST -d '' 'https://api.opensuse.org/build/GNOME:UNSTABLE?cmd=rebuild&code=failed'
curl -n https://api.opensuse.org/build/GNOME:UNSTABLE -d cmd=rebuild -d code=failed
wont work due to a bug in api.o.o ;) abauer knows about it already. thats why we have the cmdline as show above. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Michael Schroeder píše v Út 27. 03. 2007 v 15:32 +0200:
On Tue, Mar 27, 2007 at 03:16:02PM +0200, Marcus Rueckert wrote:
the smarter solution: $ echo "machine api.opensuse.org login <username> password <yourpass>" >> ~/.netrc $ chmod 0600 ~/.netrc $ curl -n -X POST -d '' 'https://api.opensuse.org/build/GNOME:UNSTABLE?cmd=rebuild&code=failed'
curl -n https://api.opensuse.org/build/GNOME:UNSTABLE -d cmd=rebuild -d code=failed
Note: I am not able to trigger packages with "+" in name in any way (nor via). It seems to be a bug of Build Service, e. g.:
the '+' should be fixed since ages.
Maybe it's fixed in the frontend, but osc doesn't escape the '+'?
osc just now seems to work (at least log and rebuildpac). Several hours ago my script returned errors. But web frontend does not: This is an invalid link: http://build.opensuse.org/package/show?package=libsigc%2B%2B2&project=GNOME%3AUNSTABLE Linked from: http://build.opensuse.org/project/monitor?project=GNOME%3AUNSTABLE -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Marcus Rueckert
-
Marcus Rueckert
-
Michael Schroeder
-
Stanislav Brabec