pulumi / pulumi/pulumi-java

Failing Conformance Test TestLanguage/l2-resource-option-deleted-with

Open
#1,682 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/testing kind/engineering
Dominant language
Java
Stars
85
Forks
26
Avg merge
11h 49m
Merged PRs (30d)
22

Description

    --- FAIL: TestLanguage/l2-resource-option-deleted-with (51.85s)
        language_test.go:146: l2_resource_option_deleted_with.go:79:
                Error Trace:    /Users/brpol/src/pulumi/pulumi-java/pulumi/cmd/pulumi-test-language/tests/l2_resource_option_deleted_with.go:79
                                                        /Users/brpol/src/pulumi/pulumi-java/pulumi/cmd/pulumi-test-language/interface.go:1180
                                                        /Users/brpol/src/pulumi/pulumi-java/pulumi/cmd/pulumi-test-language/tests/types.go:182
                                                        /opt/homebrew/Cellar/go/1.23.5/libexec/src/runtime/asm_arm64.s:1223
                Error:          Not equal:
                                expected: "urn:pulumi:test::l2-resource-option-deleted-with::simple:index:Resource::target"
                                actual  : ""

                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1,2 +1,2 @@
                                -(urn.URN) (len=79) "urn:pulumi:test::l2-resource-option-deleted-with::simple:index:Resource::target"
                                +(urn.URN) ""

                Messages:       expected deletedWith resource to be deleted with target resource

        language_test.go:148: stdout: Created stack 'test'

             +  pulumi:pulumi:Stack l2-resource-option-deleted-with-test create
             +  simple:index:Resource notDeletedWith create
             +  simple:index:Resource target create
             +  simple:index:Resource deletedWith create
             +  pulumi:pulumi:Stack l2-resource-option-deleted-with-test create
            Resources:
                + 4 to create


             +  pulumi:pulumi:Stack l2-resource-option-deleted-with-test creating (0s)
             +  simple:index:Resource notDeletedWith creating (0s)
             +  simple:index:Resource notDeletedWith created (0.01s)
             +  simple:index:Resource deletedWith creating (0s)
             +  simple:index:Resource deletedWith created (0.00s)
             +  simple:index:Resource target creating (0s)
             +  simple:index:Resource target created (0.00s)
             +  pulumi:pulumi:Stack l2-resource-option-deleted-with-test created (0.55s)
            Resources:
                + 4 created

            Duration: 4s

        language_test.go:149: stderr:
        language_test.go:150:
                Error Trace:    /Users/brpol/src/pulumi/pulumi-java/pkg/cmd/pulumi-language-java/language_test.go:150
                Error:          Should be true
                Test:           TestLanguage/l2-resource-option-deleted-with

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the failing TestLanguage/l2-resource-option-deleted-with conformance test and inspect l2_resource_option_deleted_with.go around line 79. Read the related failure handling in language_test.go and interface.go, then run the named test. Done means the deletedWith resource reports the target resource URN and the test passes without the stderr assertion failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.