{"action":"created","issue":{"url":"https://api.github.com/repos/pulumi/pulumi/issues/1850","repository_url":"https://api.github.com/repos/pulumi/pulumi","labels_url":"https://api.github.com/repos/pulumi/pulumi/issues/1850/labels{/name}","comments_url":"https://api.github.com/repos/pulumi/pulumi/issues/1850/comments","events_url":"https://api.github.com/repos/pulumi/pulumi/issues/1850/events","html_url":"https://github.com/pulumi/pulumi/issues/1850","id":355682485,"node_id":"MDU6SXNzdWUzNTU2ODI0ODU=","number":1850,"title":"Panic during shutdown due to sending on a nil channel","user":{"login":"ellismg","id":9602953,"node_id":"MDQ6VXNlcjk2MDI5NTM=","avatar_url":"https://avatars0.githubusercontent.com/u/9602953?v=4","gravatar_id":"","url":"https://api.github.com/users/ellismg","html_url":"https://github.com/ellismg","followers_url":"https://api.github.com/users/ellismg/followers","following_url":"https://api.github.com/users/ellismg/following{/other_user}","gists_url":"https://api.github.com/users/ellismg/gists{/gist_id}","starred_url":"https://api.github.com/users/ellismg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellismg/subscriptions","organizations_url":"https://api.github.com/users/ellismg/orgs","repos_url":"https://api.github.com/users/ellismg/repos","events_url":"https://api.github.com/users/ellismg/events{/privacy}","received_events_url":"https://api.github.com/users/ellismg/received_events","type":"User","site_admin":false},"labels":[{"id":472686212,"node_id":"MDU6TGFiZWw0NzI2ODYyMTI=","url":"https://api.github.com/repos/pulumi/pulumi/labels/area/cli","name":"area/cli","color":"fbca04","default":false},{"id":472618269,"node_id":"MDU6TGFiZWw0NzI2MTgyNjk=","url":"https://api.github.com/repos/pulumi/pulumi/labels/kind/bug","name":"kind/bug","color":"FF8C94","default":false}],"state":"open","locked":false,"assignee":{"login":"swgillespie","id":1871912,"node_id":"MDQ6VXNlcjE4NzE5MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1871912?v=4","gravatar_id":"","url":"https://api.github.com/users/swgillespie","html_url":"https://github.com/swgillespie","followers_url":"https://api.github.com/users/swgillespie/followers","following_url":"https://api.github.com/users/swgillespie/following{/other_user}","gists_url":"https://api.github.com/users/swgillespie/gists{/gist_id}","starred_url":"https://api.github.com/users/swgillespie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swgillespie/subscriptions","organizations_url":"https://api.github.com/users/swgillespie/orgs","repos_url":"https://api.github.com/users/swgillespie/repos","events_url":"https://api.github.com/users/swgillespie/events{/privacy}","received_events_url":"https://api.github.com/users/swgillespie/received_events","type":"User","site_admin":false},"assignees":[{"login":"swgillespie","id":1871912,"node_id":"MDQ6VXNlcjE4NzE5MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1871912?v=4","gravatar_id":"","url":"https://api.github.com/users/swgillespie","html_url":"https://github.com/swgillespie","followers_url":"https://api.github.com/users/swgillespie/followers","following_url":"https://api.github.com/users/swgillespie/following{/other_user}","gists_url":"https://api.github.com/users/swgillespie/gists{/gist_id}","starred_url":"https://api.github.com/users/swgillespie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swgillespie/subscriptions","organizations_url":"https://api.github.com/users/swgillespie/orgs","repos_url":"https://api.github.com/users/swgillespie/repos","events_url":"https://api.github.com/users/swgillespie/events{/privacy}","received_events_url":"https://api.github.com/users/swgillespie/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pulumi/pulumi/milestones/32","html_url":"https://github.com/pulumi/pulumi/milestone/32","labels_url":"https://api.github.com/repos/pulumi/pulumi/milestones/32/labels","id":3434037,"node_id":"MDk6TWlsZXN0b25lMzQzNDAzNw==","number":32,"title":"0.18","description":"","creator":{"login":"joeduffy","id":3953235,"node_id":"MDQ6VXNlcjM5NTMyMzU=","avatar_url":"https://avatars3.githubusercontent.com/u/3953235?v=4","gravatar_id":"","url":"https://api.github.com/users/joeduffy","html_url":"https://github.com/joeduffy","followers_url":"https://api.github.com/users/joeduffy/followers","following_url":"https://api.github.com/users/joeduffy/following{/other_user}","gists_url":"https://api.github.com/users/joeduffy/gists{/gist_id}","starred_url":"https://api.github.com/users/joeduffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeduffy/subscriptions","organizations_url":"https://api.github.com/users/joeduffy/orgs","repos_url":"https://api.github.com/users/joeduffy/repos","events_url":"https://api.github.com/users/joeduffy/events{/privacy}","received_events_url":"https://api.github.com/users/joeduffy/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":51,"state":"open","created_at":"2018-06-18T22:42:38Z","updated_at":"2018-10-11T19:34:24Z","due_on":"2018-10-21T07:00:00Z","closed_at":null},"comments":5,"created_at":"2018-08-30T17:28:43Z","updated_at":"2018-10-11T21:49:33Z","closed_at":null,"author_association":"MEMBER","body":"We hit this in CI earlier today, in a single leg:\r\n\r\n```\r\n[ ynamic-provider/derived-inputs ] Previewing update of stack 'pulumi/p-it-traviss-ma-derived-in-2286c43a'\r\n[ ynamic-provider/derived-inputs ] Previewing changes:\r\n[ ynamic-provider/derived-inputs ] \r\n[ ynamic-provider/derived-inputs ]  *  pulumi:pulumi:Stack derived-inputs-p-it-traviss-ma-derived-in-2286c43a running \r\n[ ynamic-provider/derived-inputs ]  *  pulumi-nodejs:dynamic:Resource a no change \r\n[ ynamic-provider/derived-inputs ]  *  pulumi-nodejs:dynamic:Resource b no change \r\n[ ynamic-provider/derived-inputs ]  \r\n[ ynamic-provider/derived-inputs ] info: no changes required:\r\n[ ynamic-provider/derived-inputs ]       3 resources unchanged\r\n[ ynamic-provider/derived-inputs ] \r\n[ ynamic-provider/derived-inputs ] panic: send on closed channel\r\n[ ynamic-provider/derived-inputs ] \r\n[ ynamic-provider/derived-inputs ] goroutine 459 [running]:\r\n[ ynamic-provider/derived-inputs ] github.com/pulumi/pulumi/vendor/github.com/uber/jaeger-client-go.(*remoteReporter).Report(0xc420097140, 0xc42154a0f0)\r\n[ ynamic-provider/derived-inputs ] \t/Users/travis/gopath/src/github.com/pulumi/pulumi/vendor/github.com/uber/jaeger-client-go/reporter.go:209 +0x47\r\n[ ynamic-provider/derived-inputs ] github.com/pulumi/pulumi/vendor/github.com/uber/jaeger-client-go.(*Tracer).reportSpan(0xc4200d65a0, 0xc42154a0f0)\r\n[ ynamic-provider/derived-inputs ] \t/Users/travis/gopath/src/github.com/pulumi/pulumi/vendor/github.com/uber/jaeger-client-go/tracer.go:356 +0xd0\r\n[ ynamic-provider/derived-inputs ] github.com/pulumi/pulumi/vendor/github.com/uber/jaeger-client-go.(*Span).FinishWithOptions(0xc42154a0f0, 0xbeda24b804126b60, 0x4482efc89, 0x21434c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n[ ynamic-provider/derived-inputs ] \t/Users/travis/gopath/src/github.com/pulumi/pulumi/vendor/github.com/uber/jaeger-client-go/span.go:217 +0x524\r\n[ ynamic-provider/derived-inputs ] github.com/pulumi/pulumi/vendor/github.com/uber/jaeger-client-go.(*Span).Finish(0xc42154a0f0)\r\n[ ynamic-provider/derived-inputs ] \t/Users/travis/gopath/src/github.com/pulumi/pulumi/vendor/github.com/uber/jaeger-client-go/span.go:195 +0x56\r\n[ ynamic-provider/derived-inputs ] github.com/pulumi/pulumi/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingClientInterceptor.func1(0x2086000, 0xc4202fa690, 0x1afe1e6, 0x25, 0x1a63b00, 0xc4202fa5a0, 0x1a64a00, 0xc420905ae0, 0xc420200f00, 0x1b1f1d0, ...)\r\n[ ynamic-provider/derived-inputs ] \t/Users/travis/gopath/src/github.com/pulumi/pulumi/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/client.go:81 +0x636\r\n[ ynamic-provider/derived-inputs ] github.com/pulumi/pulumi/vendor/google.golang.org/grpc.(*ClientConn).Invoke(0xc420200f00, 0x2086000, 0xc4202fa570, 0x1afe1e6, 0x25, 0x1a63b00, 0xc4202fa5a0, 0x1a64a00, 0xc420905ae0, 0x0, ...)\r\n[ ynamic-provider/derived-inputs ] \t/Users/travis/gopath/src/github.com/pulumi/pulumi/vendor/google.golang.org/grpc/call.go:35 +0x109\r\n[ ynamic-provider/derived-inputs ] github.com/pulumi/pulumi/vendor/google.golang.org/grpc.Invoke(0x2086000, 0xc4202fa570, 0x1afe1e6, 0x25, 0x1a63b00, 0xc4202fa5a0, 0x1a64a00, 0xc420905ae0, 0xc420200f00, 0x0, ...)\r\n[ ynamic-provider/derived-inputs ] \t/Users/travis/gopath/src/github.com/pulumi/pulumi/vendor/google.golang.org/grpc/call.go:60 +0xc1\r\n[ ynamic-provider/derived-inputs ] github.com/pulumi/pulumi/sdk/proto/go.(*resourceProviderClient).Configure(0xc4200906f8, 0x2086000, 0xc4202fa570, 0xc4202fa5a0, 0x0, 0x0, 0x0, 0x1010bc8, 0x19c2e80, 0x1a0f760)\r\n[ ynamic-provider/derived-inputs ] \t/Users/travis/gopath/src/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1021 +0xd2\r\n[ ynamic-provider/derived-inputs ] github.com/pulumi/pulumi/pkg/resource/plugin.(*provider).Configure.func1(0xc4208ae3c0, 0xc42188fa70, 0xc4203fdd00, 0x31)\r\n[ ynamic-provider/derived-inputs ] \t/Users/travis/gopath/src/github.com/pulumi/pulumi/pkg/resource/plugin/provider_plugin.go:194 +0xd3\r\n[ ynamic-provider/derived-inputs ] created by github.com/pulumi/pulumi/pkg/resource/plugin.(*provider).Configure\r\n[ ynamic-provider/derived-inputs ] \t/Users/travis/gopath/src/github.com/pulumi/pulumi/pkg/resource/plugin/provider_plugin.go:193 +0x5f3\r\n```"},"comment":{"url":"https://api.github.com/repos/pulumi/pulumi/issues/comments/429130906","html_url":"https://github.com/pulumi/pulumi/issues/1850#issuecomment-429130906","issue_url":"https://api.github.com/repos/pulumi/pulumi/issues/1850","id":429130906,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTEzMDkwNg==","user":{"login":"lukehoban","id":223467,"node_id":"MDQ6VXNlcjIyMzQ2Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/223467?v=4","gravatar_id":"","url":"https://api.github.com/users/lukehoban","html_url":"https://github.com/lukehoban","followers_url":"https://api.github.com/users/lukehoban/followers","following_url":"https://api.github.com/users/lukehoban/following{/other_user}","gists_url":"https://api.github.com/users/lukehoban/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehoban/subscriptions","organizations_url":"https://api.github.com/users/lukehoban/orgs","repos_url":"https://api.github.com/users/lukehoban/repos","events_url":"https://api.github.com/users/lukehoban/events{/privacy}","received_events_url":"https://api.github.com/users/lukehoban/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T21:49:33Z","updated_at":"2018-10-11T21:49:33Z","author_association":"MEMBER","body":"We had another user report seeing a panic sending on nil channel.  Seems like a different path to get here - but ultimately similar failure on shutdown which may be from the same root cause?\r\n\r\n```\r\nUpdate duration: 1m5.254728905s\r\n\r\npanic: send on closed channel\r\n\r\ngoroutine 204 [running]:\r\ngithub.com/pulumi/pulumi/pkg/backend/httpstate.(*cloudBackend).runEngineAction.func1(0xc420971bc0, 0xc420971b00, 0x0, 0xc420971d40)\r\n/home/travis/gopath/src/github.com/pulumi/pulumi/pkg/backend/httpstate/backend.go:780 +0xff\r\ncreated by github.com/pulumi/pulumi/pkg/backend/httpstate.(*cloudBackend).runEngineAction\r\n/home/travis/gopath/src/github.com/pulumi/pulumi/pkg/backend/httpstate/backend.go:777 +0x447\r\n```"}}
{"actor":{"display_login":"lukehoban"}}