Skip to content

Distributed tracing causing issues with Google Cloud Function deploy #56

@RobinUS2

Description

@RobinUS2

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:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions