Package upload process fails to extract control file from ddeb package, raising a SystemError
Bug #1885298 reported by
Thiago F. Pappacena
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
In Progress
|
Critical
|
Thiago F. Pappacena |
Bug Description
The following kernel build failed to upload: https:/
On the logs, we can see that it failed while extracting control from the ddeb package: linux-image-
Related branches
~pappacena/launchpad:upload-parse-error-msg
Merged
into
launchpad:master
- Ioana Lasc (community): Approve
-
Diff: 58 lines (+24/-4)2 files modifiedlib/lp/archiveuploader/nascentuploadfile.py (+3/-3)
lib/lp/archiveuploader/tests/test_nascentuploadfile.py (+21/-1)
To post a comment you must log in.
On Launchpad side, this error message is raised at nascentuploadfi le.py, while using apt_inst.DebFile to read deb file information:
deb_file = apt_inst. DebFile( self.filepath) control. extractdata( "control" ) TagSection( control_ file, bytes=True)
control_file = deb_file.
control_lines = apt_pkg.
I've got the package, but couldn't reproduce locally the error, with the same lines (using LXD with both Bionic and Xenial distros).
A MP was accepted to add the exception message to the logs, in the hope of getting more useful information on what is going on.