Commit Graph

90 Commits

Author SHA1 Message Date
A.J. Beamon b93b41cbf6 Some cleanup of fdb_c_version:
* Support Python 3 and make it the default
* Use str(e) instead of e.message to print errors
* Don't convert library_path to an absolute path so that we can load the system fdb_c.
2021-04-12 13:20:04 -07:00
Meng Xu 82db2ddce5 Add tool to detect client version 2021-04-12 09:49:44 -07:00
Andrew Noyes b8b2be7918 Disable lsan in joshua 2021-03-16 00:44:23 +00:00
FDB Formatster df90cc89de apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
Andrew Noyes 540c6bb709 Ignore expected ASAN message 2021-02-18 19:18:07 +00:00
A.J. Beamon a8d08a8792 Merge branch 'release-6.3' into merge-release-6.3-into-master 2021-02-09 10:18:00 -08:00
A.J. Beamon 0650ff1a41 Increase the maximum length of the error strings logged by test harness. Make it more obvious when errors are being truncated. 2021-02-05 15:54:51 -08:00
Andrew Noyes 58b4a9b907 Resolve conflicts 2021-01-21 20:59:44 +00:00
Andrew Noyes 281151ff20 Merge remote-tracking branch 'upstream/release-6.2' into anoyes/merge-6.2-to-6.3
Commit conflict markers for now
2021-01-21 17:54:26 +00:00
Andrew Noyes ddb5b0b050 Backport correctness package 2021-01-15 00:34:47 +00:00
Trevor Clinkenbeard 0faaecc780
Merge branch 'master' into merge 2020-10-29 22:27:40 -07:00
sfc-gh-tclinkenbeard cf4c8e375f Merge remote-tracking branch 'origin/release-6.3' into merge 2020-10-29 22:15:41 -07:00
Alex Miller 362bd757c6 Make FDB >=4.x ignore old binaries before FDB 4.x
The motivation for this is so that Snowflake can add use TestHarness to run
FDB3 in Joshua, and be able to load FDB3 binaries into the image for restarting
tests.
2020-10-29 02:23:51 -07:00
Alex Miller 89a1559910 Handle versions being >1 digits. 2020-10-29 02:23:39 -07:00
Alex Miller f2de49332c TestHarness should check --version before choosing an old binary.
This allows joshua to run on binaries older than the most recent version,
because restarting/upgrade tests won't start with a newer version than what is
under test.
2020-10-29 02:23:34 -07:00
Alex Miller 16108c0795 Handle versions being >1 digits. 2020-10-27 13:12:42 -07:00
Alex Miller ee45ed1c11 TestHarness should check --version before choosing an old binary.
This allows joshua to run on binaries older than the most recent version,
because restarting/upgrade tests won't start with a newer version than what is
under test.
2020-10-26 19:19:45 -07:00
Jon Fu c622a11c70 Merge branch 'master' of https://github.com/apple/foundationdb into jfu-snapshot-record-version 2020-10-05 13:15:56 -04:00
Markus Pilman 268ba0bddc Merge remote-tracking branch 'origin/release-6.3' into merge-6.3 2020-10-01 14:14:06 -06:00
Jon Fu ee8ed6781b change test harness to check .toml restarting tests 2020-09-30 14:23:25 -04:00
Alvin Moore 40b51cbdbb Added support to specify the FDB Cluster Text
Added support fo specify the number of ports from which to choose
Swapped tabs for spaces to make Marcus happy 😃
2020-09-23 17:58:47 -04:00
Kao Makino 5d60663bbf Make bindingtester scripts more k8s friendly 2020-09-23 16:14:19 -04:00
Kao Makino ac63273ae3 Make bindingtester scripts more k8s friendly 2020-09-22 22:35:00 -07:00
Meng Xu cf69f455a9
Merge pull request #3785 from apple/release-6.3
Merge Release 6.3 to master
2020-09-17 14:43:56 -07:00
Alvin Moore b060f53bab Added support for randomizing the port from 4000 to 4999 2020-09-12 00:39:36 -04:00
Alvin Moore 2d0b9fb12b Declared local status variables
Added checks to ensure that cluster died when killed via cli
Changed error message
2020-09-11 17:44:09 -04:00
Young Liu 35bef73a1c Rename proxy to commit proxy 2020-09-10 17:44:15 -07:00
Alvin Moore 5e06f41c59 Corrected spelling
Removed unused lines from file
2020-09-09 13:42:59 -04:00
Alvin Moore 06527ffb70 Capture any errors along with standard output 2020-09-01 15:12:58 -04:00
Alvin Moore 335bf882cd Disabled audit by default 2020-09-01 15:12:31 -04:00
Alvin Moore 9ee4e38ca4 Fixed location of the knob 2020-09-01 13:59:00 -04:00
Alvin Moore a88a41d07e Disabled kernel AIO for bindingtester to allow ramdisk to be supported
Added sleep to kill command to allow time for server to receive the command
2020-09-01 13:38:52 -04:00
Alvin Moore d40bdff7e8 Called the kill command before killing cluster 2020-09-01 11:12:57 -04:00
Alvin Moore 6dddac5af2 Fixed the kill call to the coordinator 2020-09-01 10:25:03 -04:00
Alvin Moore d349efba57 Added support for killing the cluster gracefully 2020-09-01 10:08:52 -04:00
Alvin Moore 8fa599a435 Removed total seconds from audit 2020-09-01 09:53:03 -04:00
Alvin Moore e5a8bf659a Ensure that the cluster is stopped when exiting 2020-09-01 09:34:46 -04:00
Alvin Moore 738248dff2 Added support for a global audit log to help debugging efforts 2020-09-01 09:33:37 -04:00
Alvin Moore 79424f6d7a Optionally kill existing servers
Moved wait amounts to variables
Made server address to a random ip address on local host
2020-08-31 19:38:37 -04:00
Kao Makino 2f76dd0b76 Remove unnecessary special case handling from JsonParser 2020-08-18 10:46:06 -07:00
Evan Tschannen 2f52c5f79b Merge branch 'release-6.3'
# Conflicts:
#	fdbserver/RestoreLoader.actor.cpp
2020-08-11 22:45:43 -07:00
Meng Xu 9a0a9acdd1
Merge pull request #3586 from sfc-gh-kmakino/kaomakino/fdbcstat
fdbcstat: FDB C API monitoring utility
2020-08-07 14:38:08 -07:00
Alvin Moore 66a41089dc
Increment TestHarness version
Co-authored-by: Markus Pilman <markus.pilman@snowflake.com>
2020-08-07 14:28:27 -04:00
Alvin Moore c82a81b124 Fixed whitespace 2020-08-07 13:50:49 -04:00
Alvin Moore 6ec05e1fd8 Removed unneeded include for TestHarness 2020-08-07 13:50:01 -04:00
Alvin Moore 12b51f7889 Added separate function to display version information for TestHarness 2020-08-07 12:44:21 -04:00
Alvin Moore bc0ef5d0d7 Fixed the name of the TestHarness cmake file 2020-08-07 12:40:52 -04:00
Alvin Moore d5b39f649c Updated cmake to work with TestHarness source file 2020-08-07 12:37:27 -04:00
Alvin Moore c07aaf2d72 Removed Application config
Made TestHarness source file a cmake file
2020-08-07 12:03:35 -04:00
Alvin Moore 0f6a01aef4 Added TestHarness application config 2020-08-07 10:57:14 -04:00