Skip to content

mondoo-operator-1.17.2 (#913) #2247

mondoo-operator-1.17.2 (#913)

mondoo-operator-1.17.2 (#913) #2247

GitHub Actions / Report OLM test results failed Nov 3, 2023 in 0s

Report OLM test results ❌

Tests failed

❌ integration-tests.xml

14 tests were completed in 2145s with 4 passed, 10 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/tests/integration 4✅ 10❌ 2100s

❌ go.mondoo.com/mondoo-operator/tests/integration

❌ TestMain
	{"level":"warn","system-path":"/opt/mondoo/providers","home-path":"/home/runner/.config/mondoo/providers","time":"2023-11-03T15:47:24Z","message":"can't find any paths for providers, none are configured"}
❌ TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
	=== RUN   TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
❌ TestAuditConfigCustomNamespaceSuite
	=== RUN   TestAuditConfigCustomNamespaceSuite
❌ TestAuditConfigSuite/TestReconcile_AllDisabled
	=== RUN   TestAuditConfigSuite/TestReconcile_AllDisabled
❌ TestAuditConfigSuite/TestReconcile_Containers
	=== RUN   TestAuditConfigSuite/TestReconcile_Containers
❌ TestAuditConfigSuite/TestReconcile_KubernetesResources
	=== RUN   TestAuditConfigSuite/TestReconcile_KubernetesResources
❌ TestAuditConfigSuite
	=== RUN   TestAuditConfigSuite
❌ TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
	=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
❌ TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
	=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
❌ TestAuditConfigSuite/TestReconcile_AdmissionPermissive
	=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionPermissive
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes

Annotations

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestMain

Failed test found in:
  integration-tests.xml
Error:
  {"level":"warn","system-path":"/opt/mondoo/providers","home-path":"/home/runner/.config/mondoo/providers","time":"2023-11-03T15:47:24Z","message":"can't find any paths for providers, none are configured"}
Raw output
{"level":"warn","system-path":"/opt/mondoo/providers","home-path":"/home/runner/.config/mondoo/providers","time":"2023-11-03T15:47:24Z","message":"can't find any paths for providers, none are configured"}
{"level":"debug","time":"2023-11-03T15:47:24Z","message":"Started a new runtime (1 total)"}
panic: test timed out after 35m0s
running tests:
	TestAuditConfigSuite (27m0s)
	TestAuditConfigSuite/TestReconcile_KubernetesResources (3m6s)

goroutine 1895 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:2259 +0x3b9
created by time.goFunc
	/opt/hostedtoolcache/go/1.21.3/x64/src/time/sleep.go:176 +0x2d

goroutine 1 [chan receive, 27 minutes]:
testing.(*T).Run(0xc000216b60, {0x26e9fd5?, 0x535cdc?}, 0x280c098)
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1649 +0x3c8
testing.runTests.func1(0x3ead780?)
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:2054 +0x3e
testing.tRunner(0xc000216b60, 0xc000697c48)
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1595 +0xff
testing.runTests(0xc0003fe820?, {0x3e7d6a0, 0x3, 0x3}, {0x8b1850?, 0xc000697d08?, 0x3eabd20?})
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:2052 +0x445
testing.(*M).Run(0xc0003fe820)
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1925 +0x636
main.main()
	_testmain.go:51 +0x19c

goroutine 5 [select]:
go.opencensus.io/stats/view.(*worker).start(0xc0000ff980)
	/home/runner/go/pkg/mod/[email protected]/stats/view/worker.go:292 +0x9f
created by go.opencensus.io/stats/view.init.0 in goroutine 1
	/home/runner/go/pkg/mod/[email protected]/stats/view/worker.go:34 +0x8d

goroutine 6 [IO wait, 35 minutes]:
internal/poll.runtime_pollWait(0x7fd388480e58, 0x72)
	/opt/hostedtoolcache/go/1.21.3/x64/src/runtime/netpoll.go:343 +0x85
internal/poll.(*pollDesc).wait(0xc0001b4a80?, 0xc00015e8f0?, 0x0)
	/opt/hostedtoolcache/go/1.21.3/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.21.3/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).ReadMsg(0xc0001b4a80, {0xc00015e8f0, 0x10, 0x10}, {0xc000369320, 0x1000, 0x1000}, 0xc0004f6470?)
	/opt/hostedtoolcache/go/1.21.3/x64/src/internal/poll/fd_unix.go:301 +0x38a
net.(*netFD).readMsg(0xc0001b4a80, {0xc00015e8f0?, 0xc0004fdce0?, 0x41b953?}, {0xc000369320?, 0x0?, 0x100000001?}, 0x5?)
	/opt/hostedtoolcache/go/1.21.3/x64/src/net/fd_posix.go:78 +0x31
net.(*UnixConn).readMsg(0xc00011e7f8, {0xc00015e8f0?, 0x42743c?, 0x3eea5a0?}, {0xc000369320?, 0x7fd3d2243a60?, 0xc0001b7230?})
	/opt/hostedtoolcache/go/1.21.3/x64/src/net/unixsock_posix.go:115 +0x45
net.(*UnixConn).ReadMsgUnix(0xc00011e7f8, {0xc00015e8f0?, 0x2a504c0?, 0x101c0001b7230?}, {0xc000369320?, 0x412785?, 0xc000012780?})
	/opt/hostedtoolcache/go/1.21.3/x64/src/net/unixsock.go:143 +0x36
github.com/godbus/dbus.(*oobReader).Read(0xc000369300, {0xc00015e8f0?, 0xc0004fde30?, 0x412b05?})
	/home/runner/go/pkg/mod/github.com/godbus/[email protected]/transport_unix.go:21 +0x3c
io.ReadAtLeast({0x2a5c3e0, 0xc000369300}, {0xc00015e8f0, 0x10, 0x10}, 0x10)
	/opt/hostedtoolcache/go/1.21.3/x64/src/io/io.go:335 +0x90
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.21.3/x64/src/io/io.go:354
github.com/godbus/dbus.(*unixTransport).ReadMessage(0xc00011d068)
	/home/runner/go/pkg/mod/github.com/godbus/[email protected]/transport_unix.go:91 +0xfe
github.com/godbus/dbus.(*Conn).inWorker(0xc000208480)
	/home/runner/go/pkg/mod/github.com/godbus/[email protected]/conn.go:294 +0x35
created by github.com/godbus/dbus.(*Conn).Auth in goroutine 1
	/home/runner/go/pkg/mod/github.com/godbus/[email protected]/auth.go:118 +0x9a5

goroutine 746 [chan receive, 3 minutes]:
testing.(*T).Run(0xc000b7fa00, {0x20ad240?, 0xc000b7fa00?}, 0xc0006939e0)
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1649 +0x3c8
github.com/stretchr/testify/suite.runTests({0x2a8dc50, 0xc000b7fa00}, {0xc000409d40?, 0x7, 0x8})
	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:242 +0x106
github.com/stretchr/testify/suite.Run(0xc000b7fa00, {0x2a6b790, 0xc000472a80})
	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:215 +0x705
go.mondoo.com/mondoo-operator/tests/integration.TestAuditConfigSuite(0x737365636375733a?)
	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:77 +0x7e
testing.tRunner(0xc000b7fa00, 0x280c098)
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1595 +0xff
created by testing.(*T).Run in goroutine 1
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1648 +0x3ad

goroutine 54 [sync.Cond.Wait, 5 minutes]:
sync.runtime_notifyListWait(0xc0000ac9d0, 0x6)
	/opt/hostedtoolcache/go/1.21.3/x64/src/runtime/sema.go:527 +0x159
sync.(*Cond).Wait(0x2a4d8f0?)
	/opt/hostedtoolcache/go/1.21.3/x64/src/sync/cond.go:70 +0x85
k8s.io/client-go/util/workqueue.(*Type).Get(0xc0008c27e0)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/util/workqueue/queue.go:200 +0x99
k8s.io/client-go/transport.(*dynamicClientCert).processNextWorkItem(0xc0000acb00)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/transport/cert_rotation.go:156 +0x47
k8s.io/client-go/transport.(*dynamicClientCert).runWorker(...)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/transport/cert_rotation.go:151
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x30?)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/backoff.go:226 +0x33
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0x0?, {0x2a556e0, 0xc00084f260}, 0x1, 0xc000100f60)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/backoff.go:227 +0xaf
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc000098fb0?, 0x3b9aca00, 0x0, 0x0?, 0x0?)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/backoff.go:204 +0x7f
k8s.io/apimachinery/pkg/util/wait.Until(0x76d305?, 0x0?, 0x0?)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/backoff.go:161 +0x1e
created by k8s.io/client-go/transport.(*dynamicClientCert).Run in goroutine 11
	/home/runner/go/pkg/mod/k8s.io/[email protected]/transport/cert_rotation.go:140 +0x1ef

goroutine 55 [select, 5 minutes]:
k8s.io/apimachinery/pkg/util/wait.waitForWithContext({0x2a7c260, 0xc000100f60}, 0xc000095f50, 0xc000217ba0?)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:205 +0xd7
k8s.io/apimachinery/pkg/util/wait.poll({0x2a7c260, 0xc000100f60}, 0x17?, 0x2176500?, 0xc00005c2d4?)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/poll.go:260 +0x89
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext({0x2a7c260?, 0xc000100f60?}, 0xc0007b41e8?, 0x5364c0?)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/poll.go:200 +0x53
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntil(0xc0003c4678?, 0x17?, 0x1c?)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/poll.go:187 +0x3c
created by k8s.io/client-go/transport.(*dynamicClientCert).Run in goroutine 11
	/home/runner/go/pkg/mod/k8s.io/[email protected]/transport/cert_rotation.go:142 +0x29a

goroutine 56 [select, 5 minutes]:
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext.poller.func1.1()
	/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/poll.go:297 +0x1c5
created by k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext.poller.func1 in goroutine 55
	/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/poll.go:280 +0xc5

goroutine 9 [chan receive]:
k8s.io/client-go/util/workqueue.(*Type).updateUnfinishedWorkLoop(0xc0008c27e0)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/util/workqueue/queue.go:314 +0x9c
created by k8s.io/client-go/util/workqueue.newQueue in goroutine 45
	/home/runner/go/pkg/mod/k8s.io/[email protected]/util/workqueue/queue.go:106 +0x1ba

goroutine 10 [select]:
k8s.io/client-go/util/workqueue.(*delayingType).waitingLoop(0xc0008c2960)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/util/workqueue/delaying_queue.go:276 +0x305
created by k8s.io/client-go/util/workqueue.newDelayingQueue in goroutine 45
	/home/runner/go/pkg/mod/k8s.io/[email protected]/util/workqueue/delaying_queue.go:113 +0x21f

goroutine 11 [chan receive, 34 minutes]:
k8s.io/client-go/transport.(*dynamicClientCert).Run(0xc0000acb00, 0xc000100f60)
	/home/runner/go/pkg/mod/k8s.io/[email protected]/transport/cert_rotation.go:147 +0x2a9
created by k8s.io/client-go/transport.(*tlsTransportCache).get in goroutine 45
	/home/runner/go/pkg/mod/k8s.io/[email protected]/transport/cache.go:122 +0x594

goroutine 58 [IO wait]:
internal/poll.runtime_pollWait(0x7fd388480d60, 0x72)
	/opt/hostedtoolcache/go/1.21.3/x64/src/runtime/netpoll.go:343 +0x85
internal/poll.(*pollDesc).wait(0xc0001b5400?, 0xc00089a000?, 0x0)
	/opt/hostedtoolcache/go/1.21.3/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.21.3/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0001b5400, {0xc00089a000, 0xa000, 0xa000})
	/opt/hostedtoolcache/go/1.21.3/x64/src/internal/poll/fd_unix.go:164 +0x27a
net.(*netFD).Read(0xc0001b5400, {0xc00089a000?, 0x9fa1?, 0xc0000a32c0?})
	/opt/hostedtoolcache/go/1.21.3/x64/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc00011f340, {0xc00089a000?, 0xc00089a05a?, 0x5?})
	/opt/hostedtoolcache/go/1.21.3/x64/src/net/net.go:179 +0x45
crypto/tls.(*atLeastReader).Read(0xc0007fa258, {0xc00089a000?, 0xc0007fa258?, 0x0?})
	/opt/hostedtoolcache/go/1.21.3/x64/src/crypto/tls/conn.go:805 +0x3b
bytes.(*Buffer).ReadFrom(0xc0007acd28, {0x2a50360, 0xc0007fa258})
	/opt/hostedtoolcache/go/1.21.3/x64/src/bytes/buffer.go:211 +0x98
crypto/tls.(*Conn).readFromUntil(0xc0007aca80, {0x7fd3881b1340?, 0xc0008b1308}, 0x0?)
	/opt/hostedtoolcache/go/1.21.3/x64/src/crypto/tls/conn.go:827 +0xde
crypto/tls.(*Conn).readRecordOrCCS(0xc0007aca80, 0x0)
	/opt/hostedtoolcache/go/1.21.3/x64/src/crypto/tls/conn.go:625 +0x250
crypto/tls.(*Conn).readRecord(...)
	/opt/hostedtoolcache/go/1.21.3/x64/src/crypto/tls/conn.go:587
crypto/tls.(*Conn).Read(0xc0007aca80, {0xc0009dd000, 0x1000, 0xa02f25?})
	/opt/hostedtoolcache/go/1.21.3/x64/src/crypto/tls/conn.go:1369 +0x158
bufio.(*Reader).Read(0xc0009d2fc0, {0xc0007e59a0, 0x9, 0x3e68b00?})
	/opt/hostedtoolcache/go/1.21.3/x64/src/bufio/bufio.go:244 +0x197
io.ReadAtLeast({0x2a501a0, 0xc0009d2fc0}, {0xc0007e59a0, 0x9, 0x9}, 0x9)
	/opt/hostedtoolcache/go/1.21.3/x64/src/io/io.go:335 +0x90
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.21.3/x64/src/io/io.go:354
golang.org/x/net/http2.readFrameHeader({0xc0007e59a0, 0x9, 0x88c00?}, {0x2a501a0?, 0xc0009d2fc0?})
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x65
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0007e5960)
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:498 +0x85
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc000a19f98)
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:2275 +0x11f
golang.org/x/net/http2.(*ClientConn).readLoop(0xc0001ecf00)
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:2170 +0x65
created by golang.org/x/net/http2.(*Transport).newClientConn in goroutine 57
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:821 +0xcbe

goroutine 1796 [sleep]:
time.Sleep(0x77359400)
	/opt/hostedtoolcache/go/1.21.3/x64/src/runtime/time.go:195 +0x125
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).ExecuteWithRetries(0xc000920d00?, 0xc0005ca730)
	/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:358 +0x25
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).WaitUntilMondooClientSecretExists(0xc000472a80?, {0x2a7ba78?, 0x3ee7d20?}, {0x26dee22?, 0x25?})
	/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:199 +0x5e
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigBaseSuite).testMondooAuditConfigKubernetesResources(_, {{{0x0, 0x0}, {0x0, 0x0}}, {{0x26dbb37, 0xd}, {0x0, 0x0}, {0x26dee22, ...}, ...}, ...})
	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:163 +0x22e
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigSuite).TestReconcile_KubernetesResources(0xc000472a80)
	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:27 +0xa5
reflect.Value.call({0xc000848080?, 0xc0007c23a0?, 0x0?}, {0x26cbe42, 0x4}, {0xc000db6e70, 0x1, 0xc000db6d78?})
	/opt/hostedtoolcache/go/1.21.3/x64/src/reflect/value.go:596 +0xce7
reflect.Value.Call({0xc000848080?, 0xc0007c23a0?, 0xc000472a80?}, {0xc000db6e70?, 0x53632d?, 0x36ca678?})
	/opt/hostedtoolcache/go/1.21.3/x64/src/reflect/value.go:380 +0xb9
github.com/stretchr/testify/suite.Run.func1(0xc000920d00)
	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x467
testing.tRunner(0xc000920d00, 0xc0006939e0)
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1595 +0xff
created by testing.(*T).Run in goroutine 746
	/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1648 +0x3ad
FAIL	go.mondoo.com/mondoo-operator/tests/integration	2100.062s

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
Raw output
=== RUN   TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
2023-11-03T15:52:03.169Z	INFO	integration/audit_config_base_suite.go:158	Create an audit config that enables only workloads scanning.
2023-11-03T15:52:03.179Z	INFO	integration/audit_config_base_suite.go:659	Waiting for scan API Pod to become ready.
2023-11-03T15:52:11.194Z	INFO	integration/audit_config_base_suite.go:663	Scan API Pod is ready.
2023-11-03T15:52:11.196Z	INFO	integration/audit_config_base_suite.go:680	Waiting for good condition of Scan API
2023-11-03T15:52:11.201Z	INFO	integration/audit_config_base_suite.go:169	Make sure the Mondoo k8s resources scan CronJob is created.
    audit_config_base_suite.go:203: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:203
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Not equal: 
        	            	expected: 24
        	            	actual  : 25
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Cluster asset was sent upstream.
    audit_config_base_suite.go:206: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:206
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	elements differ
        	            	
        	            	extra elements in list A:
        	            	([]interface {}) (len=8) {
        	            	 (string) (len=25) "kube-system/etcd-minikube",
        	            	 (string) (len=35) "kube-system/kube-apiserver-minikube",
        	            	 (string) (len=44) "kube-system/kube-controller-manager-minikube",
        	            	 (string) (len=28) "kube-system/kube-proxy-h9ssr",
        	            	 (string) (len=35) "kube-system/kube-scheduler-minikube",
        	            	 (string) (len=31) "kube-system/storage-provisioner",
        	            	 (string) (len=63) "mondoo-operator/ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2",
        	            	 (string) (len=22) "kube-system/kube-proxy"
        	            	}
        	            	
        	            	
        	            	listA:
        	            	([]string) (len=33) {
        	            	 (string) (len=36) "kube-system/coredns-5d78c9869d-wkfgp",
        	            	 (string) (len=25) "kube-system/etcd-minikube",
        	            	 (string) (len=35) "kube-system/kube-apiserver-minikube",
        	            	 (string) (len=44) "kube-system/kube-controller-manager-minikube",
        	            	 (string) (len=28) "kube-system/kube-proxy-h9ssr",
        	            	 (string) (len=35) "kube-system/kube-scheduler-minikube",
        	            	 (string) (len=31) "kube-system/storage-provisioner",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4",
        	            	 (string) (len=63) "mondoo-operator/ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2",
        	            	 (string) (len=66) "mondoo-operator/mondoo-operator-controller-manager-7786bdb7f-wvwj8",
        	            	 (string) (len=36) "olm/catalog-operator-d9669bc5b-2s72h",
        	            	 (string) (len=33) "olm/olm-operator-664f96cb79-mnmjs",
        	            	 (string) (len=31) "olm/operatorhubio-catalog-lng29",
        	            	 (string) (len=32) "olm/packageserver-9f658fdd-6kvbj",
        	            	 (string) (len=32) "olm/packageserver-9f658fdd-glkst",
        	            	 (string) (len=52) "some-namespace/mondoo-client-k8s-scan-28317113-qw79h",
        	            	 (string) (len=54) "some-namespace/mondoo-client-scan-api-67cb6b8776-jfmlc",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bc5e78d",
        	            	 (string) (len=46) "some-namespace/mondoo-client-k8s-scan-28317113",
        	            	 (string) (len=37) "some-namespace/mondoo-client-k8s-scan",
        	            	 (string) (len=19) "kube-system/coredns",
        	            	 (string) (len=50) "mondoo-operator/mondoo-operator-controller-manager",
        	            	 (string) (len=20) "olm/catalog-operator",
        	            	 (string) (len=16) "olm/olm-operator",
        	            	 (string) (len=17) "olm/packageserver",
        	            	 (string) (len=37) "some-namespace/mondoo-client-scan-api",
        	            	 (string) (len=22) "kube-system/kube-proxy",
        	            	 (string) (len=30) "kube-system/coredns-5d78c9869d",
        	            	 (string) (len=60) "mondoo-operator/mondoo-operator-controller-manager-7786bdb7f",
        	            	 (string) (len=30) "olm/catalog-operator-d9669bc5b",
        	            	 (string) (len=27) "olm/olm-operator-664f96cb79",
        	            	 (string) (len=26) "olm/packageserver-9f658fdd",
        	            	 (string) (len=48) "some-namespace/mondoo-client-scan-api-67cb6b8776"
        	            	}
        	            	
        	            	
        	            	listB:
        	            	([]string) (len=25) {
        	            	 (string) (len=37) "some-namespace/mondoo-client-scan-api",
        	            	 (string) (len=54) "some-namespace/mondoo-client-scan-api-67cb6b8776-jfmlc",
        	            	 (string) (len=48) "some-namespace/mondoo-client-scan-api-67cb6b8776",
        	            	 (string) (len=32) "olm/packageserver-9f658fdd-glkst",
        	            	 (string) (len=32) "olm/packageserver-9f658fdd-6kvbj",
        	            	 (string) (len=37) "some-namespace/mondoo-client-k8s-scan",
        	            	 (string) (len=52) "some-namespace/mondoo-client-k8s-scan-28317113-qw79h",
        	            	 (string) (len=46) "some-namespace/mondoo-client-k8s-scan-28317113",
        	            	 (string) (len=33) "olm/olm-operator-664f96cb79-mnmjs",
        	            	 (string) (len=31) "olm/operatorhubio-catalog-lng29",
        	            	 (string) (len=36) "olm/catalog-operator-d9669bc5b-2s72h",
        	            	 (string) (len=60) "mondoo-operator/mondoo-operator-controller-manager-7786bdb7f",
        	            	 (string) (len=66) "mondoo-operator/mondoo-operator-controller-manager-7786bdb7f-wvwj8",
        	            	 (string) (len=26) "olm/packageserver-9f658fdd",
        	            	 (string) (len=27) "olm/olm-operator-664f96cb79",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bc5e78d",
        	            	 (string) (len=30) "olm/catalog-operator-d9669bc5b",
        	            	 (string) (len=19) "kube-system/coredns",
        	            	 (string) (len=50) "mondoo-operator/mondoo-operator-controller-manager",
        	            	 (string) (len=17) "olm/packageserver",
        	            	 (string) (len=30) "kube-system/coredns-5d78c9869d",
        	            	 (string) (len=36) "kube-system/coredns-5d78c9869d-wkfgp",
        	            	 (string) (len=20) "olm/catalog-operator",
        	            	 (string) (len=16) "olm/olm-operator"
        	            	}
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Workloads were not sent upstream.
2023-11-03T15:54:10.078Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T15:54:10.078Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace some-namespace
2023-11-03T15:54:10.081Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_some-namespace_mondoo-client-k8s-scan-28317113-qw79h_1699026850.log
2023-11-03T15:54:10.096Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_some-namespace_mondoo-client-scan-api-67cb6b8776-jfmlc_1699026850.log
2023-11-03T15:54:10.104Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace some-namespace
2023-11-03T15:54:10.107Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/some-namespace_describe_TestReconcile_KubernetesResources_1699026850.log
2023-11-03T15:54:10.107Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-k8s-scan-28317113-qw79h
2023-11-03T15:54:10.183Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-scan-api-67cb6b8776-jfmlc
2023-11-03T15:54:10.254Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-scan-api
2023-11-03T15:54:10.324Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2023-11-03T15:54:10.388Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "some-namespace"
2023-11-03T15:54:10.388Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/some-namespace_events_TestReconcile_KubernetesResources_1699026850.log
2023-11-03T15:54:10.388Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n some-namespace
2023-11-03T15:54:10.458Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T15:54:10.458Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T15:54:10.461Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699026850.log
2023-11-03T15:54:10.477Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699026850.log
2023-11-03T15:54:10.482Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699026850.log
2023-11-03T15:54:10.485Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T15:54:10.553Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699026850.log
2023-11-03T15:54:10.562Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699026850.log
2023-11-03T15:54:10.566Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T15:54:10.643Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T15:54:10.647Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_KubernetesResources_1699026850.log
2023-11-03T15:54:10.647Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T15:54:10.716Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T15:54:10.782Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T15:54:10.857Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T15:54:10.923Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T15:54:10.923Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_KubernetesResources_1699026850.log
2023-11-03T15:54:10.923Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T15:54:11.019Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client still exists.
2023-11-03T15:54:13.022Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2023-11-03T15:54:13.026Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T15:54:13.034Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T15:54:13.296Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait
    --- FAIL: TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources (130.20s)

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigCustomNamespaceSuite

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigCustomNamespaceSuite
Raw output
=== RUN   TestAuditConfigCustomNamespaceSuite
2023-11-03T15:47:26.521Z	INFO	installer/installer.go:165	Created Мondoo client secret "mondoo-token".
2023-11-03T15:47:26.522Z	INFO	installer/installer.go:66	The Mondoo operator is installed externally. Skipping installation...
2023-11-03T15:47:26.528Z	INFO	integration/audit_config_namespace_test.go:34	Created test namespace.
2023-11-03T15:47:26.538Z	INFO	installer/installer.go:165	Created Мondoo client secret "mondoo-token".
2023-11-03T15:47:26.538Z	INFO	integration/audit_config_namespace_test.go:37	Created client secret in namespace "some-namespace".
2023-11-03T15:47:26.544Z	INFO	integration/audit_config_namespace_test.go:44	Created webhook ServiceAccount "webhook-sa" in namespace "some-namespace".
2023-11-03T15:47:26.547Z	INFO	integration/audit_config_namespace_test.go:51	Created service account "mondoo-sa" in namespace "some-namespace".
2023-11-03T15:47:26.553Z	INFO	integration/audit_config_namespace_test.go:64	Created cluster role binding "mondoo-operator-k8s-resources-scanning2".
--- FAIL: TestAuditConfigCustomNamespaceSuite (480.47s)

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigSuite/TestReconcile_AllDisabled

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigSuite/TestReconcile_AllDisabled
Raw output
=== RUN   TestAuditConfigSuite/TestReconcile_AllDisabled
2023-11-03T16:05:37.257Z	INFO	integration/audit_config_base_suite.go:594	Create an audit config that enables nothing.
    audit_config_base_suite.go:600: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:600
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:22
        	Error:      	Received unexpected error:
        	            	test did not succeed after 100 retries
        	Test:       	TestAuditConfigSuite/TestReconcile_AllDisabled
        	Messages:   	Couldn't find expected version in MondooAuditConfig.Status.ReconciledByOperatorVersion
    audit_config_base_suite.go:604: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:604
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:22
        	Error:      	Not equal: 
        	            	expected: "ACTIVE"
        	            	actual  : "NOT_READY"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-ACTIVE
        	            	+NOT_READY
        	Test:       	TestAuditConfigSuite/TestReconcile_AllDisabled
2023-11-03T16:08:57.727Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T16:08:57.727Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T16:08:57.732Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AllDisabled_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699027737.log
2023-11-03T16:08:57.774Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AllDisabled_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699027737.log
2023-11-03T16:08:57.789Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AllDisabled_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699027737.log
2023-11-03T16:08:57.812Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T16:08:57.904Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AllDisabled_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699027737.log
2023-11-03T16:08:57.927Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AllDisabled_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699027737.log
2023-11-03T16:08:57.930Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T16:08:58.037Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T16:08:58.040Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_AllDisabled_1699027738.log
2023-11-03T16:08:58.041Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T16:08:58.135Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T16:08:58.219Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T16:08:58.293Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T16:08:58.361Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-03T16:08:58.424Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T16:08:58.424Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_AllDisabled_1699027738.log
2023-11-03T16:08:58.424Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T16:08:58.508Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-03T16:09:00.511Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-03T16:09:00.516Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T16:09:00.524Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T16:09:00.638Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigSuite/TestReconcile_Containers

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigSuite/TestReconcile_Containers
Raw output
=== RUN   TestAuditConfigSuite/TestReconcile_Containers
2023-11-03T16:09:00.705Z	DEBUG	utils/executor.go:271	Running command: kubectl run -n default nginx --image nginx -l app.kubernetes.io/name=nginx
2023-11-03T16:09:00.792Z	DEBUG	utils/executor.go:271	Running command: kubectl run -n default redis --image redis -l app.kubernetes.io/name=redis
2023-11-03T16:09:02.897Z	INFO	integration/audit_config_base_suite.go:231	Create an audit config that enables only workloads scanning.
2023-11-03T16:09:02.913Z	INFO	integration/audit_config_base_suite.go:241	Make sure the Mondoo k8s container image scan CronJob is created.
    audit_config_base_suite.go:251: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:251
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:36
        	Error:      	Received unexpected error:
        	            	test did not succeed after 100 retries
        	Test:       	TestAuditConfigSuite/TestReconcile_Containers
        	Messages:   	Kubernetes container image scanning CronJob was not created.
    audit_config_base_suite.go:259: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:259
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:36
        	Error:      	Received unexpected error:
        	            	test did not succeed after 100 retries
        	Test:       	TestAuditConfigSuite/TestReconcile_Containers
        	Messages:   	Couldn't find container image scan pod in Podlist of the MondooAuditConfig Status
    audit_config_base_suite.go:262: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:262
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:36
        	Error:      	Received unexpected error:
        	            	test did not succeed after 100 retries
        	Test:       	TestAuditConfigSuite/TestReconcile_Containers
        	Messages:   	Couldn't find expected version in MondooAuditConfig.Status.ReconciledByOperatorVersion
    audit_config_base_suite.go:274: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:274
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:36
        	Error:      	[]string{} does not contain "index.docker.io/library/nginx@86e53c4c16a6"
        	Test:       	TestAuditConfigSuite/TestReconcile_Containers
        	Messages:   	Container images were not sent upstream.
    audit_config_base_suite.go:280: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:280
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:36
        	Error:      	Not equal: 
        	            	expected: "ACTIVE"
        	            	actual  : "NOT_READY"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-ACTIVE
        	            	+NOT_READY
        	Test:       	TestAuditConfigSuite/TestReconcile_Containers
2023-11-03T16:19:14.917Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T16:19:14.917Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T16:19:14.921Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_Containers_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699028354.log
2023-11-03T16:19:14.960Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_Containers_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699028354.log
2023-11-03T16:19:14.965Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_Containers_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699028354.log
2023-11-03T16:19:14.968Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T16:19:15.041Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_Containers_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699028355.log
2023-11-03T16:19:15.065Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_Containers_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699028355.log
2023-11-03T16:19:15.069Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T16:19:15.157Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T16:19:15.160Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_Containers_1699028355.log
2023-11-03T16:19:15.161Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T16:19:15.225Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T16:19:15.288Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T16:19:15.358Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T16:19:15.428Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-03T16:19:15.497Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T16:19:15.497Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_Containers_1699028355.log
2023-11-03T16:19:15.497Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T16:19:15.585Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-03T16:19:17.588Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-03T16:19:17.593Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T16:19:17.611Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T16:19:17.729Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigSuite/TestReconcile_KubernetesResources

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigSuite/TestReconcile_KubernetesResources
Raw output
=== RUN   TestAuditConfigSuite/TestReconcile_KubernetesResources
2023-11-03T16:19:19.179Z	INFO	integration/audit_config_base_suite.go:158	Create an audit config that enables only workloads scanning.

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigSuite

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigSuite
Raw output
=== RUN   TestAuditConfigSuite
2023-11-03T15:55:26.524Z	INFO	installer/installer.go:167	Мondoo client secret mondoo-operator/mondoo-token already exists.
2023-11-03T15:55:26.524Z	INFO	installer/installer.go:66	The Mondoo operator is installed externally. Skipping installation...
=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
2023-11-03T15:55:26.932Z	INFO	integration/audit_config_base_suite.go:405	Create an audit config that enables only admission control.
    audit_config_base_suite.go:410: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:410
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:393
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:52
        	Error:      	Should be true
        	Test:       	TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
        	Messages:   	Mondoo SA not created
2023-11-03T15:58:47.280Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T15:58:47.280Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T15:58:47.283Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699027127.log
2023-11-03T15:58:47.306Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699027127.log
2023-11-03T15:58:47.310Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699027127.log
2023-11-03T15:58:47.313Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T15:58:47.388Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699027127.log
2023-11-03T15:58:47.401Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699027127.log
2023-11-03T15:58:47.404Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T15:58:47.479Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T15:58:47.483Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_AdmissionEnforcing_1699027127.log
2023-11-03T15:58:47.483Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T15:58:47.568Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T15:58:47.662Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T15:58:47.786Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T15:58:47.910Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-03T15:58:47.985Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T15:58:47.985Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_AdmissionEnforcing_1699027127.log
2023-11-03T15:58:47.985Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T15:58:48.067Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-03T15:58:50.069Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-03T15:58:50.075Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T15:58:50.084Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T15:58:50.254Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait
=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
2023-11-03T15:58:50.476Z	INFO	integration/audit_config_base_suite.go:405	Create an audit config that enables only admission control.
    audit_config_base_suite.go:410: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:410
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:465
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:60
        	Error:      	Should be true
        	Test:       	TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
        	Messages:   	Mondoo SA not created
2023-11-03T16:02:10.781Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T16:02:10.781Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T16:02:10.784Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcingScaleDownScanApi_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699027330.log
2023-11-03T16:02:10.810Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcingScaleDownScanApi_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699027330.log
2023-11-03T16:02:10.815Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcingScaleDownScanApi_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699027330.log
2023-11-03T16:02:10.818Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T16:02:10.899Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcingScaleDownScanApi_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699027330.log
2023-11-03T16:02:10.924Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcingScaleDownScanApi_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699027330.log
2023-11-03T16:02:10.928Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T16:02:11.019Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T16:02:11.023Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_AdmissionEnforcingScaleDownScanApi_1699027331.log
2023-11-03T16:02:11.023Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T16:02:11.090Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T16:02:11.153Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T16:02:11.223Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T16:02:11.296Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-03T16:02:11.366Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T16:02:11.366Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_AdmissionEnforcingScaleDownScanApi_1699027331.log
2023-11-03T16:02:11.366Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T16:02:11.450Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-03T16:02:13.454Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-03T16:02:13.459Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T16:02:13.467Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T16:02:13.609Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait
=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionPermissive
2023-11-03T16:02:14.023Z	INFO	integration/audit_config_base_suite.go:405	Create an audit config that enables only admission control.
    audit_config_base_suite.go:410: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:410
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:393
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:46
        	Error:      	Should be true
        	Test:       	TestAuditConfigSuite/TestReconcile_AdmissionPermissive
        	Messages:   	Mondoo SA not created
2023-11-03T16:05:34.326Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T16:05:34.326Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T16:05:34.330Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionPermissive_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699027534.log
2023-11-03T16:05:34.353Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionPermissive_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699027534.log
2023-11-03T16:05:34.358Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionPermissive_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699027534.log
2023-11-03T16:05:34.361Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T16:05:34.428Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionPermissive_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699027534.log
2023-11-03T16:05:34.440Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionPermissive_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699027534.log
2023-11-03T16:05:34.444Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T16:05:34.531Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T16:05:34.534Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_AdmissionPermissive_1699027534.log
2023-11-03T16:05:34.534Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T16:05:34.604Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T16:05:34.673Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T16:05:34.745Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T16:05:34.831Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-03T16:05:34.930Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T16:05:34.930Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_AdmissionPermissive_1699027534.log
2023-11-03T16:05:34.930Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T16:05:35.025Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-03T16:05:37.028Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-03T16:05:37.042Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T16:05:37.057Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T16:05:37.191Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait
=== RUN   TestAuditConfigSuite/TestReconcile_AllDisabled
2023-11-03T16:05:37.257Z	INFO	integration/audit_config_base_suite.go:594	Create an audit config that enables nothing.
    audit_config_base_suite.go:600: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:600
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:22
        	Error:      	Received unexpected error:
        	            	test did not succeed after 100 retries
        	Test:       	TestAuditConfigSuite/TestReconcile_AllDisabled
        	Messages:   	Couldn't find expected version in MondooAuditConfig.Status.ReconciledByOperatorVersion
    audit_config_base_suite.go:604: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:604
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:22
        	Error:      	Not equal: 
        	            	expected: "ACTIVE"
        	            	actual  : "NOT_READY"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-ACTIVE
        	            	+NOT_READY
        	Test:       	TestAuditConfigSuite/TestReconcile_AllDisabled
2023-11-03T16:08:57.727Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T16:08:57.727Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T16:08:57.732Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AllDisabled_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699027737.log
2023-11-03T16:08:57.774Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AllDisabled_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699027737.log
2023-11-03T16:08:57.789Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AllDisabled_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699027737.log
2023-11-03T16:08:57.812Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T16:08:57.904Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AllDisabled_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699027737.log
2023-11-03T16:08:57.927Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AllDisabled_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699027737.log
2023-11-03T16:08:57.930Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T16:08:58.037Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T16:08:58.040Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_AllDisabled_1699027738.log
2023-11-03T16:08:58.041Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T16:08:58.135Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T16:08:58.219Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T16:08:58.293Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T16:08:58.361Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-03T16:08:58.424Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T16:08:58.424Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_AllDisabled_1699027738.log
2023-11-03T16:08:58.424Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T16:08:58.508Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-03T16:09:00.511Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-03T16:09:00.516Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T16:09:00.524Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T16:09:00.638Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait
=== RUN   TestAuditConfigSuite/TestReconcile_Containers
2023-11-03T16:09:00.705Z	DEBUG	utils/executor.go:271	Running command: kubectl run -n default nginx --image nginx -l app.kubernetes.io/name=nginx
2023-11-03T16:09:00.792Z	DEBUG	utils/executor.go:271	Running command: kubectl run -n default redis --image redis -l app.kubernetes.io/name=redis
2023-11-03T16:09:02.897Z	INFO	integration/audit_config_base_suite.go:231	Create an audit config that enables only workloads scanning.
2023-11-03T16:09:02.913Z	INFO	integration/audit_config_base_suite.go:241	Make sure the Mondoo k8s container image scan CronJob is created.
    audit_config_base_suite.go:251: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:251
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:36
        	Error:      	Received unexpected error:
        	            	test did not succeed after 100 retries
        	Test:       	TestAuditConfigSuite/TestReconcile_Containers
        	Messages:   	Kubernetes container image scanning CronJob was not created.
    audit_config_base_suite.go:259: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:259
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:36
        	Error:      	Received unexpected error:
        	            	test did not succeed after 100 retries
        	Test:       	TestAuditConfigSuite/TestReconcile_Containers
        	Messages:   	Couldn't find container image scan pod in Podlist of the MondooAuditConfig Status
    audit_config_base_suite.go:262: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:262
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:36
        	Error:      	Received unexpected error:
        	            	test did not succeed after 100 retries
        	Test:       	TestAuditConfigSuite/TestReconcile_Containers
        	Messages:   	Couldn't find expected version in MondooAuditConfig.Status.ReconciledByOperatorVersion
    audit_config_base_suite.go:274: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:274
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:36
        	Error:      	[]string{} does not contain "index.docker.io/library/nginx@86e53c4c16a6"
        	Test:       	TestAuditConfigSuite/TestReconcile_Containers
        	Messages:   	Container images were not sent upstream.
    audit_config_base_suite.go:280: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:280
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:36
        	Error:      	Not equal: 
        	            	expected: "ACTIVE"
        	            	actual  : "NOT_READY"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-ACTIVE
        	            	+NOT_READY
        	Test:       	TestAuditConfigSuite/TestReconcile_Containers
2023-11-03T16:19:14.917Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T16:19:14.917Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T16:19:14.921Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_Containers_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699028354.log
2023-11-03T16:19:14.960Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_Containers_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699028354.log
2023-11-03T16:19:14.965Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_Containers_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699028354.log
2023-11-03T16:19:14.968Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T16:19:15.041Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_Containers_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699028355.log
2023-11-03T16:19:15.065Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_Containers_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699028355.log
2023-11-03T16:19:15.069Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T16:19:15.157Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T16:19:15.160Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_Containers_1699028355.log
2023-11-03T16:19:15.161Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T16:19:15.225Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T16:19:15.288Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T16:19:15.358Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T16:19:15.428Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-03T16:19:15.497Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T16:19:15.497Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_Containers_1699028355.log
2023-11-03T16:19:15.497Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T16:19:15.585Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-03T16:19:17.588Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-03T16:19:17.593Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T16:19:17.611Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T16:19:17.729Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait
=== RUN   TestAuditConfigSuite/TestReconcile_KubernetesResources
2023-11-03T16:19:19.179Z	INFO	integration/audit_config_base_suite.go:158	Create an audit config that enables only workloads scanning.

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigSuite/TestReconcile_AdmissionEnforcing

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
Raw output
=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
2023-11-03T15:55:26.932Z	INFO	integration/audit_config_base_suite.go:405	Create an audit config that enables only admission control.
    audit_config_base_suite.go:410: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:410
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:393
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:52
        	Error:      	Should be true
        	Test:       	TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
        	Messages:   	Mondoo SA not created
2023-11-03T15:58:47.280Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T15:58:47.280Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T15:58:47.283Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699027127.log
2023-11-03T15:58:47.306Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699027127.log
2023-11-03T15:58:47.310Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699027127.log
2023-11-03T15:58:47.313Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T15:58:47.388Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699027127.log
2023-11-03T15:58:47.401Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699027127.log
2023-11-03T15:58:47.404Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T15:58:47.479Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T15:58:47.483Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_AdmissionEnforcing_1699027127.log
2023-11-03T15:58:47.483Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T15:58:47.568Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T15:58:47.662Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T15:58:47.786Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T15:58:47.910Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-03T15:58:47.985Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T15:58:47.985Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_AdmissionEnforcing_1699027127.log
2023-11-03T15:58:47.985Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T15:58:48.067Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-03T15:58:50.069Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-03T15:58:50.075Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T15:58:50.084Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T15:58:50.254Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
Raw output
=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
2023-11-03T15:58:50.476Z	INFO	integration/audit_config_base_suite.go:405	Create an audit config that enables only admission control.
    audit_config_base_suite.go:410: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:410
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:465
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:60
        	Error:      	Should be true
        	Test:       	TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
        	Messages:   	Mondoo SA not created
2023-11-03T16:02:10.781Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T16:02:10.781Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T16:02:10.784Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcingScaleDownScanApi_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699027330.log
2023-11-03T16:02:10.810Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcingScaleDownScanApi_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699027330.log
2023-11-03T16:02:10.815Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcingScaleDownScanApi_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699027330.log
2023-11-03T16:02:10.818Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T16:02:10.899Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcingScaleDownScanApi_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699027330.log
2023-11-03T16:02:10.924Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcingScaleDownScanApi_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699027330.log
2023-11-03T16:02:10.928Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T16:02:11.019Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T16:02:11.023Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_AdmissionEnforcingScaleDownScanApi_1699027331.log
2023-11-03T16:02:11.023Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T16:02:11.090Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T16:02:11.153Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T16:02:11.223Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T16:02:11.296Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-03T16:02:11.366Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T16:02:11.366Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_AdmissionEnforcingScaleDownScanApi_1699027331.log
2023-11-03T16:02:11.366Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T16:02:11.450Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-03T16:02:13.454Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-03T16:02:13.459Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T16:02:13.467Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T16:02:13.609Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigSuite/TestReconcile_AdmissionPermissive

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigSuite/TestReconcile_AdmissionPermissive
Raw output
=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionPermissive
2023-11-03T16:02:14.023Z	INFO	integration/audit_config_base_suite.go:405	Create an audit config that enables only admission control.
    audit_config_base_suite.go:410: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:410
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:393
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:46
        	Error:      	Should be true
        	Test:       	TestAuditConfigSuite/TestReconcile_AdmissionPermissive
        	Messages:   	Mondoo SA not created
2023-11-03T16:05:34.326Z	INFO	installer/installer.go:173	gathering all logs from the test
2023-11-03T16:05:34.326Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-03T16:05:34.330Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionPermissive_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4_1699027534.log
2023-11-03T16:05:34.353Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionPermissive_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699027534.log
2023-11-03T16:05:34.358Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionPermissive_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699027534.log
2023-11-03T16:05:34.361Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-03T16:05:34.428Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionPermissive_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_1699027534.log
2023-11-03T16:05:34.440Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionPermissive_mondoo-operator_mondoo-operator-controller-manager-7786bdb7f-wvwj8_previous_1699027534.log
2023-11-03T16:05:34.444Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7786bdb7f-wvwj8 -c manager
2023-11-03T16:05:34.531Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-03T16:05:34.534Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_AdmissionPermissive_1699027534.log
2023-11-03T16:05:34.534Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bcrf5m4
2023-11-03T16:05:34.604Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-03T16:05:34.673Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7786bdb7f-wvwj8
2023-11-03T16:05:34.745Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-03T16:05:34.831Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-03T16:05:34.930Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-03T16:05:34.930Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_AdmissionPermissive_1699027534.log
2023-11-03T16:05:34.930Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-03T16:05:35.025Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-03T16:05:37.028Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-03T16:05:37.042Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-03T16:05:37.057Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-03T16:05:37.191Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait