http://bugzilla.novell.com/show_bug.cgi?id=612305 http://bugzilla.novell.com/show_bug.cgi?id=612305#c0 Summary: [python / osc build] subprocess problem Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: alexo.veto@gmail.com QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux i686; U; ru) Presto/2.5.28/2.5.23 Version/10.60 osc build - VERY often fail to build: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 46, in run return prg.main() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 308, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 331, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 447, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1177, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 3227, in do_build return osc.build.main(opts, args) File "/usr/lib/python2.6/site-packages/osc/build.py", line 632, in main rc = subprocess.call(cmd, shell=True) File "/usr/lib/python2.6/subprocess.py", line 444, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.6/subprocess.py", line 595, in __init__ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1084, in _execute_child data = os.read(errpipe_read, 1048576) # Exceptions limited to 1 MB OSError: [Errno 4] Interrupted system call [Errno 4] Interrupted system call Password: alex@sled:~/projects/alexqwesa/home:alexqwesa:branches:KDE:KDE4:Playground/kaffeine> su: incorrect password look like process read from pipe before write, for test I add delay to subprocess.py: --- /usr/lib/python2.6/subprocess.py 2010-06-08 00:09:05.699185850 +0400 +++ /tmp/subprocess.py 2010-06-07 23:44:53.227184008 +0400 @@ -1081,6 +1081,9 @@ os.close(errwrite) # Wait for exec to fail or succeed; possibly raising exception + import time + time.sleep(5) data = os.read(errpipe_read, 1048576) # Exceptions limited to 1 MB os.close(errpipe_read) if data != "": and osc build start work good rpm -q python python-base osc python-2.6.2-6.4.1.i586 python-base-2.6.2-6.4.1.i586 osc-0.125.5-0.2.1.i586 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.