← Back to issue list

incorrectly rejected translation file for python3-3parclient in questing

View original Github issue

Metadata

Project
fetch-service
Number
#574
Type
issue
State
closed
Author
dariuszd21
Labels
Status: Triaged
Created
Updated
Closed

Current evaluation

Fixed by merged PR canonical/fetch-service#579 (commit 9a27c6b), making APT inspection recognize small translation files; released in fetch-service 0.15.1.

Resolution: closed resolved

Reason: PR #579 explicitly fixes issue #574 and was merged as commit 9a27c6b. The changelog lists the fix in version 0.15.1, resolving rejection of the 388-byte python3-3parclient translation.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description Hi! I've tried to build a rock with chiseled slices of `python3.13`, based on https://github.com/canonical/python-rock/blob/main/python/3.13-25.10/rockcraft.yaml Unfortunately, it seems that `fetch-service` is incorrectly rejecting translation for one of the packages. It's not urgent, but I couldn't find a similar issue and I wanted you to have a record for this. When I unpack this file manually, it is a valid translation for `python3-3parclient`. This is an extract from the fetch service manifest: ```json { "component-name": "", "component-version": "", "component-description": "", "component-id": { "hashes": { "sha1": "af11542dc59218354c3e8052b3eaa7ff2655a349", "sha256": "a0c8d5a1e5197991564101acca9069e2baa014a9d8ed0ed6143224d752aa1909" } }, "architecture": "", "type": "application/x-xz", "component-author": "", "component-vendor": "", "size": 388, "url": [ "http://archive.ubuntu.com/ubuntu/dists/questing-backports/universe/i18n/by-hash/SHA256/a0c8d5a1e5197991564101acca9069e2baa014a9d8ed0ed6143224d752aa1909" ] } ``` ### To Reproduce fetch-service `0.15.0-0-g884d1fa` rockcraft `1.17.0` ```sh rockcraft pack --enable-fetch-service permissive ``` ```yaml name: dariuszd-python313 version: "3.13" summary: Chiseled Python 3.13 rock description: | Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation. Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including structured, object-oriented and functional programming. Read more on [python.org](https://www.python.org/). This image is a chiselled Ubuntu rock that contains only the Python runtime and its standard libraries. license: Python-2.0 base: bare build-base: ubuntu@25.10 run-user: _daemon_ platforms: amd64: arm64: parts: python3: plugin: nil stage-packages: - base-files_base - base-files_release-info - base-files_chisel - ca-certificates_data - libc6_libs - libgcc-s1_libs - openssl_config - python3_standard ``` ### Relevant log output ```shell The following artifacts were marked as rejected by the fetch-service: - url: https://dashboard.snapcraft.io:443/site_media/appmedia/2024/06/core-icon-large_gbZyLDk.png reasons: - the artifact file content was not recognized by any format inspector - the request was not recognized by any format inspector - unknown PNG image - url: http://archive.ubuntu.com/ubuntu/dists/questing-backports/universe/i18n/by-hash/SHA256/a0c8d5a1e5197991564101acca9069e2baa014a9d8ed0ed6143224d752aa1909 reasons: - the artifact file content was not recognized by any format inspector ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged PR canonical/fetch-service#579 (commit 9a27c6b), making APT inspection recognize small translation files; released in fetch-service 0.15.1.
stealth/space-bunny-alpha — closed stale Closed as triaged after the report was linked to internal ticket FETCH-65; no fix, pull request, or commit was recorded.
qwen/qwen3.6-35b-a3b — — Closed and triaged. An internal Jira ticket (FETCH-65) was created to track the fetch-service incorrectly rejecting a valid translation file. No fix or merge was applied.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/fetch-service#579 (confidence 100%)

    Merged APT inspector fix for small Translation files; explicitly fixes #574.

Related issues

No related issues found above the similarity threshold.