blackducksoftware / perceptor

An open source, cloud native toolkit for threat detection and mitigation
Apache License 2.0
19 stars 7 forks source link

Some images are being scanned twice? #130

Closed jlin963 closed 6 years ago

jlin963 commented 6 years ago

Setup: -OpenShift Enterprise cluster -downstream code (using opssight-connector)

I'm seeing two scans in the scan history in the Hub for some of the images (both completed).

screen shot 2018-04-05 at 1 53 12 pm

Also seeing this error in in perceptor logs:

time="2018-04-05T13:21:53Z" level=error msg="unable to fetch updated scan results for sha 0ec9f42efa1102bd0a8e5a96847c1d9788afd774381c38a742c6b0d1628ff5b3: expected to find one scan summary for code location 0ec9f42efa1102bd0a8e5a96847c1d9788afd774381c38a742c6b0d1628ff5b3, found 2"

perceptor-1dhhw (1).log

mattfenwick commented 6 years ago

This is probably due to perceptor<->hub connectivity issues.

jlin963 commented 6 years ago

Created a jira ticket since it's downstream and we're supposed to create tickets instead of Github issues for downstream... If it's determined that this isn't a bug then close both this and the ticket I guess.

mattfenwick commented 6 years ago

Fixed by #136