[Bug 458927] New: osc ci with unreliable connection leaves package in revision "upload", breaks osc log
https://bugzilla.novell.com/show_bug.cgi?id=458927 Summary: osc ci with unreliable connection leaves package in revision "upload", breaks osc log Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wstephenson@novell.com QAContact: adrian@novell.com Found By: --- 1) If the connection is interrupted during an upload, the working copy is left at revision "upload". This makes the connection out of date vs the server when it has not changed. It should revert back to the prior revision if the entire upload operation does not succeed: (see below this log for second, more serious problem) wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc ci -m "Backport crash fix for kmail setup wizard" Failed to reach a server: [Errno 110] Connection timed out wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc ci -m "Backport crash fix for kmail setup wizard" Failed to reach a server: [Errno -2] Name or service not known wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc ci -m "Backport crash fix for kmail setup wizard" Failed to reach a server: [Errno -2] Name or service not known wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc ci -m "Backport crash fix for kmail setup wizard" Working copy '/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4' is out of date (rev ad4e772f56d80a63007fd08cb07a69f1 vs rev None). Looks as if you need to update it first. wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc up D ready Failed to reach a server: [Errno 110] Connection timed out wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc up Failed to reach a server: [Errno 110] Connection timed out wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc up At revision 46. wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc ci -m "Backport crash fix for kmail setup wizard" Sending r890863-account-wizard-crash.diff Sending kdepimlibs4.changes Sending kdepimlibs4.spec Transmitting file data ..Failed to reach a server: [Errno 110] Connection timed out wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc ci -m "Backport crash fix for kmail setup wizard" Working copy '/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4' is out of date (rev 46 vs rev upload). Looks as if you need to update it first. wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc up At revision upload. 2) As a consequence, osc log is now broken, apparently when parsing the log: wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc up At revision upload. wstephenson@gorse:/space/work/OSBS/KDE:KDE4:STABLE:Desktop/kdepimlibs4> osc log Traceback (most recent call last): File "/usr/bin/osc", line 12, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 40, in run return prg.main() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 256, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 279, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 395, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1070, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 1978, in do_log print '\n'.join(get_commitlog(apiurl, project, package, rev)) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2815, in get_commitlog root = ET.parse(f).getroot() File "<string>", line 45, in parse File "<string>", line 32, in parse -- 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=458927 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |poeml@novell.com -- 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