harthur/mozregression — Issue #23: Error when running on OS X 10.7.1
Author: dRdR
Created: 2011-10-10 20:12:09+00:00
State: open

I get the following error when trying to run mozregression on OS X:

Starting nightly

hdiutil: couldn't unmount "disk2" - Resource busy
Traceback (most recent call last):
File "/usr/local/bin/mozregression", line 8, in
load_entry_point('mozregression==0.5.3', 'console_scripts', 'mozregression')()
File "build/bdist.macosx-10.7-intel/egg/mozregression/regression.py", line 178, in cli
File "build/bdist.macosx-10.7-intel/egg/mozregression/regression.py", line 108, in bisect
File "build/bdist.macosx-10.7-intel/egg/mozregression/runnightly.py", line 221, in start
File "build/bdist.macosx-10.7-intel/egg/mozregression/runnightly.py", line 218, in install
File "build/bdist.macosx-10.7-intel/egg/mozregression/runnightly.py", line 99, in install
File "build/bdist.macosx-10.7-intel/egg/mozregression/mozInstall.py", line 192, in __init__
File "build/bdist.macosx-10.7-intel/egg/mozregression/mozInstall.py", line 238, in installDmg
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 504, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['hdiutil', 'detach', 'moznightlyapp/MOUNTEDDMG']' returned non-zero exit status 16

---

Steps to repro:
1. Install as per install instructions.
2. Run mozregression with any valid from/to date range.
3. Nightly starts and then above error shows up.

---

Note that the mozregression directory is locked as read-only (probably in use) so I can't remove it once it's created.