-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting a panic in the inmemory dispatcher #1986
Comments
@Harwayne this looks like a tracing issue |
was working before this PR: #1972 |
This is running in a cluster without tracing enabled. |
It seems more complicated than a cronjob to event-display. The failing config is this one: https://github.com/lionelvillard/knative-examples/tree/master/examples/sequence/config |
/assign |
The failing line is:
So either s or s.data is nil.
It is being called from here eventing/pkg/tracing/traceparent.go Lines 82 to 83 in 3f243b5
So either
eventing/vendor/go.opencensus.io/trace/trace.go Lines 193 to 202 in ec33114
There is only one return from that method, line 201. On line 200, span.executionTraceTaskEnd is set, so that shows that span is not nil, span.data is.
startSpanInternal is used to create the span.
span.data is nil.
I'll have a PR to fix this soon. |
Note that for this to reproduce, tracing has to be set to disabled. Or at least a request has to go through that isn't sampled. |
Can we reopen? Still not working. I'm testing against nightly, so it could an issue with the nightly image. |
/reopen Some additional details that will help.
|
@Harwayne: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/milestone v0.10.0 |
This is fixed in the master branch. The nightly build failed last night so I was still using the wrong image. |
Describe the bug
A cronjob sending an event to a ksvc causes this panic:
Expected behavior
no panic
To Reproduce
Create a cronjob sending event to channel?
Knative release version
nightly
The text was updated successfully, but these errors were encountered: