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 up Command Fails with ConcurrentUpdateError and Exit Code 255 #1034

Closed
dirien opened this issue Oct 31, 2023 · 2 comments
Closed

pulumi up Command Fails with ConcurrentUpdateError and Exit Code 255 #1034

dirien opened this issue Oct 31, 2023 · 2 comments
Labels
kind/bug Some behavior is incorrect or out of spec resolution/no-repro This issue wasn't able to be reproduced

Comments

@dirien
Copy link
Contributor

dirien commented Oct 31, 2023

What happened?

When I run a pulumi up I get following error message:

warning: A new version of Pulumi is available. To upgrade from version '3.90.1' to '3.91.1', visit https://pulumi.com/docs/install/ for manual instructions and release notes.
Pulumi version 3.90.1 is already installed on this machine. Skipping download
Logging into the Pulumi Cloud backend.
pulumi up on dev
  Updating (dev)
  
  
  
  /home/runner/work/_actions/pulumi/actions/v4/webpack:/pulumi-github-action/node_modules/@pulumi/pulumi/automation/errors.js:74
                  ? new ConcurrentUpdateError(result)
  ^
  ConcurrentUpdateError: code: -2
   stdout: 
   stderr: Command failed with exit code [25](https://github.com/dirien/pulumi-github/actions/runs/6703109171/job/18213280949#step:5:26)5: pulumi up --yes --skip-preview --exec-agent pulumi/actions@v3 --color auto --exec-kind auto.local --stack dev --non-interactive
  error: [409] Conflict: Another update is currently in progress.
  To learn more about possible reasons and resolution, visit https://www.pulumi.com/docs/troubleshooting/#conflict
  Updating (dev)
  
   err?: Error: Command failed with exit code 255: pulumi up --yes --skip-preview --exec-agent pulumi/actions@v3 --color auto --exec-kind auto.local --stack dev --non-interactive
  error: [[40](https://github.com/dirien/pulumi-github/actions/runs/6703109171/job/18213280949#step:5:41)9] Conflict: Another update is currently in progress.
  To learn more about possible reasons and resolution, visit https://www.pulumi.com/docs/troubleshooting/#conflict
  Updating (dev)
  
  
      at Object.createCommandError (/home/runner/work/_actions/pulumi/actions/v4/webpack:/pulumi-github-action/node_modules/@pulumi/pulumi/automation/errors.js:74:1)
      at Object.<anonymous> (/home/runner/work/_actions/pulumi/actions/v4/webpack:/pulumi-github-action/node_modules/@pulumi/pulumi/automation/cmd.js:76:1)
      at Generator.throw (<anonymous>)
      at rejected (/home/runner/work/_actions/pulumi/actions/v4/webpack:/pulumi-github-action/node_modules/@pulumi/pulumi/automation/cmd.js:19:1)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)

When run locally on my machine, everything works fine. What is strange is that, the resource were created in that run, when I check the Pulumi Cloud:
image

Example

Run pulumi/actions@v4
  with:
    command: up
    stack-name: dev
    github-token: ***
    pulumi-version: ^[3](https://github.com/dirien/pulumi-github/actions/runs/6703109171/job/18213280949#step:5:3)
    work-dir: ./
    comment-on-pr: false
    comment-on-summary: false
    expect-no-changes: false
    diff: false
    target-dependents: false
    refresh: false
    upsert: false
    remove: false
    edit-pr-comment: true
    color: auto
    exclude-protected: false
  env:
    PULUMI_ACCESS_TOKEN: ***

Output of pulumi about

Pulumi: v3.90.1

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@dirien dirien added needs-triage Needs attention from the triage team kind/bug Some behavior is incorrect or out of spec labels Oct 31, 2023
@justinvp justinvp added awaiting-feedback Blocked on input from the author and removed needs-triage Needs attention from the triage team labels Nov 4, 2023
@justinvp
Copy link
Member

justinvp commented Nov 4, 2023

@dirien, from the screenshot it looks like you're using Deployments? Are you using both Deployments and the action? This could explain the concurrent update... Deployments is running the update, as well as an update running in GitHub actions via the action.

@mikhailshilkov mikhailshilkov added resolution/no-repro This issue wasn't able to be reproduced and removed awaiting-feedback Blocked on input from the author labels Jun 5, 2024
@mikhailshilkov
Copy link
Member

Since we haven't heard back, I'll assume the issue is not relevant anymore and will close it.

@mikhailshilkov mikhailshilkov closed this as not planned Won't fix, can't repro, duplicate, stale Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec resolution/no-repro This issue wasn't able to be reproduced
Projects
None yet
Development

No branches or pull requests

3 participants