Closed zepumph closed 1 year ago
For now we will bring this back, https://github.com/phetsims/aqua/commit/69fcc4491230bcb74d05f9fc0b20ae68b5916c31
It would be good to bring this back and do some investigating. At the very least we should mention this as a possibility to other devs. "Sometimes green means that along with other passes, it just hasn't loaded and will try again next time."
First step is to see how we can monitor or measure how often CT: net::ERR_CACHE_READ_FAILURE is occurring, in correlation with how many parallel browser processes are running.
This is a large number of the CT reporting errors these days. I'd like to investigate this sooner rather than later.
Perhaps it is internal to puppeteer: https://pptr.dev/api/puppeteer.page.setcacheenabled
Good luck team, and thanks @mattpen for the suggestion.
This worked! We haven't had any of these issues for 2 rows. I feel like it was hiding other issues before, like 502 errors, and this one:
[CONSOLE] Access to fetch at 'https://phet-io.colorado.edu/sims/molecule-shapes-basics/1.6.4/molecule-shapes-basics-phet-io-api.json' from origin 'http://128.138.93.172' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
[CONSOLE] Failed to load resource: net::ERR_FAILED: https://phet-io.colorado.edu/sims/molecule-shapes-basics/1.6.4/molecule-shapes-basics-phet-io-api.json
[PAGE ERROR] Error: TypeError: Failed to fetch
at Client.getAPIFile (http://128.138.93.172/continuous-testing/ct-snapshots/1695328893430/chipper/dist/js/phet-io-wrappers/common/js/Client.js:1561:26)
at Client.createMigrationEngine (http://128.138.93.172/continuous-testing/ct-snapshots/1695328893430/chipper/dist/js/phet-io-wrappers/common/js/Client.js:1274:37)
at async StandardPhetioWrapper.loadStandardPhetioWrapperFromHTML (http://128.138.93.172/continuous-testing/ct-snapshots/1695328893430/chipper/dist/js/phet-io-wrappers/common/js/StandardPhetioWrapper.js:215:29)
at async Client.loadStandardPhetioWrapperFromHTML (http://128.138.93.172/continuous-testing/ct-snapshots/1695328893430/chipper/dist/js/phet-io-wrappers/common/js/Client.js:1348:20)
at async http://128.138.93.172/continuous-testing/ct-snapshots/1695328893430/phet-io-wrappers/migration/migration.js:200:13
[CONSOLE] continuous-test-wrapper-error
I'll take a look tomorrow when I can get a bit more trend out of it.
https://github.com/phetsims/aqua/issues/191#issuecomment-1730376686
This still is coming up, but I'll make another issue for that. Closing.
This has been happening a fair bit since https://github.com/phetsims/aqua/commit/8f39ea156daec9273ab99f0ebab230366e7ee4dc. Mostly they seem like false negatives because it