SHARE
TWEET

Drone

a guest Apr 26th, 2019 72 in 6 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {"level":"debug","msg":"api: root access granted","name":"fontanka","namespace":"PORTAL","request-id":"1KORqDxniKB3UfetsxvVGkI29ID","time":"2019-04-26T06:40:45Z","user.admin":true,"user.login":"v.matveev"},
  2. Panic: runtime error: index out of range,
  3. goroutine 514 [running]:,
  4. runtime/debug.Stack(0x29, 0x0, 0x0),
  5.     /usr/local/go/src/runtime/debug/stack.go:24 +0xa7,
  6. ntime/debug.PrintStack(),
  7.     /usr/local/go/src/runtime/debug/stack.go:16 +0x22,
  8. github.com/go-chi/chi/middleware.Recoverer.func1.1(0xc00073c100, 0x1ba7940, 0xc0002fc540),
  9.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/middleware/recoverer.go:28 +0x1b6,
  10. panic(0x171a3a0, 0x2a6b400),
  11.     /usr/local/go/src/runtime/panic.go:513 +0x1b9,
  12. github.com/drone/go-scm/scm/driver/stash.(*Error).Error(0xc0006ac8c0, 0xc000af65d8, 0x1215b79),
  13.     /go/pkg/mod/github.com/drone/go-scm@v1.4.1-0.20190418181654-1e77204716f6/scm/driver/stash/stash.go:132 +0x3a,
  14. github.com/drone/drone/handler/api/render.ErrorCode(0x1ba7940, 0xc0002fc540, 0x1b8d260, 0xc0006ac8c0, 0x1f4),
  15.     /drone/src/handler/api/render/render.go:55 +0x35,
  16. github.com/drone/drone/handler/api/render.InternalError(0x1ba7940, 0xc0002fc540, 0x1b8d260, 0xc0006ac8c0),
  17.     /drone/src/handler/api/render/render.go:61 +0x52,
  18. github.com/drone/drone/handler/api/repos.HandleEnable.func1(0x1ba7940, 0xc0002fc540, 0xc00073c300),
  19.     /drone/src/handler/api/repos/enable.go:70 +0xa6d,
  20. net/http.HandlerFunc.ServeHTTP(0xc0006433c0, 0x1ba7940, 0xc0002fc540, 0xc00073c300),
  21.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  22. github.com/drone/drone/handler/api/acl.CheckAccess.func1.1(0x1ba7940, 0xc0002fc540, 0xc00073c300),
  23.     /drone/src/handler/api/acl/check.go:78 +0xdf0,
  24. net/http.HandlerFunc.ServeHTTP(0xc000679260, 0x1ba7940, 0xc0002fc540, 0xc00073c300),
  25.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  26. github.com/go-chi/chi.(*ChainHandler).ServeHTTP(0xc000643400, 0x1ba7940, 0xc0002fc540, 0xc00073c300),
  27.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/chain.go:31 +0x52,
  28. github.com/go-chi/chi.(*Mux).routeHTTP(0xc00029fe60, 0x1ba7940, 0xc0002fc540, 0xc00073c300),
  29.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:424 +0x239,
  30. github.com/go-chi/chi.(*Mux).routeHTTP-fm(0x1ba7940, 0xc0002fc540, 0xc00073c300),
  31.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:368 +0x48,
  32. net/http.HandlerFunc.ServeHTTP(0xc00003ac50, 0x1ba7940, 0xc0002fc540, 0xc00073c300),
  33.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  34. github.com/drone/drone/handler/api/acl.CheckAccess.func1.1(0x1ba7940, 0xc0002fc540, 0xc00073c300),
  35.     /drone/src/handler/api/acl/check.go:78 +0xdf0,
  36. net/http.HandlerFunc.ServeHTTP(0xc0006791d0, 0x1ba7940, 0xc0002fc540, 0xc00073c300),
  37.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  38. github.com/drone/drone/handler/api/acl.InjectRepository.func1.1(0x1ba7940, 0xc0002fc540, 0xc000190a00),
  39.     /drone/src/handler/api/acl/repo.go:133 +0xe28,
  40. net/http.HandlerFunc.ServeHTTP(0xc0005f2dc0, 0x1ba7940, 0xc0002fc540, 0xc000190a00),
  41.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  42. github.com/go-chi/chi.(*Mux).ServeHTTP(0xc00029fe60, 0x1ba7940, 0xc0002fc540, 0xc000190a00),
  43.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:69 +0x44f,
  44. github.com/go-chi/chi.(*Mux).Mount.func1(0x1ba7940, 0xc0002fc540, 0xc000190a00),
  45.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:291 +0xf5,
  46. net/http.HandlerFunc.ServeHTTP(0xc00000dca0, 0x1ba7940, 0xc0002fc540, 0xc000190a00),
  47.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  48. github.com/go-chi/chi.(*Mux).routeHTTP(0xc00029fe00, 0x1ba7940, 0xc0002fc540, 0xc000190a00),
  49.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:424 +0x239,
  50. github.com/go-chi/chi.(*Mux).routeHTTP-fm(0x1ba7940, 0xc0002fc540, 0xc000190a00),
  51.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:368 +0x48,
  52. net/http.HandlerFunc.ServeHTTP(0xc00003af90, 0x1ba7940, 0xc0002fc540, 0xc000190a00),
  53.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  54. github.com/go-chi/cors.(*Cors).Handler.func1(0x1ba7940, 0xc0002fc540, 0xc000190a00),
  55.     /go/pkg/mod/github.com/go-chi/cors@v1.0.0/cors.go:199 +0xf2,
  56. net/http.HandlerFunc.ServeHTTP(0xc00000dcc0, 0x1ba7940, 0xc0002fc540, 0xc000190a00),
  57.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  58. github.com/drone/drone/handler/api/auth.HandleAuthentication.func1.1(0x1ba7940, 0xc0002fc540, 0xc00073c200),
  59.     /drone/src/handler/api/auth/auth.go:51 +0x30d,
  60. net/http.HandlerFunc.ServeHTTP(0xc000679ec0, 0x1ba7940, 0xc0002fc540, 0xc00073c200),
  61.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  62. github.com/drone/drone/logger.Middleware.func1(0x1ba7940, 0xc0002fc540, 0xc00073c100),
  63.     /drone/src/logger/handler.go:36 +0x282,
  64. net/http.HandlerFunc.ServeHTTP(0xc00000dce0, 0x1ba7940, 0xc0002fc540, 0xc00073c100),
  65.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  66. github.com/go-chi/chi/middleware.NoCache.func1(0x1ba7940, 0xc0002fc540, 0xc00073c100),
  67.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/middleware/nocache.go:54 +0x1e8,
  68. net/http.HandlerFunc.ServeHTTP(0xc00000dd00, 0x1ba7940, 0xc0002fc540, 0xc00073c100),
  69.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  70. github.com/go-chi/chi/middleware.Recoverer.func1(0x1ba7940, 0xc0002fc540, 0xc00073c100),
  71.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/middleware/recoverer.go:35 +0x9f,
  72. net/http.HandlerFunc.ServeHTTP(0xc00000dd20, 0x1ba7940, 0xc0002fc540, 0xc00073c100),
  73.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  74. github.com/go-chi/chi.(*Mux).ServeHTTP(0xc00029fe00, 0x1ba7940, 0xc0002fc540, 0xc00073c100),
  75.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:69 +0x44f,
  76. github.com/go-chi/chi.(*Mux).Mount.func1(0x1ba7940, 0xc0002fc540, 0xc00073c100),
  77.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:291 +0xf5,
  78. net/http.HandlerFunc.ServeHTTP(0xc0006acce0, 0x1ba7940, 0xc0002fc540, 0xc00073c100),
  79.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  80. github.com/go-chi/chi.(*Mux).routeHTTP(0xc00029fda0, 0x1ba7940, 0xc0002fc540, 0xc00073c100),
  81.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:424 +0x239,
  82. github.com/go-chi/chi.(*Mux).routeHTTP-fm(0x1ba7940, 0xc0002fc540, 0xc00073c100),
  83.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:368 +0x48,
  84. net/http.HandlerFunc.ServeHTTP(0xc00003abd0, 0x1ba7940, 0xc0002fc540, 0xc00073c100),
  85.     /usr/local/go/src/net/http/server.go:1964 +0x44,
  86. github.com/go-chi/chi.(*Mux).ServeHTTP(0xc00029fda0, 0x1ba7940, 0xc0002fc540, 0xc0009b5100),
  87.     /go/pkg/mod/github.com/go-chi/chi@v3.3.3+incompatible/mux.go:81 +0x293,
  88. net/http.serverHandler.ServeHTTP(0xc00065b040, 0x1ba7940, 0xc0002fc540, 0xc0009b5100),
  89.     /usr/local/go/src/net/http/server.go:2741 +0xab,
  90. net/http.(*conn).serve(0xc0002883c0, 0x1baa3c0, 0xc000204400),
  91.     /usr/local/go/src/net/http/server.go:1847 +0x646,
  92. created by net/http.(*Server).Serve,
  93.     /usr/local/go/src/net/http/server.go:2851 +0x2f5,
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top