Closed Bug 1585959 Opened 5 years ago Closed 5 years ago

Perma IndexError: string index out of range | make[1]: *** [package-langpack-bo] Error 1

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(firefox-esr60 unaffected, firefox-esr68 unaffected, firefox67 unaffected, firefox68 unaffected, firefox69 unaffected, firefox70 unaffected, firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox67 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 --- unaffected
firefox71 --- fixed

People

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

References

(Regression)

Details

(Keywords: regression)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=269593345&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/dA1Bfm-aTjioyOHAEQ0KGQ/runs/3/artifacts/public/logs/live_backing.log


[task 2019-10-03T11:32:49.925Z] 11:32:49 INFO - /builds/worker/workspace/build/src/obj-firefox/_virtualenvs/init/bin/python /builds/worker/workspace/build/src/config/nsinstall.py -D ../../dist/mac/xpi/
[task 2019-10-03T11:32:49.957Z] 11:32:49 INFO - /builds/worker/workspace/build/src/obj-firefox/_virtualenvs/init/bin/python -m mozbuild.action.langpack_manifest --locales bo --min-app-ver 71.0a1 --max-app-ver 71.0a1 --app-name 'Firefox Nightly' --l10n-basedir '/builds/worker/workspace/build/l10n' --defines /builds/worker/workspace/build/l10n/bo/toolkit/defines.inc /builds/worker/workspace/build/l10n/bo/browser/defines.inc --langpack-eid 'langpack-bo@firefox.mozilla.org' --input ../../dist/xpi-stage/locale-bo
[task 2019-10-03T11:32:50.651Z] 11:32:50 ERROR - Traceback (most recent call last):
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - "main", fname, loader, pkg_name)
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - exec code in run_globals
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/action/langpack_manifest.py", line 489, in <module>
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - main(sys.argv[1:])
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/action/langpack_manifest.py", line 483, in main
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - chrome_entries
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/action/langpack_manifest.py", line 430, in create_webmanifest
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - 'version': get_timestamp_for_locale(os.path.join(l10n_basedir, loc)),
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/action/langpack_manifest.py", line 99, in get_timestamp_for_locale
[task 2019-10-03T11:32:50.651Z] 11:32:50 INFO - dt = get_dt_from_hg(path)
[task 2019-10-03T11:32:50.652Z] 11:32:50 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/action/langpack_manifest.py", line 73, in get_dt_from_hg
[task 2019-10-03T11:32:50.652Z] 11:32:50 INFO - date = data['pushdate'][0]
[task 2019-10-03T11:32:50.652Z] 11:32:50 INFO - IndexError: string index out of range
[task 2019-10-03T11:32:50.660Z] 11:32:50 INFO - /builds/worker/workspace/build/src/toolkit/locales/l10n.mk:220: recipe for target 'package-langpack-bo' failed
[task 2019-10-03T11:32:50.660Z] 11:32:50 ERROR - make[1]: *** [package-langpack-bo] Error 1
[task 2019-10-03T11:32:50.660Z] 11:32:50 INFO - make[1]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/browser/locales'
[task 2019-10-03T11:32:50.661Z] 11:32:50 INFO - Makefile:106: recipe for target 'installers-bo' failed
[task 2019-10-03T11:32:50.661Z] 11:32:50 INFO - make: *** [installers-bo] Error 2
[task 2019-10-03T11:32:50.661Z] 11:32:50 ERROR - Return code: 2
[task 2019-10-03T11:32:50.661Z] 11:32:50 ERROR - make installers-bo failed
[task 2019-10-03T11:32:50.661Z] 11:32:50 ERROR - failure: repack_locale(bo)
[task 2019-10-03T11:32:50.661Z] 11:32:50 ERROR - # TBPL FAILURE #
[task 2019-10-03T11:32:50.661Z] 11:32:50 WARNING - setting return code to 2
[task 2019-10-03T11:32:50.661Z] 11:32:50 INFO - [mozharness: 2019-10-03 11:32:50.661381Z] Finished repack step (success)
[task 2019-10-03T11:32:50.661Z] 11:32:50 INFO - [mozharness: 2019-10-03 11:32:50.661415Z] Running summary step.
[task 2019-10-03T11:32:50.661Z] 11:32:50 INFO - Running main action method: summary
[task 2019-10-03T11:32:50.661Z] 11:32:50 INFO - [mozharness: 2019-10-03 11:32:50.661460Z] DesktopSingleLocale summary:
[task 2019-10-03T11:32:50.661Z] 11:32:50 ERROR - failure: repack_locale(bo)
[task 2019-10-03T11:32:50.661Z] 11:32:50 ERROR - # TBPL FAILURE #
[task 2019-10-03T11:32:50.661Z] 11:32:50 INFO - [mozharness: 2019-10-03 11:32:50.661528Z] Finished summary step (success)
[task 2019-10-03T11:32:50.661Z] 11:32:50 WARNING - returning nonzero exit status 2
[task 2019-10-03T11:32:50.684Z] cleanup
[task 2019-10-03T11:32:50.684Z] + cleanup
[task 2019-10-03T11:32:50.684Z] + local rv=2
[task 2019-10-03T11:32:50.684Z] + cleanup_xvfb
[task 2019-10-03T11:32:50.684Z] pidof Xvfb
[task 2019-10-03T11:32:50.684Z] ++ pidof Xvfb
[task 2019-10-03T11:32:50.686Z] + local xvfb_pid=38
[task 2019-10-03T11:32:50.686Z] + local vnc=false
[task 2019-10-03T11:32:50.686Z] + local interactive=false
[task 2019-10-03T11:32:50.686Z] + '[' -n 38 ']'
[task 2019-10-03T11:32:50.686Z] + [[ false == false ]]
[task 2019-10-03T11:32:50.686Z] + [[ false == false ]]
[task 2019-10-03T11:32:50.686Z] + kill 38
[task 2019-10-03T11:32:50.686Z] + screen -XS xvfb quit
[task 2019-10-03T11:32:50.798Z] No screen session found.
[task 2019-10-03T11:32:50.798Z] + true
[task 2019-10-03T11:32:50.798Z] + exit 2
[fetches 2019-10-03T11:32:50.798Z] removing /builds/worker/fetches
[fetches 2019-10-03T11:32:50.799Z] finished
[taskcluster 2019-10-03 11:32:51.140Z] === Task Finished ===
[taskcluster 2019-10-03 11:33:16.823Z] Unsuccessful task run with exit code: 2 completed in 317.922 seconds

This bug is caused by the new l10n-central/bo repo not having any pushes associated with it. The contents of the repo were pre-populated with the contents of a repo from Bitbucket, as described in bug 1584919. To do this I pulled the repo contents on the server directly, which avoided adding a pushlog entry.

To fix this we could either manually add an entry to the pushlog for the data pre-population, or have someone push a no-op change to the repo to create an entry in the pushlog.

:flod made a push to the repo, which should fix the failure in this bug.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Assignee: nobody → francesco.lodolo
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.