[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:
Duplicate
duplicates SERVER-64514 Black Duck failing to scan Closed
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.


Generated at Thu Feb 08 06:01:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.