Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2093122

Summary: isEventDuringInstallation() assumes an Event will always have a valid Related field
Product: OpenShift Container Platform Reporter: Dan Williams <dcbw>
Component: Test FrameworkAssignee: Dan Williams <dcbw>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.11CC: dgoodwin, openshift-release-oversight
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-30 18:04:53 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:

Description Dan Williams 2022-06-03 02:06:02 UTC
But it won't.

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x47791db]

goroutine 1 [running]:
github.com/openshift/origin/pkg/synthetictests.isEventDuringInstallation({{0x1, {0xc0064240e0, 0x62}, {0xc006b74840, 0x34}}, {0x0, 0xeda2b470d, 0xbfae940}, {0x0, 0xeda2b470d, ...}}, ...)
	github.com/openshift/origin/pkg/synthetictests/duplicated_events.go:484 +0x2db
github.com/openshift/origin/pkg/synthetictests.testOvnNodeReadinessProbe({0xc00f6dc000, 0x6ee1, 0x745d?}, 0xc01adbe820?)
	github.com/openshift/origin/pkg/synthetictests/networking.go:253 +0x408
github.com/openshift/origin/pkg/synthetictests.SystemUpgradeEventInvariants({0xc00f6dc000, 0x6ee1, 0x745d}, 0x0?, 0xc014480000?, {0x7e617a9, 0x3})
	github.com/openshift/origin/pkg/synthetictests/event_junits.go:60 +0x60a
github.com/openshift/origin/pkg/test/ginkgo.JUnitForEventsFunc.JUnitsForEvents(0x6cf3020?, {0xc00f6dc000?, 0xc01451c000?, 0xc00274c3a8?}, 0xc01442e390?, 0x6ecd4c0?, {0x7e617a9?, 0x6ed4a40?})
	github.com/openshift/origin/pkg/test/ginkgo/synthentic_tests.go:30 +0x3c
github.com/openshift/origin/pkg/test/ginkgo.JUnitsForAllEvents.JUnitsForEvents({0xc0181db3e0?, 0x2, 0xc00f6dc000?}, {0xc00f6dc000, 0x6ee1, 0x745d}, 0x10?, 0x1?, {0x7e617a9, 0x3})
	github.com/openshift/origin/pkg/test/ginkgo/synthentic_tests.go:43 +0xf1
github.com/openshift/origin/pkg/test/ginkgo.(*Options).Run(0xc001c8e160, 0xbb9aaa0, {0x7ecbc72, 0x17})
	github.com/openshift/origin/pkg/test/ginkgo/cmd_runsuite.go:442 +0x2d25
main.newRunUpgradeCommand.func1.1()
	github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:385 +0x2fd
main.mirrorToFile(0xc001c8e160, 0xc0024bfbc8)
	github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:472 +0x653
main.newRunUpgradeCommand.func1(0xc000fc8000?, {0xc0021c0580?, 0xb?, 0xb?})
	github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:362 +0x5b
github.com/spf13/cobra.(*Command).execute(0xc000fc8000, {0xc0021c04d0, 0xb, 0xb})
	github.com/spf13/cobra.1/command.go:856 +0x67c
github.com/spf13/cobra.(*Command).ExecuteC(0xc000fa3900)
	github.com/spf13/cobra.1/command.go:974 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra.1/command.go:902
main.main.func1(0xc002092700?)
	github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:94 +0x8a
main.main()
	github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:95 +0x476

Comment 3 Devan Goodwin 2022-07-18 12:15:32 UTC
Dan can this be moved to verified?

Comment 4 Dan Williams 2022-07-18 14:35:04 UTC
Yes, I haven't seen it for quite a while.

Comment 5 Rory Thrasher 2024-04-30 18:04:53 UTC
OCP is no longer using Bugzilla and this bug appears to have been left in an orphaned state. If the bug is still relevant, please open a new issue in the OCPBUGS Jira project: https://issues.redhat.com/projects/OCPBUGS/summary