Bug 2010175

Summary: Flaky test point to a nil pointer conditions list
Product: Red Hat Advanced Cluster Management for Kubernetes Reporter: Michael Filanov <mfilanov>
Component: Infrastructure OperatorAssignee: Michael Filanov <mfilanov>
Status: CLOSED ERRATA QA Contact: bjacot
Severity: high Docs Contact: Derek <dcadzow>
Priority: high    
Version: rhacm-2.4CC: ccrum, trwest, yfirst
Target Milestone: ---Keywords: Triaged
Target Release: rhacm-2.4Flags: ming: rhacm-2.4+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AI-Team-Core
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-11 18:33:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2010168    
Bug Blocks:    

Description Michael Filanov 2021-10-04 06:17:07 UTC
Test search for a condition but do not check if the result is nil.
Cause a flaky tests to panic

Comment 1 Michael Filanov 2021-10-04 06:31:08 UTC
found another place in the code that needs to be fixed, bmh controller doesn't check for nil pointer as well.

Comment 4 errata-xmlrpc 2021-11-11 18:33:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Advanced Cluster Management 2.4 images and security updates), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4618