summaryrefslogtreecommitdiffstats
path: root/scripts/generic/parse_build_log.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix call to print_failed_test() missing last argEdward Welbourne2024-04-191-1/+1
| | | | | | | | | | | Follows up on commit 3abeab87a0cbaaba4a6897dba4c7fcba241adc2a adding the new parameter to the second call to print_failed_test(), which has been broken - leading to TypeError when hit - since that commit. Pick-to: master Change-Id: Ic460b406bbea7a5fe8034c39d1d52ea8955c43e5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Update the log parser to account for additional timeout messagesDaniel Smith2024-03-191-1/+5
| | | | | | | Fixes: QTQAINFRA-6187 Change-Id: I910e392cbeb8a681b1e717e1652b7584bc07529c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-081-27/+2
| | | | | | | | | | | Replace the current license header in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: master Task-number: QTBUG-67283 Change-Id: I6ae743e055bbf1cf514abe604157068923fb03c6 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Show failed to install tests archive summaryKarim Abdelrahman2022-01-201-0/+5
| | | | | | | | | | There was no condition to show a summary for when installation of tests archive fail. The log will contain "No Sources for <IP address>" error. Pick-to: master Change-Id: Ic1e2db4cb32279145e651e05722a66449b8f14b8 Reviewed-by: Toni Saario <toni.saario@qt.io>
* parse_build_log: print a warning about fatal timeouts in testsFabian Kosmale2021-12-161-6/+15
| | | | | | Pick-to: master Change-Id: I2c1e845a27e8e3a65d3c35e947513bba3977eae3 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Dedupe reporting of failed testsFabian Kosmale2021-12-161-6/+20
| | | | | | | | | | | In the CI, we rerun tests if they fail. The reporting script would have reported each rerun, which creates quite a bit of line noise. Use a set to deduplicate them. The reruns' outputs differ by a number indicating the run count, so use a regex to remove that one. Pick-to: master Change-Id: I65c11847375434dfd1470e4a9456396029567d0e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* parse_build_log: Correct failure checkFabian Kosmale2021-12-161-1/+1
| | | | | | | | | "XFAIL" is always true. We want to check instead if it is contained in the line. Pick-to: master Change-Id: I407c40c7b12586d40ede9cc0e492f05616828aef Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Show CMake errorsKarim Abdelrahman2021-12-091-2/+5
| | | | | | | | add condition to include CMake erros in log summary + fatal errors from Clang compiler. Change-Id: Id07f382474c2e32081522c4450ed67fa62e822d7 Reviewed-by: Toni Saario <toni.saario@qt.io>
* Detect crashed tests and print outputVolker Hilsheimer2021-03-131-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reference log output: 68657: ********* Start testing of tst_QReadWriteLock ********* Config: Using QtTest library 6.2.0, Qt 6.2.0 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 10.2.0), b2qt 3.2 PASS : tst_QReadWriteLock::initTestCase() PASS : tst_QReadWriteLock::constructDestruct() PASS : tst_QReadWriteLock::readLockUnlock() PASS : tst_QReadWriteLock::writeLockUnlock() PASS : tst_QReadWriteLock::readLockUnlockLoop() PASS : tst_QReadWriteLock::writeLockUnlockLoop() PASS : tst_QReadWriteLock::readLockLoop() PASS : tst_QReadWriteLock::writeLockLoop() PASS : tst_QReadWriteLock::readWriteLockUnlockLoop() PASS : tst_QReadWriteLock::tryReadLock() PASS : tst_QReadWriteLock::tryWriteLock() PASS : tst_QReadWriteLock::readLockBlockRelease() PASS : tst_QReadWriteLock::writeLockBlockRelease() PASS : tst_QReadWriteLock::multipleReadersBlockRelease() double free or corruption (!prev) CMake Error at tst_qreadwritelockWrapperRelWithDebInfo.cmake:17 (message): 164: /home/qt/work/qt/qtbase_standalone_tests/tests/auto/corelib/thread/qreadwritelock/tst_qreadwritelock execution failed. 164: 164: 164/570 Test #164: tst_qreadwritelock ...................................***Failed 6.92 sec Change-Id: Ic9ed3e2045d72331337c58bab509730949ec8dab Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Don't match -DWARNINGS_ARE_ERRORS=OFF as an error lineVolker Hilsheimer2021-03-131-3/+3
| | | | | | | | | | | | | | The intention of the ERROR match is unclear. Make generates error messages like "Makefile:9: *** missing separator. Stop." and Python generates SyntaxError: or NameError: at build time. Remove that option. Change-Id: Ie9555e6d8feec9465e5577d8aa49d296d5f00d3d Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Do not require zcatFabian Kosmale2020-11-261-24/+5
| | | | | | Change-Id: I37579277b2310cf5d83e4089bf7eb76fcd0e46bf Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Add debug loggingFabian Kosmale2020-11-261-0/+11
| | | | | | | | | This should help to figure out what goes wrong if there are issues with the script. Change-Id: I82b46bd6ba68645b5e8ec3783d1592bcda77d036 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* parse_build_log: Try harder to locate errorsFabian Kosmale2020-11-261-5/+19
| | | | | | | | | | | | | | - Do not get confused if a QDEBUG message contains "error" or a variation thereof - Parse "agent" prefix correctly even if it contains column - Skip errors from the CMake output, as we always get them (those resulted in "moc_myobject.cpp:65:47: error: expected ‘)’ before ‘;’ token" messages in the log Change-Id: Idd29a12320cc70a1f20f708b9fcc0517e093cf6e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* parse_build_log.py: Silence flake8 warningsFriedemann Kleint2019-06-131-3/+6
| | | | | | | | Fix indentation, blank lines and spaces around default parameters Task-number: COIN-28 Change-Id: Ibe15f95563870ca4157a2e053f04f60b2a8fb70a Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Fix parse_build_log.py to pass the Coin testsFriedemann Kleint2019-06-121-4/+12
| | | | | | | | Add a missing check for make errors. Task-number: COIN-28 Change-Id: I057c90c9d693f22b2acc6f505b7c27f8bf2195a0 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Long live parse_build_log.py!Friedemann Kleint2019-06-071-0/+134
Replaces parse_build_log.pl, which has grown beyond maintenance and whose usage of esoteric Perl modules poses a problem. Start out simple by simple checks for compile errors and failing tests. Task-number: COIN-28 Change-Id: If0d630c39902c40b814fcdf853b4622356b8081d Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>