Performance tests fail
See original GitHub issueI’ve updated source this morning (as I do every days) and after build performance tests fail (both nightly and stable rust).
This is the output for the standard rust release (If you need index.html
file I can add it).
:generateRustDocHighlightingLexer UP-TO-DATE
:generateRustLexer UP-TO-DATE
:generateRustPsiAndParser UP-TO-DATE
:generate UP-TO-DATE
:compileKotlin UP-TO-DATE
:compileJava UP-TO-DATE
:copyMainKotlinClasses
:processResources UP-TO-DATE
:classes
:prepareSandbox
:buildPlugin
:jar
:assemble
:processTestResources UP-TO-DATE
:compileTestKotlin
:compileTestJava UP-TO-DATE
:copyTestKotlinClasses UP-TO-DATE
:testClasses
:prepareTestsSandbox
:performanceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=250m; support was removed in 8.0
org.rust.lang.core.parser.RustParserPerformanceTest > testHighlightingPerformance STANDARD_ERROR
[ 18607] WARN - impl.local.LocalFileSystemBase - Invalid path: light_idea_test_case.iml
[ 22398] WARN - rg.rust.cargo.toolchain.Rustup - Failed to execute `/home/mdamico/.cargo/bin/rustc --print sysroot`
code : -1
stdout:
stderr:
org.rust.lang.core.parser.RustParserPerformanceTest > testHighlightingPerformance FAILED
java.lang.IllegalStateException: Failed to download standard library: Failed to find stdlib in sysroot
org.rust.lang.core.parser.RustParserPerformanceTest > testParsingCompilerTests STANDARD_ERROR
[ 22678] WARN - impl.local.LocalFileSystemBase - Invalid path: light_idea_test_case.iml
org.rust.lang.core.parser.RustParserPerformanceTest > testParsingCompilerTests STANDARD_OUT
testParsingCompilerTests totalTime: 47208
testParsingCompilerTests
Total: 47208ms
Files: 6471
Slowest files
173ms 76kb: run-pass/issue-29466.rs
136ms 27kb: run-pass/impl-trait/example-calendar.rs
126ms 0kb: ui/span/pub-struct-field.rs
53ms 141kb: run-pass/issue-29227.rs
47ms 9kb: run-pass/ifmt.rs
org.rust.lang.core.parser.RustParserPerformanceTest > testParsingCompilerTests PASSED
org.rust.lang.core.parser.RustParserPerformanceTest > testParsingCompilerSources STANDARD_OUT
testParsingCompilerSources totalTime: 33189
testParsingCompilerSources
Total: 33189ms
Files: 1085
Slowest files
282ms 219kb: librustc_unicode/tables.rs
193ms 232kb: libsyntax/parse/parser.rs
166ms 174kb: librustc_platform_intrinsics/aarch64.rs
145ms 97kb: librustc_trans/expr.rs
138ms 193kb: librustc_typeck/check/mod.rs
org.rust.lang.core.parser.RustParserPerformanceTest > testParsingCompilerSources PASSED
org.rust.ide.annotator.RustHighlightingPerformanceTest > testHighlightingWithStdlib STANDARD_OUT
testHighlightingWithStdlib: 1675
org.rust.ide.annotator.RustHighlightingPerformanceTest > testHighlightingWithStdlib PASSED
4 tests completed, 1 failed
:performanceTest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':performanceTest'.
> There were failing tests. See the report at: file:///home/mdamico/tttt/intellij-rust/build/reports/performanceTests/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
The nightly output is slightly different, let me know if you need it.
Issue Analytics
- State:
- Created 7 years ago
- Comments:21 (21 by maintainers)
Top Results From Across the Web
Top Reasons for Application Performance Testing Failures
The complexity and scope make application performance testing quite challenging. Know the top three performance testing failures and how to avoid them.
Read more >Classic cases of Performance Testing Failures - Cigniti
Classic cases where Performance Testing Failures plagued large organizations · 1. Banking and Financial Services: · 2. Health Insurance.
Read more >Why do performance tests fail? - 1202Performance
Why do performance tests fail? ; 1) Ignoring the client processing time ; 2) Ignoring the WAN ; 3) Load test scripts that...
Read more >6 Pitfalls to Avoid During Your Performance Test Execution
One of the major issues that lead to a failed performance test execution is load generator failure. There could be many reasons for...
Read more >Performance testing error messages - IBM
Performance testing error messages. Find more information about the error messages. ... A Test could not be launched on Driver: %1 due to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m using Linux (Ubuntu 16.04). I cannot try it now, I can check If it occur also on my laptop at home in the WE and to try to set up the plugin project in intellj… but not now, sorry.
No I didn’t try
strace
ing it … I’ll doing it at launch pause because I need to restart my laptop … I don’t understand how to reproduce it without restart. I’ll log it in at rust-lang-nursery/rustup.rs#783Good news is that now all test pass… 😄