Closed Bug 2003242 Opened 6 months ago Closed 6 months ago

Perma Beetmover-rpm Exception: ('Got error(s) trying to import artifacts: {}', [gcs_source {

Categories

(Release Engineering :: Release Automation, defect, P5)

Tracking

(firefox-esr140 unaffected, firefox145 unaffected, firefox146 unaffected, firefox147 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr140 --- unaffected
firefox145 --- unaffected
firefox146 --- unaffected
firefox147 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: eijebong)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=537934789&repo=mozilla-central&task=AKe1oW9NQoqD96cKo6-DJg.1
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/AKe1oW9NQoqD96cKo6-DJg/runs/1/artifacts/public/logs/live_backing.log


error {
  code: 9
  message: "package files \"namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla-rpm/files/Packages/firefox-nightly-l10n-xh-0:147.0a1-1-noarch-f525872f6cbc5885380076acf62d80f78926d85cd3556ba19dbf52b2c9b0071e.rpm\" have identical names but different hashes; updated packages must bear a new version number"
}
, gcs_source {
  uris: "gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/firefox/nightly/2025/11/2025-11-29-21-29-03-mozilla-central-l10n/linux-x86_64/rpm/firefox-l10n-zh-CN-147.0a1.noarch.rpm"
}
error {
  code: 9
  message: "package files \"namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla-rpm/files/Packages/firefox-nightly-l10n-zh-CN-0:147.0a1-1-noarch-1cef26f640ca3bd72eda0fa7ef22db5d9e3d85b09877397fd60b53752655d73f.rpm\" have identical names but different hashes; updated packages must bear a new version number"
}
, gcs_source {
  uris: "gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/firefox/nightly/2025/11/2025-11-29-21-29-03-mozilla-central-l10n/linux-x86_64/rpm/firefox-l10n-zh-TW-147.0a1.noarch.rpm"
}
error {
  code: 9
  message: "package files \"namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla-rpm/files/Packages/firefox-nightly-l10n-zh-TW-0:147.0a1-1-noarch-35084e578884a53a412547074583f784e4ae3da41237412fcd8976767698d804.rpm\" have identical names but different hashes; updated packages must bear a new version number"
}
, gcs_source {
  uris: "gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/firefox/nightly/2025/11/2025-11-29-21-29-03-mozilla-central/firefox-147.0a1.linux-aarch64.rpm"
}
error {
  code: 9
  message: "package files \"namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla-rpm/files/Packages/firefox-nightly-0:147.0a1-1-aarch64-da0c6923e7656e352c30f9489b129fc69834f171dabf46a93cded78b7cb14459.rpm\" have identical names but different hashes; updated packages must bear a new version number"
}
]
Traceback (most recent call last):
  File "/app/.venv/bin/beetmoverscript", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/app/beetmoverscript/src/beetmoverscript/script.py", line 1043, in main
    client.sync_main(
  File "/app/.venv/lib/python3.11/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.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/scriptworker/client.py", line 205, in _handle_asyncio_loop
    await async_main(context)
  File "/app/beetmoverscript/src/beetmoverscript/script.py", line 611, in async_main
    await action_map[context.action](context)
  File "/app/beetmoverscript/src/beetmoverscript/gcloud.py", line 211, in import_from_gcs_to_artifact_registry
    raise Exception("Got error(s) trying to import artifacts: {}", result.errors)
Exception: ('Got error(s) trying to import artifacts: {}', [gcs_source {
  uris: "gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/firefox/nightly/2025/11/2025-11-29-21-29-03-mozilla-central-l10n/linux-x86_64/rpm/firefox-l10n-ach-147.0a1.noarch.rpm"
}
error {
  code: 9
  message: "package files \"namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla-rpm/files/Packages/firefox-nightly-l10n-ach-0:147.0a1-1-noarch-5405588362a98b9ef032cd6f08b0a627de639ed9041a12212f11f74639645460.rpm\" have identical names but different hashes; updated packages must bear a new version number"
}
, gcs_source {
  uris: "gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/firefox/nightly/2025/11/2025-11-29-21-29-03-mozilla-central-l10n/linux-x86_64/rpm/firefox-l10n-af-147.0a1.noarch.rpm"
}
error {
  code: 9
  message: "package files \"namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla-rpm/files/Packages/firefox-nightly-l10n-af-0:147.0a1-1-noarch-27979d885cc868c5778f70e2943441639a567066a37f6e0812c6ec8488d987a8.rpm\" have identical names but different hashes; updated packages must bear a new version number"
}
, gcs_source {
  uris: "gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/firefox/nightly/2025/11/2025-11-29-21-29-03-mozilla-central-l10n/linux-x86_64/rpm/firefox-l10n-an-147.0a1.noarch.rpm"
}
Summary: Perma Beetmover Exception: ('Got error(s) trying to import artifacts: {}', [gcs_source { → Perma Beetmover-rpm Exception: ('Got error(s) trying to import artifacts: {}', [gcs_source {
Flags: needinfo?(borivel)
Keywords: regression
Regressed by: 1999653

Set release status flags based on info from the regressing bug 1999653

Without this, we would try to upload 2 consecutive nightlies to GAR
with the exact same version (147.0a1-1) which makes it very unhappy.
Using the build id as build number for nightlies matches what we do for
deb packages and will prevent duped versions in the registry

Assignee: nobody → borivel
Status: NEW → ASSIGNED
Flags: needinfo?(borivel)
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: