Skip to content
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

Distributed tracing causing issues with Google Cloud Function deploy #56

Closed
RobinUS2 opened this issue Oct 23, 2020 · 4 comments
Closed
Assignees

Comments

@RobinUS2
Copy link

RobinUS2 commented Oct 23, 2020

as of today we tried to redeploy an existing function (no changes actually, so quite odd) with the following error:

Deploying function (may take a while - up to 2 minutes)...
..
For Cloud Build Stackdriver Logs, visit: https://console.cloud.google.com/logs/viewer?project=SNIP&advancedFilter=resource.type%3Dbuild%0Aresource.labels.build_id%3D11fd0f83-01ca-SNIP-2de2857b7199%0AlogName%3Dprojects%2FSNIP%2Flogs%2Fcloudbuild
..................................................failed.
ERROR: (gcloud.functions.deploy) OperationError:
 code=3, message=Build failed: # github.com/cloudevents/sdk-go/v2/extensions
src/github.com/cloudevents/sdk-go/v2/extensions/distributed_tracing_extension.go:161:3: cannot use span (type trace.Span) as type *trace.Span in return argument:
	*trace.Span is pointer to interface, not interface; Error ID: 1093f764 
FATA[0136] failed deployment of 383: exit status 1   

screenshot of cloud build logs:
Screenshot 2020-10-23 at 14 52 44

other people referencing the same issue:

@tbpg
Copy link

tbpg commented Oct 23, 2020

Thank you for the report. We're investigating and working on a fix.

@ottob
Copy link

ottob commented Oct 23, 2020

Deploying works again now. Thanks for a quick fix.

@tbpg
Copy link

tbpg commented Oct 23, 2020

Great. I'm seeing the same thing on my side.

@tbpg
Copy link

tbpg commented Oct 23, 2020

Closing this, but let us know if it comes up again!

@tbpg tbpg closed this as completed Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants