Closed Bug 1136883 Opened 10 years ago Closed 2 years ago

Local Windows mozharness run fails after downloading jsshell

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: bugzilla, Unassigned)

Details

13:18:43 INFO - Running command: ['unzip', '-q', '-o', 'c:\\Users\\dblohm7\\src\\testing\\build\\jsshell-win32.zip'] in c:\Users\dblohm7\src\testing\build\tests\bin 13:18:43 INFO - Copy/paste: unzip -q -o c:\Users\dblohm7\src\testing\build\jsshell-win32.zip 13:18:43 INFO - Calling ['unzip', '-q', '-o', 'c:\\Users\\dblohm7\\src\\testing\\build\\jsshell-win32.zip'] with output_timeout 1760 13:18:43 INFO - Running post-action listener: _resource_record_post_action 13:18:43 FATAL - Uncaught exception: Traceback (most recent call last): 13:18:43 FATAL - File "c:\Users\dblohm7\src\testing\scripts\mozharness\base\script.py", line 1277, in run 13:18:43 FATAL - self.run_action(action) 13:18:43 FATAL - File "c:\Users\dblohm7\src\testing\scripts\mozharness\base\script.py", line 1219, in run_action 13:18:43 FATAL - self._possibly_run_method(method_name, error_if_missing=True) 13:18:43 FATAL - File "c:\Users\dblohm7\src\testing\scripts\mozharness\base\script.py", line 1160, in _possibly_run_method 13:18:43 FATAL - return getattr(self, method_name)() 13:18:43 FATAL - File "scripts/scripts/desktop_unittest.py", line 431, in download_and_extract 13:18:43 FATAL - self._download_unzip(self.query_jsshell_url(), dirs['abs_test_bin_dir']) 13:18:43 FATAL - File "c:\Users\dblohm7\src\testing\scripts\mozharness\mozilla\testing\testbase.py", line 362, in _download_unzip 13:18:43 FATAL - fatal_exit_code=3, output_timeout=1760) 13:18:43 FATAL - File "c:\Users\dblohm7\src\testing\scripts\mozharness\base\script.py", line 724, in run_command 13:18:43 FATAL - p.run(outputTimeout=output_timeout) 13:18:43 FATAL - File "c:\Users\dblohm7\src\testing\scripts\mozprocess\processhandler.py", line 640, in run 13:18:43 FATAL - self.proc = self.Process([self.cmd] + self.args, **args) 13:18:43 FATAL - File "c:\Users\dblohm7\src\testing\scripts\mozprocess\processhandler.py", line 96, in __init__ 13:18:43 FATAL - universal_newlines, startupinfo, creationflags) 13:18:43 FATAL - File "c:\Users\dblohm7\mozilla-build\python\lib\subprocess.py", line 710, in __init__ 13:18:43 FATAL - errread, errwrite) 13:18:43 FATAL - TypeError: _execute_child() takes exactly 17 arguments (18 given) 13:18:43 FATAL - Running post_fatal callback... 13:18:43 FATAL - Exiting -1 13:18:43 INFO - Running post-run listener: _resource_record_post_run 13:18:43 INFO - Running post-run listener: _upload_blobber_files 13:18:43 INFO - Blob upload gear active. 13:18:43 WARNING - Blob upload directory does not exist! Exception AttributeError: "'Process' object has no attribute '_handle'" in <bound method Process.__del__ of <mozprocess.processhandler.Process object at 0x02510A90>> ignored
Looks like the _execute_child method defined in processhandler.py is missing the |to_close| parameter.
Flags: needinfo?(armenzg)
Maybe dropping a newer version of mozprocess would help? http://hg.mozilla.org/mozilla-central/file/c7968255c1ea/testing/mozbase/mozprocess/mozprocess We would need to test that a newer version of mozprocess inside of mozharness would not break anything. This could be tested with http://armenzg.blogspot.ca/2014/11/pinning-mozharness-from-in-tree-aka.html
Flags: needinfo?(armenzg)
Reminder to myself to try out the new version of mozprocess.
Flags: needinfo?(s244sing)
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(s244sing)
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.