Bug 1829910 - [ci] e2e tests panics
Summary: [ci] e2e tests panics
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.5.0
Assignee: Oleg Bulatov
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-30 14:46 UTC by Oleg Bulatov
Modified: 2020-07-13 17:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 17:33:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-image-registry-operator pull 543 0 None closed Bug 1829910: fail the test when required objects are not found 2020-06-24 01:31:57 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:33:59 UTC

Description Oleg Bulatov 2020-04-30 14:46:47 UTC
Description of problem:

TestPruneRegistryFlag sometimes panics

panic: runtime error: index out of range [0] with length 0

Version-Release number of selected component (if applicable):


How reproducible:

sometimes

Steps to Reproduce:
1.
2.
3.

Actual results:

panic: runtime error: index out of range [0] with length 0 [recovered]
	panic: runtime error: index out of range [0] with length 0

goroutine 1557 [running]:
testing.tRunner.func1(0xc000291500)
	/usr/local/go/src/testing/testing.go:874 +0x3a3
panic(0x19541e0, 0xc00073c920)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
github.com/openshift/cluster-image-registry-operator/test/e2e.TestPruneRegistryFlag(0xc000291500)
	/go/src/github.com/openshift/cluster-image-registry-operator/test/e2e/pruner_test.go:55 +0xafc
testing.tRunner(0xc000291500, 0x1b43d50)
	/usr/local/go/src/testing/testing.go:909 +0xc9
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:960 +0x350
FAIL	github.com/openshift/cluster-image-registry-operator/test/e2e	1384.405s

Expected results:

green tests

Additional info:

Comment 4 errata-xmlrpc 2020-07-13 17:33:40 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, 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:2409


Note You need to log in before you can comment on or make changes to this bug.