Closed Bug 1622177 Opened 5 years ago Closed 5 years ago

scriptworker.exceptions.TaskVerificationError: Tar /app/workdir/cot/bt6UuLlOTuS4PNTJqnlM7A/public/build/target.flatpak.tar.gz is too big. Max accepted size is 100

Categories

(Release Engineering :: Release Automation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: malexandru, Assigned: mtabara)

Details

Attachments

(1 file)

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=292984735&repo=mozilla-beta&lineNumber=24

Raw log: https://firefoxci.taskcluster-artifacts.net/SYjP3IX7S7m6PgxNtEDndQ/0/public/logs/live_backing.log

2020-03-13 05:26:38,475 - 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']}
2020-03-13 05:26:38,478 - pushflatpakscript.flathub - INFO - Grab a flatpak buildid from Flathub ...
2020-03-13 05:26:40,185 - pushflatpakscript.flathub - INFO - Sanitize the buildid received from Flathub ...
2020-03-13 05:26:40,186 - pushflatpakscript.flathub - INFO - Buildid output is https://hub.flathub.org/api/v1/build/15928
2020-03-13 05:26:40,186 - pushflatpakscript.flathub - INFO - Validating the buildid ...
2020-03-13 05:26:40,186 - pushflatpakscript.flathub - INFO - Unpacking the tarball ...
2020-03-13 05:26:40,186 - pushflatpakscript.flathub - INFO - Check that flatpak tarball exists
2020-03-13 05:26:40,186 - pushflatpakscript.flathub - INFO - Check that flatpak tarball is a valid archive
2020-03-13 05:26:40,189 - pushflatpakscript.flathub - INFO - Check that flatpak tarball meets size requirements
2020-03-13 05:26:40,189 - scriptworker.client - ERROR - Failed to run async_main
Traceback (most recent call last):
  File "/app/lib/python3.8/site-packages/scriptworker/client.py", line 204, in _handle_asyncio_loop
    await async_main(context)
  File "/app/lib/python3.8/site-packages/pushflatpakscript/script.py", line 22, in async_main
    flathub.push(context, flatpak_file_path, channel)
  File "/app/lib/python3.8/site-packages/pushflatpakscript/flathub.py", line 139, in push
    deflated_dir = check_and_extract_tar_archive(context, flatpak_file_path)
  File "/app/lib/python3.8/site-packages/pushflatpakscript/flathub.py", line 95, in check_and_extract_tar_archive
    _check_tar_itself(tar_file_path)
  File "/app/lib/python3.8/site-packages/pushflatpakscript/flathub.py", line 64, in _check_tar_itself
    _check_tarball_size(tar_file_path)
  File "/app/lib/python3.8/site-packages/pushflatpakscript/flathub.py", line 53, in _check_tarball_size
    raise TaskVerificationError(f"Tar {tarball_path} is too big. Max accepted size is {TAR_MAX_SIZE_IN_MB}")
scriptworker.exceptions.TaskVerificationError: Tar /app/workdir/cot/bt6UuLlOTuS4PNTJqnlM7A/public/build/target.flatpak.tar.gz is too big. Max accepted size is 100
exit code: 3

It looks like the image here is ~120M. We limit that here, but I don't know if that is a check that we aren't doing anything silly, or an upstream requirement.

(In reply to Tom Prince [:tomprince] from comment #1)

It looks like the image here is ~120M. We limit that here, but I don't know if that is a check that we aren't doing anything silly, or an upstream requirement.

I've set that while I tested try staging releases which have less locales and forgot to change it for all locales baked in. I'll bump it to 150 Mb and rerun. My bad.

Assignee: nobody → mtabara
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Component: Release Automation: Flatpak → Release Automation: Other
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: