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

CLI time elapsed value is negative for a failed resource #11597

Closed
lblackstone opened this issue Dec 8, 2022 · 1 comment
Closed

CLI time elapsed value is negative for a failed resource #11597

lblackstone opened this issue Dec 8, 2022 · 1 comment
Labels
area/cli UX of using the CLI (args, output, logs) kind/bug Some behavior is incorrect or out of spec resolution/duplicate This issue is a duplicate of another issue

Comments

@lblackstone
Copy link
Member

lblackstone commented Dec 8, 2022

What happened?

I ran a pulumi up --refresh --skip-preview and one of the resources failed the update. The elapsed time is a negative value in this case.

Screen Shot 2022-12-08 at 11 17 22 AM

Steps to reproduce

Create a stack with a resource that will fail during a refresh update.

Expected Behavior

The time elapsed should be a positive number.

Actual Behavior

The absolute value is correct, but the sign is wrong.

Output of pulumi about

CLI
Version      3.48.0
Go Version   go1.19.3
Go Compiler  gc

Host
OS       darwin
Version  12.6.1
Arch     arm64

Dependencies:
NAME                VERSION
...
@pulumi/pulumi      3.48.0

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).

@lblackstone lblackstone added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Dec 8, 2022
@justinvp justinvp added area/cli UX of using the CLI (args, output, logs) resolution/duplicate This issue is a duplicate of another issue and removed needs-triage Needs attention from the triage team labels Dec 8, 2022
@justinvp
Copy link
Member

justinvp commented Dec 8, 2022

Looks related to #11188, which is also about negative timings when --refresh is used. I'll close this issue as a dupe.

@justinvp justinvp closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli UX of using the CLI (args, output, logs) kind/bug Some behavior is incorrect or out of spec resolution/duplicate This issue is a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants