Closed Bug 1855182 Opened 2 years ago Closed 2 years ago

Perma Rpk-deb TypeError: _extract_application_ini_data() takes 1 positional argument but 3 were given

Categories

(Release Engineering :: General, defect, P2)

Tracking

(firefox-esr115 unaffected, firefox118 unaffected, firefox119 unaffected, firefox120blocking fixed)

RESOLVED FIXED
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- unaffected
firefox119 --- unaffected
firefox120 blocking fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


Successfully installed babel-2.12.1 fluent.runtime-0.4.0 fluent.syntax-0.19.0 pytz-2023.3.post1
[task 2023-09-26T11:18:03.307Z] 11:18:03     INFO -  Error running mach:
[task 2023-09-26T11:18:03.307Z] 11:18:03     INFO -      mach --log-no-times repackage deb --arch x86 --templates browser/installer/linux/app/debian --version 120.0a1 --build-number 1 --release-product None --release-type nightly --input /builds/worker/fetches/target.tar.bz2 --output /builds/worker/workspace/outputs/target.deb
[task 2023-09-26T11:18:03.307Z] 11:18:03     INFO -  The error occurred in code that was called by the mach command. This is either
[task 2023-09-26T11:18:03.307Z] 11:18:03     INFO -  a bug in the called code itself or in the way that mach is calling it.
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -  You can invoke ``./mach busted`` to check if this issue is already on file. If it
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -  isn't, please use ``./mach busted file repackage`` to report it. If ``./mach busted`` is
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -  misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -  If filing a bug, please include the full output of mach, including this error
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -  message.
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -  The details of the failure are as follows:
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -  TypeError: _extract_application_ini_data() takes 1 positional argument but 3 were given
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/mach_commands.py", line 2331, in repackage_deb
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -      repackage_deb(
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/deb.py", line 78, in repackage_deb
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -      _extract_application_ini_data(infile, version, build_number),
[task 2023-09-26T11:18:03.308Z] 11:18:03     INFO -      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2023-09-26T11:18:03.349Z] 11:18:03     INFO - Return code: 1
[task 2023-09-26T11:18:03.349Z] 11:18:03    ERROR - 1 not in success codes: [0]
[task 2023-09-26T11:18:03.349Z] 11:18:03  WARNING - setting return code to 2
[task 2023-09-26T11:18:03.349Z] 11:18:03    FATAL - Halting on failure while running ['/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/common/bin/python', 'mach', '--log-no-times', 'repackage', 'deb', '--arch', 'x86', '--templates', 'browser/installer/linux/app/debian', '--version', '120.0a1', '--build-number', '1', '--release-product', 'None', '--release-type', 'nightly', '--input', '/builds/worker/fetches/target.tar.bz2', '--output', '/builds/worker/workspace/outputs/target.deb']
[task 2023-09-26T11:18:03.349Z] 11:18:03    FATAL - Running post_fatal callback...
[task 2023-09-26T11:18:03.349Z] 11:18:03    FATAL - Exiting 2
[task 2023-09-26T11:18:03.349Z] 11:18:03     INFO - [mozharness: 2023-09-26 11:18:03.349528Z] Finished repackage step (failed)
[taskcluster 2023-09-26 11:18:04.116Z] === Task Finished ===
[taskcluster 2023-09-26 11:18:04.165Z] Artifact "public/build/target.deb" not found at "/builds/worker/workspace/outputs/target.deb": (HTTP code 404) no such container - Could not find the file /builds/worker/workspace/outputs/target.deb in container 228d2019f23346a52fc5c907c8c623e4c58334fb62ad3c5d0d8f0e4a422ad1c8 
[taskcluster 2023-09-26 11:18:04.168Z] Artifact "public/build" not found at "/builds/worker/artifacts/": (HTTP code 404) no such container - Could not find the file /builds/worker/artifacts/ in container 228d2019f23346a52fc5c907c8c623e4c58334fb62ad3c5d0d8f0e4a422ad1c8 
[taskcluster 2023-09-26 11:18:04.379Z] Unsuccessful task run with exit code: 2 completed in 143.038 seconds
Flags: needinfo?(gabriel)
Flags: needinfo?(sledru)
Severity: S4 → --
Priority: P5 → --

also these localized repacks are busted too

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

Assignee: nobody → gabriel
Status: NEW → ASSIGNED

Thanks, I submitted a patch to fix the regression and added a unit test that will catch this kind of issues.

Severity: -- → S4
Flags: needinfo?(sledru)
Flags: needinfo?(gabriel)
Priority: -- → P2
Pushed by gbustamante@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bf5862f4ee50 Fix perma Rpk-deb TypeError (and add a unit test) r=releng-reviewers,gbrown

This was blocking Linux nightly builds. Much more severe than S4.

Severity: S4 → S2
Pushed by nbeleuzu@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/fba47cb03826 Fix perma Rpk-deb TypeError (and add a unit test) r=releng-reviewers,gbrown
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: