Subprocess failing to call apt-ostree compose install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
In Progress
|
Undecided
|
Lindley Werner Soares Vieira |
Bug Description
Brief Description
-----------------
During "software deploy start" when calling apt-ostree compose install, the subprocess return with the error:
subprocess.
Severity
--------
Critical: System/Feature is not usable due to the defect
Steps to Reproduce
------------------
Run "software deploy start" in a patch apply process
Expected Behavior
------------------
The command run with success
Actual Behavior
----------------
Returning error
Reproducibility
---------------
Reproducible, reported by 2 different people
System Configuration
-------
USM
Branch/Pull Time/Commit
-------
Branch and the time when code was pulled or git commit or cengn load info
Last Pass
---------
Did this test scenario pass previously? If so, please indicate the load/pull time info of the last pass.
Use this section to also indicate if this is a new test scenario.
Timestamp/Logs
--------------
Traceback (most recent call last):
File "/usr/lib/
subprocess.run(
File "/usr/lib/
raise CalledProcessEr
subprocess.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
apt_
File "/usr/lib/
raise APTOSTreeComman
software.
2024-05-
Traceback (most recent call last):
File "/usr/lib/
subprocess.run(
File "/usr/lib/
raise CalledProcessEr
subprocess.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
apt_
File "/usr/lib/
raise APTOSTreeComman
software.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
result = controller(*args, **kwargs)
File "/usr/lib/
result = sc.software_
File "/usr/lib/
res = func(*args, **kwargs)
File "/usr/lib/
raise APTOSTreeComman
software.
Test Activity
-------------
[Sanity, Feature Testing, Regression Testing, Developer Testing, Evaluation, Other - Please specify]
Workaround
----------
Add shell=True in the subprocess command call
Changed in starlingx: | |
assignee: | nobody → Lindley Werner Soares Vieira (lindley-vieira) |
status: | New → In Progress |
Fix proposed to branch: master /review. opendev. org/c/starlingx /update/ +/920402
Review: https:/