Description of problem: An incorrect statement in FindClassMethods results in an attempt to sort a nil array of filenames. This can result in no files collected. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.Enter a scan profile entry that matches no files on the virtual machine. 2.Run smartstate analysis using the above scan profile. 3. Actual results: Exception occurs, found in log, and no files are collected. Expected results: All requested files are collected Additional info:
This bug was the result of attempts to bow to CodeClimate complaints about a previous PR, unfortunately.
Fixed by https://github.com/ManageIQ/manageiq-smartstate/pull/119
PR merged and manageiq-smartstate gem version 0.5.6 released.
https://github.com/ManageIQ/manageiq/pull/20066
Hi Jerry, Could you please provide me analysis profile content Thanks, ~Niyaz
Niyaz, The analysis profile can contain any files you would like to collect, and use more than one wildcard if you like. Jerry
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, 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/RHBA-2020:2020