Closed Bug 1754338 Opened 3 years ago Closed 1 year ago

Intermittent [tier 2] RuntimeError: Command returned error: 1 | after raise RuntimeError("Command returned error: {}".format(exit_code))

Categories

(Release Engineering :: General, defect, P5)

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: mlaza [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=367125077&repo=mozilla-beta
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JGMxsrkSRPmLyAhCJbr0Kg/runs/0/artifacts/public/logs/live_backing.log


2022-02-08 21:36:48,800 - scriptworker.client - DEBUG - Task is validated against this schema: {'title': 'Taskcluster PushFlatpak task minimal schema', 'type': 'object', 'properties': {'dependencies': {'type': 'array', 'minItems': 1, 'uniqueItems': True, 'items': {'type': 'string'}}, 'scopes': {'type': 'array', 'uniqueItems': True, 'items': {'type': 'string'}}, 'payload': {'type': 'object', 'properties': {'channel': {'type': 'string'}, 'upstreamArtifacts': {'type': 'array', 'items': {'type': 'object', 'properties': {'taskType': {'type': 'string'}, 'taskId': {'type': 'string'}, 'paths': {'type': 'array', 'minItems': 1, 'uniqueItems': True, 'items': {'type': 'string'}}}, 'required': ['taskId', 'taskType', 'paths'], 'additionalProperties': False}, 'minItems': 1, 'uniqueItems': True}}, 'required': ['upstreamArtifacts'], 'additionalProperties': False}}, 'required': ['dependencies', 'scopes', 'payload']}
2022-02-08 21:36:48,815 - pushflatpakscript.flathub - INFO - Grab a flatpak buildid from Flathub ...
Api call to https://hub.flathub.org/api/v1/build failed with status 408, details: {'status': 408, 'error-type': 'no-error', 'message': 'No json error details from server'}
Traceback (most recent call last):
  File "/app/bin/pushflatpakscript", line 8, in <module>
    sys.exit(main())
  File "/app/lib/python3.9/site-packages/pushflatpakscript/script.py", line 41, in main
    return client.sync_main(async_main, config_path=config_path, default_config=get_default_config())
  File "/app/lib/python3.9/site-packages/scriptworker/client.py", line 166, in sync_main
    loop.run_until_complete(_handle_asyncio_loop(async_main, context))
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/app/lib/python3.9/site-packages/scriptworker/client.py", line 205, in _handle_asyncio_loop
    await async_main(context)
  File "/app/lib/python3.9/site-packages/pushflatpakscript/script.py", line 22, in async_main
    flathub.push(context, flatpak_file_path, channel)
  File "/app/lib/python3.9/site-packages/pushflatpakscript/flathub.py", line 128, in push
    publish_build_output = run_flat_manager_client_process(context, token_args + ["create", context.config["flathub_url"], channel])
  File "/app/lib/python3.9/site-packages/pushflatpakscript/flathub.py", line 29, in run_flat_manager_client_process
    raise RuntimeError("Command returned error: {}".format(exit_code))
RuntimeError: Command returned error: 1
exit code: 1
Component: Task Configuration → General
Product: Firefox Build System → Release Engineering
QA Contact: aki

Curious if this is intermittent or a first-time version bug (though we should have seen it before) or a server hiccup or what.
We don't have a retry around this call if it's an intermittent/server issue.

QA Contact: mozilla → jlorenzo
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago1 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 years ago1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.