Closed
Bug 1181174
Opened 9 years ago
Closed 9 years ago
docker-worker: Simple script task fails
Categories
(Taskcluster :: Workers, defect)
Taskcluster
Workers
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1181179
People
(Reporter: dustin, Unassigned)
Details
Attachments
(2 files)
https://tools.taskcluster.net/task-inspector/#r562_LryQU6VdaxfDM5afw/0
{
"provisionerId": "aws-provisioner-v1",
"workerType": "b2gtest",
"schedulerId": "-",
"taskGroupId": "r562_LryQU6VdaxfDM5afw",
"routes": [],
"retries": 1,
"created": "2015-07-07T15:44:58.028Z",
"deadline": "2015-07-07T16:44:58.028Z",
"expires": "2016-07-07T16:44:58.028Z",
"scopes": [],
"payload": {
"image": "quay.io/djmitche/desktop-build:0.0.19",
"command": [
"/bin/bash",
"-c",
"cd /home/worker/ && ./bin/checkout-sources.sh && ./workspace/build/src/testing/taskcluster/scripts/misc/repackage-jdk.sh"
],
"env": {
"GECKO_HEAD_REPOSITORY": "https://bitbucket.org/djmitche/mozilla-central",
"GECKO_HEAD_REV": "83649d738a90",
"VERSION": "7u79-2.5.5-0ubuntu0.14.04.2"
},
"artifacts": {
"public": {
"type": "directory",
"path": "/home/worker/artifacts",
"expires": "2015-07-02T14:58:41.058Z"
}
},
"maxRunTime": 6000
},
"metadata": {
"name": "Repackage JDK",
"description": "Repackage the JDK/JRM from Ubuntu packages",
"owner": "dustin@mozilla.com",
"source": "http://tools.taskcluster.net/task-creator/"
},
"tags": {},
"extra": {}
}
Reporter | ||
Comment 1•9 years ago
|
||
This is the log output. It "hangs" at this point, after tar has logged the last thing I expect it to log ("VERSION" is lexically the last file in the directory): the live log continues to spin in the browser, but nothing further is logged. Eventually, the claim expires, and a new run begins.
Reporter | ||
Comment 2•9 years ago
|
||
The script isn't anything fancy; tar is the last thing it invokes.
Is the docker-worker crashing on artifact upload?
Reporter | ||
Comment 3•9 years ago
|
||
Gary is seeing the container die. I just noted that
"expires": "2015-07-02T14:58:41.058Z"
is in the past. Perhaps that's causing the container to fail while processing artifacts.
Comment 4•9 years ago
|
||
@dustin,
Bugs in artifact upload are known to cause docker-worker to hang. I think Edgar has a PR pending with a fix for this.
Summary: Simple script task fails → docker-worker: Simple script task fails
Reporter | ||
Comment 5•9 years ago
|
||
https://tools.taskcluster.net/task-inspector/#CRzI92fVTiiRtREjXDaCZQ/0 succeeded with the correct expires.
So yes, I think this is bug 1181179
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Comment 6•9 years ago
|
||
Technically there is two bugs:
1) we should reject if artifact.expires < task.deadline
2) we should not hang if there is an error during artifact upload
Anyways, PR is pending for (2), so no need to track it.
Updated•9 years ago
|
Component: TaskCluster → Docker-Worker
Product: Testing → Taskcluster
Assignee | ||
Updated•6 years ago
|
Component: Docker-Worker → Workers
You need to log in
before you can comment on or make changes to this bug.
Description
•