Closed Bug 1223283 Opened 10 years ago Closed 9 years ago

[jenkins] create a daily slave maintenance job

Categories

(Cloud Services :: QA: Test Automation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rpapa, Assigned: rpapa)

References

Details

(Whiteboard: Q2)

Create a jenkins job to download the latest browser, test code on each jenkins slave once daily so slaves will be adequately up-to-date without downloading these with every job run. The XML for this job should be added to services-qa-jenkins/templates and pushed to the jenkins master via puppet.
Assignee: sphilp → rpappalardo
Status: NEW → ASSIGNED
Jenkins slave nodes will be "refreshed" by a refresh job (to run once / day). Job will uninstall all firefoxes and delete profiles, download new firefoxes (nightly, dev-edition, beta, general release) Script must work on: Windows, OSX & Linux we started working on the services-test/demo project to hack out using ini manifests and realized we needed to get this in place first, hence the odd feature branch name. feature branch is here: https://github.com/mozilla-services/services-test/tree/bug/1209719/_utils script is: services-test/_utils/slave_refresh.py depends on: services-test/firefox_env_handler.py - sets up firefox PATHs as ENV vars services-test/firefox_uninstall.py - removes all firefoxes services-test/firefox_download.py - downloads all firefoxes services-test/firefox_install.py - installs all firefoxes
Assignee: rpappalardo → pdehaan
Whiteboard: Q4
Summary: [jenkins] create slave refresh job → [jenkins] create slave refresh job - firefox install / uninstall
Depends on: 1230359
QA Contact: rpappalardo
windows: DONE! OSX: TBD Linux: TBD
no AWS support for Mac, but we could stick the one we have in the MTV lab
UPDATED (DAILY) REQUIREMENTS [1]. update latest browsers on Jenkins slave nodes (Windows only) JOB: _utils_daily_maintenance (uses ff-tool) [2]. clone latest firefox from mozilla-central - need to figure out how to get hg clone from _utils_daily_maintenance workspace to a test workspace (i.e. sync test)
Assignee: pdehaan → rpappalardo
Flags: needinfo?(rpappalardo)
QA Contact: rpappalardo → pdehaan
Summary: [jenkins] create slave refresh job - firefox install / uninstall → [jenkins] create a daily slave maintenance job
Flags: needinfo?(rpappalardo)
Whiteboard: Q4 → Q2
Realize we need 1 of these per OS: [1]. _utils_daily_update_win_server - DONE - update all versions of Firefox [2]. _utils_daily_update_ubuntu_desktop - clone latest mercurial to shared dir
mozilla-central will now be cloned to the _utils_daily_update_ubuntu_desktop workspace on the UBUNTU-DESKTOP slave once daily. the mozilla-central clone will also be symlinked via the /home/ubuntu/.bash_aliases to /home/jenkins-slave/mozilla-central for easier access by jobs Will verify once daily job has run several jobs successfully
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
need to chmod /run/user/1000 in: _utils_daily_update_ubuntu_desktop for sync TPS job
You need to log in before you can comment on or make changes to this bug.