Commit Graph

434 Commits

Author SHA1 Message Date
benbierens df6da29a69
Moves ByteSize to Utils assembly. 2023-09-08 09:39:56 +02:00
benbierens 23f5318dfc
More uploads 2023-09-01 14:40:48 +02:00
benbierens 3df4a97bba
debugging local 2023-09-01 10:39:41 +02:00
benbierens 8f61c46ff0
Adds simple test to ensure routing table is correctly filled. 2023-08-29 16:08:40 +02:00
benbierens 249b13d503
Adds tests to ensure marketplace and metrics don't interfere with peer discovery 2023-08-28 11:16:58 +02:00
benbierens b276592daf
Fixes download stream error in peerDownloadHelper 2023-08-24 15:56:56 +02:00
benbierens 7da90fc53b
cleanup 2023-08-24 15:45:21 +02:00
benbierens 7eda26d177
Cleanup of full-connectivity helper. 2023-08-24 10:59:11 +02:00
benbierens 47aedc2ac8
cleanup 2023-08-22 15:51:39 +02:00
benbierens 7e5121a642
Fixes test for cloud environment 2023-08-22 09:06:44 +02:00
benbierens ce3850b0b0
I accidentally filled up my harddrive with random numbers last night. 2023-08-21 07:58:58 +02:00
benbierens 1682dfc08f
Adds holdmybeer test to continuous test runner 2023-08-18 10:31:20 +02:00
benbierens c8cb04d859
Allows downloading only log-tails. 2023-08-16 16:13:29 +02:00
benbierens 30364abf21
Correct checking of upload and download log statements 2023-08-16 11:39:24 +02:00
benbierens 6486dba289
Asserting correct filesize and block numbers in the codex logs 2023-08-16 10:52:44 +02:00
benbierens 57c46004b1
cleanup 2023-08-15 15:00:47 +02:00
benbierens 3abb1770c2
Fixes crash log downloads 2023-08-15 12:55:30 +02:00
benbierens 08ee09af1e
wires crashWatcher into CodexStarter 2023-08-15 11:01:18 +02:00
benbierens 72fa368357
working example of crash log recovery 2023-08-15 10:03:01 +02:00
benbierens 86bae93e98
Wires up block-maintenance number of blocks param 2023-08-14 16:37:31 +02:00
benbierens c0b7d3a747
Hooks up block maintenance interval config param. 2023-08-14 15:51:03 +02:00
benbierens 6e5e30afd4
rigged up a pod crash detector maybe 2023-08-14 15:10:36 +02:00
benbierens 9f0600d6c1
Automatic quota line. Holding test. 2023-08-14 10:35:42 +02:00
benbierens 68d19353aa
moves to 80MB and long timeouts 2023-08-08 14:42:59 +02:00
benbierens eaf5db5e91
Run test against increasing file sizes 2023-08-08 10:45:16 +02:00
benbierens 598dc766fa
use extra log codex image 2023-08-08 09:44:38 +02:00
benbierens ab42fa8004
removes just-wait tests 2023-08-07 18:31:13 +02:00
benbierens 5ad2aa4c6a
Merge branch 'master' into spike/local-continuous-debug 2023-08-07 10:58:27 +02:00
benbierens 8a6c5e95ee
Makes sure codex nodes are always started in their own pods. 2023-08-07 10:44:48 +02:00
benbierens 3884a6a7f7
a 2023-08-02 15:11:27 +02:00
benbierens 8d229f1720
cleans up waiting for storage contract state helper methods. 2023-07-31 09:56:37 +02:00
benbierens 9a7946c863
Basic tests pass 2023-07-31 09:16:52 +02:00
benbierens ac33d3c7be
Moves some of the fully-connected download tests to the long-tests 2023-07-17 13:47:41 +02:00
benbierens 4815194db0
Removes variable image tests. 2023-07-17 08:56:18 +02:00
benbierens b295314bde
fixes blockTTL envvar 2023-07-14 10:45:26 +02:00
benbierens f23926636c
Setting up way to run different codex images 2023-07-14 10:18:37 +02:00
benbierens 1f8fc52cb1
Adds three-client test to check discovery relaying 2023-07-13 09:20:24 +02:00
benbierens 63068aae1d
Debugging marketplace test 2023-06-27 15:28:00 +02:00
benbierens 56dc1c632d
Variable size download tests 2023-06-06 16:10:30 +02:00
benbierens e33a6776e5
Cleanup 2023-06-06 14:37:02 +02:00
benbierens 10a0ac3311
Splits up download tests from connectivity tests and improves testfile logging 2023-06-04 08:59:51 +02:00
benbierens ad71cff465
Automatically map location enum to available k8s nodes. 2023-06-02 10:04:07 +02:00
benbierens 9747846787
Increase retry timeout 2023-06-01 12:27:54 +02:00
benbierens 61d2185bb6
Attempt internal connection using pod IP and exposed port. 2023-06-01 10:14:32 +02:00
benbierens b92c1b970d
Sets up support for internal and external container addresses 2023-06-01 09:35:18 +02:00
benbierens 3d1d82f582
pushes codex loglevel to configuration 2023-05-31 13:34:12 +02:00
benbierens f2145a747f
Clearly distinguishes between peer-connections that can't be made and problems with the node-to-test link. 2023-05-31 13:15:41 +02:00
benbierens 8c85cd22bb
Adds clear logging for peer helper invocations. 2023-05-29 09:25:03 +02:00
benbierens 1016f568b8
Cleanup of peer connection helpers. Adds peer download helpers. 2023-05-29 09:13:38 +02:00
benbierens ab7a334987
Adds assert that nodes have correct addresses in their table of peers. 2023-05-29 08:35:46 +02:00
benbierens 025b03e678
Retain for a while in staged variable nodes peer discovery tests 2023-05-18 10:42:04 +02:00
benbierens 830d74a5ae
Faster peer-pair checking 2023-05-12 10:48:12 +02:00
benbierens 90a5aafa1c
Better peer discovery result logging. Staged discovery test. 2023-05-12 09:11:05 +02:00
benbierens f7e7849460
Improves retrying in peer test helper 2023-05-11 13:59:53 +02:00
benbierens 38d5b172f4
successful peer discovery tests 2023-05-11 12:44:53 +02:00
benbierens e9679e18c0
logs all checks before failing 2023-05-10 10:47:10 +02:00
benbierens d58cb38c79
Cleanup duplicated retry logic. Adds layered and chain tests 2023-05-10 09:55:36 +02:00
benbierens 2a55328d11
Debugs AutoBootstrapDistTest 2023-05-10 09:09:31 +02:00
benbierens 1d224cf2d3
Sets up working peer-discovery tests 2023-05-10 08:53:57 +02:00
benbierens 9c6f00dbce
Disable net-isolation tests 2023-05-05 08:47:20 +02:00
benbierens 3c9cb9b7da
Turns off test cases for two-client tests 2023-05-05 08:35:13 +02:00
benbierens 3aba6d5082
Merge branch 'feature/parallel-tests' 2023-05-05 08:33:24 +02:00
benbierens e96c8a2a13
Enables checking for engine peers in peer tests 2023-05-05 07:58:48 +02:00
benbierens d0b4e31167
Turns off parallel tests for now. 2023-05-04 15:22:11 +02:00
benbierens 3db2217c32
oops forgot to update calls to log 2023-05-04 15:21:36 +02:00
benbierens eae138f7fd
Adds policy and test for network isolation. This will not work on docker-desktop clusters. 2023-05-04 14:55:39 +02:00
benbierens 533bf32577
Better logging in case codex node fails to respond to debug/info request. 2023-05-04 11:34:43 +02:00
benbierens 2ed6993b58
wip debugging anomalous test failures 2023-05-04 08:25:48 +02:00
benbierens 79a40904e4
setup 2023-05-03 14:18:37 +02:00
benbierens 01c8238311
Applies faster geth image 2023-05-03 10:21:15 +02:00
Eric Mastro c16055d7e4
bump to .net 7 2023-05-02 15:17:43 +10:00
benbierens 085c4431a2
Setup and contributing instructions 2023-05-01 16:26:26 +02:00
benbierens 5c00205f62
Cleanup and support for automatic bootstrap tests 2023-05-01 11:14:42 +02:00
benbierens 2d5554fadf
wip test, but passes. 2023-04-30 11:10:38 +02:00
benbierens db4364d336
Much nicer logging by means of container name-override and long-id log replacements 2023-04-30 10:56:19 +02:00
benbierens 4dd02a96e9
Isolating issue with peer tests 2023-04-30 10:08:32 +02:00
benbierens 1da481daa1
Restores original test numbers 2023-04-28 07:22:17 +02:00
benbierens 96c2ade7ff
Allows for the use of UseLongTimeouts in combination with test-case attribute 2023-04-27 15:55:33 +02:00
benbierens d236fe6cea
Merge parallel-upload-download tests 2023-04-26 15:32:27 +02:00
benbierens e2586ddd26
Merge branch 'master' into feature/marketplace-contracts 2023-04-26 15:31:26 +02:00
benbierens 2ba5a1491a
Updates to latest image 2023-04-26 15:31:01 +02:00
Corbo12 ec311f4802 MDF change upload tests file name 2023-04-26 15:00:09 +02:00
Corbo12 aed3edaf6a MDF split tests into different files 2023-04-26 14:59:26 +02:00
benbierens 1c9e59a6ea
Bonus: sets up peer-tests 2023-04-26 14:40:54 +02:00
benbierens ef546a435b
Supports multiple codex nodes from a single geth companion node. 2023-04-26 11:12:33 +02:00
Corbo12 5d5b08e084 ADD multithreading 2023-04-25 13:43:51 +02:00
benbierens 62f4eed221
Removes BringOnline method 2023-04-25 12:52:11 +02:00
benbierens 9db35be2ec
Allows for nethereum interactions with companion nodes. Verifies that marketplace contract is available before proceeding with codex-node setup. 2023-04-24 14:09:23 +02:00
Corbo12 b70e8033f3 WIP merge with main 2023-04-20 15:58:47 +02:00
Corbo12 4492b4f0d2 Merge remote-tracking branch 'upstream/master' 2023-04-20 14:16:53 +02:00
Corbo12 71b061cac7 MDF threaded functions not running correctly 2023-04-20 14:16:04 +02:00
Corbo12 a7e024002f ADD upload tests 2023-04-20 12:43:25 +02:00
benbierens cdd51f6dc7
Sets up some durability tests. 2023-04-19 14:57:00 +02:00
Corbo12 18e59f3490 ADD Parallel download Tests 2023-04-19 12:34:46 +02:00
benbierens 5b132bcb54
Fixes connection from codex node to its companion 2023-04-19 11:23:11 +02:00
benbierens e9d84a5cf7
Better logging for json errors and node actions. 2023-04-19 10:42:08 +02:00
benbierens e4e7afd580
Better logging 2023-04-19 09:57:37 +02:00
benbierens 12d122ad83
Finishes implementation of marketplace support 2023-04-18 15:33:12 +02:00
benbierens 9b38447dbe
Setting up access to marketplace address 2023-04-18 10:22:11 +02:00
benbierens 8880ddd2bd
Attempting to set up geth bootstrap argument 2023-04-17 10:31:14 +02:00
benbierens 60e653b63c
Better logging + time measurement 2023-04-14 14:53:39 +02:00
benbierens 419ea1854f
Marketplace test passes 2023-04-14 12:37:05 +02:00
benbierens 33a3f85136
Metrics example test passes 2023-04-13 14:36:17 +02:00
benbierens 7eab4840ef
Log accessing test passes 2023-04-13 11:30:19 +02:00
benbierens cbf0fbf5b5
Implements restart test. 2023-04-13 11:07:36 +02:00
benbierens 56063bbbf1
two-client tests pass 2023-04-13 10:11:33 +02:00
benbierens f5c60f0bca
OneClient test passed 2023-04-13 09:33:10 +02:00
benbierens bdd977d8a9
wrap up with basic ETH balance control 2023-04-12 08:40:23 +02:00
benbierens c977e37ab8
wip 2023-04-11 11:00:39 +02:00
benbierens 230f9f3bd0
Fixes port clashes for multiple geth nodes per pod 2023-04-10 15:21:45 +02:00
benbierens ab8318e102
Successful spin-up of geth companion node 2023-04-10 14:48:16 +02:00
benbierens adbcfb9974
Setting up test interface for marketplace 2023-04-10 09:05:27 +02:00
benbierens a3ccd07254
Merge branch 'master' into feature/marketplace-contracts
# Conflicts:
#	CodexDistTestCore/DistTest.cs
#	Tests/BasicTests/SimpleTests.cs
2023-04-10 08:01:23 +02:00
benbierens 6af0890571
Ignores two-location test for now 2023-03-31 10:37:55 +02:00
benbierens c50cf02f7d
Simplifies node-metrics interface 2023-03-31 10:00:44 +02:00
benbierens 14d663143e
Examples of how to execute commands in a container. Example of setup with Nethereum. 2023-03-31 08:39:24 +02:00
benbierens f70ce8e8bb
implements downloading of metrics on test failure 2023-03-30 10:43:17 +02:00
benbierens f0d60493ae
Cleaning up metrics support 2023-03-29 10:07:16 +02:00
benbierens 8cbba00407
Allows starting of multiple metrics-collecting services 2023-03-28 13:43:25 +02:00
benbierens 99e5b4c89a
this works! 2023-03-28 10:25:48 +02:00
benbierens 3d1ee8ebdb
Using customized prometheus image to control configuration. This works. 2023-03-27 16:24:04 +02:00
benbierens da68fa1de8
Trying to spin up a prometheus 2023-03-27 14:49:34 +02:00
benbierens 4fb0e7c281
Can enable metrics on codex node startup. 2023-03-27 10:27:08 +02:00
benbierens ed2878f7df
wrap up location feature 2023-03-27 07:57:31 +02:00
benbierens 5d66e900f1
Allows disabling of log download on test failure with test attirbute 2023-03-26 10:57:54 +02:00
benbierens ce963a228c
Successful access to codex log from within test 2023-03-26 10:45:01 +02:00
benbierens 3359b10929
Extracts configurable components to config folder 2023-03-26 08:56:50 +02:00
benbierens 496673c882
turns tests back on 2023-03-24 14:32:25 +01:00
benbierens 40aaf42106
test for location selection 2023-03-24 14:16:59 +01:00
benbierens d68a264f35
This is how I want it to work from the tests 2023-03-23 12:41:34 +01:00
benbierens 8fc573c4b5
Setting up two-client-two-pod test 2023-03-22 14:49:01 +01:00
benbierens e9168dc168
Implements two-client-one-pod test 2023-03-22 11:27:51 +01:00
benbierens 82e29d02c9
this works 2023-03-21 15:17:48 +01:00
benbierens ca0bc9570b
Project layout cleanup 2023-03-21 13:24:58 +01:00