-
Story
-
Resolution: Done
-
Normal
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
None
-
-
CNV I/U Operators Sprint 274
-
None
The test tests.deprecated_api.test_deprecation_audit_logs.test_deprecated_apis_in_audit_logs fails during fixture setup with:
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
when attempting to parse audit log entries. It's observed that the cluster may answer with an error to below request:
$ oc adm node-logs <node_name> --path=kube-apiserver/<log_file> | grep '"k8s.io/deprecated":"true"'
error: the server could not find the requested resource
And therefore, the json.loads() is failing.
The test should handle this kind of temporary infrastructure issues gracefully and only fail for persistent problems or actual deprecated API usage.
- is cloned by
-
CNV-70167 [stabilization]stabilize test_deprecated_apis_in_audit_logs 2
-
- New
-
- mentioned on