Created
May 17, 2021 14:59
-
-
Save djberg96/831dd3ac1012a981409a20185611b80e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E0517 10:58:53.326752 14255 logger.go:84] [opid=1sfVGNH9AMP0ouVlVs8whdUuhCQ] OCM-SB-9: Unable to create Unable to find all associated services: OCM-SB-7: Unable to find all associated services | |
2021/05/17 10:58:53 http: panic serving 127.0.0.1:54900: runtime error: invalid memory address or nil pointer dereference | |
goroutine 308 [running]: | |
net/http.(*conn).serve.func1(0xc000135c20) | |
/usr/local/opt/go/libexec/src/net/http/server.go:1824 +0x153 | |
panic(0x1bbc6e0, 0x25879f0) | |
/usr/local/opt/go/libexec/src/runtime/panic.go:971 +0x499 | |
github.com/getsentry/sentry-go/http.(*Handler).recoverWithSentry(0xc000524000, 0xc000596a80, 0xc000280d00) | |
/Users/dberger/golang/pkg/mod/github.com/getsentry/[email protected]/http/sentryhttp.go:117 +0x14e | |
panic(0x1bbc6e0, 0x25879f0) | |
/usr/local/opt/go/libexec/src/runtime/panic.go:965 +0x1b9 | |
gitlab.cee.redhat.com/service/status-board/pkg/handlers.peerDependencyHandler.Patch.func1(0xc0007d0200, 0x43, 0x200) | |
/Users/dberger/Dev/status-board/pkg/handlers/peer_dependency.go:154 +0x211 | |
gitlab.cee.redhat.com/service/status-board/pkg/handlers.handle(0x1e7c8f0, 0xc0006b26b0, 0xc000280e00, 0xc0003ce680, 0xca) | |
/Users/dberger/Dev/status-board/pkg/handlers/framework.go:69 +0x3a8 | |
gitlab.cee.redhat.com/service/status-board/pkg/handlers.peerDependencyHandler.Patch(0x1e854a8, 0xc0005ee0f8, 0x1e7c8f0, 0xc0006b26b0, 0xc000280e00) | |
/Users/dberger/Dev/status-board/pkg/handlers/peer_dependency.go:172 +0x113 | |
net/http.HandlerFunc.ServeHTTP(0xc00000e258, 0x1e7c8f0, 0xc0006b26b0, 0xc000280e00) | |
/usr/local/opt/go/libexec/src/net/http/server.go:2069 +0x44 | |
gitlab.cee.redhat.com/service/status-board/pkg/auth.(*AuthMiddleware).AuthenticateAccountJWT.func1(0x1e7c8f0, 0xc0006b26b0, 0xc000280e00) | |
/Users/dberger/Dev/status-board/pkg/auth/auth_middleware.go:48 +0x3ae | |
net/http.HandlerFunc.ServeHTTP(0xc00079e348, 0x1e7c8f0, 0xc0006b26b0, 0xc000280e00) | |
/usr/local/opt/go/libexec/src/net/http/server.go:2069 +0x44 | |
github.com/gorilla/handlers.CompressHandlerLevel.func1(0x1e7b9f0, 0xc00079e3d8, 0xc000280e00) | |
/Users/dberger/golang/pkg/mod/github.com/gorilla/[email protected]/compress.go:141 +0x692 | |
net/http.HandlerFunc.ServeHTTP(0xc0003180c0, 0x1e7b9f0, 0xc00079e3d8, 0xc000280e00) | |
/usr/local/opt/go/libexec/src/net/http/server.go:2069 +0x44 | |
gitlab.cee.redhat.com/service/status-board/pkg/server.MetricsMiddleware.func1(0x1e7ba20, 0xc00032e1e0, 0xc000280e00) | |
/Users/dberger/Dev/status-board/pkg/server/metrics_middleware.go:73 +0xe7 | |
net/http.HandlerFunc.ServeHTTP(0xc00079e360, 0x1e7ba20, 0xc00032e1e0, 0xc000280e00) | |
/usr/local/opt/go/libexec/src/net/http/server.go:2069 +0x44 | |
gitlab.cee.redhat.com/service/status-board/pkg/server/logging.RequestLoggingMiddleware.func1(0x1e7bf30, 0xc0001442a0, 0xc000280e00) | |
/Users/dberger/Dev/status-board/pkg/server/logging/request_logging_middleware.go:27 +0x16c | |
net/http.HandlerFunc.ServeHTTP(0xc00079e378, 0x1e7bf30, 0xc0001442a0, 0xc000280e00) | |
/usr/local/opt/go/libexec/src/net/http/server.go:2069 +0x44 | |
gitlab.cee.redhat.com/service/status-board/pkg/logger.OperationIDMiddleware.func1(0x1e7bf30, 0xc0001442a0, 0xc000280d00) | |
/Users/dberger/Dev/status-board/pkg/logger/operationid_middleware.go:33 +0x20c | |
net/http.HandlerFunc.ServeHTTP(0xc00079e390, 0x1e7bf30, 0xc0001442a0, 0xc000280d00) | |
/usr/local/opt/go/libexec/src/net/http/server.go:2069 +0x44 | |
github.com/getsentry/sentry-go/http.(*Handler).handle.func1(0x1e7bf30, 0xc0001442a0, 0xc000280c00) | |
/Users/dberger/golang/pkg/mod/github.com/getsentry/[email protected]/http/sentryhttp.go:103 +0x402 | |
net/http.HandlerFunc.ServeHTTP(0xc0003180e0, 0x1e7bf30, 0xc0001442a0, 0xc000280c00) | |
/usr/local/opt/go/libexec/src/net/http/server.go:2069 +0x44 | |
github.com/gorilla/mux.(*Router).ServeHTTP(0xc00039a180, 0x1e7bf30, 0xc0001442a0, 0xc000280a00) | |
/Users/dberger/golang/pkg/mod/github.com/gorilla/[email protected]/mux.go:210 +0xd3 | |
github.com/openshift-online/ocm-sdk-go/authentication.(*Handler).ServeHTTP(0xc00063f6c0, 0x1e7bf30, 0xc0001442a0, 0xc00048a900) | |
/Users/dberger/golang/pkg/mod/github.com/openshift-online/[email protected]/authentication/handler.go:483 +0x39d | |
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc0001b3830, 0x1e7bf30, 0xc0001442a0, 0xc00048a900) | |
/Users/dberger/golang/pkg/mod/github.com/gorilla/[email protected]/cors.go:54 +0x103e | |
gitlab.cee.redhat.com/service/status-board/pkg/server.removeTrailingSlash.func1(0x1e7bf30, 0xc0001442a0, 0xc00048a900) | |
/Users/dberger/Dev/status-board/pkg/server/server.go:25 +0x91 | |
net/http.HandlerFunc.ServeHTTP(0xc00000e318, 0x1e7bf30, 0xc0001442a0, 0xc00048a900) | |
/usr/local/opt/go/libexec/src/net/http/server.go:2069 +0x44 | |
net/http.serverHandler.ServeHTTP(0xc0001441c0, 0x1e7bf30, 0xc0001442a0, 0xc00048a900) | |
/usr/local/opt/go/libexec/src/net/http/server.go:2887 +0xa3 | |
net/http.(*conn).serve(0xc000135c20, 0x1e7f4d8, 0xc0003e5d80) | |
/usr/local/opt/go/libexec/src/net/http/server.go:1952 +0x8cd | |
created by net/http.(*Server).Serve | |
/usr/local/opt/go/libexec/src/net/http/server.go:3013 +0x39b | |
--- FAIL: TestPeerDependencyPatch (0.11s) | |
peer_dependency_test.go:205: | |
Unexpected error: | |
<*url.Error | 0xc0002f4810>: { | |
Op: "Patch", | |
URL: "http://localhost:8000/api/status-board/v1/peer_dependencies/11c5f53e-fbfb-4f71-a9cb-dba583ae4d02", | |
Err: {s: "EOF"}, | |
} | |
Patch "http://localhost:8000/api/status-board/v1/peer_dependencies/11c5f53e-fbfb-4f71-a9cb-dba583ae4d02": EOF | |
occurred | |
E0517 10:58:53.878277 14255 logger.go:84] [opid=1sfVGMtyHM2s8MLEEghertbnTMe] failed to mark transaction for rollback: could not retrieve transaction from context | |
E0517 10:58:53.878311 14255 logger.go:84] [opid=1sfVGMtyHM2s8MLEEghertbnTMe] OCM-SB-9: Unable to create Unable to find all associated services: OCM-SB-7: Unable to find all associated services | |
FAIL | |
I0517 10:58:55.610113 14255 api_server.go:254] Web server terminated | |
FAIL gitlab.cee.redhat.com/service/status-board/test/integration 5.570s | |
? gitlab.cee.redhat.com/service/status-board/test/mocks [no test files] | |
FAIL | |
make: *** [test] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment