Closed Bug 1653169 Opened 6 years ago Closed 6 years ago

Partner & EME-free repacks broken in 79.0b8

Categories

(Release Engineering :: Release Automation, defect)

defect
Not set
normal

Tracking

(firefox79 fixed, firefox80 fixed)

RESOLVED FIXED
Tracking Status
firefox79 --- fixed
firefox80 --- fixed

People

(Reporter: nthomas, Assigned: nthomas)

References

Details

Attachments

(2 external files)

eg https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/P8kvpCO9TQK253bvcswrkQ/runs/0/artifacts/public/logs/live_backing.log

[task 2020-07-16T00:47:29.778Z] 00:47:29     INFO - Copy/paste: /builds/worker/workspace/repo init --no-repo-verify -u git@github.com:mozilla-partners/mozilla-EME-free-manifest.git
[task 2020-07-16T00:47:29.778Z] 00:47:29     INFO - Using partial env: {'GIT_SSH_COMMAND': 'ssh -oIdentityFile=/builds/partner-github-ssh'}
[task 2020-07-16T00:47:29.778Z] 00:47:29    DEBUG - ENV: GIT_SSH_COMMAND is now ssh -oIdentityFile=/builds/partner-github-ssh
[task 2020-07-16T00:47:29.835Z] 00:47:29     INFO -  warning: Python 3 support is currently experimental. YMMV.
[task 2020-07-16T00:47:29.835Z] 00:47:29     INFO -  Please use Python 2.6 - 2.7 instead.
[task 2020-07-16T00:47:29.836Z] 00:47:29     INFO -  Traceback (most recent call last):
[task 2020-07-16T00:47:29.836Z] 00:47:29     INFO -    File "/builds/worker/workspace/repo", line 773, in <module>
[task 2020-07-16T00:47:29.836Z] 00:47:29     INFO -      main(sys.argv[1:])
[task 2020-07-16T00:47:29.836Z] 00:47:29     INFO -    File "/builds/worker/workspace/repo", line 741, in main
[task 2020-07-16T00:47:29.836Z] 00:47:29     INFO -      _Init(args)
[task 2020-07-16T00:47:29.836Z] 00:47:29     INFO -    File "/builds/worker/workspace/repo", line 256, in _Init
[task 2020-07-16T00:47:29.836Z] 00:47:29     INFO -      _CheckGitVersion()
[task 2020-07-16T00:47:29.837Z] 00:47:29     INFO -    File "/builds/worker/workspace/repo", line 310, in _CheckGitVersion
[task 2020-07-16T00:47:29.837Z] 00:47:29     INFO -      ver_act = ParseGitVersion(ver_str)
[task 2020-07-16T00:47:29.837Z] 00:47:29     INFO -    File "/builds/worker/workspace/repo", line 280, in ParseGitVersion
[task 2020-07-16T00:47:29.837Z] 00:47:29     INFO -      if not ver_str.startswith('git version '):
[task 2020-07-16T00:47:29.837Z] 00:47:29     INFO -  TypeError: startswith first arg must be bytes or a tuple of bytes, not str

This is from switching to python3 but having old repo tool from https://raw.githubusercontent.com/mozilla/git-repo/master/repo. The upstream is at https://gerrit.googlesource.com/git-repo/+/master/repo

There may be other py3 bustage in tc-partner-repacks.py.

For 79.0b8 we worked around this by forcing the generate-checksums task to run, and not shipping EME-free. I'll grab the bug and take a look at this tomorrow. tomprince, if you've had a chance to look already then feel free to take it over.

Assignee: nobody → nthomas

This is a green test task where I've

  • pointed at a gist for repo where the hashbang uses python2
  • uses 'python2' instead of sys.executable when calling tc-partner-repacks.py

https://firefox-ci-tc.services.mozilla.com/tasks/Vv6fxHVySfqx25UC8wPZxA

Attachment #9164202 - Attachment description: GitHub Pull Request → [merged] GitHub Pull Request

Fixed in 79.0b9 after that beta landing.

I filed bug 1653476 to convert to py3 and generally improve the script, so we'll not land the gecko change in m-c yet.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
See Also: → 1653476
Summary: Partner & EME-free repacks broken in 79.0 cycle → Partner & EME-free repacks broken in 79.0b8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: