Skip to content
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

tst_perfparser is failing on Debian testing #141

Closed
sylvestre opened this issue Jul 13, 2018 · 9 comments
Closed

tst_perfparser is failing on Debian testing #141

sylvestre opened this issue Jul 13, 2018 · 9 comments

Comments

@sylvestre
Copy link

5/6 Test #6: tst_perfparser ...................***Exception: Child aborted  2.92 sec
********* Start testing of TestPerfParser *********
Config: Using QtTest library 5.10.1, Qt 5.10.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)
PASS   : TestPerfParser::initTestCase()
feature not properly read PerfHeader::Feature(CPU_TOPOLOGY) 244 212
unhandled event type 79
PerfUnwind::ErrorCode(MissingElfFile): Failed to find ELF file for an instruction pointer address. This can break stack unwinding and lead to missing symbols.
FAIL!  : TestPerfParser::testCppInliningNoOptions() 'm_bottomUpData.root.children[bottomUpTopIndex].symbol.symbol.contains(topBottomUpSymbol.symbol)' returned FALSE. ()
   Loc: [/home/sylvestre/dev/debian/hotspot-1.1.0~git20180329~xenial1/tests/integrationtests/tst_perfparser.cpp(592)]
FAIL!  : TestPerfParser::testCppInliningNoOptions() Caught unhandled exception
   Loc: [qtestcase.cpp(1836)]
Totals: 1 passed, 2 failed, 0 skipped, 0 blacklisted, 2892ms
********* Finished testing of TestPerfParser *********
terminate called after throwing an instance of 'std::logic_error'
  what():  verify failed: m_bottomUpData.root.children[bottomUpTopIndex].symbol.symbol.contains(topBottomUpSymbol.symbol)
@erichahn
Copy link

erichahn commented Aug 1, 2018

Possibly related error.
feature not properly read PerfHeader::Feature(CPU_TOPOLOGY) 580 484
unhandled event type 79

@sylvestre
Copy link
Author

@dfaure-kdab An idea? :)

@ThijsWithaar
Copy link

Same problem over here, using debian buster.
Hotspot itself can't find debug symbols, not sure if that's related.

@dfaure-kdab
Copy link
Member

@nwrogers, as far as I can see this is your code? ;)

If this needs @milianw then it'll have to wait until beginning of December, unfortunately.

@milianw
Copy link
Member

milianw commented Nov 14, 2018

Can you guys try again with the latest git please?

@ThijsWithaar
Copy link

ThijsWithaar commented Nov 14, 2018

Yes, just did. The flamegraphs work fine. Thanks!

@raphinesse
Copy link
Contributor

raphinesse commented Aug 4, 2020

tst_perfparser still fails for me using latest master (72e68b9) on Ubuntu 19.10 with the following output:

********* Start testing of TestPerfParser *********
Config: Using QtTest library 5.12.4, Qt 5.12.4 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.2.1 20191008)
PASS   : TestPerfParser::initTestCase()
feature not properly read PerfHeader::CACHE 2648 0
feature not properly read PerfHeader::SAMPLE_TIME 16 0
feature not properly read PerfHeader::MEM_TOPOLOGY 64 0
feature not properly read PerfHeader::BPF_PROG_INFO 4 0
feature not properly read PerfHeader::BPF_BTF 4 0
feature not properly read PerfHeader::CPU_TOPOLOGY 468 348
Linux version "5.3.18" detected. Switching to automatic buffering.
unhandled event type 79   PERF_RECORD_TIME_CONV
unhandled event type 73   PERF_RECORD_THREAD_MAP
unhandled event type 74   PERF_RECORD_CPU_MAP
FAIL!  : TestPerfParser::testCppInliningNoOptions() 'm_bottomUpData.root.children[bottomUpTopIndex].symbol.symbol.contains(topBottomUpSymbol.symbol)' returned FALSE. ()
   Loc: [~/code/hotspot/tests/integrationtests/tst_perfparser.cpp(589)]
FAIL!  : TestPerfParser::testCppInliningNoOptions() Caught unhandled exception
   Loc: [qtestcase.cpp(1920)]
Totals: 1 passed, 2 failed, 0 skipped, 0 blacklisted, 1269ms
********* Finished testing of TestPerfParser *********
terminate called after throwing an instance of 'std::logic_error'
  what():  verify failed: m_bottomUpData.root.children[bottomUpTopIndex].symbol.symbol.contains(topBottomUpSymbol.symbol)

@milianw
Copy link
Member

milianw commented Aug 4, 2020

yes, that test really needs some love - it's an integration test that is highly platform dependent and thus probably not a really good way to test what it does... for now, please ignore it ;-) or fix it!

@raphinesse
Copy link
Contributor

Just FYI: Test is working with current master Using QtTest library 5.15.2, Qt 5.15.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.3.0), ubuntu 20.04

@milianw milianw closed this as completed Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants