[SERVER-64782] Check return code from detect.sh Created: 22/Mar/22 Updated: 09/May/23 Resolved: 09/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Jackson | Assignee: | Brad Moore |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Server Security
|
||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Security 2023-05-15 | ||||||||
| Participants: | |||||||||
| Description |
|
In _run_scan blackduck_hub.py spawns detect.sh in a subprocess using subprocess.call. This method doesn't check the return code from subprocess.call. We should check it, and throw an exception or otherwise fail if a not-ok return code is emitted. |