Closed
Bug 1461398
Opened 6 years ago
Closed 6 years ago
autospider.py with default setup fails when deleting its own directory (Exception: Refusing to delete objdir <src>/obj-spider because it was not created by autospider)
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: sfink, Assigned: sfink)
References
Details
Attachments
(1 file, 1 obsolete file)
2.27 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
autospider.py errors out if you run it with the default options, when obj-spider does not exist.
Assignee | ||
Comment 1•6 years ago
|
||
The problem is that it defaults the upload directory to be the same as the objdir. Then it creates the upload dir but intentionally does not create the sentinel CREATED-BY-AUTOSPIDER file (because then that gets uploaded and shows up in treeherder). Later, it tries to delete and recreate the objdir, but that directory now exists and doesn't have the sentinel, so autospider.py refuses to delete it in case it's something the user cares about. (This doesn't affect automation because the sentinel check is skipped there.)
Attachment #8975561 -
Flags: review?(jcoppeard)
Assignee | ||
Comment 2•6 years ago
|
||
Oops, sorry. I used a stale bzexport $EDITOR window and ended up uploading entirely the wrong patch.
Attachment #8975577 -
Flags: review?(jcoppeard)
Assignee | ||
Updated•6 years ago
|
Attachment #8975561 -
Attachment is obsolete: true
Attachment #8975561 -
Flags: review?(jcoppeard)
Updated•6 years ago
|
Attachment #8975577 -
Flags: review?(jcoppeard) → review+
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/03ab395e5d7e Reorder directory creation in autospider.py to unbreak local usage, r=jonco
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/03ab395e5d7e
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•