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

Fix l2-resource-secret #1564

Open
lunaris opened this issue Jan 6, 2025 · 0 comments
Open

Fix l2-resource-secret #1564

lunaris opened this issue Jan 6, 2025 · 0 comments
Labels
area/codegen Code generation kind/bug Some behavior is incorrect or out of spec language-host Runtime that executes user programs

Comments

@lunaris
Copy link
Contributor

lunaris commented Jan 6, 2025

The l2-resource-secret test currently fails, possibly due to an issue generating secret-handling SDKs for nested values, or something else.

=== NAME  TestLanguage/l2-resource-secret
    language_test.go:146: l2_resource_secret.go:36: 
                Error Trace:    /home/will/git/pulumi/pulumi-java-main/pulumi/cmd/pulumi-test-language/tests/assert.go:35
                                                        /home/will/git/pulumi/pulumi-java-main/pulumi/cmd/pulumi-test-language/tests/assert.go:44
                                                        /home/will/git/pulumi/pulumi-java-main/pulumi/cmd/pulumi-test-language/tests/l2_resource_secret.go:36
                                                        /home/will/git/pulumi/pulumi-java-main/pulumi/cmd/pulumi-test-language/interface.go:1098
                                                        /home/will/git/pulumi/pulumi-java-main/pulumi/cmd/pulumi-test-language/tests/types.go:182
                                                        /nix/store/chzgk756zb2cqlzbjr86m0lfxi63cdfy-go-1.22.7/share/go/src/runtime/asm_amd64.s:1695
                Error:          Expected nil, but got: &result.bailError{err:(*result.bailError)(0xc00026b9d0)}
                Messages:       expected no error, got BAIL: BAIL: resource urn:pulumi:test::l2-resource-secret::secret:index:Resource::res is invalid
        
    language_test.go:148: stdout: Created stack 'test'
        
         +  pulumi:pulumi:Stack l2-resource-secret-test creating (0s) 
            secret:index:Resource res  error: secret:index:Resource resource 'res': property privateData value {map[private:{closed} public:{open}]} has a problem: value is not a secret object
         +  pulumi:pulumi:Stack l2-resource-secret-test created (0.06s) 
            secret:index:Resource res **failed** 1 error
        Diagnostics:
          secret:index:Resource (res):
            error: secret:index:Resource resource 'res': property privateData value {map[private:{closed} public:{open}]} has a problem: value is not a secret object
        
        Resources:
            + 1 created
        
        Duration: 2s
        
    language_test.go:149: stderr: 
    language_test.go:150: 
                Error Trace:    /home/will/git/pulumi/pulumi-java-main/pkg/cmd/pulumi-language-java/language_test.go:150
                Error:          Should be true
                Test:           TestLanguage/l2-resource-secret
^Csignal: interrupt
FAIL    github.com/pulumi/pulumi-java/pkg/cmd/pulumi-language-java      68.255s
@lunaris lunaris added area/codegen Code generation kind/bug Some behavior is incorrect or out of spec language-host Runtime that executes user programs labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/codegen Code generation kind/bug Some behavior is incorrect or out of spec language-host Runtime that executes user programs
Projects
None yet
Development

No branches or pull requests

1 participant