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
Issue with completed tasks hanging and showing as in-progress #147007
Comments
A bit of more information while I was looking to recover the task, Firestore only has the task for that commit with attempts 3 appended to the task entry in the datastore: Nothing appended beyond that: And in datastore it tracked the last run as the third failed attempt but was left as "In progress" (The screenshot shows succeeded as I had recovered it based on the newest run): But you can see in the datastore that it is tracking the current number of attempts which shows it at 15. |
Seems this is due to missing logic to handle tag When rerunning from GitHub UI, it reset the |
FWIW, the GitHub UI was the only UI to manage tasks in flutter/packages for many years, so trying to retrain everyone to never use that UI—especially when we still have the |
@stuartmorgan nah I don't think this is a matter of retraining but just a bug on an edge case caused by a migration to a new datastore.
This is peculiar, are you saying you are running release tasks from the github UI during presubmit? Can you add more context here? |
I was referring to this comment in an issue dup'd to this one.
No, I'm saying that the post-submit GitHub Actions task called |
@stuartmorgan okay, thanks for clarifying. |
The rerun I referred to in #147033 (comment) was for LUCI (postsubmit) check run only. The GitHub action will not be affected and can be rerun as usual. To be clear, the the LUCI check run (rerun) connects to cocoon backend to reschedule/update new builds, and is experiencing some issues. These issues can be workaround by calling the cocoon reset-prod-task API directly. Anyway, I will give flutter/cocoon#3675 a high priority this week for a fix. |
I understand that, but what I was saying is that everyone on the ecosystem gardener rotation:
The combination of those two things makes it harder in practice to stop using it for LUCI tests than it is in theory. |
Type of Request
bug
Infrastructure Environment
Cocoon Scheduler and Cocoon Dashboard
What is happening?
In the packages repository a particular task has run multiple times even though it had previously passed. The task Mac_arm64 ios_platform_tests_shard_5 stable (https://ci.chromium.org/ui/p/flutter/builders/luci.flutter.prod/Mac_arm64%20ios_platform_tests_shard_5%20stable) for commit 0e3809d995b66af0b54b91d7e2412cf413b8717b is shown to have run many times with passing runs but the task kept getting rerun. See below:
Something similar happened a couple of days ago where a task ran 46 times well beyond what the limited number of retries is.
To follow up with this I noticed while recovering tasks that this commit d39830e40c07f71c7086128b45cffeb66be19488 had this test, Mac_arm64 ios_platform_tests_shard_2 master, run 43 times against the commit. I thought we only limited reruns to 3 times?
Thread link here: https://chat.google.com/room/AAAAaqs_Mg0/HZmppnXFtP8/HZmppnXFtP8?cls=10
Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.
The text was updated successfully, but these errors were encountered: