78 Commits

Author SHA1 Message Date
Roman
71af7eb64d
fix: remove Sepolia API check 2024-06-21 15:42:43 +02:00
Roman
1c9f8d766b
test: run RLN tests in single thread 2024-06-21 15:31:14 +02:00
Roman
5e9515f651
test: check Sepolia API endpoint 2024-06-21 15:26:11 +02:00
Roman
295682350b
test: increase timeout 2024-06-21 14:43:38 +02:00
Roman
30cf453b27
test: RLN only 2024-06-21 14:29:36 +02:00
Roman
8c1316778c
test: shorter name for daily workflow 2024-06-21 13:29:01 +02:00
Roman
053628143a
test: daily workflow after refactor 2024-06-21 12:54:45 +02:00
Roman
2bcb62a650
fix: partial refactor for setup_first-second_relay_node 2024-06-21 12:50:07 +02:00
Roman
d77636daf2
fix: NODE1 default back to DEFAULT_GOWAKU 2024-06-21 12:43:10 +02:00
Roman
aac11d8178
fix: move peer_persistence config steps out of start 2024-06-21 11:12:13 +02:00
Roman
db5a76bd7f
fix: added delays to let nodes finish discovery 2024-06-21 10:39:47 +02:00
Roman
e081390b03
fix: revert nwaku image back to use latest 2024-06-21 10:31:19 +02:00
Roman Zajic
ccee530cc1
Merge branch 'master' into test-peer-connection-management 2024-06-20 11:25:20 +02:00
Roman
f113772e40
test: peer store content after node restart 2024-06-20 11:22:47 +02:00
fbarbu15
aab71a92a7
Test/discv5 (#46)
* discv5 tests

* discv5 tests
2024-06-17 17:52:16 +03:00
Roman
5354905ab3
fix: remove debug info
- skip while waiting on issue 2792
2024-06-12 10:47:51 +02:00
Roman
0cdeb6a50a
fix: add kill of Node 1 2024-06-11 11:23:01 +02:00
Roman
4b19aeccd3
test: full peer store takeover 2024-06-10 20:42:43 +02:00
Roman
63d7c36d4c
fix: move Waku related methods to waku_node module 2024-06-09 21:22:10 +02:00
Roman
8449097d51
fix: add issue to skip mark 2024-06-08 09:58:13 +02:00
Roman
909274d7b0
test: restart survival with persistent peer store 2024-06-07 21:19:20 +02:00
Roman
96993f1555
test: expect two peers for two protocols/services 2024-06-06 18:29:09 +02:00
Roman
873590e1fd
test: placeholder for Issue 1549 solution test 2024-06-06 16:38:07 +02:00
Roman
df2e5e32b2
fix: add go_waku support 2024-06-05 21:09:01 +02:00
Roman
62385b2072
test: add peers to peer store 2024-06-05 13:04:57 +02:00
Roman
d6874ff8f3
test: get peers from peer store 2024-06-04 23:04:08 +02:00
fbarbu15
03973b8897
Test/store v3 (#38)
* first commit

* get message tests 1

* store tests with node restarts

* reliability tests

* store tests

* fixes

* more tests

* fixes

* new store tests

* new store tests

* adjustments

* adjust tests for go-waku

* postgress test

* postgress test

* fixes

* small fixes

* reliability updates

* postgress test

* adjsutmens for go-waku
2024-05-28 16:50:14 +03:00
Roman Zajic
39a6d13276
fix: occasional failure to check published message for RLN tests (#44)
* test: increased message propagation delay

* test: increased message propagation delay in all instances

* fix: delete test workflow
2024-05-27 22:34:56 +08:00
fbarbu15
84636b7a57
fix dial fail test (#43) 2024-05-24 17:30:09 +03:00
fbarbu15
46f6de18dd
Revert "--- (#41)" (#42)
This reverts commit 07e8ae32b223c78ce58dc49c0f2bd0295f608c42.
2024-05-22 10:17:12 +03:00
dependabot[bot]
07e8ae32b2
--- (#41)
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 17:24:04 +03:00
fbarbu15
2e9a3d1202
all message fields are now camel case (#40) 2024-05-20 13:10:53 +03:00
fbarbu15
73a1711d54
fixed for lightpush with big payload (#39) 2024-05-16 12:57:30 +03:00
fbarbu15
d0a84b2009
temp store content topic fix (#37)
* temp sote content topic fix

* fix go-waku
2024-05-13 15:14:14 +03:00
Roman Zajic
b9ec0bb1d2
fix: skip health check for go-waku (#36) 2024-05-09 21:53:03 +08:00
Roman Zajic
06281de7c8
chore: node readiness (#35)
* test: wait longer for info endpoint to start

* test: health endpoint response parsing

* fix: health endpoint response parsing

* fix: remove debug from health response parsing

* fix: mark on chain tests to skip again

* fix: check_healthy accepts both text and json response

* fix: delete test workflow

* fix: simplify if statements
2024-05-08 20:50:05 +08:00
Roman Zajic
151233fddb
chore: RLN relay tests (#30)
* fix: add get_multiaddr_with_id step
- temporarily use local docker images

* fix: discard containers used for RLN registration

* fix: switch to use cluster ID 1 for RLN

* test: publish at slow and spam rate

* fix: shorten test data set

* fix: move RLN related code into separate class

* fix: use send only publish function
- add spam and alternate rate tests

* fix: use math.trunc instead of rounding

* fix: first message without delay

* fix: add one more second to messages with delay

* fix: add methods to setup non default RLN nodes

* fix: rewrite tests using steps rather than fixtures
- prepare for non default settings for RLN

* test: random epoch with valid_payloads_at_slow_rate

* test: random user message limit with valid payloads

* fix: skip test "random user message limit with valid payloads"

* fix: mark flaky "at variable_rate with valid payloads"

* fix: rename tests for easier debugging

* fix: mark valid_payloads_dynamic_at_slow_rate to skip

* fix: forgot to add actual file

* test: valid payloads dynamic(on chain) at spam rate
- extend timeout for ensure_ready() to 600s
- add ensure_healthy() for future use
- add text content based rest call
- remove NODE1, NODE2 imports

* fix: revert env_vars to source images from Harbor

* fix: reuse setup first and second rln relay node for setup_main_rln_relay_nodes

* fix: reuse register_rln_single_node for register_main_rln_relay_nodes

* fix: start using src.steps.common
- removed RLN test class inheritance from StepsRelay

* fix: test using whole data set at test payloads_at_slow_rate

* fix: switch to send msg and check for slow rate tests

* fix: add comment for skip check at first message

* fix: refactor payloads_at_variable_rate to use only one payload pattern

* fix: remove the plural from payloads_at_variable_rate

* fix: multiple class inheritance for TestRelayRLN

* test: node1 with rln node2 without rln at spam rate

* test: mixed epoch at slow rate

* test: add lightpush methods

* test: send valid payloads lightpush at spam rate

* fix: node1 to act as light push receiving node
- add setup lightpush node to spin off node2 with lightpush support

* fix: use NODE1 NODE2 instead of DEFAULT_NWAKU

* fix: no lightpush param required for plain RLN relay

* fix: comment for lightpush

* fix: comment for lightpush - wait for implementation

* fix: comment on chain tests

* fix: add lightpush case to publish_message

* fix: remove check_light_pushed_message_reaches_receiving_peer from StepsRLN

* fix: change comment for mixed_epoch_at_slow_rate

* test: happy and common case with 5 nodes

* fix: add all required fixtures explicitly

* fix: add timeout param to ensure_ready

* fix: skip RLN tests for go-waku

* fix: reformated with pre-commit

* fix: uncomment skip for debugging

* fix: put the skip back

* fix: change comment for on chain tests

* fix: run RLN tests in serial
- add grouping of tests to runner
- use smaller dataset for spam rate tests

* test: Nim to Nim workflow

* test: check also additional nodes for go-waku

* test: all nodes are nwaku

* fix: string quotes

* fix: remove additional nodes

* fix: re-arrange skip conditions

* test: RLN only

* fix: change default additional nodes to nwaku only

* fix: change additional nodes rather at top level workflow

* fix: enable all tests

* test: problems with current workdir

* test: rln only

* test: correct typo

* test: re-enable all tests
- remove current dir debug

* fix: nwaku additional nodes for nim to nim worklfow

* fix: re-able discord notification
- delete test workflow

* fix: add get_multiaddr_with_id step
- temporarily use local docker images

* fix: discard containers used for RLN registration

* fix: switch to use cluster ID 1 for RLN

* test: publish at slow and spam rate

* fix: shorten test data set

* fix: rebase onto master

* fix: use send only publish function
- add spam and alternate rate tests

* fix: use math.trunc instead of rounding

* fix: first message without delay

* fix: add one more second to messages with delay

* fix: add methods to setup non default RLN nodes

* fix: rewrite tests using steps rather than fixtures
- prepare for non default settings for RLN

* test: random epoch with valid_payloads_at_slow_rate

* test: random user message limit with valid payloads

* fix: skip test "random user message limit with valid payloads"

* fix: mark flaky "at variable_rate with valid payloads"

* fix: rename tests for easier debugging

* fix: mark valid_payloads_dynamic_at_slow_rate to skip

* fix: forgot to add actual file

* test: valid payloads dynamic(on chain) at spam rate
- extend timeout for ensure_ready() to 600s
- add ensure_healthy() for future use
- add text content based rest call
- remove NODE1, NODE2 imports

* fix: revert env_vars to source images from Harbor

* fix: reuse setup first and second rln relay node for setup_main_rln_relay_nodes

* fix: reuse register_rln_single_node for register_main_rln_relay_nodes

* fix: start using src.steps.common
- removed RLN test class inheritance from StepsRelay

* fix: test using whole data set at test payloads_at_slow_rate

* fix: switch to send msg and check for slow rate tests

* fix: add comment for skip check at first message

* fix: refactor payloads_at_variable_rate to use only one payload pattern

* fix: remove the plural from payloads_at_variable_rate

* fix: multiple class inheritance for TestRelayRLN

* test: node1 with rln node2 without rln at spam rate

* test: mixed epoch at slow rate

* test: add lightpush methods

* test: send valid payloads lightpush at spam rate

* fix: node1 to act as light push receiving node
- add setup lightpush node to spin off node2 with lightpush support

* fix: use NODE1 NODE2 instead of DEFAULT_NWAKU

* fix: no lightpush param required for plain RLN relay

* fix: comment for lightpush

* fix: comment for lightpush - wait for implementation

* fix: comment on chain tests

* fix: add lightpush case to publish_message

* fix: remove check_light_pushed_message_reaches_receiving_peer from StepsRLN

* fix: change comment for mixed_epoch_at_slow_rate

* test: happy and common case with 5 nodes

* fix: add all required fixtures explicitly

* fix: add timeout param to ensure_ready

* fix: skip RLN tests for go-waku

* fix: uncomment skip for debugging

* fix: put the skip back

* fix: change comment for on chain tests

* fix: run RLN tests in serial
- add grouping of tests to runner
- use smaller dataset for spam rate tests

* test: Nim to Nim workflow

* test: check also additional nodes for go-waku

* test: all nodes are nwaku

* fix: string quotes

* fix: remove additional nodes

* fix: re-arrange skip conditions

* test: RLN only

* fix: change default additional nodes to nwaku only

* fix: change additional nodes rather at top level workflow

* fix: enable all tests

* test: problems with current workdir

* test: rln only

* test: correct typo

* test: re-enable all tests
- remove current dir debug

* fix: nwaku additional nodes for nim to nim worklfow

* fix: re-able discord notification
- delete test workflow

* test: re-test again after rebase

* fix: wait longer for credential store

* test: try again with Discord report off

* fix: enable Discord
- delete test workflow
2024-05-07 08:31:12 +08:00
fbarbu15
edb1f59448
add shard flag (#34) 2024-04-29 12:44:25 +03:00
fbarbu15
69c8e3f4b6
chore: go waku connection issues (#33)
* add go-waku peers via api

* add go-waku peers via api

* fix add_node_peer

* fix add_node_peer

* fix add_node_peer

* fix add_node_peer

* move create_message to commons
2024-04-23 10:44:12 +03:00
fbarbu15
c1d4c0cc6b
lightpush and store bugfixes (#32)
* bugfixes

* store bugfixes

* fix 2567
2024-04-18 13:04:08 +03:00
fbarbu15
8d956b3d9c
Test/store part 1 (#31)
* first set of tests

* fix ci

* new tests

* finish publish tests

* new tests

* running nodes tests

* new tests

* finishing touches

* new test

* temp commit

* running node tests

* new tests

* new store tests

* store part 1
2024-04-17 08:37:31 +03:00
dependabot[bot]
53417a8665
Bump idna from 3.6 to 3.7 (#29)
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 09:31:03 +03:00
fbarbu15
8b525f2b1a
Light push tests (#27)
* first set of tests

* fix ci

* new tests

* finish publish tests

* new tests

* running nodes tests

* new tests

* finishing touches

* new test

* fixes

* fixes
2024-04-11 13:00:53 +03:00
fbarbu15
4ba5ee2418
fix allure broken history links (#28) 2024-04-04 11:00:16 +03:00
fbarbu15
0095b5e04a
sharding tests part 1 (#24)
* sharding struct

* add peers

* running nodes tests

* cleanup sharding steps

* new sharding tests

* test_different_cluster_different_shard

* new tests

* new static sharding tests

* new auto sharding tests

* change structure

* running nodes tests

* new autosharding tests

* adjust tests

* new sharding tests

* sharding

* sharding filter

* add peers
2024-04-02 09:11:56 +03:00
fbarbu15
17ba9baf45
bug fixes for nwaku 2436 and 2286 (#26) 2024-03-22 15:55:06 +02:00
dependabot[bot]
82d7ffd3fe
Bump black from 24.2.0 to 24.3.0 (#25)
Bumps [black](https://github.com/psf/black) from 24.2.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.2.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 12:41:49 +02:00
Florin Barbu
124f6cd5ad
add repro scripts folder (#23) 2024-03-18 12:28:35 +02:00
Florin Barbu
26dd7144c7
skip because of 1054 (#22) 2024-03-15 18:11:59 +08:00
Florin Barbu
776d2841fe
fix filter test (#21)
* fix filter test

* small fix
2024-03-12 11:11:04 +02:00