-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Mocha test results not visible in sponge output #1681
Comments
I'm wondering why sponge doesn't have the xml file as artifact cc @tbpg |
When I look at the output, I still don't see the mocha test output. As a result I don't have an easy way to triage the test failure short of locally running the tests. I don't see any further artifacts. Is there a reason why we can't pursue inline mocha output as part of the overall log output? Examples include:
|
@fhinkel do you have thoughts on the best path forward? I have a number of issues in the run/logging-manual sample that I can't reproduce locally. I can only assume general flakiness without more information. |
Was this not fixed with #1711? There should be a separate log file in sponge. |
|
This tests has the correct output: https://g3c.corp.google.com/results/invocations/f1ac27e7-10cb-499b-821f-1d662112106a/targets A lot of other CI runs show the error "XML file not found", and there's no way to see the output. Yes, the results from |
This new test also has correct output: |
I'm not following how to read the test output logs for https://source.cloud.google.com/results/invocations/ef760242-50d0-4f75-8e88-efcf1e4ac4cb/targets/cloud-devrel%2Fnodejs-docs-samples%2Fpresubmit%2Frun%2Fhello-broken/tests. Not sure if that means there's a bug or if it's just a documentation challenge. |
👋 I've talked to @fhinkel about this in 1:1s, I don't have a clue why, but our sponge output seems to work on client libraries: Perhaps an extra set of eyes on our config, and something might jump out at you, here's where it's configured: https://github.com/googleapis/nodejs-logging/blob/master/.kokoro/system-test.sh#L38 |
The lack of mocha results makes it more difficult to evaluate test failures. This is presumably the result of switching to xunit output in a spong_log.xml file in #1665.
Based on some discussion in mochajs/mocha#2184 to support multiple reporters at once, we should be able to restore console output without significant time overhead.
The text was updated successfully, but these errors were encountered: