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

Duplicate underscore panic #62

Closed
joeduffy opened this issue Oct 30, 2019 · 11 comments
Closed

Duplicate underscore panic #62

joeduffy opened this issue Oct 30, 2019 · 11 comments
Labels
area/tfbridge Issues in pkg/tfbridge, which provides interop between Pulumi and TF providers kind/bug Some behavior is incorrect or out of spec needs-repro Needs repro steps before it can be triaged or fixed resolution/no-repro This issue wasn't able to be reproduced

Comments

@joeduffy
Copy link
Member

I defined the following (which I'm guessing is wrong in some way, haven't gotten that far):

    new aws.lambda.Function("get-handler", {
            runtime: aws.lambda.NodeJS10dXRuntime,
            code: new pulumi.asset.AssetArchive({
                ".": new pulumi.asset.FileArchive("./handler"),
            }),
            handler: "index.handler",
            role: handlerRole.arn,
            environment: hits.name.apply(hn => ({
                "HITS_TABLE": hn,
            })),
        }, { dependsOn: handlerPolicy })

Apparently the "HITS_TABLE" key is being transformed by our name mangling, leading to:

    panic: fatal: An assertion has failed: Unexpected duplicate underscore: h_i_t_s__t_a_b_l_e
    goroutine 118 [running]:
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/pkg/util/contract.failfast(...)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/pkg/util/contract/failfast.go:23
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/pkg/util/contract.Assertf(0xc000878500, 0x5eb457a, 0x23, 0xc00099cc38, 0x1, 0x1)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/pkg/util/contract/assert.go:33 +0x198
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.TerraformToPulumiName(0xc000878560, 0x12, 0x0, 0x0, 0xa8bff20, 0xc00099cca0)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge/names.go:74 +0x27d
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.getInfoFromTerraformName(0xc000878560, 0x12, 0xc000618480, 0x0, 0x203000, 0xc00099cd78, 0x100b759, 0xc000d614f0, 0xc00099cd90)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge/schema.go:953 +0x15d
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.MakeTerraformOutputs(0xc00099cfd0, 0xc000618480, 0x0, 0xc000dc5b00, 0xc000990100, 0xc000dbc620)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge/schema.go:561 +0x105
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.MakeTerraformOutput.func1(0x5379c60, 0xc000746000, 0xc000623200, 0x0, 0xc000dc5b00, 0x100, 0x10, 0x4ef73a0)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge/schema.go:691 +0xc46
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.MakeTerraformOutput(0x5379c60, 0xc000746000, 0xc000623200, 0x0, 0xc000dc5b00, 0xc000d60100, 0x0, 0x1)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge/schema.go:699 +0x7d
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.MakeTerraformOutput.func1(0x4e73860, 0xc000dbc640, 0xc000623200, 0x0, 0xc000dc5b00, 0xc0005e0100, 0xb, 0xb)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge/schema.go:660 +0x3e7
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.MakeTerraformOutput(0x4e73860, 0xc000dbc640, 0xc000623200, 0x0, 0xc000dc5b00, 0xc000740100, 0xb, 0xc000623200)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge/schema.go:699 +0x7d
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.MakeTerraformOutputs(0xc000dc5b30, 0xc000618540, 0xc0006e2240, 0xc000dc5b00, 0x100, 0xc000c68058)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge/schema.go:565 +0x177
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge.(*Provider).Check(0xc0005b8000, 0x6836e40, 0xc000dc55f0, 0xc000d70580, 0xc0005b8000, 0x54c3501, 0xc000d70640)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi-terraform-bridge/pkg/tfbridge/provider.go:500 +0x904
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Check_Handler.func1(0x6836e40, 0xc000dc55f0, 0x5c26b80, 0xc000d70580, 0x5cb7060, 0xa8be700, 0x6836e40, 0xc000dc55f0)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1520 +0x86
    github.com/pulumi/pulumi-aws/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x6836e40, 0xc000dc4bd0, 0x5c26b80, 0xc000d70580, 0xc000d67380, 0xc000d673a0, 0x0, 0x0, 0x679b680, 0xc0002de010)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/server.go:61 +0x360
    github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Check_Handler(0x5d3a520, 0xc0005b8000, 0x6836e40, 0xc000dc4bd0, 0xc00090ccc0, 0xc000270020, 0x6836e40, 0xc000dc4bd0, 0xc0007df600, 0x520)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1522 +0x158
    github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc0005ee000, 0x685c3c0, 0xc000546a80, 0xc000dbe500, 0xc00078a1e0, 0xa890880, 0x0, 0x0, 0x0)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc/server.go:995 +0x466
    github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).handleStream(0xc0005ee000, 0x685c3c0, 0xc000546a80, 0xc000dbe500, 0x0)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc/server.go:1275 +0xda6
    github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00016c240, 0xc0005ee000, 0x685c3c0, 0xc000546a80, 0xc000dbe500)
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc/server.go:710 +0x9f
    created by github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
    	/home/travis/gopath/src/github.com/pulumi/pulumi-aws/vendor/google.golang.org/grpc/server.go:708 +0xa1
@joeduffy
Copy link
Member Author

Slightly different version also panics:

            environment: <aws.types.input.lambda.FunctionEnvironment>{
                "HITS_TABLE": hits.name,
            },

@joeduffy
Copy link
Member Author

Problem solved. FunctionEnvironment isn't actually a map -- it has a variables property:

            environment: {
                variables: { "HITS_TABLE": hits.name },
            },

Seems like not panicking, and emitting an error (e.g. expected a structure, got a map), would be nicer.

@byteSamurai
Copy link

Please add a example to the documentation

@jkodroff
Copy link
Member

@byteSamurai The registry (at the time of writing this) does include an example which demonstrates the correct usage of environment for Lambda functions: https://www.pulumi.com/registry/packages/aws/api-docs/lambda/function/#basic-example

@jkodroff jkodroff added needs-repro Needs repro steps before it can be triaged or fixed area/tfbridge Issues in pkg/tfbridge, which provides interop between Pulumi and TF providers labels Jun 22, 2022
@woeps
Copy link

woeps commented Feb 2, 2023

Today, I encountered a similar symptom:

Diagnostics:
  aws:appsync:GraphQLApi (CoreApi):
    error: error reading from server: EOF
  pulumi:pulumi:Stack (core-rescript):
    panic: fatal: An assertion has failed: Unexpected duplicate underscore: b_s__p_r_i_v_a_t_e__n_e_s_t_e_d__s_o_m_e__n_o_n_e
    goroutine 68 [running]:
    github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/[email protected]/go/common/util/contract/failfast.go:23
    github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf(0xc0?, {0xd107441?, 0xc004444528?}, {0xc004444568?, 0xb20e6a0?, 0xc0044445b8?})
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/[email protected]/go/common/util/contract/assert.go:33 +0xed
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.TerraformToPulumiName({0xc001c296c0, 0x31}, {0x0?, 0x0?}, 0xb3a2ce0?, 0x0)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/names.go:106 +0x25f
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.getInfoFromTerraformName({0xc001c296c0, 0x31}, {0x0, 0x0}, 0x40d5bf?, 0x0)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/schema.go:1133 +0x111
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutputs({0xe3ddae8, 0xc00293a720}, 0x0?, {0x0, 0x0}, 0x98?, 0xc0044dee40?, 0xd0?, 0x57?)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/schema.go:852 +0x119
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput.func1({0xe3ddae8, 0xc00293a720}, {0xb3a2ce0, 0xc0044dec90}, {0xe3e03a0, 0xc0009c4140}, 0x0, 0xc0044dec00, 0x0, 0x1)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/schema.go:975 +0x6ea
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput({0xe3ddae8?, 0xc00293a720?}, {0xb3a2ce0?, 0xc0044dec90?}, {0xe3e03a0?, 0xc0009c4140?}, 0x46107e?, 0xb3a2ce0?, 0xb8?, 0x1)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/schema.go:983 +0x70
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutputs({0xe3ddae8, 0xc00293a720}, 0xc0009b35e0?, {0xe3bfd08, 0xc0008657d0}, 0x98?, 0xc0044dee40?, 0x40?, 0xee?)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/schema.go:856 +0x174
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput.func1({0xe3ddae8, 0xc00293a720}, {0xb3a2ce0, 0xc0044dec60}, {0xe3e02e0, 0xc0041e7e00}, 0x0, 0xc0044dec00, 0x0, 0x1)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/schema.go:975 +0x6ea
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput({0xe3ddae8?, 0xc00293a720?}, {0xb3a2ce0?, 0xc0044dec60?}, {0xe3e02e0?, 0xc0041e7e00?}, 0x1?, 0x1?, 0x10?, 0x1)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/schema.go:983 +0x70
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput.func1({0xe3ddae8, 0xc00293a720}, {0xa5ee6a0, 0xc0044ce5b8}, {0xe3e03a0, 0xc0009c4280}, 0x0, 0xc0044dec00, 0x0, 0x1)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/schema.go:944 +0xb65
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput({0xe3ddae8?, 0xc00293a720?}, {0xa5ee6a0?, 0xc0044ce5b8?}, {0xe3e03a0?, 0xc0009c4280?}, 0xc0000bb570?, 0xc0000bb59b?, 0xc8?, 0x1)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/schema.go:983 +0x70
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutputs({0xe3ddae8, 0xc00293a720}, 0xc0029e0280?, {0xe3bfd08, 0xc0008654a0}, 0xc0029635f0?, 0xe3c1f40?, 0xa0?, 0x37?)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/schema.go:856 +0x174
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Check(0xc0029e0280, {0xe3b37e8, 0xc0044de960}, 0xc0042a6540)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfbridge/provider.go:731 +0x8ea
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Check_Handler.func1({0xe3b37e8, 0xc0044de960}, {0xc811860?, 0xc0042a6540})
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/[email protected]/proto/go/provider.pb.go:3879 +0x78
    github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0xe3b37e8, 0xc0044de720}, {0xc811860, 0xc0042a6540}, 0xc0044c50e0, 0xc0044ce390)
    	/home/runner/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/go/otgrpc/server.go:57 +0x3f9
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Check_Handler({0xce16c40?, 0xc0029e0280}, {0xe3b37e8, 0xc0044de720}, 0xc0044cafc0, 0xc002a80840)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/[email protected]/proto/go/provider.pb.go:3881 +0x138
    google.golang.org/grpc.(*Server).processUnaryRPC(0xc0005fc3c0, {0xe3c3ca0, 0xc0029c7520}, 0xc0044d4120, 0xc002ac5740, 0x1691f310, 0x0)
    	/home/runner/go/pkg/mod/google.golang.org/[email protected]/server.go:1340 +0xd23
    google.golang.org/grpc.(*Server).handleStream(0xc0005fc3c0, {0xe3c3ca0, 0xc0029c7520}, 0xc0044d4120, 0x0)
    	/home/runner/go/pkg/mod/google.golang.org/[email protected]/server.go:1713 +0xa2f
    google.golang.org/grpc.(*Server).serveStreams.func1.2()
    	/home/runner/go/pkg/mod/google.golang.org/[email protected]/server.go:965 +0x98
    created by google.golang.org/grpc.(*Server).serveStreams.func1
    	/home/runner/go/pkg/mod/google.golang.org/[email protected]/server.go:963 +0x28a

Used packages:

  • node @pulumi/pulumi: 3.49.0
  • node @pulumi/aws: 5.27.0
  • pulumi cli: 3.49.0
  • pulumi resource plugin aws: 5.27.0

This happened during refactoring of a large code-base and I can't really pinpoint where or when the error is raised during the deployment. Therefore I'm not able to reproduce this in a small example.

Facts I currently know:

  • we use a (node) library which uses an object like this in it's implementation: {BS_PRIVATE_NESTED_SOME_NONE: 0}
  • pulumi-terraform-bridge/names.go:31 transforms a given name like BS_PRIVATE_NESTED_SOME_NONE to b_s__p_r_i_v_a_t_e__n_e_s_t_e_d__s_o_m_e__n_o_n_e
  • pulumi-terraform-bridge/names.go:83 chockes on a name given like b_s__p_r_i_v_a_t_e__n_e_s_t_e_d__s_o_m_e__n_o_n_e with the observed assertion-failure Unexpected duplicate underscore
  • this is probably not in relation to setting lambda environment variables with pulumi (which is the only case I found existing issues for describing similar symptoms)
  • I'm not sure if the assertion fails during serialization of js code for a lambda function (we don't use explicit js artifacts, but pulumi's ability to serialize a given js function during deployment) or if it is at a completely different location.

Any suggestion on how I could debug this any further and how to pinpoint when/where this assertion fails during the deployment?

edit: completed pasted diagnostics message (resource & error were missing)

@lukehoban lukehoban added the kind/bug Some behavior is incorrect or out of spec label Feb 3, 2023
@AaronFriel
Copy link
Contributor

Thanks for reporting this!

Coincidentally the panic assertion was removed in a recent release, not yet incorporated into the AWS provider:

And we've also made a series of improvements to the name routine in recent pull requests, we may just need to work with the providers team to repro your bug and see if the recent changes resolve.

@AaronFriel
Copy link
Contributor

@woeps could you help us reproduce by finding a minimal program or set of resources that, when you add them to your program, cause the panic?

@woeps
Copy link

woeps commented Feb 12, 2023

@AaronFriel I'd like to try, but without any hint on where I should start looking into this, I feel like it would be impossible to find the right combination to repro this issue. - We have a quite complex / large codebase.

Is there any way to get some hint on where or when the assertion fails during a deployment? e.g. trace?

Edit: I won't be able to update the node package @pulumi/pulumi above 3.49 for some time, since more recent changes in code serialization broke our code-base until I find enough time to dig through.

@AaronFriel
Copy link
Contributor

AaronFriel commented Feb 12, 2023

@woeps Usually there should be one resource implicated in causing the panic. It'd be helpful if you could list the SDK and provider versions with the output of pulumi about.

The fix I applied in #742 requires providers to upgrade to use it, and doesn't require the Pulumi engine (CLI) or core SDK to be updated, so you may be able to opt in to the fix here by updating the providers without updating @pulumi/pulumi.

Regarding your edit: if there's a breaking change in code serialization & you haven't already made an issue, please report this on https://github.com/pulumi/pulumi! Our customers rely on function serialization and we take breaks seriously. Just to make sure though, can you check to see if you're using Node 19.2 or 19.3? There was an upstream issue in V8 and Node that broke function serialization, and we requested that to be reverted. That was fixed in Node 19.4, see:

@woeps
Copy link

woeps commented Feb 16, 2023

@AaronFriel I ran pulumi about in the ci pipeline:

$ pulumi about
Logging in using access token from PULUMI_ACCESS_TOKEN
CLI          
Version      3.49.0
Go Version   go1.19.3
Go Compiler  gc
Plugins
NAME    VERSION
aws     5.27.0
nodejs  unknown
Host     
OS       debian
Version  11.6
Arch     x86_64
This project is written in nodejs: executable='/usr/local/bin/node' version='v16.19.0'

... so you may be able to opt in to the fix here by updating the providers without updating @pulumi/pulumi.

That's good to know! I wasn't quite sure, how independent these two packages were.

PS: I updated my previous message containing the pasted error message to include all of the "diagnostics" message. I guess aws:appsync:GraphQLApi means this resource is supposed to be the "culprit"? I will look into more throroughly next week. (after testing a workaround to unblock us: renaming all js object property occurences to lower-case)

@t0yv0 t0yv0 mentioned this issue Mar 13, 2023
8 tasks
@iwahbe iwahbe added the resolution/no-repro This issue wasn't able to be reproduced label Jun 29, 2023
@iwahbe
Copy link
Member

iwahbe commented Jun 29, 2023

Given the age of the issue, the fact that the triggering assert is no longer present in our code base (and we have completely rewritten the relevant function), and the lack of a reproduction, and that there has been no new information in the last 4 months, I'm going to close as no-repro.

If you see this issue again, please re-open this issue or raise a fresh issue.

@iwahbe iwahbe closed this as completed Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tfbridge Issues in pkg/tfbridge, which provides interop between Pulumi and TF providers kind/bug Some behavior is incorrect or out of spec needs-repro Needs repro steps before it can be triaged or fixed resolution/no-repro This issue wasn't able to be reproduced
Projects
None yet
Development

No branches or pull requests

8 participants