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

Flutter Gold is not receiving image uploads #45699

Closed
Piinks opened this issue Nov 27, 2019 · 10 comments
Closed

Flutter Gold is not receiving image uploads #45699

Piinks opened this issue Nov 27, 2019 · 10 comments
Labels
a: tests "flutter test", flutter_test, or one of our tests c: regression It was better in the past than it is now framework flutter/packages/flutter repository. See also f: labels. will affect goldens Changes to golden files

Comments

@Piinks
Copy link
Contributor

Piinks commented Nov 27, 2019

@kjlubick has reported that the Gold dashboard has stopped uploading data.

For example, this test has not seen new uploads in 1 week, since ce8e2bb
--> landed 11/20

A new version of goldctl was rolled to CIPD at the same time: https://chromium-review.googlesource.com/c/infra/infra/+/1924621
--> rolled 11/20
Which included changes to goldctl from https://skia-review.googlesource.com/c/buildbot/+/253698

Other possibly related changes:

@Piinks Piinks added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. will affect goldens Changes to golden files labels Nov 27, 2019
@Piinks
Copy link
Contributor Author

Piinks commented Nov 27, 2019

cc/ @goderbauer FYI. The current pre-submit checks do not use goldctl, so changes to golden files won't slip by during this outage.

@kjlubick I will see about getting debug information from image uploads to help identify what is going on.

@Piinks Piinks added the c: regression It was better in the past than it is now label Nov 27, 2019
@Piinks
Copy link
Contributor Author

Piinks commented Nov 27, 2019

https://bugs.chromium.org/p/skia/issues/detail?id=9679 has been filed to set up an alert system to detect this better in the future.

@kjlubick
Copy link

I'll check if it's goldctl's bug or not - chrome-gpu is still operating fine, but I don't know if they auto-roll

@kjlubick
Copy link

I think I identified the bug - goldctl was passing itself something invalid during imgtest init (or possibly imgtest add). Fix incoming.

As with any good cascading failure, the flutter tests didn't realize the exit code was non-zero, so that would be a helpful follow-up investigation.

@Piinks
Copy link
Contributor Author

Piinks commented Nov 27, 2019

Thanks! 🙂
Our post-submit tests don't throw for a non-zero exit code right now since landing a change or a new test returns a non-zero exit code from the imgtest. Is that right? We use passfail mode, so using the exit code in that way would turn the tree red for every change. Of course, once tryjobs are up and running we'll be able to triage ahead of time so I think that distinguishing between what kind of non-zero exit code it is won't be an issue.

@kjlubick
Copy link

Do you run imgtest init before you run your tests or just imgtest add? If imgtest init gives you a non-zero error code, make lots of noise because that means goldctl "herped it's derp" on the inputs.

@Piinks
Copy link
Contributor Author

Piinks commented Nov 27, 2019

Ah! We do. I will add a check for the exit code there in init.

@kjlubick
Copy link

goldctl fix is live in CIPD; alert is going live on Gold's side to catch things like this a lot quicker

@Piinks
Copy link
Contributor Author

Piinks commented Nov 28, 2019

Verified this is resolved. :)

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: tests "flutter test", flutter_test, or one of our tests c: regression It was better in the past than it is now framework flutter/packages/flutter repository. See also f: labels. will affect goldens Changes to golden files
Projects
None yet
Development

No branches or pull requests

2 participants