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

pulumi: 3.122.0 -> 3.137.0 #352221

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

saiintbrisson
Copy link

Things done

This change upgrades pulumi through multiple versions and its relevante packages in pulumi-packages.

Packages in pulumi-packages were considerably outdated, some tweaks were necessary to make them work again:

  • pulumi-aws-native now requires docs to be generated before generating the schema,
  • pulumi-azure-native requires a new v2-lock.json file to be copied to the correct path before building the gen command and resource,
  • pulumi-language-{nodejs,python} fails to pass some tests that require special setup done through Pulumi's makefile, which I deem irrelevante here.

pulumi itself also requires disabling and tweaking some tests.

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@NixOSInfra NixOSInfra added the 12. first-time contribution This PR is the author's first one; please be gentle! label Oct 29, 2024
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm open to ideas on how else to do this

Comment on lines 99 to 106
"TestProgressEvents"
# This test depends on having a PULUMI_ACCESS_TOKEN but is not skipped when one is not provided.
# Other tests are skipped when the env var is missing. I guess they forgot about this one.
"TestPulumiNewSetsTemplateTag/python"
# Both tests require having a "pulumi-language-yaml" plugin installed since pulumi/pulumi#17285,
# which I'm not sure how to add.
"TestProjectNameDefaults"
"TestProjectNameOverrides"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulumi tests are very flaky.

Comment on lines +16 to +20
cmdGenPostConfigure = ''
pushd ..
cp versions/v2-lock.json provider/pkg/versionLookup/
popd
'';
Copy link
Author

@saiintbrisson saiintbrisson Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both builds require this file as it is embedded in a common file. Their makefile does this manually as well.

@06kellyjac
Copy link
Member

Does this resolve #351955 ?

@saiintbrisson
Copy link
Author

Does this resolve #351955 ?

I wasn't aware of this issue but Im guessing it does. Had no problems building pulumi and packages on darwin, at least. I suppose it wont fail in linux either.

@06kellyjac
Copy link
Member

👍 I imagine it does (if it wasn't fixed already somewhere on master/unstable), ofborg seems happy.

@SchahinRohani
Copy link

Tried to apply this PR as a patch in a nix flake on an Ubuntu WSL2 instance and got this:

error: builder for '/nix/store/md0cg0n0fq2qv6x56yz631d1xhzlw9db-pulumi-3.137.0.drv' failed with exit code 1;
       last 25 log lines:
       >         panic: fatal: A precondition has failed for path: must not be empty
       >
       > goroutine 130 [running]:
       > testing.tRunner.func1.2({0x25b52c0, 0xc0019ba240})
       >     /nix/store/klw1ipjsqx1np7pkk833x7sad7f3ivv9-go-1.23.2/share/go/src/testing/testing.go:1632 +0x230
       > testing.tRunner.func1()
       >     /nix/store/klw1ipjsqx1np7pkk833x7sad7f3ivv9-go-1.23.2/share/go/src/testing/testing.go:1635 +0x35e
       > panic({0x25b52c0?, 0xc0019ba240?})
       >  /nix/store/klw1ipjsqx1np7pkk833x7sad7f3ivv9-go-1.23.2/share/go/src/runtime/panic.go:785 +0x132
       > github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)
       >  /build/pulumi/pkg/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/contract/failfast.go:23
       > github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Requiref(0x68?, {0x2add276?, 0x5?}, {0x2b357a0, 0x11}, {0x0, 0x0, 0x0})
       >       /build/pulumi/pkg/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/contract/require.go:35 +0x199
       > github.com/pulumi/pulumi/sdk/v3/go/common/workspace.LoadProject({0x0, 0x0})
       >     /build/pulumi/pkg/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/loaders.go:90 +0x55
       > github.com/pulumi/pulumi/pkg/v3/cmd/pulumi.loadProject(0xc002958000, {0xc002996000?, 0x3269be0?})
       >    /build/pulumi/pkg/cmd/pulumi/new_acceptance_test.go:255 +0x59
       > github.com/pulumi/pulumi/pkg/v3/cmd/pulumi.TestPulumiNewSetsTemplateTag.func1(0xc002958000)
       >     /build/pulumi/pkg/cmd/pulumi/new_test.go:1123 +0x275
       > testing.tRunner(0xc002958000, 0xc002884000)
       >      /nix/store/klw1ipjsqx1np7pkk833x7sad7f3ivv9-go-1.23.2/share/go/src/testing/testing.go:1690 +0xf4
       > created by testing.(*T).Run in goroutine 124
       >         /nix/store/klw1ipjsqx1np7pkk833x7sad7f3ivv9-go-1.23.2/share/go/src/testing/testing.go:1743 +0x390
       > FAIL github.com/pulumi/pulumi/pkg/v3/cmd/pulumi      0.190s
       > FAIL
       For full logs, run 'nix log /nix/store/md0cg0n0fq2qv6x56yz631d1xhzlw9db-pulumi-3.137.0.drv'.
error: 1 dependencies of derivation '/nix/store/hnzys3qgd2rbrd0ynspqbllvz26szjbr-nix-shell-env.drv' failed to build

@saiintbrisson
Copy link
Author

Tried to apply this PR as a patch in a nix flake on an Ubuntu WSL2 instance and got this:

error: builder for '/nix/store/md0cg0n0fq2qv6x56yz631d1xhzlw9db-pulumi-3.137.0.drv' failed with exit code 1;
       last 25 log lines:
       >         panic: fatal: A precondition has failed for path: must not be empty
       >
       > goroutine 130 [running]:
       > testing.tRunner.func1.2({0x25b52c0, 0xc0019ba240})
       >     /nix/store/klw1ipjsqx1np7pkk833x7sad7f3ivv9-go-1.23.2/share/go/src/testing/testing.go:1632 +0x230
       > testing.tRunner.func1()
       >     /nix/store/klw1ipjsqx1np7pkk833x7sad7f3ivv9-go-1.23.2/share/go/src/testing/testing.go:1635 +0x35e
       > panic({0x25b52c0?, 0xc0019ba240?})
       >  /nix/store/klw1ipjsqx1np7pkk833x7sad7f3ivv9-go-1.23.2/share/go/src/runtime/panic.go:785 +0x132
       > github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)
       >  /build/pulumi/pkg/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/contract/failfast.go:23
       > github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Requiref(0x68?, {0x2add276?, 0x5?}, {0x2b357a0, 0x11}, {0x0, 0x0, 0x0})
       >       /build/pulumi/pkg/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/contract/require.go:35 +0x199
       > github.com/pulumi/pulumi/sdk/v3/go/common/workspace.LoadProject({0x0, 0x0})
       >     /build/pulumi/pkg/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/loaders.go:90 +0x55
       > github.com/pulumi/pulumi/pkg/v3/cmd/pulumi.loadProject(0xc002958000, {0xc002996000?, 0x3269be0?})
       >    /build/pulumi/pkg/cmd/pulumi/new_acceptance_test.go:255 +0x59
       > github.com/pulumi/pulumi/pkg/v3/cmd/pulumi.TestPulumiNewSetsTemplateTag.func1(0xc002958000)
       >     /build/pulumi/pkg/cmd/pulumi/new_test.go:1123 +0x275
       > testing.tRunner(0xc002958000, 0xc002884000)
       >      /nix/store/klw1ipjsqx1np7pkk833x7sad7f3ivv9-go-1.23.2/share/go/src/testing/testing.go:1690 +0xf4
       > created by testing.(*T).Run in goroutine 124
       >         /nix/store/klw1ipjsqx1np7pkk833x7sad7f3ivv9-go-1.23.2/share/go/src/testing/testing.go:1743 +0x390
       > FAIL github.com/pulumi/pulumi/pkg/v3/cmd/pulumi      0.190s
       > FAIL
       For full logs, run 'nix log /nix/store/md0cg0n0fq2qv6x56yz631d1xhzlw9db-pulumi-3.137.0.drv'.
error: 1 dependencies of derivation '/nix/store/hnzys3qgd2rbrd0ynspqbllvz26szjbr-nix-shell-env.drv' failed to build

Could you please find the name of the failing test? You can do it by tapping into the full logs and searching for the line with FAIL:

@SchahinRohani
Copy link

Yes sure, here it is:

