Skip to content

feat: PRT - Consumer state machine #2442

feat: PRT - Consumer state machine

feat: PRT - Consumer state machine #2442

GitHub Actions / Test Results failed Sep 4, 2024 in 0s

3 fail, 2 060 pass in 24m 55s

2 063 tests  ±0   2 060 ✅ +4   24m 55s ⏱️ -30s
  143 suites ±0       0 💤 ±0 
    6 files   ±0       3 ❌  - 4 

Results for commit 185e891. ± Comparison against earlier commit d3529a2.

Annotations

Check warning on line 0 in github.com/lavanet/lava/v3/testutil/e2e

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestLavaProtocolPayment (github.com/lavanet/lava/v3/testutil/e2e) failed

artifacts/Test Results (Payment E2E)/payment-e2e-report.xml [took 8m 7s]
Raw output
Failed
Sep  4 17:31:13 INF Starting Lava
Sep  4 17:31:13 INF Executing Command: ./scripts/test/start_env_dev_for_payment_e2e.sh
Sep  4 17:31:13 INF Waiting for Lava
Sep  4 17:31:23 INF Waiting for Lava
Sep  4 17:31:33 INF Waiting for Lava
Sep  4 17:31:43 INF Waiting for Lava
Sep  4 17:31:53 INF Waiting for Lava
Sep  4 17:32:03 INF Waiting for Lava
Sep  4 17:32:13 INF Waiting for Lava
Sep  4 17:32:23 INF Waiting for Lava
Sep  4 17:32:33 INF Waiting for Lava
Sep  4 17:32:43 INF Waiting for Lava
Sep  4 17:32:53 INF Waiting for Lava
Sep  4 17:33:03 INF Waiting for Lava
Sep  4 17:33:13 INF Waiting for Lava
Sep  4 17:33:23 INF Waiting for Lava
Sep  4 17:33:33 INF Waiting for Lava
Sep  4 17:33:43 INF Waiting for Lava
Sep  4 17:33:53 INF Waiting for Lava
Sep  4 17:34:03 INF Waiting for Lava
Sep  4 17:34:13 INF Starting Lava OK
Sep  4 17:34:13 INF Staking Lava
Sep  4 17:34:13 INF Executing Command: ./scripts/test/init_payment_e2e.sh
Sep  4 17:34:33 INF stakeLavaForPayment OK
LAV1
provider lava@17sljf635p8ye068v2tk8mz8uvx4vl34c9h9ze2 [{127.0.0.1:2262 1 [] [grpc rest tendermintrpc] []}]
provider lava@19zheqnk5cfzj2w05g6glj0jq3c800uyxr6z6kn [{127.0.0.1:2261 1 [] [grpc rest tendermintrpc] []}]
Sep  4 17:34:33 INF Staking Lava OK
Sep  4 17:34:33 INF RUNNING TESTS
Sep  4 17:34:33 INF Executing Command: /home/runner/go/bin/lavap rpcprovider ./testutil/e2e/e2eConfigs/provider/lavaProvider6 --chain-id=lava --from servicer1 --geolocation 1 --log_level debug
Sep  4 17:34:33 INF Executing Command: /home/runner/go/bin/lavap rpcprovider ./testutil/e2e/e2eConfigs/provider/lavaProvider7 --chain-id=lava --from servicer2 --geolocation 1 --log_level debug
Sep  4 17:34:33 INF Waiting Provider 127.0.0.1:2261
Sep  4 17:34:35 INF Waiting Provider 127.0.0.1:2261
Sep  4 17:34:35 INF Waiting Provider 127.0.0.1:2262
Sep  4 17:34:35 INF startLavaProvidersForPayment OK
Sep  4 17:34:35 INF Executing Command: /home/runner/go/bin/lavap rpcconsumer ./testutil/e2e/e2eConfigs/consumer/lavaConsumer1.yml --chain-id=lava --from user1 --geolocation 1 --log_level debug --allow-insecure-provider-dialing --concurrent-providers 1
Sep  4 17:34:35 INF startLavaConsumerForPayment OK
Sep  4 17:34:35 INF Waiting TENDERMINT Consumer
Sep  4 17:34:36 INF Waiting TENDERMINT Consumer
Sep  4 17:34:37 INF Waiting TENDERMINT Consumer
Sep  4 17:34:38 INF Waiting TENDERMINT Consumer
Sep  4 17:34:39 INF Waiting TENDERMINT Consumer
Sep  4 17:34:40 INF Waiting TENDERMINT Consumer
Sep  4 17:34:41 INF Waiting TENDERMINT Consumer
Sep  4 17:34:41 INF checkTendermintConsumer OK
Sep  4 17:34:41 INF Starting TENDERMINT Tests
Sep  4 17:35:01 INF TENDERMINTRPC TEST OK
Sep  4 17:35:01 INF Starting TENDERMINTRPC URI Tests
Sep  4 17:35:21 INF TENDERMINTRPC URI TEST OK
Sep  4 17:35:21 INF CHECKING PAYMENT
Sep  4 17:39:21 INF PAYMENT TEST OK
Sep  4 17:39:21 DBG writing file fileName=06_RPCConsumer_01 lines=29349962
Sep  4 17:39:21 DBG writing file fileName=00_StartLava lines=800632
Sep  4 17:39:21 DBG writing file fileName=01_stakeLavaForPayment lines=2650
Sep  4 17:39:21 DBG writing file fileName=05_LavaProvider_01 lines=14218178
Sep  4 17:39:21 DBG writing file fileName=05_LavaProvider_02 lines=341186
ERROR:  Sep  4 17:34:36 ERR User subscription might have expired or not purchased properly, pairing list is empty after reset. consumer_address=lava@1wxe43xtuhzma8gzn8lcwyutx26a3g2g7yqdmf8
Sep  4 17:34:36 ERR User subscription might have expired or not purchased properly, pairing list is empty after reset. consumer_address=lava@1wxe43xtuhzma8gzn8lcwyutx26a3g2g7yqdmf8
Sep  4 17:34:36 ERR User subscription might have expired or not purchased properly, pairing list is empty after reset. consumer_address=lava@1wxe43xtuhzma8gzn8lcwyutx26a3g2g7yqdmf8
Sep  4 17:34:36 ERR User subscription might have expired or not purchased properly, pairing list is empty after reset. consumer_address=lava@1wxe43xtuhzma8gzn8lcwyutx26a3g2g7yqdmf8
Sep  4 17:34:37 ERR User subscription might have expired or not purchased properly, pairing list is empty after reset. consumer_address=lava@1wxe43xtuhzma8gzn8lcwyutx26a3g2g7yqdmf8

Check warning on line 0 in github.com/lavanet/lava/v3/protocol/rpcconsumer

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestRelayProcessorStatefulApiErr (github.com/lavanet/lava/v3/protocol/rpcconsumer) failed

artifacts/Test Results (Protocol)/protocol-report.xml [took 0s]
Raw output
Failed

Check warning on line 0 in github.com/lavanet/lava/v3/protocol/rpcconsumer

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestRelayProcessorStatefulApiErr/stateful (github.com/lavanet/lava/v3/protocol/rpcconsumer) failed

artifacts/Test Results (Protocol)/protocol-report.xml [took 0s]
Raw output
Failed
Sep  4 17:31:52 INF setting log level loglevel=debug
Sep  4 17:31:52 ERR URL scheme should be (http/https), got: ws apiInterface=rest url=ws://127.0.0.1:42227
Sep  4 17:31:52 DBG could not send relay to provider error=bad GUID=0 provider=lava@test
Sep  4 17:31:52 WRN cancelled relay processor total responses=3
    relay_processor_test.go:574: 
        	Error Trace:	/home/runner/work/lava/lava/protocol/rpcconsumer/relay_processor_test.go:574
        	Error:      	Received unexpected error:
        	            	cancelled relay processor {total responses:3}
        	Test:       	TestRelayProcessorStatefulApiErr/stateful