summary
In the past ~week or so I've noticed what feels like a significant uptick in spurious Percy failures. In some cases, I've been unable to get them to pass even with multiple rounds of rebasing/rerunning.
It also seemed to me like there were just a couple of test cases failing most of the time (e.g. "Grid layer (fill)" failed for most of my PRs).
We should harden our tests to be less flaky, or at least skip the worst offenders
/to @rsimha
@samouri Thanks for the report. Can you post some example links to failures?
the mega-menu visual diff tests also seem to pop up often, eg https://percy.io/ampproject/amphtml/builds/4467899
I've also had trouble with amp-story: https://percy.io/ampproject/amphtml/builds/4471771
Occasionally I will see amp-sidebar, amp-lightbox-gallery
@caroqliu the first one looks like a bug, thanks for posting about it. The second one is an image loading issue though, which caused many of the failures I've seen.
Thanks everyone for adding more "evidence" here, I'll look into it tomorrow. In the meantime please everyone keep adding more broken/flaky builds that you see!
// special callout to @ampproject/wg-ui-and-a11y @ampproject/wg-runtime @ampproject/wg-ads @ampproject/wg-stories
Two more examples:
Two more examples, and one repeat:
fade-in & fade-in-scroll: https://percy.io/ampproject/amphtml/builds/4506500
This also appears to be an image loading issue
Contacted Percy support, I'll keep y'all posted here. Thanks for the various examples!
I'm also seeing issues with images loading
https://percy.io/ampproject/amphtml/builds/4560241
I'm working on applying some of the suggestions that Percy support gave me, will keep this thread updated!
I merged #27292 two days ago, which should, hopefully, have fix the missing images flakes. Let me know if you see any more flaky visual diff tests and I will debug them
After making the change in #27292 and disabling the flaky tests last week it looks like this issue is mostly resolved. Please reopen this if you see more flaky visual diff tests!
Most helpful comment
After making the change in #27292 and disabling the flaky tests last week it looks like this issue is mostly resolved. Please reopen this if you see more flaky visual diff tests!