[opensuse-buildservice] Re: [opensuse-packaging] trigger_false_failures
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-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+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-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+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-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tuesday, 27. March 2007 15:42, Stanislav Brabec wrote:
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
Was indeed a bug in the frontend, which is now fixed. -- Andreas Bauer - Novell - SUSE Internal Tools --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Andreas Bauer wrote:
On Tuesday, 27. March 2007 15:42, Stanislav Brabec wrote:
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 '+' 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).
Was indeed a bug in the frontend, which is now fixed.
Not yet for "osc results": sbrabec@hammer:~/OSC/GNOME:UNSTABLE> osc results libxml++ Error: can't get 'https://api.opensuse.org/build/GNOME:UNSTABLE/_result?view=status&package=libxml++' HTTP Error 404: Not Found But "osc log" works: sbrabec@hammer:~/OSC/GNOME:UNSTABLE/libxml++> osc log openSUSE_10.2 x86_64 build04 started "build libxml++.spec" at Tue Mar 27 18:39:57 UTC 2007. Building 'libxml++' for project 'GNOME:UNSTABLE' target 'openSUSE_10.2' arch 'x86_64' srcmd5 'a1623ac2c1c94d54adb94f641ff7ff3e' Using BUILD_ROOT=/abuild/root_2/.mount -- 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-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2007-03-28 16:39:55 +0200, Stanislav Brabec wrote:
Not yet for "osc results": sbrabec@hammer:~/OSC/GNOME:UNSTABLE> osc results libxml++ Error: can't get 'https://api.opensuse.org/build/GNOME:UNSTABLE/_result?view=status&package=libxml++' HTTP Error 404: Not Found
$ cd libxml++ $ osc results darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Marcus Rueckert píše v St 28. 03. 2007 v 16:49 +0200:
On 2007-03-28 16:39:55 +0200, Stanislav Brabec wrote:
Not yet for "osc results": sbrabec@hammer:~/OSC/GNOME:UNSTABLE> osc results libxml++ Error: can't get 'https://api.opensuse.org/build/GNOME:UNSTABLE/_result?view=status&package=libxml++' HTTP Error 404: Not Found
$ cd libxml++ $ osc results
Does not work as well: sbrabec@hammer:~/OSC/GNOME:UNSTABLE/libxml++> osc results Error: can't get 'https://api.opensuse.org/build/GNOME:UNSTABLE/_result?view=status&package=libxml++' HTTP Error 404: Not Found Note that osc log works. -- 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-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Mar 28, 2007 at 05:53:05PM +0200, Stanislav Brabec wrote:
Marcus Rueckert píše v St 28. 03. 2007 v 16:49 +0200:
On 2007-03-28 16:39:55 +0200, Stanislav Brabec wrote:
Not yet for "osc results": sbrabec@hammer:~/OSC/GNOME:UNSTABLE> osc results libxml++ Error: can't get 'https://api.opensuse.org/build/GNOME:UNSTABLE/_result?view=status&package=libxml++' HTTP Error 404: Not Found
$ cd libxml++ $ osc results
Does not work as well:
sbrabec@hammer:~/OSC/GNOME:UNSTABLE/libxml++> osc results Error: can't get 'https://api.opensuse.org/build/GNOME:UNSTABLE/_result?view=status&package=libxml++' HTTP Error 404: Not Found
I forgot to escape the parameter in the recently changed URL... Fixed in svn now. Thanks, Peter -- Allen Gewalten zum Trutz sich erhalten. SUSE LINUX Products GmbH Research & Development
participants (5)
-
Andreas Bauer
-
Dr. Peter Poeml
-
Marcus Rueckert
-
Michael Schroeder
-
Stanislav Brabec