The logs of the supervisor test show the error. I think there are some cases graceful shutdown fix didn't handle.
2024-04-03T21:39:20.809+0530 DEBUG supervisor/logger.go:21 Waiting for receiver to stop.
2024-04-03T21:39:20.809+0530 ERROR supervisor/logger.go:26 Unexpected error while receiving: websocket: close sent
github.com/open-telemetry/opentelemetry-collector-contrib/cmd/opampsupervisor/supervisor.(*opAMPLogger).Errorf
/Users/srikanth/Projects/opentelemetry-collector-contrib/cmd/opampsupervisor/supervisor/logger.go:26
github.com/open-telemetry/opamp-go/client/internal.(*wsReceiver).ReceiverLoop
/Users/srikanth/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.14.0/client/internal/wsreceiver.go:88
The logs of the supervisor test show the error. I think there are some cases graceful shutdown fix didn't handle.