File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ RUN dnf install -y dnf-plugins-core && \
2626# =============================================================================
2727# Stage 3: Go builder to compile the application
2828# =============================================================================
29- FROM public.ecr.aws/docker/library/golang:1.25.5 AS go-builder
29+ FROM public.ecr.aws/docker/library/golang:1.26.1 AS go-builder
3030
3131WORKDIR /workspace
3232
@@ -46,10 +46,10 @@ ARG TARGETOS=linux
4646ARG TARGETARCH
4747ARG GOBUILDARGS=""
4848
49- # Build the agent and chroot binaries with CGO enabled (required for systemd) and greenteagc experiment
50- RUN CGO_ENABLED=1 GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOEXPERIMENT=greenteagc \
49+ # Build the agent and chroot binaries with CGO enabled (required for systemd) and goroutine leak profiling
50+ RUN CGO_ENABLED=1 GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOEXPERIMENT=goroutineleakprofile \
5151 go build ${GOBUILDARGS} -ldflags="-s -w" -o bin/eks-node-monitoring-agent ./cmd/eks-node-monitoring-agent/
52- RUN CGO_ENABLED=1 GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOEXPERIMENT=greenteagc \
52+ RUN CGO_ENABLED=1 GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOEXPERIMENT=goroutineleakprofile \
5353 go build ${GOBUILDARGS} -ldflags="-s -w" -o bin/chroot ./cmd/chroot/
5454
5555# =============================================================================
Original file line number Diff line number Diff line change 11module github.com/aws/eks-node-monitoring-agent
22
3- go 1.25.5
3+ go 1.26.1
44
55require (
66 github.com/NVIDIA/go-dcgm v0.0.0-20260214140307-ad5d86fe3d32
Original file line number Diff line number Diff line change @@ -221,6 +221,12 @@ func TestNetworkingPeriodic(t *testing.T) {
221221 res : make (chan monitor.Condition , 5 ),
222222 }
223223 mon .Register (ctx , mockManager )
224+ // First call resets the consistency timer and returns nil
225+ if ! assert .NoError (t , mon .checkIPAMD (false )) {
226+ return
227+ }
228+ // Second call sees ipamdNotRunningTime was set recently (within the
229+ // consistency duration), so it fires the notification.
224230 if ! assert .NoError (t , mon .checkIPAMD (false )) {
225231 return
226232 }
You can’t perform that action at this time.
0 commit comments