Граф коммитов

1474 Коммитов

Автор SHA1 Сообщение Дата
Eddy Ashton 2092338dd6
RaftDriver: Log whenever messages are dropped, to simplify trace validation (#6021) 2024-02-19 09:27:15 +00:00
Eddy Ashton 443309e10d
Raft fixes: Rollback safety despite NACKs, and only ACK up to incoming AE (#6016) 2024-02-15 17:43:46 +00:00
Amaury Chamayou 767a1072b5
RaftDriver: Add `assert_detail` (#6007) 2024-02-09 15:59:04 +00:00
Eddy Ashton da86a948a0
RaftDriver: Check `commit_safety` after every step, as invariant (#6006) 2024-02-09 13:57:49 +00:00
Eddy Ashton 944a1e6174 Assert final state 2024-02-05 09:59:03 -08:00
Eddy Ashton 6ed8724af3 Add a reelection scenario 2024-02-05 09:59:03 -08:00
Amaury Chamayou 2b9abce447
In trace, log commit pre-state (#5984) 2024-02-05 13:43:53 +00:00
Amaury Chamayou 0fa4538ef2
Fix recv_propose_request_vote in trace validation (#5985) 2024-02-05 11:48:24 +00:00
Amaury Chamayou 82320b0b63
Clean up nodes in reconfiguration test (#5983) 2024-02-05 10:52:47 +00:00
Amaury Chamayou 8a94856356
Add RetiredCommitted state to consensus (#5962) 2024-02-01 16:24:35 +00:00
Amaury Chamayou 81ec8d2d3f
Add retirement phase to state and retirement state to viz (#5977) 2024-02-01 14:51:42 +00:00
Amaury Chamayou 9ca9965bd4
Add fancy election 2 scenario (#5925) 2024-02-01 13:07:14 +00:00
Amaury Chamayou 7f6991a515
Empty cmd is now "" rather than null (#5975) 2024-02-01 10:25:32 +00:00
Eddy Ashton 3e3fcaab01
Add fuzz test of node-to-node connection (#5974) 2024-01-31 17:28:21 +00:00
Amaury Chamayou ddb6a86bf3
Update 5979 and rename to retire_one (#5967) 2024-01-30 13:04:44 +00:00
Amaury Chamayou 08b52c28a4
Add the driver command at the end of the trace viz (#5960) 2024-01-29 09:13:39 +00:00
Heidi Howard 976278b286
Black reformat python files (#5958) 2024-01-26 09:29:55 +00:00
Amaury Chamayou 13ec78a31f
Update minimum required version for jsrasign to 11.0.0 (#5944) 2024-01-19 15:59:31 +00:00
Amaury Chamayou fe87600fc7
Drop 4806 scenario (#5937) 2024-01-18 20:25:44 +00:00
Amaury Chamayou cb133d18c6
SIM Trace viz (#5930) 2024-01-18 20:24:43 +00:00
Amaury Chamayou 4d6f8e2dfa
Remove 4582.2 scenario (#5936) 2024-01-18 14:30:13 +00:00
Heidi Howard c69933717c
Running prettier over JSON files (#5932) 2024-01-18 10:14:26 +00:00
Amaury Chamayou c03c0164cc
Add election_while_reconfiguration scenario (#5929) 2024-01-16 11:12:09 +00:00
Amaury Chamayou a7ea30ab1c
More trace validation scenarios (#5924) 2024-01-15 16:06:28 +00:00
Amaury Chamayou e5a7106a03
Add multi election scenario (#5915) 2024-01-12 09:56:46 +00:00
Amaury Chamayou e008c5f31b
Check quorum scenario (#5911) 2024-01-12 09:08:15 +00:00
Amaury Chamayou da30d983c8
Add reconfiguration scenario (#5918) 2024-01-11 17:40:02 +00:00
Amaury Chamayou 2516a6aa50
Add h_ts in trace viz script (#5916) 2024-01-11 16:21:10 +00:00
Amaury Chamayou deb620c00d
Reconnect scenario for trace validation (#5910) 2024-01-11 10:47:42 +00:00
Amaury Chamayou 1a92c5674e
Add node backup endpoint (#5912) 2024-01-11 09:50:30 +00:00
Amaury Chamayou ab81c000ad
Election scenario for trace validation (#5909) 2024-01-10 18:44:51 +00:00
Amaury Chamayou be3b26f060
Add basic replicate trace scenario (#5907) 2024-01-10 15:44:41 +00:00
Amaury Chamayou 52ef1f1996
Complete 2-node startup trace validation (#5906) 2024-01-10 14:07:34 +00:00
Eddy Ashton a56cf5c771
Follow up to #5889 - avoid misaligned peeks (#5905) 2024-01-10 14:03:29 +00:00
Amaury Chamayou 6a2cb50358
Enable x25519 JWT testing and pin JWCrypto>=1.5.1 (#5899) 2024-01-09 18:05:33 +00:00
Amaury Chamayou c48b553b4e
TV for startup followed by join (#5839) 2024-01-09 17:28:03 +00:00
Eddy Ashton e618e5193d
Discard malformed traffic sent to node-to-node ports (#5889) 2024-01-09 09:11:27 +00:00
Markus Alexander Kuppe 51bb7b1a75 Raft scenarios falsifying Heidi's hypothesis about raft.h's behavior.
Execute with:

```shell
.../build $ python3 ../tests/raft_scenarios_runner.py ./raft_driver ../tests/raft_scenarios/5879_deprecated
    ```
2024-01-05 17:00:50 +01:00
Amaury Chamayou 61d6c1824f
Remove method support check in js batched stress test (#5890) 2024-01-05 15:11:09 +00:00
Eddy Ashton 43feda0a20
Restore didx509 time validation, update test's sample SNP report (#5888) 2024-01-05 14:04:48 +00:00
Amaury Chamayou 5daf0c7b99
Allow driver to name the first node (#5876) 2023-12-19 14:52:53 +00:00
Amaury Chamayou 2faaec358d
Remove now-unused security_context_directory (#5868) 2023-12-19 13:30:59 +00:00
Amaury Chamayou 370436662b
Grow memory usage quicker in destruction test (#5871) 2023-12-18 15:50:50 +00:00
Amaury Chamayou 322ba39777
Do not fail on slow SIGHUP shutdown with ASAN (#5870) 2023-12-18 12:50:00 +00:00
Amaury Chamayou 7b3f22fb62
Pin UVM roots of trust and add snp_uvm_endorsements_file to configuration (#5867) 2023-12-15 16:12:43 +00:00
Amaury Chamayou 085a22c81d
Adjust ringbuffer sizes (#5866) 2023-12-13 17:07:20 +00:00
Amaury Chamayou ccc9c3170d
Add snp_security_policy_file to configuration (#5865) 2023-12-13 10:37:14 +00:00
Amaury Chamayou 98091b5ce5
Resolve env vars in SNP endorsements (#5862) 2023-12-12 11:36:27 +00:00
Amaury Chamayou 5c11f4778d
Allow explicit port in SNP endorsements config (#5858) 2023-12-08 10:50:25 +00:00
Amaury Chamayou 1b9be61c81
Add support for SEV attestion in 6.x kernels (#5848) 2023-12-04 11:55:33 +00:00
Amaury Chamayou 6d4d6bca96
Update sandbox.sh (#5849) 2023-12-04 10:09:19 +00:00
Amaury Chamayou 3882284f14
Allow creating x25519 key pairs from JS (#5846) 2023-11-28 17:23:47 +00:00
Amaury Chamayou cd069ab47b
More compact trace viz, signatures (#5841) 2023-11-23 17:38:43 +00:00
Amaury Chamayou a648fc3743
Add append scenario to CI (#5838) 2023-11-17 17:28:30 +00:00
Amaury Chamayou a6384ef20f
Align initial spec state with implementation (#5828) 2023-11-17 13:02:36 +00:00
Amaury Chamayou cc51da206e
Trace viz script (#5836) 2023-11-16 18:06:47 +00:00
Amaury Chamayou e9ee480c59
Log sandbox creation progress and do not upgrade existing venv (#5835) 2023-11-15 16:59:47 +00:00
Amaury Chamayou 583fab2039
Authenticate recovery share submission (#5832) 2023-11-14 16:02:18 +00:00
Amaury Chamayou da37dbff02
Move simulation to ADO too, and shorten the length of its run to not delay PRs (#5827) 2023-11-10 17:44:22 +00:00
Amaury Chamayou 7230570efe
Add pre-processing for realistic scenarios (#5825) 2023-11-10 10:10:24 +00:00
Amaury Chamayou 8f6d14c6f4
Add realistic reconfiguration commands for driver (#5820) 2023-11-08 20:11:02 +00:00
Amaury Chamayou 99767c7391
Add other MC stats (#5817) 2023-11-08 13:04:06 +00:00
Heidi Howard 6e0f67501f
Adding TLC stats to cimetrics (#5807) 2023-11-07 22:07:05 +00:00
beejones e759f99a01
Add unwrapKey to typescript interface (#5792) 2023-11-02 11:47:46 +00:00
Amaury Chamayou d0f79627c7
Do not enforce default parsing limits on forwarded traffic (#5803) 2023-11-01 14:17:38 +00:00
Eddy Ashton 8f7afdb164
Don't store temporary pointers in JSValues (#5740) 2023-11-01 09:54:29 +00:00
Amaury Chamayou af214078fd
Add a GET /node/primary (#5793) 2023-10-27 13:35:00 +00:00
Eddy Ashton 27b44fac44
Retain all signatures during a soft rollback (#5749) 2023-10-25 11:24:35 +00:00
Eddy Ashton 6d4323d2e0
Modify `bad_network` scenario to be deterministic (#5767) 2023-10-24 16:08:28 +01:00
Amaury Chamayou de43179ff7
Move sample SEV-SNP config file to the right location (#5763) 2023-10-24 09:32:17 +00:00
Amaury Chamayou c08a8c584f
JS FFI exception safety update (#5747) 2023-10-23 21:59:20 +01:00
Markus Alexander Kuppe bcb0613ee7
Compute node count from a single pass over the JSON log file, eliminating the need for separate 'nodes' file. (#5746) 2023-10-19 07:24:51 +01:00
Amaury Chamayou c2f42d4d08
Only enable JS runtime limits during execution (#5730) 2023-10-16 17:13:34 +00:00
Eddy Ashton a8b1fe5ca2
Test that JS app code is correctly updated despite interpreter reuse (#5728) 2023-10-16 13:36:06 +00:00
Eddy Ashton 51fff79c48
Intermediate fix for JS KV handle caching - TypedKvMap does lazy lookup (#5717) 2023-10-10 13:34:20 +01:00
Eddy Ashton 10a0619650
Update docs to describe new governance API (#5713) 2023-10-06 17:30:49 +01:00
Amaury Chamayou 438ff87511
Adding a propose request vote message to speed up some reconfigurations (#5697) 2023-10-05 13:30:57 +01:00
Eddy Ashton cf8b57bde7
Retain old JWT paths for LTS tests (#5711) 2023-10-04 18:04:05 +01:00
Eddy Ashton e73cf2f4cf
Use new governance API throughout our infra (#5698) 2023-10-04 15:43:32 +01:00
Amaury Chamayou 23e8a4f19a
Fix unsafe usage of instance default in Node (#5710) 2023-10-04 14:55:58 +01:00
Amaury Chamayou 1ca9d5d711
Move up version detection in LTS test (#5708) 2023-10-03 16:17:22 +01:00
Dominic Ayre ac0bfbb281
Add test against static snp report (#5690) 2023-09-28 20:41:47 +01:00
Amaury Chamayou d1d9d8eb05
Add basic backpressure mechanism if primary has too many in-flight transactions (#5692) 2023-09-28 17:28:49 +01:00
Eddy Ashton aee28c518d
LTS compat fix - avoid passing new arg to old script (#5694) 2023-09-28 13:10:07 +01:00
Eddy Ashton 88cb1eaecc
Implement Azure-compliant governance interface (#5660) 2023-09-27 13:58:04 +01:00
Eddy Ashton a5f3b4c535
Add CLI argument for SNP context directory (#5686) 2023-09-26 11:41:04 +01:00
Dominic Ayre 6e7caf0098
Expose SNP Attestation validation in TS (#5653) 2023-09-26 08:39:56 +01:00
Amaury Chamayou fdd38c4cc7
Do not assume UTC in CurlClient, but encourage it in the doc (#5682) 2023-09-25 22:03:58 +01:00
Amaury Chamayou f5fc8a0c97
Fix HTTP handling errors reporting (#5680) 2023-09-25 10:15:36 +01:00
Eddy Ashton d545a6af56
Fix `lts_compatibility`: Bump version check for `--enclave-file` arg (#5681) 2023-09-22 15:52:40 +01:00
Amaury Chamayou d6efe66640
Extend testing of JS runtime limits, take 2 (#5668) 2023-09-21 18:15:03 +01:00
Amaury Chamayou d224a32ecc
Replace Secret Sharing implementation (#5655) 2023-09-21 16:30:49 +01:00
Eddy Ashton a9be7eac1a
Pass enclave path as CLI argument rather than in configuration (#5665) 2023-09-21 12:22:17 +00:00
Eddy Ashton 601aba99e5
Revert "Extend testing of JS runtime limits" (#5671) 2023-09-21 09:12:33 +01:00
Eddy Ashton d94b3f550a
Extend testing of JS runtime limits (#5594) 2023-09-19 10:22:21 +01:00
Amaury Chamayou 15e37de4e6
Remove redirection usage APIs expected to be used through a load balancer (#5619) 2023-09-07 17:45:45 +00:00
Julien Maffre c49ca859c6
SEV-SNP: Make UVM endorsements SVN an arbitrary string (#5620) 2023-09-05 18:26:01 +01:00
Julien Maffre 2fbf87840b
Improve documentation for SNP deployments (#5602) 2023-09-05 15:27:25 +00:00
Amaury Chamayou f6e0e34449
Update away from deprecated polars function names (#5618) 2023-09-05 12:19:29 +00:00
Eddy Ashton 4d4a1a2f4a
Update `tls_report` golden file (#5617) 2023-09-05 11:13:14 +01:00
Andrew Jeffery a49343ad18
Use keygenerator from the bindir (#5600) 2023-09-01 09:41:00 +01:00
Julien Maffre bc78dd9cf8
Remove code to do with 1.x compatibility (#5596) 2023-08-30 13:52:08 +01:00
Eddy Ashton a0dfdfdf7b
Allow JS interpreters (and global state) to be reused (#5564) 2023-08-25 15:06:30 +01:00
Julien Maffre f2e5d777d9
Fix schema test in SNP (#5581) 2023-08-23 09:44:24 +01:00
Amaury Chamayou faf163a547
Add app and gov read endpoints (#5574) 2023-08-22 11:14:39 +00:00
Eddy Ashton 0972dcc2e3
Do not compare types, use `isinstance()` (#5566) 2023-08-18 09:45:01 +00:00
Amaury Chamayou d8bdc3cd76
Fix SNP CI authentication (#5552) 2023-08-17 10:25:56 +01:00
Amaury Chamayou 03de8d2efd
Use endpoint path in statistics (#5543) 2023-08-17 08:21:54 +01:00
Julien Maffre 6d9bcf6bc5
Faster SHA256 OpenSSL hashing (#5548) 2023-08-16 14:47:15 +01:00
Eddy Ashton ac6f110b6b
Refresh `plot_node_load.py` (#5545) 2023-08-15 11:50:47 +01:00
Amaury Chamayou e5c5fe3e4e
Remove our copy of attestation container now that it has moved repos (#5533) 2023-08-11 09:54:21 +01:00
Amaury Chamayou 9bc21656c6
Split node setup and join, and use correct ordering in basicperf (#5527) 2023-08-10 10:39:01 +00:00
Amaury Chamayou c7df1e171b
Fix all active throughput calculation (#5526) 2023-08-09 17:05:35 +01:00
Amaury Chamayou 97cda1351e
Add follow_redirect option for Join (#5524) 2023-08-09 17:04:00 +01:00
Amaury Chamayou 6457659465
Add all_clients_active_average_throughput_tx/s and all_clients_active… (#5522) 2023-08-09 13:43:00 +01:00
Eddy Ashton bc91ebab43
Ruff lint update: Use `isinstance` (#5520) 2023-08-09 12:51:41 +01:00
Amaury Chamayou 9c4d247c55
Atomic replacement of shutdown node (#5514) 2023-08-08 18:33:59 +01:00
Eddy Ashton 7e8c240d93
Add HMAC support to JS `crypto.sign` (#5508) 2023-08-08 16:56:41 +01:00
Amaury Chamayou abeeed6de1
Add reconfiguration to basicperf (#5507) 2023-08-08 13:18:00 +00:00
Eddy Ashton c9d784fb51
Piccolo submitter: Use `CLOCK_REALTIME` rather than `CLOCK_MONOTONIC` (#5513) 2023-08-08 11:19:53 +00:00
Amaury Chamayou b44e90aa38
Produce JSON stats summary in basicperf (#5506) 2023-08-04 16:20:55 +00:00
Amaury Chamayou f0f0c8535e
Resolve stability issues with usage of stop-primary in basicperf (#5504) 2023-08-04 15:04:07 +01:00
Eddy Ashton c4e7843d39
Offset send and receive times by (approximate) boot time (#5503) 2023-08-03 20:49:04 +01:00
Eddy Ashton 4547e63ebc
Piccolo submitter: Avoid splicing HTTP responses (#5502) 2023-08-03 18:40:31 +01:00
Amaury Chamayou 958d070d31
Add support for failover server to the submitter (#5501) 2023-08-03 17:19:57 +01:00
Eddy Ashton 280a2d945d
`basicperf.py`: Log per-client throughputs, calculate overlapping activity time (#5500) 2023-08-03 12:38:39 +01:00
Amaury Chamayou 22c234741a
Remove usage of deprecated gettimeofday and switch to monotonic clock (#5499) 2023-08-03 11:07:34 +01:00
Amaury Chamayou 2682b3fdf6
Log CLI at the start of the submitter (#5497) 2023-08-02 16:17:06 +00:00
Amaury Chamayou 288921ad3d
Remove chunk_size limit on WriteTable call, and unpin polars (#5495) 2023-08-02 12:29:36 +01:00
Amaury Chamayou edda3bbaed
Split preloading and client defs (#5493) 2023-08-02 11:54:03 +01:00
Eddy Ashton 3ea079c368
Microsecond granularity for Piccolo (#5492) 2023-08-01 14:51:32 +01:00
Amaury Chamayou a14a50ef10
Pin polars to 0.18.7, and shut down network and clients earlier (#5490) 2023-08-01 10:55:56 +01:00
Amaury Chamayou df38864429
Handle connection retry in submitter (#5407) 2023-08-01 10:03:59 +01:00
Amaury Chamayou 434df49825
Remove hardcoded overrides (#5488) 2023-07-31 19:51:33 +01:00
Eddy Ashton dd2f5b0229
Use Timestamp Parquet type for recording Piccolo's timestamps (#5484) 2023-07-31 11:57:21 +01:00
Heidi Howard 17bee4b265
Patch to rw_mix in `basicperf.py` (#5483)
Co-authored-by: Eddy Ashton <ashton.eddy@gmail.com>
2023-07-28 17:49:38 +01:00
Julien Maffre 95b14eedcf
Expose COSE identity content in JS/TS apps (#5465) 2023-07-20 14:55:41 +00:00
Eddy Ashton bb5438f9bb
Fix `lts_compatibility` in SGX Debug - don't pass unsafe `--enclave-log-level` (#5461) 2023-07-18 10:01:09 +01:00
Eddy Ashton 467c57d8c9
Include intermediate certs in TLS handshake (#5453) 2023-07-14 10:12:10 +00:00
Eddy Ashton 37ec459522
Add `getVersionOfPreviousWrite` to TypeScript `TypedKvMap` (#5451) 2023-07-14 09:00:11 +00:00
Eddy Ashton cac30caff3
Update npm dependencies (#5429) 2023-07-10 14:54:58 +01:00
Eddy Ashton cd33041505
Permit Trace+Debug logging in all non-SGX builds (#5375) 2023-07-07 15:13:51 +01:00
Eddy Ashton 62f0e5b6f9
Remove node output from config timeout test appearing in e2e output (#5416) 2023-07-06 16:31:14 +01:00
Eddy Ashton aaf563582a
Format with Prettier 3.0.0 (#5414) 2023-07-06 11:06:55 +01:00
Amaury Chamayou 9982a21c01
Update TypeScript to expose COSE authentication policies (#5403) 2023-06-29 11:19:55 +01:00
Amaury Chamayou 02ac1baedd
Improvements to basic perf (#5394) 2023-06-27 18:11:43 +01:00
Amaury Chamayou 5da8c1cf53
Shut down cchost on SIGHUP (#5401) 2023-06-27 11:10:58 +01:00
Amaury Chamayou c316bbfd1e
Fix schema test for ASAN builds (#5400) 2023-06-27 10:04:48 +01:00
Amaury Chamayou 4a5cf5b372
Add config timeout option (#5379) 2023-06-23 17:43:04 +01:00
Amaury Chamayou cb54264085
Run multiple piccolo and multi-threaded builds in CI (#5309) 2023-06-21 19:28:19 +00:00