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

#10718: Fix issue with negative pipeline queue times #12010

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

tt-rkim
Copy link
Collaborator

@tt-rkim tt-rkim commented Aug 28, 2024

Ticket

#10718

Problem description

We see certain pipelines in the CI/CD dashboard come up with negative queue times. This obviously makes no sense.
The reason why this happens is because we're grabbing a job with a start time that's earlier than the pipeline queue time. How is that possible? This is because workflow re-runs can inherit already-run jobs from a previous attempt, meaning later attempts can have jobs with timestamps that are earlier than the attempt start time.

What's changed

We just filter out any jobs that have a start time earlier than the pipeline queue time. We can be confident those are jobs that from an earlier attempt.

Checklist

  • Post commit CI passes
  • Blackhole Post commit (if applicable)
  • Model regression CI testing passes (if applicable)
  • New/Existing tests provide coverage for changes

…rt time because that means that it's a re-run and we need to account for already-passing jobs
@tt-rkim tt-rkim force-pushed the rkim/10718-no-negative-pipeline-queues branch from cd66e3d to 81451d7 Compare August 28, 2024 20:41
@tt-rkim
Copy link
Collaborator Author

tt-rkim commented Aug 28, 2024

Production: https://github.com/tenstorrent/tt-metal/actions/runs/10604279901

for pipeline https://github.com/tenstorrent/tt-metal/actions/runs/10584906061 attempt 2 worked

timestamps seem to make sense

@tt-rkim tt-rkim merged commit 36cfd15 into main Aug 28, 2024
7 checks passed
@tt-rkim tt-rkim deleted the rkim/10718-no-negative-pipeline-queues branch August 28, 2024 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant