Closed Bug 1199191 Opened 11 years ago Closed 10 years ago

firefox_ui_updates.py script should use `abs_work_dir` as workspace folder

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(firefox43 fixed)

RESOLVED FIXED
Tracking Status
firefox43 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

The mozharness scripts are using a build folder to put everything in what is related to the run. What I can see is that we install the build to /tmp, and because of bug 1199184 we do not clean-it up correctly. If the installed binary would be located under build we would have more control over it.
We clean up at the beginning of the next run IIRC. That means we should make sure nothing is left behind running from there. Perhaps we should also clean up post script and have a flag to prevent that when running on a developer's machine.
Ok, I will have a look at this and check how other scripts handling the clean-up of the workspace.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Ok, so the thing is that we internally call the firefox-ui-tests command and passing in the installer path. And that installs it to the temporary location. Given that also every other data like profiles end-up in /tmp I'm tempted to add a new command line option for firefox-ui-tests, which allows to specify a workspace (build) folder, which will take it as root for every data which is getting created.
Depends on: 1199574
Once bug 1199574 is fixed we can make use of the --workspace option to tell that all data has to be created in the build folder.
Depends on: 1200196
Summary: firefox_ui_updates.py script should install Firefox in the build folder → firefox_ui_updates.py script should use `abs_work_dir` as workspace folder
Attachment #8654876 - Flags: review?(armenzg)
Comment on attachment 8654876 [details] [diff] [review] mozharness_builddir v1 Review of attachment 8654876 [details] [diff] [review]: ----------------------------------------------------------------- Feel free to land now or later with DONTBUILD or NPOTB.
Attachment #8654876 - Flags: review?(armenzg) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 1209209
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: