RedHat-SP-Security / tang-operator-tests

Upstream repository for tang-operator test suite
GNU General Public License v3.0
1 stars 1 forks source link

In some circumstances, Malware Detection test is receiving two images to mount #72

Closed sarroutbi closed 10 months ago

sarroutbi commented 10 months ago

In some circumstances, bundle contains two images:

...
:: [ 12:02:27 ] :: [   LOG    ] :: Container Image:[registry.redhat.io/nbde/tang-rhel9-operator@sha256:1e88d14d3e75cfdca450cd1130e0a82af3e0cb06196bb08f8eb271a393c15be1
quay.io/sec-eng-special/nbde-tang-server:1.0.0-16]
:: [ 12:02:27 ] :: [   LOG    ] :: DETECTING MALWARE ON VERSION:[registry.redhat.io/nbde/tang-rhel9-operator@sha256:1e88d14d3e75cfdca450cd1130e0a82af3e0cb06196bb08f8eb271a393c15be1
quay.io/sec-eng-special/nbde-tang-server:1.0.0-16]
:: [ 12:02:27 ] :: [   FAIL   ] :: Checking image could be mounted appropriately (Assert: '125' should equal '0')
...

Changes should be performed to just use one of them (through tail command, for example)