Closed Bug 1524637 Opened 7 years ago Closed 7 years ago

Workers do not clean up workspaces between runs

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set
major

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: catlee, Assigned: catlee)

References

Details

Attachments

(1 file, 1 obsolete file)

In this task:
https://tools.taskcluster.net/groups/CZAHDAJ4Sn6mVwhEP1AAcA/tasks/O-_hEYcmSra_uG5lyfDCsw/runs/0/artifacts

Several logs are uploaded:

Looking more closely, the timestamps don't match, and the build they're trying to fetch is different:

installer-url=https://queue.taskcluster.net/v1/task/Y626dlWcSq2W94v8a0hOrA/artifacts/public/build/target.tar.bz2
installer-url=https://queue.taskcluster.net/v1/task/Oq4FVRmeTHeIjG3c1HPuiw/artifacts/public/build/target.tar.bz2

This is a pretty serious problem because it means that builds/tests could be uploading artifacts from previous runs on the machine.

See Also: → 1492362
{
  "artifacts": {
    "public/logs/": {
      "expires": "2019-02-15T17:43:41.329Z",
      "path": "/builds/worker/workspace/logs/",
      "type": "directory"
    },
    ...
    "public/test_info/": {
      "expires": "2019-02-15T17:43:41.329Z",
      "path": "/builds/worker/workspace/build/blobber_upload_dir/",
      "type": "directory"
    }
  },
  "cache": {
    ...
    "level-1-try-test-workspace-v3-b1a0a2cc55b8f4544db1": "/builds/worker/workspace"
  },
}

so basically this is doing what the task says: caching the workspace, and uploading files in that workspace. Either those logs should not be on a cache, or the task should be more careful to clean the cache at startup..

Component: Docker-Worker → Task Configuration
Product: Taskcluster → Firefox Build System
Assignee: nobody → catlee
Attachment #9040780 - Attachment is obsolete: true
Pushed by catlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/88f45113318e Disable workerspace cache for mozharness test jobs r=tomprince
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: