Debian: Patch upload fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Jessica Castelino |
Bug Description
Brief Description
-----------------
Py3 errors need to be fixed to get sw-patch upload to work
Severity
--------
Critical
Steps to Reproduce
------------------
Run sw-patch upload on a Debian AIO-SX
Expected Behavior
------------------
Patch upload should not throw errors
Actual Behavior
----------------
Patch upload throws errors in patching.log
Reproducibility
---------------
Reproducible
System Configuration
-------
Debian AIO-SX
Branch/Pull Time/Commit
-------
04/04/2022
Last Pass
---------
N/A
Timestamp/Logs
--------------
2022-02-
: ERROR: An uncaught exception has occurred:
Traceback (most recent call last):
File "/usr/lib/
self.result = application(
File "/usr/lib/
l__
return self.v1(environ, start_response)
File "/usr/lib/
in __call__
return self.applicatio
File "/usr/lib/
return super(Pecan, self)._
File "/usr/lib/
self.
File "/usr/lib/
oller
result = controller(*args, **kwargs)
File "/usr/lib/
112, in upload
src = fileitem.
io.UnsupportedO
Test Activity
-------------
Feature Testing
Workaround
----------
None
Changed in starlingx: | |
assignee: | nobody → Jessica Castelino (jcasteli) |
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.7.0 stx.debian stx.update |
Reviewed: https:/ /review. opendev. org/c/starlingx /update/ +/836383 /opendev. org/starlingx/ update/ commit/ 99ff47153de4d8c 8518adde165d63a 5ea29af3ba
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 99ff47153de4d8c 8518adde165d63a 5ea29af3ba
Author: Jessica Castelino <email address hidden>
Date: Fri Apr 1 21:32:03 2022 +0000
Python3 fixes for Debian patch upload
This commit provides py3 fixes for sw-patch upload in Debian env.
Change-Id: Iedc2eca9cd8c88 fe6706d8d44957c 64933bdffbc
Closes-Bug: 1967797
Signed-off-by: Jessica Castelino <email address hidden>