1
0
Fork 0
Commit Graph

45 Commits

Author SHA1 Message Date
Wilfried Goesgens 636b2e5d5f fixed version of arangosh result evaluation refactoring - properly count objects (#10080) 2019-09-26 12:07:52 +02:00
jsteemann d1b1b6726f Revert "Feature/resource usage (#9647)"
This reverts commit 76afb5001e.
2019-09-03 12:48:02 +02:00
Wilfried Goesgens 76afb5001e Feature/resource usage (#9647)
* spawn an arangosh that checks cluster nodes are responsive

* attempting to kill 0 may end up bad for us, prohibit it

* don't trip over this optional stuff.

* fix killing of spectator

* only write one line per minute

* fix function name

* print sHitlist of tests, add resource usage

* fix lint

* start refactoring result processing into its own library

* /proc reading only works on linux

* new result processing library

* clean up test loading flow, remove unused blacklist implementation

* measure SUT start/stop + test time

* lint

* more non-test variables

* improve test runner naming

* finish gathering statistics about start/run/stop

* use internal stats code for external processes too

* fix status in sample testcase

* tell that procdump is gone - it seems this happenes in reality without coredumps being written

* refactor test result analyzing, add utility to work with analyzers of json dumps from CI systems

* fix testcase error handling

* also run watcher for agency

* lint

* fix default options for test added default options

* if arguments occur multiple times, update value to an array

* start implementing some test analyzers

* fix color

* write json report unconditional

* add analyzer that searches for long setup/teardown tests

* enable thread dump; log error if we fail to acquire the threads

* disable procdump for the agency

* output error if we fail to get process stats

* fix json invocation

* add debug logging

* only add buildType if that directory actually exists

* trap sleepers

* trap sleepers

* trap sleepers

* trap sleepers

* trap sleepers

* disable thread counting on the wintendo

* disable thread counting on the wintendo

* more measurements

* more measurements

* one more place

* one more place

* remove debugging code

* Update js/client/modules/@arangodb/process-utils.js

Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>

* Update js/client/modules/@arangodb/process-utils.js

Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>

* rename as sugested by @dan

* undo debug changes

* lint, make cluster health monitor optional per default

* fix spawning of active failover SUT, fix cluster health monitor shutdown

* use std::find_if (as @dan sugested), fix log ids

* fix scope of before-time
2019-08-30 16:20:07 +03:00
Jan 563deebbee
use _exit instead of exit to prevent memory leaks (#9716) 2019-08-15 13:42:59 +02:00
KVS85 0c6d3b7ddc
Set jsunity output to gtest style (#9646)
* Set jsunity output to gtest style

* More pretty printing

* Fix jslint

* Remove unnecessary spaces
2019-08-07 22:37:00 +03:00
Wilfried Goesgens 7acb3b3ec4 wait for procdump to exit too. (#7731)
* wait for procdump to exit too.

* move running process check up, propagate status. First check whether processes are still running before attempting to force kill them

* only list processes, don't change their state

* add stopping procdump in all places
2018-12-12 18:06:08 +01:00
Wilfried Goesgens 879c7bb479 slash all left over processes (if) and set status to bad. (#7557) 2018-11-30 16:24:07 +01:00
Frank Celler a6e4c844ad Feature-3.4/whiteblacklist (#7259)
* add blacklist

* added --skipGrey
2018-11-08 00:01:29 +01:00
Wilfried Goesgens c2ce154a15 initialize the testresult summary with an abort message, in case we don't finish successfully (#7046) 2018-10-24 16:02:17 +02:00
Wilfried Goesgens ad31b31096 print when we mark a build crashy (#6769)
LGTM
2018-10-09 16:47:16 +02:00
jsteemann 50871dd87c fixed jslint warning 2018-06-13 19:25:16 +02:00
Wilfried Goesgens 0470f945fa Bug fix/improve test status handling (#5591)
* add missing documentation about argument handled in unittest.js

* improve error handling on fs.write

* fix option name

* improve result handling

- add exception handling
- write status bad even before we start the test so we really know when
  something went wrong.

* SYS exceptions will already handle system exceptions

* rethrow

* only return true if the file object has no error bit set

* don't double-close on error.

* add note that we disable exceptions explicitely
2018-06-13 14:10:44 +02:00
Wilfried Goesgens e4a3a28004 if catch ran, and crashed emmit that to the xml file so we can see it in the oversight of the jenkins job. (#4014) 2017-12-13 11:31:12 +01:00
Simon Grätzer 0e485f7441 Fixing collection name collection handling in Syncer (#3710) 2017-11-17 16:36:57 +01:00
Andreas Streichardt 7d2ab6055f Merge with latest changes in improve-jenkins
stashing should work better now
2017-08-31 17:53:48 +02:00
Andreas Streichardt 6527c8ceed Revert "Unwurst results"
This reverts commit 8312c64f60.
2017-05-02 19:05:48 +02:00
Andreas Streichardt 6112caec4a Revert "Remove debug leftover"
This reverts commit 570a5a67b3.
2017-05-02 19:05:27 +02:00
Andreas Streichardt 570a5a67b3 Remove debug leftover 2017-05-02 18:35:51 +02:00
Andreas Streichardt 8312c64f60 Unwurst results 2017-05-02 18:21:16 +02:00
Wilfried Goesgens 0b7e07f096 fix writing of crash summary textfile 2017-04-26 11:08:21 +02:00
jsteemann 054f1afeb0 fix README_maintainers, provide debug output for invalid invocations 2017-04-19 12:05:16 +02:00
Michael Hackstein 1087065ea5 Merge branch 'devel' of github.com:arangodb/arangodb into engine-api 2017-04-13 17:34:25 +02:00
Wilfried Goesgens 839d44de80 another place where we need to know the testresult output directory 2017-04-11 17:06:52 +02:00
Jan Christoph Uhde a3de2df144 add some comments to unittests.js 2017-04-11 14:59:21 +02:00
Wilfried Goesgens 7507f0d756 one more place to choose the propper directory for unittest result files. 2017-04-06 14:54:09 +02:00
Wilfried Goesgens 45a896a547 BUGFIX: use parsed options to divert test output directory 2017-04-06 12:00:56 +02:00
Wilfried Goesgens bbed39b172 add slash here too. 2017-04-05 17:40:35 +02:00
Andreas Streichardt 2bdc86d9f2 ... 2017-04-05 17:35:06 +02:00
Wilfried Goesgens e77f9ed3e7 fix bracket type 2017-04-05 17:01:30 +02:00
Wilfried Goesgens 8d01619589 add option to specify the test output directory 2017-04-05 16:46:33 +02:00
Andreas Streichardt f32256e5a7 Normalize test resultstructure (hopefully) 2017-03-28 14:15:08 +02:00
Andreas Streichardt 42e58c505f Bump jenkins 2016-12-15 10:19:02 +01:00
Andreas Streichardt 31b41471a4 Unittest should report a failure to the console 2016-12-14 17:41:58 +01:00
Jan Steemann 864bffa48d next attempt 2016-04-22 15:18:05 +02:00
Jan Steemann 7da93fd931 attempt to fix xml output 2016-04-22 14:08:44 +02:00
Jan Steemann 17c6878bb7 fixed test reporting 2016-04-22 13:28:23 +02:00
Frank Celler cf416c686c WIP 2016-04-16 18:44:10 -07:00
Frank Celler b2a35a337a fixed naming 2016-02-11 15:08:07 +01:00
Frank Celler c63ec596cb added default for total 2016-02-11 12:12:51 +01:00
Frank Celler 251fcb8113 allow more than one test target 2016-02-10 23:21:06 +01:00
Frank Celler 7be4ad5a21 unified naming (.txt => .json) 2016-02-04 12:36:48 +01:00
Frank Celler ea040037cb unified naming (all_ok, ok => status) 2016-02-04 12:34:31 +01:00
Frank Celler e9dbd6f648 fixed test for significant attribute 2016-02-02 14:46:28 +01:00
Frank Celler 3709cd823e generate UNITTEST_RESULT_CRASHED, use inspect, set defaults 2016-02-02 12:56:31 +01:00
Frank Celler 423a5420b2 splitted run and unittest scripts 2016-01-29 20:05:39 +01:00