[Bug 651423] New: osc commit fails when committing large number of packages
https://bugzilla.novell.com/show_bug.cgi?id=651423 https://bugzilla.novell.com/show_bug.cgi?id=651423#c0 Summary: osc commit fails when committing large number of packages Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.1 Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: osc AssignedTo: adrian@novell.com ReportedBy: mfernand@broadcom.com QAContact: adrian@novell.com Found By: Community User Blocker: No osc --version 0.129 obs-server-2.1.0-3.1 I've created an empty project via the webui and then attempted to populate it with the src rpms via the command line osc tool. osc co MeeGo:Core:Daily cd MeeGo:Core:Daily # imported 1122 packages for i in $src_location/*src.rpm; do osc importsrcpkg $i; pkg=`rpm -qp --queryformat="%{NAME}" $i`; cd $pkg; osc addremove *; cd ../; done # commit osc commit -m "Initial import of MeeGo src rpms" This command failed several times after committing some packages. I had to repeat the commit command several times, before it went through finally. The error messages were of the type: Traceback (most recent call last): File "/usr/bin/osc", line 21, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 50, in run return prg.main() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 309, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 332, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 448, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1178, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 2997, in do_commit Project(arg).commit(msg=msg, validators=validators, verbose_validation=verbose_validation) File "/usr/lib/python2.6/site-packages/osc/core.py", line 674, in commit Package(os.path.join(self.dir, pac)).commit(msg, validators=validators, verbose_validation=verbose_validation) File "/usr/lib/python2.6/site-packages/osc/core.py", line 906, in commit upstream_rev = self.latest_rev() File "/usr/lib/python2.6/site-packages/osc/core.py", line 1413, in latest_rev upstream_rev = show_upstream_rev(self.apiurl, self.prjname, self.name, meta=self.meta) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2541, in show_upstream_rev m = show_files_meta(apiurl, prj, pac, meta=meta) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2511, in show_files_meta root = ET.fromstring(''.join(f.readlines())) File "<string>", line 86, in XML SyntaxError: no element found: line 1, column 0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651423 https://bugzilla.novell.com/show_bug.cgi?id=651423#c1 --- Comment #1 from Malcolm Fernandes <mfernand@broadcom.com> 2010-11-05 23:47:17 UTC --- This problem occurred again today: Sending timed/timed-disable-device-modes.patch Sending timed/timed.init Transmitting file data ........ Committed revision 1. Sending meta data... Done. Sending tinycdb Traceback (most recent call last): File "/usr/bin/osc", line 21, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 50, in run return prg.main() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 309, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 332, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 448, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1178, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 2997, in do_commit Project(arg).commit(msg=msg, validators=validators, verbose_validation=verbose_validation) File "/usr/lib/python2.6/site-packages/osc/core.py", line 678, in commit self.commitNewPackage(pac, msg, validators=validators, verbose_validation=verbose_validation) File "/usr/lib/python2.6/site-packages/osc/core.py", line 703, in commitNewPackage p.commit(msg=msg, validators=validators, verbose_validation=verbose_validation) File "/usr/lib/python2.6/site-packages/osc/core.py", line 906, in commit upstream_rev = self.latest_rev() File "/usr/lib/python2.6/site-packages/osc/core.py", line 1413, in latest_rev upstream_rev = show_upstream_rev(self.apiurl, self.prjname, self.name, meta=self.meta) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2541, in show_upstream_rev m = show_files_meta(apiurl, prj, pac, meta=meta) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2511, in show_files_meta root = ET.fromstring(''.join(f.readlines())) File "<string>", line 86, in XML SyntaxError: no element found: line 1, column 0 # osc status tinycdb/ A tinycdb/fix-build-prefix.patch A tinycdb/tinycdb-0.76.tar.gz A tinycdb/tinycdb.spec A tinycdb/tinycdb.yaml This is the raw config for the tinycdb package: <package project="MeeGo:Core:Daily" name="tinycdb"> <title/> <description> </description> <person role="maintainer" userid="mfernand"/> <person role="bugowner" userid="mfernand"/> </package> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651423 https://bugzilla.novell.com/show_bug.cgi?id=651423#c2 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mfernand@broadcom.com --- Comment #2 from Adrian Schröter <adrian@novell.com> 2010-11-08 09:31:19 UTC --- Can you attach output of "osc -H -A ..." here ? please check for your secret credentials before. (We should change osc anyway to make a proper error report in that situation instead of a crash trace.). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651423 https://bugzilla.novell.com/show_bug.cgi?id=651423#c3 Malcolm Fernandes <mfernand@broadcom.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mfernand@broadcom.com | --- Comment #3 from Malcolm Fernandes <mfernand@broadcom.com> 2010-11-09 01:40:14 UTC --- Created an attachment (id=399089) --> (http://bugzilla.novell.com/attachment.cgi?id=399089) http debug output for osc commit execution Please note that this particular commit was successful. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651423 https://bugzilla.novell.com/show_bug.cgi?id=651423#c4 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mfernand@broadcom.com --- Comment #4 from Adrian Schröter <adrian@novell.com> 2010-11-09 07:45:19 UTC --- I failing one would be more helpfull. Please try to create a failing one. The log from your api server may be also interesting ( /srv/www/obs/api/log/production.log by default ). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651423 https://bugzilla.novell.com/show_bug.cgi?id=651423#c5 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|mfernand@broadcom.com | Resolution| |WORKSFORME --- Comment #5 from Adrian Schröter <adrian@suse.com> 2013-03-04 10:34:07 UTC --- no response -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651423 https://bugzilla.novell.com/show_bug.cgi?id=651423#c6 --- Comment #6 from Malcolm Fernandes <mfernand@broadcom.com> 2013-03-04 18:04:30 UTC --- Have not seen this problem recently and this could be attributed to the fact that we switched over from lighttpd to Apache which seemed to have solved a lot of our issues. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com