Closed
Bug 671816
Opened 13 years ago
Closed 13 years ago
Permission denied when installing mercurial
Categories
(Mozilla QA Graveyard :: Mozmill Automation, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Aleksej, Assigned: whimboo)
References
Details
(Whiteboard: [testday-20110715][needs fix on bug 642027])
Mozmill Crowd 0.1.3 fails to install Mercurial, apparently trying to use the wrong directory: ========================================= Installed /tmp/crowdloc/mozmill-env/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg Processing dependencies for pip Finished processing dependencies for pip Downloading/unpacking mercurial==1.7.3 Downloading mercurial-1.7.3.tar.gz (2.5Mb): 2.5Mb downloaded Exception: Traceback (most recent call last): File "/tmp/crowdloc/mozmill-env/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/basecommand.py", line 126, in main self.run(options, args) File "/tmp/crowdloc/mozmill-env/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/commands/install.py", line 223, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/tmp/crowdloc/mozmill-env/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/req.py", line 961, in prepare_files self.unpack_url(url, location, self.is_download) File "/tmp/crowdloc/mozmill-env/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/req.py", line 1079, in unpack_url return unpack_http_url(link, location, self.download_cache, only_download) File "/tmp/crowdloc/mozmill-env/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/download.py", line 453, in unpack_http_url _copy_file(temp_location, location, content_type, link) File "/tmp/crowdloc/mozmill-env/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/download.py", line 403, in _copy_file shutil.copy(filename, download_location) File "/usr/lib/python2.6/shutil.py", line 84, in copy copyfile(src, dst) File "/usr/lib/python2.6/shutil.py", line 51, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 13] Permission denied: './mercurial-1.7.3.tar.gz' Storing complete log in /home/.dec/fxt/.pip/pip.log mkdir: cannot create directory `mercurial': Permission denied tar: mercurial*.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now /tmp/crowdloc/mozmill-env/setup.sh: linio 17ª: cd: mercurial: No such file or directory python: can't open file 'setup.py': [Errno 2] No such file or directory /bin/rm: cannot remove `mercurial*': No such file or directory Downloading/unpacking mozmill Downloading mozmill-1.5.4b6.tar.gz (931Kb): 931Kb downloaded Running setup.py egg_info for package mozmill ----------------------------------------- If setup.sh line 14 pip install --download=./ mercurial==1.7.3 is changed to pip install --download=$PWD mercurial==1.7.3 what looks like copying works, but creation of the “mercurial” directory still fails: ========================================= Using /tmp/crowdloc/mozmill-env/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg Processing dependencies for pip Finished processing dependencies for pip Downloading/unpacking mercurial==1.7.3 Downloading mercurial-1.7.3.tar.gz (2.5Mb): 2.5Mb downloaded Saved /tmp/crowdloc/mozmill-env/mercurial-1.7.3.tar.gz Successfully downloaded mercurial mkdir: cannot create directory `mercurial': Permission denied tar: mercurial*.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now /tmp/crowdloc/mozmill-env/setup.sh: linio 17ª: cd: mercurial: No such file or directory python: can't open file 'setup.py': [Errno 2] No such file or directory /bin/rm: cannot remove `mercurial*': No such file or directory Downloading/unpacking mozmill Downloading mozmill-1.5.4b6.tar.gz (931Kb): 931Kb downloaded Running setup.py egg_info for package mozmill -----------------------------------------
Reporter | ||
Updated•13 years ago
|
Whiteboard: [testday-20110715]
Assignee | ||
Comment 1•13 years ago
|
||
For the future we want to offer complete test environments with all tools already installed. So I don't plan to fix this issue as it stands, but finally it will be fixed by bug 642027.
Depends on: 642027
Assignee | ||
Comment 2•13 years ago
|
||
Moving over to Mozmill automation. Alekjej, could you please test the following version of the revamped environment if everything works out of the box? Just unzip and run 'hg' as usual. http://people.mozilla.com/~hskupin/downloads/mozmill-env/ Because we pre-install Mercurial, the reported issue shouldn't be a problem anymore.
Component: Mozmill Crowd Extension → Mozmill Automation
QA Contact: mozmill-crowd-extension → mozmill-automation
Reporter | ||
Comment 3•13 years ago
|
||
“bin/hg” and “./hg” in bin/ work, and run.sh works.
Assignee | ||
Comment 4•13 years ago
|
||
Sounds great. Thanks for testing Aleksej! I will close this bug once bug 642027 has been fixed.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Whiteboard: [testday-20110715] → [testday-20110715][needs fix on bug 642027]
Assignee | ||
Comment 5•13 years ago
|
||
Fixed by bug 642027. Deployment via Mozmill Crowd will not happen yet. First we have to fix bug 700320.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•