bpfman / bpfman/bpfman-operator
make test-integration isn't running locally
- Dominant language
- Go
- Stars
- 38
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
`make test-integration` isn't running locally. bpfman doesn't seem to be coming up.
`make test-integration` Output
```
$ make test-integration
cd config/bpfman-deployment && \
sed -e 's@bpfman\.image=.*@bpfman.image=quay.io/bpfman/bpfman:latest@' \
-e 's@bpfman\.agent\.image=.*@bpfman.agent.image=quay.io/bpfman/bpfman-agent:latest@' \
kustomization.yaml.env > kustomization.yaml
GOFLAGS="-tags=integration_tests" go test -count=1 -race -v ./test/integration/...
? github.com/bpfman/bpfman-operator/test/integration/loadimagearchive [no test files]
INFO: using bpfmanAgentImage=quay.io/bpfman/bpfman-agent:latest and bpfmanOperatorImage=quay.io/bpfman/bpfman-operator:latest
INFO: creating a new kind cluster
INFO: new kind cluster ff5ad2cc-dd30-40ac-86e8-811a6d1e84f6 was created
INFO: deploying bpfman operator to test cluster
{"level":"info","ts":"2025-02-26T11:27:37-05:00","logger":"bpfman-helpers","msg":"Program running from outside of the cluster, picking config from --kubeconfig flag"}
INFO: waiting for bpfman
INFO: bpfman daemon not found yet
INFO: waiting for bpfman
INFO: bpfman daemon not found yet
INFO: waiting for bpfman
INFO: bpfman daemon not found yet
:
INFO: waiting for bpfman
INFO: bpfman daemon not found yet
INFO: waiting for bpfman
INFO: bpfman daemon not found yet
SIGQUIT: quit
PC=0x4babe1 m=0 sigcode=0
goroutine 0 gp=0x4200840 m=0 mp=0x4201ce0 [idle]:
runtime.futex(0x4201e20, 0x80, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/runtime/sys_linux_amd64.s:557 +0x21 fp=0x7ffc2c655ea0 sp=0x7ffc2c655e98 pc=0x4babe1
runtime.futexsleep(0x7ffc2c655f18?, 0x447b90?, 0x8?)
/usr/local/go/src/runtime/os_linux.go:69 +0x30 fp=0x7ffc2c655ef0 sp=0x7ffc2c655ea0 pc=0x470830
runtime.notesleep(0x4201e20)
/usr/local/go/src/runtime/lock_futex.go:170 +0x87 fp=0x7ffc2c655f28 sp=0x7ffc2c655ef0 pc=0x447d27
runtime.mPark(...)
/usr/local/go/src/runtime/proc.go:1866
runtime.stopm()
/usr/local/go/src/runtime/proc.go:2886 +0x8c fp=0x7ffc2c655f58 sp=0x7ffc2c655f28 pc=0x47be6c
runtime.findRunnable()
/usr/local/go/src/runtime/proc.go:3623 +0xd5c fp=0x7ffc2c6560d0 sp=0x7ffc2c655f58 pc=0x47d8dc
runtime.schedule()
/usr/local/go/src/runtime/proc.go:3996 +0xb1 fp=0x7ffc2c656108 sp=0x7ffc2c6560d0 pc=0x47e9b1
runtime.park_m(0xc000454e00)
/usr/local/go/src/runtime/proc.go:4103 +0x1eb fp=0x7ffc2c656160 sp=0x7ffc2c656108 pc=0x47edcb
runtime.mcall()
/usr/local/go/src/runtime/asm_amd64.s:459 +0x4e fp=0x7ffc2c656178 sp=0x7ffc2c656160 pc=0x4b658e
goroutine 1 gp=0xc0000061c0 m=nil [sleep]:
runtime.gopark(0x21ac950538b74?, 0x0?, 0x22?, 0x0?, 0xc0004b8680?)
/usr/local/go/src/runtime/proc.go:424 +0xce fp=0xc0000679f0 sp=0xc0000679d0 pc=0x4b010e
time.Sleep(0x77359400)
/usr/local/go/src/runtime/time.go:300 +0xf2 fp=0xc000067a28 sp=0xc0000679f0 pc=0x4b44f2
github.com/bpfman/bpfman-operator/test/integration.waitForBpfmanReadiness({0x30e41d0, 0xc000710190}, {0x30e5e40, 0xc0000ea8e0})
/home/bmcfall/src/bpfman/bpfman-operator/test/integration/suite_test.go:172 +0x51 fp=0xc000067b28 sp=0xc000067a28 pc=0x28a93b1
github.com/bpfman/bpfman-operator/test/integration.TestMain(0xc00026efa0)
/home/bmcfall/src/bpfman/bpfman-operator/test/integration/suite_test.go:117 +0x166b fp=0xc000067e68 sp=0xc000067b28 pc=0x28a8acb
main.main()
_testmain.go:61 +0x172 fp=0xc000067f50 sp=0xc000067e68 pc=0x28b0ad2
runtime.main()
/usr/local/go/src/runtime/proc.go:272 +0x28b fp=0xc000067fe0 sp=0xc000067f50 pc=0x47710b
runtime.goexit({})
/usr/local/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000067fe8 sp=0xc000067fe0 pc=0x4b85c1
goroutine 2 gp=0xc000006c40 m=nil [force gc (idle), 10 minutes]:
runtime.gopark(0x41657b0?, 0x4201ce0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:424 +0xce fp=0xc0000c87a8 sp=0xc0000c8788 pc=0x4b010e
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:430
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:337 +0xb3 fp=0xc0000c87e0 sp=0xc0000c87a8 pc=0x477453
runtime.goexit({})
/usr/local/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0000c87e8 sp=0xc0000c87e0 pc=0x4b85c1
created by runtime.init.7 in goroutine 1
/usr/local/go/src/runtime/proc.go:325 +0x1a
:
goroutine 115 gp=0xc000455c00 m=nil [IO wait]:
runtime.gopark(0x0?, 0x3?, 0x0?, 0xe0?, 0x2000?)
/usr/local/go/src/runtime/proc.go:424 +0xce fp=0xc0006c7100 sp=0xc0006c70e0 pc=0x4b010e
runtime.netpollblock(0x4bb831?, 0x51c3e6?, 0x0?)
/usr/local/go/src/runtime/netpoll.go:575 +0xf7 fp=0xc0006c7138 sp=0xc0006c7100 pc=0x46fad7
internal/poll.runtime_pollWait(0x7f5375368ad8, 0x72)
/usr/local/go/src/runtime/netpoll.go:351 +0x85 fp=0xc0006c7158 sp=0xc0006c7138 pc=0x4af3e5
internal/poll.(*pollDesc).wait(0xc0001d30a0, 0x72, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0xb1 fp=0xc0006c7198 sp=0xc0006c7158 pc=0x51a591
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0001d3080, {0xc00035e000, 0x2000, 0x2000})
/usr/local/go/src/internal/poll/fd_unix.go:165 +0x466 fp=0xc0006c7288 sp=0xc0006c7198 pc=0x51c3e6
net.(*netFD).Read(0xc0001d3080, {0xc00035e000, 0x2000, 0x2000})
/usr/local/go/src/net/fd_posix.go:55 +0x4b fp=0xc0006c72d8 sp=0xc0006c7288 pc=0x85edcb
net.(*conn).Read(0xc000366000, {0xc00035e000, 0x2000, 0x2000})
/usr/local/go/src/net/net.go:189 +0xad fp=0xc0006c7358 sp=0xc0006c72d8 pc=0x873e4d
net.(*TCPConn).Read(0xc000366000, {0xc00035e000, 0x2000, 0x2000})
:1 +0x54 fp=0xc0006c73a0 sp=0xc0006c7358 pc=0x893974
crypto/tls.(*atLeastReader).Read(0xc000142db0, {0xc00035e000, 0x2000, 0x2000})
/usr/local/go/src/crypto/tls/conn.go:809 +0x89 fp=0xc0006c7408 sp=0xc0006c73a0 pc=0x909b89
bytes.(*Buffer).ReadFrom(0xc0001fed38, {0x30c22c0, 0xc000142db0})
/usr/local/go/src/bytes/buffer.go:211 +0x113 fp=0xc0006c7478 sp=0xc0006c7408 pc=0x5cfcf3
crypto/tls.(*Conn).readFromUntil(0xc0001fea88, {0x30c2500, 0xc000366000}, 0x5)
/usr/local/go/src/crypto/tls/conn.go:831 +0x1da fp=0xc0006c74e8 sp=0xc0006c7478 pc=0x909f5a
crypto/tls.(*Conn).readRecordOrCCS(0xc0001fea88, 0x0)
/usr/local/go/src/crypto/tls/conn.go:629 +0x365 fp=0xc0006c79c0 sp=0xc0006c74e8 pc=0x904fc5
crypto/tls.(*Conn).readRecord(...)
/usr/local/go/src/crypto/tls/conn.go:591
crypto/tls.(*Conn).Read(0xc0001fea88, {0xc0004bf000, 0x1000, 0xc0006c7ad0?})
/usr/local/go/src/crypto/tls/conn.go:1385 +0x2dd fp=0xc0006c7a98 sp=0xc0006c79c0 pc=0x9101dd
bufio.(*Reader).Read(0xc0004a7c80, {0xc00020e2e0, 0x9, 0x9})
/usr/local/go/src/bufio/bufio.go:241 +0x4bf fp=0xc0006c7b50 sp=0xc0006c7a98 pc=0x5d857f
io.ReadAtLeast({0x30c0580, 0xc0004a7c80}, {0xc00020e2e0, 0x9, 0x9}, 0x9)
/usr/local/go/src/io/io.go:335 +0xd0 fp=0xc0006c7b98 sp=0xc0006c7b50 pc=0x50f2b0
io.ReadFull(...)
/usr/local/go/src/io/io.go:354
golang.org/x/net/http2.readFrameHeader({0xc00020e2e0, 0x9, 0x9}, {0x30c0580, 0xc0004a7c80})
/home/bmcfall/src/bpfman/bpfman-operator/vendor/golang.org/x/net/http2/frame.go:237 +0x9a fp=0xc0006c7c38 sp=0xc0006c7b98 pc=0xd78d1a
golang.org/x/net/http2.(*Framer).ReadFrame(0xc00020e2a0)
/home/bmcfall/src/bpfman/bpfman-operator/vendor/golang.org/x/net/http2/frame.go:501 +0xf5 fp=0xc0006c7d70 sp=0xc0006c7c38 pc=0xd79e15
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0006c7fa8)
/home/bmcfall/src/bpfman/bpfman-operator/vendor/golang.org/x/net/http2/transport.go:2505 +0x185 fp=0xc0006c7f00 sp=0xc0006c7d70 pc=0xd9cce5
golang.org/x/net/http2.(*ClientConn).readLoop(0xc0002cfc00)
/home/bmcfall/src/bpfman/bpfman-operator/vendor/golang.org/x/net/http2/transport.go:2381 +0x175 fp=0xc0006c7fc0 sp=0xc0006c7f00 pc=0xd9b915
golang.org/x/net/http2.(*Transport).newClientConn.gowrap1()
/home/bmcfall/src/bpfman/bpfman-operator/vendor/golang.org/x/net/http2/transport.go:912 +0x34 fp=0xc0006c7fe0 sp=0xc0006c7fc0 pc=0xd8ea74
runtime.goexit({})
/usr/local/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0006c7fe8 sp=0xc0006c7fe0 pc=0x4b85c1
created by golang.org/x/net/http2.(*Transport).newClientConn in goroutine 114
/home/bmcfall/src/bpfman/bpfman-operator/vendor/golang.org/x/net/http2/transport.go:912 +0x1f9d
rax 0xca
rbx 0x0
rcx 0x4babe3
rdx 0x0
rdi 0x4201e20
rsi 0x80
rbp 0x7ffc2c655ee0
rsp 0x7ffc2c655e98
r8 0x0
r9 0x0
r10 0x0
r11 0x286
r12 0x7ffc2c655e70
r13 0x1
r14 0x4200840
r15 0x23
rip 0x4babe1
rflags 0x286
cs 0x33
fs 0x0
gs 0x0
*** Test killed with quit: ran too long (11m0s).
FAIL github.com/bpfman/bpfman-operator/test/integration 660.017s
FAIL
make: *** [Makefile:295: test-integration] Error 1
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the test-integration target in Makefile and the readiness wait in test/integration/suite_test.go, especially waitForBpfmanReadiness at line 172. Review config/bpfman-deployment/kustomization.yaml.env and rerun make test-integration; done means bpfman becomes ready and the integration tests finish without timing out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- devops, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100