Closed Bug 1490709 Opened 6 years ago Closed 6 years ago

Intermittent subprocess.CalledProcessError: Command '['/builds/worker/bin/fetch-content', 'task-artifacts']' returned non-zero exit status 1

Categories

(Firefox Build System :: Task Configuration, task, P5)

task

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1486224

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: rgurzau [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=198859616&repo=mozilla-central

https://queue.taskcluster.net/v1/task/FYaTak4bQsWHYNTISCi2zA/runs/0/artifacts/public/logs/live_backing.log

Downloading https://queue.taskcluster.net/v1/task/B50BQrQWRiqDhvaZIY7iMQ/artifacts/public/grcov-linux-x86_64.tar.bz2 to /builds/worker/fetches/grcov-linux-x86_64.tar.bz2.tmp
Downloading https://queue.taskcluster.net/v1/task/B50BQrQWRiqDhvaZIY7iMQ/artifacts/public/grcov-linux-x86_64.tar.bz2
Traceback (most recent call last):
  File "/builds/worker/bin/fetch-content", line 345, in <module>
    sys.exit(main())
  File "/builds/worker/bin/fetch-content", line 341, in main
    return args.func(args)
  File "/builds/worker/bin/fetch-content", line 307, in command_task_artifacts
    fetch_urls(downloads)
  File "/builds/worker/bin/fetch-content", line 258, in fetch_urls
    f.result()
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 405, in result
    return self.__get_result()
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/builds/worker/bin/fetch-content", line 237, in fetch_and_extract
    download_to_path(url, dest_path, sha256=sha256, size=size)
  File "/builds/worker/bin/fetch-content", line 116, in download_to_path
    for chunk in stream_download(url, sha256=sha256, size=size):
  File "/builds/worker/bin/fetch-content", line 64, in stream_download
    with urllib.request.urlopen(url) as fh:
  File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 504, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 696, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 466, in open
    response = self._open(req, data)
  File "/usr/lib/python3.5/urllib/request.py", line 484, in _open
    '_open', req)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 1297, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/usr/lib/python3.5/urllib/request.py", line 1257, in do_open
    r = h.getresponse()
  File "/usr/lib/python3.5/http/client.py", line 1197, in getresponse
    response.begin()
  File "/usr/lib/python3.5/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.5/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
[fetches 2018-09-12T13:26:42.761Z] removing /builds/worker/fetches
[fetches 2018-09-12T13:26:42.761Z] finished
Traceback (most recent call last):
  File "/builds/worker/bin/run-task", line 754, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/builds/worker/bin/run-task", line 742, in main
    fetch_artifacts()
  File "/builds/worker/bin/run-task", line 496, in fetch_artifacts
    subprocess.run(cmd, check=True, env=os.environ)
  File "/usr/lib/python3.5/subprocess.py", line 708, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/builds/worker/bin/fetch-content', 'task-artifacts']' returned non-zero exit status 1
[taskcluster 2018-09-12 13:26:43.057Z] === Task Finished ===
[taskcluster 2018-09-12 13:26:43.185Z] Artifact "public/logs/" not found at "/builds/worker/workspace/build/upload/logs/"
[taskcluster 2018-09-12 13:26:43.297Z] Artifact "public/test_info/" not found at "/builds/worker/workspace/build/blobber_upload_dir/"
[taskcluster 2018-09-12 13:26:43.937Z] Unsuccessful task run with exit code: 1 completed in 27.773 seconds
I think this should be fixed by Bug 1486224.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.