Problems in applied patches imports cause import failures which are not ignored
Bug #1649832 reported by
Robie Basak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Given bug 1649646, it seems to be that the applied patches imports are causing hard importer failures. I'm only interested in the unapplied part of the tree, and I'm not getting this because the applied patches part is having to do some deeper parsing. This feels like it goes against our "importer shouldn't fail" philosophy.
Expected behaviour: unapplied tree unaffected and successfully imported all the way through. Applied tree warning outputs followed by orphaning.
Actual behaviour: hard failure.
Related branches
~racb/git-ubuntu:queue-fixes
- Nish Aravamudan: Approve
-
Diff: 107 lines (+37/-12)4 files modifiedusd/importer.py (+23/-0)
usd/queue.py (+8/-8)
usd/source_information.py (+5/-3)
usd/version.py (+1/-1)
Changed in usd-importer: | |
importance: | Undecided → High |
Changed in usd-importer: | |
assignee: | nobody → Nish Aravamudan (nacc) |
status: | New → In Progress |
Changed in usd-importer: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Traceback (most recent call last): robie/Code/ Canonical/ usd-importer/ bin/usd" , line 15, in <module> robie/Code/ Canonical/ usd-importer/ usd/__main_ _.py", line 160, in main robie/Code/ Canonical/ usd-importer/ usd/importer. py", line 934, in main import_ spi(srcpkg_ information) robie/Code/ Canonical/ usd-importer/ usd/importer. py", line 816, in import_spi import_ tree_hash, patch_name, patch_desc) in self.import_ patches_ applied_ tree(spi) : robie/Code/ Canonical/ usd-importer/ usd/importer. py", line 420, in import_ patches_ applied_ tree robie/Code/ Canonical/ usd-importer/ usd/run. py", line 58, in run robie/Code/ Canonical/ usd-importer/ usd/run. py", line 44, in run python3. 5/subprocess. py", line 708, in run CalledProcessEr ror: Command '['dpkg-source', '--print-format', '/tmp/tmp3y515o sf/util- linux-2. 13~rc3' ]' returned non-zero exit status 25
File "/home/
main()
File "/home/
args.func(args)
File "/home/
self.
File "/home/
for (applied_
File "/home/
cp = run(['dpkg-source', '--print-format', extracted_dir])
File "/home/
raise e
File "/home/
stdout=stdout, stderr=stderr, stdin=stdin)
File "/usr/lib/
output=stdout, stderr=stderr)
subprocess.