Uh oh!
There was an error while loading. Please reload this page.
[wasm] Wasm.Build.Tests - fixes for tests failing on CI - #70704
Conversation
ghost
commented
Jun 13, 2022
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
ghost
commented
Jun 13, 2022
Tagging subscribers to 'arch-wasm': @lewing Issue Details… exiting This is adding the fix from c361857 to When the results xml is large, and we are writing the base64 This can be seen in the case of So, wait for the two streams to be flushed out, with a timeout of 3secs.
|
pavelsavara
commented
Jun 24, 2022
We will need to update this PR after #70746 |
radical
commented
Jun 28, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
radical
commented
Jun 29, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
radical
commented
Jun 29, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
… exiting When the results xml is large, and we are writing the base64 representation in one line, `node` can exit before all the output gets flushed out. This results in xharness getting an incomplete `STARTRESULTXML <len> <base64> ... ` with missing `ENDRESULTXML`, thus no `testResults.xml` is generated. This can be seen in the case of `Microsoft.Extensions.Primitives.Tests` which has xml ~140KB, and `System.Memory.Tests` which has a xml ~13MB. So, wait for the two streams to be flushed out, with a timeout of 3secs.
- Fix to call `WaitForExit()` once `WaitForExit(int)` returns, which ensures that all the async handlers have been run. - Also, for non-browser xharness runs use the emitted `wasm-console.log` as the output, so we don't depend on xharness' stdout.
…are covered in library tests
radical
commented
Jun 29, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Copy sdk for testing workloads only on CI.
radical
commented
Jun 29, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
radical
commented
Jun 29, 2022
this has a timeout right now for flushing the streams, but maybe that should be removed? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
kg
left a comment
There was a problem hiding this comment.
This looks fine to me other than the bits of feedback I provided, changes not mandatory
radical
commented
Jun 30, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
radical
commented
Jun 30, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
radical
commented
Jun 30, 2022
Chrome debugger test failure is intermittent, and unrelated. |
xharnesswasm-console.log, for non-browser caseswasm-console.logFixes#70675