web-platform-tests / wpt.fyi

web-platform-tests dashboard
https://wpt.fyi/
Other
177 stars 83 forks source link

[go_test] TestIngestTriggered is flaky #2483

Open KyleJu opened 3 years ago

KyleJu commented 3 years ago

TestIngestTriggered is flaky on the go_test step of GitHub checks . The error is

   controller.go:266: missing call(s) to *monitor.MockRuntime.GetHeapBytes() /github/workspace/api/query/cache/monitor/monitor_test.go:162
    controller.go:266: aborting test due to missing call(s)
--- FAIL: TestIngestTriggered (0.00s)
panic: Fail in goroutine after TestIngestTriggered has completed

See here. It is not urgent yet because I have only seen it 2~3 times over last two months

KyleJu commented 2 years ago

Some javascript tests are also flaky on CI, e.g. https://github.com/web-platform-tests/wpt.fyi/runs/6031095180?check_suite_focus=true

chrome 100               Tests failed: Error thrown outside of test function: uncaptured fetch: http://localhost:8081/api/versions?product=chrome
                             window.fetch at wpt-app.html:21
        ProductBuilder.versionsURLUpdated at /components/wptdashboard/components/product-builder.js:235
         Object.runObserverEffect [as fn] at /components/@polymer/polymer/lib/mixins/property-effects.js:245
                               runEffects at /components/@polymer/polymer/lib/mixins/property-effects.js:146
        ProductBuilder._propertiesChanged at /components/@polymer/polymer/lib/mixins/property-effects.js:2160
          ProductBuilder._flushProperties at /components/@polymer/polymer/lib/mixins/properties-changed.js:424
                     ProductBuilder.ready at /components/@polymer/polymer/lib/mixins/property-effects.js:2106
                     ProductBuilder.ready at /components/@polymer/polymer/lib/mixins/element-mixin.js:[753](https://github.com/web-platform-tests/wpt.fyi/runs/6031095180?check_suite_focus=true#step:3:753)
         ProductBuilder._enableProperties at /components/@polymer/polymer/lib/mixins/properties-changed.js:399
  TemplateInstance.__enableOrFlushClients at /components/@polymer/polymer/lib/mixins/property-effects.js:2038
chrome 100               CALL quit()
chrome 100               DELETE /session/:sessionID
chrome 100               RESPONSE quit()
chrome 100               BrowserRunner complete
Test run ended in failure: Error thrown outside of test function: uncaptured fetch: http://localhost:8081/api/versions?product=chrome
                             window.fetch at wpt-app.html:21
        ProductBuilder.versionsURLUpdated at /components/wptdashboard/components/product-builder.js:235
         Object.runObserverEffect [as fn] at /components/@polymer/polymer/lib/mixins/property-effects.js:245
                               runEffects at /components/@polymer/polymer/lib/mixins/property-effects.js:146
        ProductBuilder._propertiesChanged at /components/@polymer/polymer/lib/mixins/property-effects.js:2160
          ProductBuilder._flushProperties at /components/@polymer/polymer/lib/mixins/properties-changed.js:424
                     ProductBuilder.ready at /components/@polymer/polymer/lib/mixins/property-effects.js:2106
                     ProductBuilder.ready at /components/@polymer/polymer/lib/mixins/element-mixin.js:753
         ProductBuilder._enableProperties at /components/@polymer/polymer/lib/mixins/properties-changed.js:399
  TemplateInstance.__enableOrFlushClients at /components/@polymer/polymer/lib/mixins/property-effects.js:2038

chrome 100 (153/0/0 error)            
hook: cleanup

Error: Error thrown outside of test function: uncaptured fetch: http://localhost:8081/api/versions?product=chrome
                             window.fetch at wpt-app.html:21
        ProductBuilder.versionsURLUpdated at /components/wptdashboard/components/product-builder.js:235
         Object.runObserverEffect [as fn] at /components/@polymer/polymer/lib/mixins/property-effects.js:245
                               runEffects at /components/@polymer/polymer/lib/mixins/property-effects.js:146
        ProductBuilder._propertiesChanged at /components/@polymer/polymer/lib/mixins/property-effects.js:2160
          ProductBuilder._flushProperties at /components/@polymer/polymer/lib/mixins/properties-changed.js:424
                     ProductBuilder.ready at /components/@polymer/polymer/lib/mixins/property-effects.js:2106
                     ProductBuilder.ready at /components/@polymer/polymer/lib/mixins/element-mixin.js:753
         ProductBuilder._enableProperties at /components/@polymer/polymer/lib/mixins/properties-changed.js:399
  TemplateInstance.__enableOrFlushClients at /components/@polymer/polymer/lib/mixins/property-effects.js:2038