-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
2
-
OpenShift SPLAT - Sprint 266
Problem:
- opct report is exiting with errors when baseline API filter does not have results (return HTTP 403)
The baseline API filter exports a summary of baseline validations (executed in Prow) to make inference of know issues in the controlled environment, eliminating from the local archive, the flow should not be blocking when running 'opct report'. We can raise a error in the debug mode, or even error logging, but not stopping the flow.
Environment:
- HCP Hosted cluster on AWS (hypershift controller [MGR] installed in self-managed OCP on AWS)
$ opct report --save-to results opct_202502041948_e68ef821-0d6a-4131-a135-e3dbb0dd7109.tar.gz --log-level=debug INFO[2025-02-04T21:44:08-03:00] Creating report... ... DEBU[2025-02-04T21:44:22-03:00] Summary Report API (/result/summary/4.19_AWS_latest.json) response code: 403 Forbidden ERRO[2025-02-04T21:44:22-03:00] could not process archive: opct_202502041948_e68ef821-0d6a-4131-a135-e3dbb0dd7109.tar.gz: error processing results: loading baseline results from API: failed to get baseline from API: error loading BaselineAPI: error BaselineAPI request: 403 Forbidden