AssertionError in pre-receive hook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd |
New
|
Undecided
|
Unassigned | ||
turnip |
Fix Released
|
High
|
Thiago F. Pappacena |
Bug Description
Occasionally a git import on launchpad fails with something along the lines of:
2020-03-24 14:58:24 INFO Everything up-to-date
2020-03-24 15:05:56 INFO remote: Traceback (most recent call last):
2020-03-24 15:05:56 INFO remote: File "hooks/
2020-03-24 15:05:56 INFO remote: rule_lines = check_ref_
2020-03-24 15:05:56 INFO remote: File "hooks/
2020-03-24 15:05:56 INFO remote: {'key': rpc_key, 'paths': ref_paths})
2020-03-24 15:05:56 INFO remote: File "hooks/
2020-03-24 15:05:56 INFO remote: res = json.loads(
2020-03-24 15:05:56 INFO remote: File "hooks/
2020-03-24 15:05:56 INFO remote: assert c.isdigit()
2020-03-24 15:05:56 INFO remote: AssertionError
(from http://
Not sure what the cause is.
Related branches
- Colin Watson (community): Approve
-
Diff: 120 lines (+46/-6)3 files modifiedturnip/pack/hookrpc.py (+2/-0)
turnip/pack/hooks/hook.py (+9/-3)
turnip/pack/tests/test_hooks.py (+35/-3)
summary: |
- AssertionError in pre-recieve hook + AssertionError in pre-receive hook |
Changed in turnip: | |
importance: | Undecided → High |
Changed in turnip: | |
status: | New → Triaged |
Changed in turnip: | |
status: | Triaged → In Progress |
bug 1880756 likely relates to this. Triggered by large numbers of refs in a push.