--- FAIL: TestPulumiNewSetsTemplateTag (0.01s)
    --- FAIL: TestPulumiNewSetsTemplateTag/typescript (0.01s)
        new_test.go:1121: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/new_test.go:1121
                Error:          Received unexpected error:
                                cloning templates repo: Get "https://github.com/pulumi/templates.git/info/refs?service=>
                Test:           TestPulumiNewSetsTemplateTag/typescript
        new_acceptance_test.go:254: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/new_acceptance_test.go:254
                                                        /build/pulumi/pkg/cmd/pulumi/new_test.go:1123
                Error:          Received unexpected error:
                                no Pulumi.yaml project file found (searching upwards from /build/TestPulumiNewSetsTempl>
                Test:           TestPulumiNewSetsTemplateTag/typescript
panic: fatal: A precondition has failed for path: must not be empty [recovered]
        panic: fatal: A precondition has failed for path: must not be empty

@saiintbrisson
Copy link
Author

Yes sure, here it is:

--- FAIL: TestPulumiNewSetsTemplateTag (0.01s)
    --- FAIL: TestPulumiNewSetsTemplateTag/typescript (0.01s)
        new_test.go:1121: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/new_test.go:1121
                Error:          Received unexpected error:
                                cloning templates repo: Get "https://github.com/pulumi/templates.git/info/refs?service=>
                Test:           TestPulumiNewSetsTemplateTag/typescript
        new_acceptance_test.go:254: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/new_acceptance_test.go:254
                                                        /build/pulumi/pkg/cmd/pulumi/new_test.go:1123
                Error:          Received unexpected error:
                                no Pulumi.yaml project file found (searching upwards from /build/TestPulumiNewSetsTempl>
                Test:           TestPulumiNewSetsTemplateTag/typescript
panic: fatal: A precondition has failed for path: must not be empty [recovered]
        panic: fatal: A precondition has failed for path: must not be empty

It seems like there's more to the right of cloning templates repo: Get "https://github.com/pulumi/templates.git/info/refs?service=>. I was unable to reproduce the error here.

@cnemo-cenic
Copy link

cnemo-cenic commented Nov 4, 2024

Hitting github rate limits with this branch

E1104 19:45:57.155501   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-pkgA/releases/latest, try again in 59m58.844528s. You can set GITHUB_TOKEN to make an authenticated request with a higher ra>
E1104 19:45:57.157077   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-TestLanguage/releases/latest, try again in 59m58.842938s. You can set GITHUB_TOKEN to make an authenticated request with a h>
E1104 19:45:57.159455   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-pkgA/releases/tags/v1.0.0, try again in 59m58.840573s. You can set GITHUB_TOKEN to make an authenticated request with a high>
E1104 19:45:57.159497   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-TestLanguage/releases/latest, try again in 59m58.840515s. You can set GITHUB_TOKEN to make an authenticated request with a h>
E1104 19:45:57.159920   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-pkgA/releases/tags/v1.0.0, try again in 59m58.840092s. You can set GITHUB_TOKEN to make an authenticated request with a high>
E1104 19:45:57.167416   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-TestLanguage/releases/latest, try again in 59m58.832606s. You can set GITHUB_TOKEN to make an authenticated request with a h>
panic: test timed out after 10m0s```

@saiintbrisson
Copy link
Author

Hitting github rate limits with this branch

E1104 19:45:57.155501   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-pkgA/releases/latest, try again in 59m58.844528s. You can set GITHUB_TOKEN to make an authenticated request with a higher ra>
E1104 19:45:57.157077   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-TestLanguage/releases/latest, try again in 59m58.842938s. You can set GITHUB_TOKEN to make an authenticated request with a h>
E1104 19:45:57.159455   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-pkgA/releases/tags/v1.0.0, try again in 59m58.840573s. You can set GITHUB_TOKEN to make an authenticated request with a high>
E1104 19:45:57.159497   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-TestLanguage/releases/latest, try again in 59m58.840515s. You can set GITHUB_TOKEN to make an authenticated request with a h>
E1104 19:45:57.159920   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-pkgA/releases/tags/v1.0.0, try again in 59m58.840092s. You can set GITHUB_TOKEN to make an authenticated request with a high>
E1104 19:45:57.167416   56647 plugins.go:484] GitHub rate limit exceeded for https://api.github.com/repos/pulumi/pulumi-TestLanguage/releases/latest, try again in 59m58.832606s. You can set GITHUB_TOKEN to make an authenticated request with a h>
panic: test timed out after 10m0s```

I've been facing this as well but I'm not sure what we should do except for disabling most tests.

@folliehiyuki
Copy link

Would setting PULUMI_DISABLE_AUTOMATIC_PLUGIN_ACQUISITION=true while running tests prevent the API rate limit issue? See pulumi/pulumi#15900.

@saiintbrisson
Copy link
Author

Would setting PULUMI_DISABLE_AUTOMATIC_PLUGIN_ACQUISITION=true while running tests prevent the API rate limit issue? See pulumi/pulumi#15900.

Oh, tysm. Seems like it does help, pushed it.

@aaronmondal
Copy link
Contributor

aaronmondal commented Nov 6, 2024

Getting these failures on x86-64-linux:

Logs
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/f665rzhjmx5z9hwpxy78m8spvczh3m0y-pulumi
source root is pulumi/pkg
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Building subPackage ./asset
Building subPackage ./authhelpers
Building subPackage ./backend
Building subPackage ./backend/display
Building subPackage ./backend/display/internal/terminal
Building subPackage ./backend/display/wasm
package github.com/pulumi/pulumi/pkg/v3/backend/display/wasm: build constraints exclude all Go files in /build/pulumi/pkg/backend/display/wasm
Building subPackage ./backend/diy
Building subPackage ./backend/filestate
Building subPackage ./backend/httpstate
Building subPackage ./backend/httpstate/client
Building subPackage ./backend/state
Building subPackage ./cmd/pulumi
Building subPackage ./codegen
Building subPackage ./codegen/cgstrings
Building subPackage ./codegen/convert
Building subPackage ./codegen/docs
Building subPackage ./codegen/dotnet
Building subPackage ./codegen/dotnet/gen_program_test/batch1
github.com/pulumi/pulumi/pkg/v3/codegen/dotnet/gen_program_test/batch1: no non-test Go files in /build/pulumi/pkg/codegen/dotnet/gen_program_test/batch1
Building subPackage ./codegen/dotnet/gen_program_test/batch2
github.com/pulumi/pulumi/pkg/v3/codegen/dotnet/gen_program_test/batch2: no non-test Go files in /build/pulumi/pkg/codegen/dotnet/gen_program_test/batch2
Building subPackage ./codegen/dotnet/gen_program_test/batch3
github.com/pulumi/pulumi/pkg/v3/codegen/dotnet/gen_program_test/batch3: no non-test Go files in /build/pulumi/pkg/codegen/dotnet/gen_program_test/batch3
Building subPackage ./codegen/dotnet/gen_program_test/batch4
github.com/pulumi/pulumi/pkg/v3/codegen/dotnet/gen_program_test/batch4: no non-test Go files in /build/pulumi/pkg/codegen/dotnet/gen_program_test/batch4
Building subPackage ./codegen/dotnet/gen_program_test/batch5
github.com/pulumi/pulumi/pkg/v3/codegen/dotnet/gen_program_test/batch5: no non-test Go files in /build/pulumi/pkg/codegen/dotnet/gen_program_test/batch5
Building subPackage ./codegen/dotnet/gen_program_test/batch6
github.com/pulumi/pulumi/pkg/v3/codegen/dotnet/gen_program_test/batch6: no non-test Go files in /build/pulumi/pkg/codegen/dotnet/gen_program_test/batch6
Building subPackage ./codegen/dotnet/gen_program_test/batchyaml
github.com/pulumi/pulumi/pkg/v3/codegen/dotnet/gen_program_test/batchyaml: no non-test Go files in /build/pulumi/pkg/codegen/dotnet/gen_program_test/batchyaml
Building subPackage ./codegen/gen_program_test
Building subPackage ./codegen/go
Building subPackage ./codegen/go/gen_program_test/batch1
github.com/pulumi/pulumi/pkg/v3/codegen/go/gen_program_test/batch1: no non-test Go files in /build/pulumi/pkg/codegen/go/gen_program_test/batch1
Building subPackage ./codegen/go/gen_program_test/batch2
github.com/pulumi/pulumi/pkg/v3/codegen/go/gen_program_test/batch2: no non-test Go files in /build/pulumi/pkg/codegen/go/gen_program_test/batch2
Building subPackage ./codegen/go/gen_program_test/batch3
github.com/pulumi/pulumi/pkg/v3/codegen/go/gen_program_test/batch3: no non-test Go files in /build/pulumi/pkg/codegen/go/gen_program_test/batch3
Building subPackage ./codegen/go/gen_program_test/batch4
github.com/pulumi/pulumi/pkg/v3/codegen/go/gen_program_test/batch4: no non-test Go files in /build/pulumi/pkg/codegen/go/gen_program_test/batch4
Building subPackage ./codegen/go/gen_program_test/batch5
github.com/pulumi/pulumi/pkg/v3/codegen/go/gen_program_test/batch5: no non-test Go files in /build/pulumi/pkg/codegen/go/gen_program_test/batch5
Building subPackage ./codegen/go/gen_program_test/batch6
github.com/pulumi/pulumi/pkg/v3/codegen/go/gen_program_test/batch6: no non-test Go files in /build/pulumi/pkg/codegen/go/gen_program_test/batch6
Building subPackage ./codegen/go/gen_program_test/batchyaml
github.com/pulumi/pulumi/pkg/v3/codegen/go/gen_program_test/batchyaml: no non-test Go files in /build/pulumi/pkg/codegen/go/gen_program_test/batchyaml
Building subPackage ./codegen/hcl2/model
Building subPackage ./codegen/hcl2/model/format
Building subPackage ./codegen/hcl2/model/pretty
Building subPackage ./codegen/hcl2/syntax
Building subPackage ./codegen/nodejs
Building subPackage ./codegen/nodejs/gen_program_test/batch1
github.com/pulumi/pulumi/pkg/v3/codegen/nodejs/gen_program_test/batch1: no non-test Go files in /build/pulumi/pkg/codegen/nodejs/gen_program_test/batch1
Building subPackage ./codegen/nodejs/gen_program_test/batch2
github.com/pulumi/pulumi/pkg/v3/codegen/nodejs/gen_program_test/batch2: no non-test Go files in /build/pulumi/pkg/codegen/nodejs/gen_program_test/batch2
Building subPackage ./codegen/nodejs/gen_program_test/batch3
github.com/pulumi/pulumi/pkg/v3/codegen/nodejs/gen_program_test/batch3: no non-test Go files in /build/pulumi/pkg/codegen/nodejs/gen_program_test/batch3
Building subPackage ./codegen/nodejs/gen_program_test/batch4
github.com/pulumi/pulumi/pkg/v3/codegen/nodejs/gen_program_test/batch4: no non-test Go files in /build/pulumi/pkg/codegen/nodejs/gen_program_test/batch4
Building subPackage ./codegen/nodejs/gen_program_test/batch5
github.com/pulumi/pulumi/pkg/v3/codegen/nodejs/gen_program_test/batch5: no non-test Go files in /build/pulumi/pkg/codegen/nodejs/gen_program_test/batch5
Building subPackage ./codegen/nodejs/gen_program_test/batch6
github.com/pulumi/pulumi/pkg/v3/codegen/nodejs/gen_program_test/batch6: no non-test Go files in /build/pulumi/pkg/codegen/nodejs/gen_program_test/batch6
Building subPackage ./codegen/nodejs/gen_program_test/batchyaml
github.com/pulumi/pulumi/pkg/v3/codegen/nodejs/gen_program_test/batchyaml: no non-test Go files in /build/pulumi/pkg/codegen/nodejs/gen_program_test/batchyaml
Building subPackage ./codegen/nodejs/tstypes
Building subPackage ./codegen/pcl
Building subPackage ./codegen/python
Building subPackage ./codegen/python/gen_program_test/batch1
github.com/pulumi/pulumi/pkg/v3/codegen/python/gen_program_test/batch1: no non-test Go files in /build/pulumi/pkg/codegen/python/gen_program_test/batch1
Building subPackage ./codegen/python/gen_program_test/batch2
github.com/pulumi/pulumi/pkg/v3/codegen/python/gen_program_test/batch2: no non-test Go files in /build/pulumi/pkg/codegen/python/gen_program_test/batch2
Building subPackage ./codegen/python/gen_program_test/batch3
github.com/pulumi/pulumi/pkg/v3/codegen/python/gen_program_test/batch3: no non-test Go files in /build/pulumi/pkg/codegen/python/gen_program_test/batch3
Building subPackage ./codegen/python/gen_program_test/batch4
github.com/pulumi/pulumi/pkg/v3/codegen/python/gen_program_test/batch4: no non-test Go files in /build/pulumi/pkg/codegen/python/gen_program_test/batch4
Building subPackage ./codegen/python/gen_program_test/batch5
github.com/pulumi/pulumi/pkg/v3/codegen/python/gen_program_test/batch5: no non-test Go files in /build/pulumi/pkg/codegen/python/gen_program_test/batch5
Building subPackage ./codegen/python/gen_program_test/batch6
github.com/pulumi/pulumi/pkg/v3/codegen/python/gen_program_test/batch6: no non-test Go files in /build/pulumi/pkg/codegen/python/gen_program_test/batch6
Building subPackage ./codegen/python/gen_program_test/batchyaml
github.com/pulumi/pulumi/pkg/v3/codegen/python/gen_program_test/batchyaml: no non-test Go files in /build/pulumi/pkg/codegen/python/gen_program_test/batchyaml
Building subPackage ./codegen/report
Building subPackage ./codegen/schema
Building subPackage ./codegen/testing/test
Building subPackage ./codegen/testing/utils
Building subPackage ./display
Building subPackage ./engine
Building subPackage ./engine/lifecycletest
Building subPackage ./graph
Building subPackage ./graph/dotconv
Building subPackage ./importer
Building subPackage ./operations
Building subPackage ./resource/analyzer
Building subPackage ./resource/deploy
Building subPackage ./resource/deploy/deploytest
Building subPackage ./resource/deploy/providers
Building subPackage ./resource/edit
Building subPackage ./resource/graph
Building subPackage ./resource/provider
Building subPackage ./resource/stack
Building subPackage ./secrets
Building subPackage ./secrets/b64
Building subPackage ./secrets/cloud
Building subPackage ./secrets/passphrase
Building subPackage ./secrets/service
Building subPackage ./testing/integration
Building subPackage ./util
Building subPackage ./util/afero
Building subPackage ./util/cancel
Building subPackage ./util/gsync
Building subPackage ./util/rpcdebug
Building subPackage ./util/testutil
Building subPackage ./util/tracing
Building subPackage ./util/validation
Building subPackage ./version
Building subPackage ./workspace
buildPhase completed in 1 minutes 8 seconds
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
ok      github.com/pulumi/pulumi/pkg/v3/authhelpers     0.011s
ok      github.com/pulumi/pulumi/pkg/v3/backend 0.051s
ok      github.com/pulumi/pulumi/pkg/v3/backend/display 1.187s
ok      github.com/pulumi/pulumi/pkg/v3/backend/display/internal/terminal       0.030s
ok      github.com/pulumi/pulumi/pkg/v3/backend/diy     0.503s
ok      github.com/pulumi/pulumi/pkg/v3/backend/httpstate       12.293s
ok      github.com/pulumi/pulumi/pkg/v3/backend/httpstate/client        0.042s
--- FAIL: TestPulumiPromptRuntimeOptions (0.00s)
    new_test.go:1181: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/new_test.go:1181
                Error:          Received unexpected error:
                                cloning templates repo: Get "https://github.com/pulumi/templates.git/info/refs?service=git-upload-pack": dial tcp: lookup github.com on [::1]:
53: read udp [::1]:38831->[::1]:53: read: connection refused
                Test:           TestPulumiPromptRuntimeOptions
    new_test.go:1183: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/new_test.go:1183
                Error:          Received unexpected error:
                                cloning templates repo: Get "https://github.com/pulumi/templates.git/info/refs?service=git-upload-pack": dial tcp: lookup github.com on [::1]:
53: read udp [::1]:38831->[::1]:53: read: connection refused
                Test:           TestPulumiPromptRuntimeOptions
NAME             LAST UPDATE  RESOURCE COUNT
stack-in-page-1  n/a          n/a
stack-in-page-4  n/a          n/a
stack-in-page-4  n/a          n/a
Planning to move the following resources from organization/test/sourceStack to organization/test/destStack:

  - urn:pulumi:sourceStack::test::d:e:f$a:b:c::name

Successfully moved resources from organization/test/sourceStack to organization/test/destStack
warning: deleting protected resource urn:pulumi:proj::stk::pkg:index:typ::res due to presence of --force
Resource deleted
Resource deleted
Converting from pcl...
Converting to pcl...
Res: 2024-11-06 20:01:39 +0000 UTC
--- FAIL: TestValidateRelativeDirectory (0.00s)
    deployment_settings_utils_test.go:237: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:237
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:93
                Error:          Received unexpected error:
                                Get "https://github.com/pulumi/test-repo.git/info/refs?service=git-upload-pack": dial tcp: lookup github.com on [::1]:53: read udp [::1]:41981
->[::1]:53: read: connection refused
                Test:           TestValidateRelativeDirectory
    deployment_settings_utils_test.go:106: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:106
                Error:          Received unexpected error:
                                invalid relative path goproj
                Test:           TestValidateRelativeDirectory
--- FAIL: TestRepoLookup (0.01s)
    --- FAIL: TestRepoLookup/should_handle_directories_that_are_a_git_repo (0.00s)
        deployment_settings_utils_test.go:237: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:237
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:61
                Error:          Received unexpected error:
                                Get "https://github.com/pulumi/test-repo.git/info/refs?service=git-upload-pack": dial tcp: lookup github.com on [::1]:53: read udp [::1]:39553
->[::1]:53: read: connection refused
                Test:           TestRepoLookup/should_handle_directories_that_are_a_git_repo
        deployment_settings_utils_test.go:66: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:66
                Error:          Object expected to be of type *main.repoLookupImpl, but was *main.noRepoLookupImpl
                Test:           TestRepoLookup/should_handle_directories_that_are_a_git_repo
        deployment_settings_utils_test.go:72: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:72
                Error:          Not equal: 
                                expected: "goproj/something"
                                actual  : "."
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -goproj/something
                                +.
                Test:           TestRepoLookup/should_handle_directories_that_are_a_git_repo
        deployment_settings_utils_test.go:75: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:75
                Error:          Not equal: 
                                expected: "refs/heads/master"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -refs/heads/master
                                +
                Test:           TestRepoLookup/should_handle_directories_that_are_a_git_repo
        deployment_settings_utils_test.go:79: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:79
                Error:          Not equal: 
                                expected: "https://github.com/pulumi/test-repo.git"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -https://github.com/pulumi/test-repo.git
                                +
                Test:           TestRepoLookup/should_handle_directories_that_are_a_git_repo
        deployment_settings_utils_test.go:81: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:81
                Error:          Not equal: 
                                expected: "/build/pulumi_deployment_settings2967943393"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -/build/pulumi_deployment_settings2967943393
                                +
                Test:           TestRepoLookup/should_handle_directories_that_are_a_git_repo
--foo --bar a filename.txt
filename.txt
Hello filename.txt
--- FAIL: TestDSConfigureGit (0.02s)
    deployment_settings_utils_test.go:237: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_utils_test.go:237
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:131
                Error:          Received unexpected error:
                                Get "https://github.com/pulumi/test-repo.git/info/refs?service=git-upload-pack": dial tcp: lookup github.com on [::1]:53: read udp [::1]:58207
->[::1]:53: read: connection refused
                Test:           TestDSConfigureGit
    --- FAIL: TestDSConfigureGit/using_the_GH_app_already_configured (0.00s)
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:440
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:261
                Error:          Not equal: 
                                expected: "https://github.com/pulumi/test-repo.git"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -https://github.com/pulumi/test-repo.git
                                +
                Test:           TestDSConfigureGit/using_the_GH_app_already_configured
    --- FAIL: TestDSConfigureGit/using_the_GH_app (0.00s)
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:412
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:185
                Error:          Not equal: 
                                expected: "goproj"
                                actual  : "."
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -goproj
                                +.
                Test:           TestDSConfigureGit/using_the_GH_app
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:428
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:185
                Error:          Not equal: 
                                expected: "refs/heads/master"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -refs/heads/master
                                +
                Test:           TestDSConfigureGit/using_the_GH_app
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:440
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:185
                Error:          Not equal: 
                                expected: "https://github.com/pulumi/test-repo.git"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -https://github.com/pulumi/test-repo.git
                                +
                Test:           TestDSConfigureGit/using_the_GH_app
    --- FAIL: TestDSConfigureGit/github_repo_but_the_app_is_not_installed (0.00s)
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:412
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:526
                Error:          Not equal: 
                                expected: "goproj"
                                actual  : "."
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -goproj
                                +.
                Test:           TestDSConfigureGit/github_repo_but_the_app_is_not_installed
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:428
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:526
                Error:          Not equal: 
                                expected: "refs/heads/master"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -refs/heads/master
                                +
                Test:           TestDSConfigureGit/github_repo_but_the_app_is_not_installed
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:440
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:526
                Error:          Not equal: 
                                expected: "https://github.com/pulumi/test-repo.git"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -https://github.com/pulumi/test-repo.git
                                +
                Test:           TestDSConfigureGit/github_repo_but_the_app_is_not_installed
    --- FAIL: TestDSConfigureGit/using_credentials (0.00s)
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:412
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:394
                Error:          Not equal: 
                                expected: "goproj"
                                actual  : "."
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -goproj
                                +.
                Test:           TestDSConfigureGit/using_credentials
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:428
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:394
                Error:          Not equal: 
                                expected: "refs/heads/master"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -refs/heads/master
                                +
                Test:           TestDSConfigureGit/using_credentials
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:440
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:394
                Error:          Not equal: 
                                expected: "https://github.com/pulumi/test-repo.git"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -https://github.com/pulumi/test-repo.git
                                +
                Test:           TestDSConfigureGit/using_credentials
    --- FAIL: TestDSConfigureGit/github_repo_but_the_app_is_not_installed_and_aborts (0.00s)
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:412
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:591
                Error:          Not equal: 
                                expected: "goproj"
                                actual  : "."
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -goproj
                                +.
                Test:           TestDSConfigureGit/github_repo_but_the_app_is_not_installed_and_aborts
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:428
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:591
                Error:          Not equal: 
                                expected: "refs/heads/master"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -refs/heads/master
                                +
                Test:           TestDSConfigureGit/github_repo_but_the_app_is_not_installed_and_aborts
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:440
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:591
                Error:          Not equal: 
                                expected: "https://github.com/pulumi/test-repo.git"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -https://github.com/pulumi/test-repo.git
                                +
                Test:           TestDSConfigureGit/github_repo_but_the_app_is_not_installed_and_aborts
    --- FAIL: TestDSConfigureGit/no_authentication (0.00s)
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:412
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:334
                Error:          Not equal: 
                                expected: "goproj"
                                actual  : "."
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -goproj
                                +.
                Test:           TestDSConfigureGit/no_authentication
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:428
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:334
                Error:          Not equal: 
                                expected: "refs/heads/master"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -refs/heads/master
                                +
                Test:           TestDSConfigureGit/no_authentication
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:440
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:334
                Error:          Not equal: 
                                expected: "https://github.com/pulumi/test-repo.git"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -https://github.com/pulumi/test-repo.git
                                +
                Test:           TestDSConfigureGit/no_authentication
    --- FAIL: TestDSConfigureGit/non_github (0.00s)
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:412
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:647
                Error:          Not equal: 
                                expected: "goproj"
                                actual  : "."
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -goproj
                                +.
                Test:           TestDSConfigureGit/non_github
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:428
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:647
                Error:          Not equal: 
                                expected: "refs/heads/master"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -refs/heads/master
                                +
                Test:           TestDSConfigureGit/non_github
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:440
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:647
                Error:          Not equal: 
                                expected: "https://github.com/pulumi/test-repo.git"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -https://github.com/pulumi/test-repo.git
                                +
                Test:           TestDSConfigureGit/non_github
    --- FAIL: TestDSConfigureGit/using_ssh (0.00s)
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:412
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:458
                Error:          Not equal: 
                                expected: "goproj"
                                actual  : "."
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -goproj
                                +.
                Test:           TestDSConfigureGit/using_ssh
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:428
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:458
                Error:          Not equal: 
                                expected: "refs/heads/master"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -refs/heads/master
                                +
                Test:           TestDSConfigureGit/using_ssh
        deployment_settings_config_test.go:124: 
                Error Trace:    /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:124
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config.go:440
                                                        /build/pulumi/pkg/cmd/pulumi/deployment_settings_config_test.go:458
                Error:          Not equal: 
                                expected: "https://github.com/pulumi/test-repo.git"
                                actual  : ""
                            
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -https://github.com/pulumi/test-repo.git
                                +
                Test:           TestDSConfigureGit/using_ssh
FAIL
FAIL    github.com/pulumi/pulumi/pkg/v3/cmd/pulumi      1.286s
FAIL

@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: merge conflict This PR has merge conflicts with the target branch 10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants