Skip to content

Conversation

@ivansukach
Copy link
Contributor

No description provided.

@qodo-merge-pro
Copy link

qodo-merge-pro bot commented May 13, 2025

CI Feedback 🧐

(Feedback updated until commit c8d5928)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: build

Failed stage: Test [❌]

Failed test name: TestWarpGetMessageSignature

Failure summary:

The action failed because multiple tests in the github.com/landslidenetwork/slide-sdk/vm package
failed with DNS lookup errors. Specifically:

1. TestWarpGetMessageSignature failed with error: "dns: A record lookup error: lookup bufnet on
127.0.0.53:53: server misbehaving" (line 2395)
2. TestMessageSignatureRequestsToVM failed with the
same DNS lookup error (line 2676)
3. TestBlockSignatureRequestsToVM failed with the same DNS lookup
error (line 2721)
4. TestClearWarpDB failed with the same DNS lookup error (line 2762)

All failures are related to the same underlying issue - the tests are trying to connect to a DNS
name "bufnet" which cannot be resolved.

Relevant error logs:
1:  ##[group]Runner Image Provisioner
2:  Hosted Compute Agent
...

542:  go: downloading google.golang.org/grpc v1.66.0
543:  go: downloading github.com/cometbft/cometbft-db v0.9.1
544:  go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
545:  go: downloading github.com/prometheus/client_golang v1.19.0
546:  go: downloading google.golang.org/protobuf v1.34.2
547:  go: downloading github.com/prometheus/client_model v0.6.1
548:  go: downloading golang.org/x/net v0.33.0
549:  go: downloading github.com/google/btree v1.1.2
550:  go: downloading github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
551:  go: downloading github.com/cosmos/gogoproto v1.5.0
552:  go: downloading github.com/go-kit/kit v0.12.0
553:  go: downloading github.com/btcsuite/btcd/btcec/v2 v2.3.2
554:  go: downloading golang.org/x/crypto v0.31.0
555:  go: downloading github.com/go-kit/log v0.2.1
556:  go: downloading github.com/go-logfmt/logfmt v0.6.0
557:  go: downloading github.com/pkg/errors v0.9.1
558:  go: downloading github.com/lib/pq v1.10.7
...

602:  go: downloading github.com/spf13/cast v1.6.0
603:  go: downloading cosmossdk.io/api v0.7.5
604:  go: downloading cosmossdk.io/client/v2 v2.0.0-beta.1
605:  go: downloading cosmossdk.io/core v0.11.1
606:  go: downloading cosmossdk.io/math v1.3.0
607:  go: downloading cosmossdk.io/store v1.1.0
608:  go: downloading cosmossdk.io/x/circuit v0.1.0
609:  go: downloading cosmossdk.io/x/evidence v0.1.0
610:  go: downloading cosmossdk.io/x/feegrant v0.1.0
611:  go: downloading cosmossdk.io/x/nft v0.1.0
612:  go: downloading cosmossdk.io/x/tx v0.13.4
613:  go: downloading cosmossdk.io/x/upgrade v0.1.0
614:  go: downloading github.com/cosmos/ibc-go/modules/capability v1.0.0
615:  go: downloading github.com/cosmos/ibc-go/v8 v8.0.0
616:  go: downloading cosmossdk.io/collections v0.4.0
617:  go: downloading cosmossdk.io/errors v1.0.1
618:  go: downloading github.com/CosmWasm/wasmvm v1.5.0
619:  go: downloading github.com/cosmos/cosmos-proto v1.0.0-beta.5
620:  go: downloading github.com/distribution/reference v0.5.0
621:  go: downloading github.com/google/gofuzz v1.2.0
622:  go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
623:  go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117
624:  go: downloading gopkg.in/yaml.v2 v2.4.0
625:  go: downloading github.com/cockroachdb/errors v1.11.1
626:  go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
...

827:  === RUN   TestAtomicJSON/zero_value
828:  === RUN   TestAtomicJSON/ipv4_value
829:  === RUN   TestAtomicJSON/ipv6_loopback
830:  --- PASS: TestAtomicJSON (0.00s)
831:  --- PASS: TestAtomicJSON/zero_value (0.00s)
832:  --- PASS: TestAtomicJSON/ipv4_value (0.00s)
833:  --- PASS: TestAtomicJSON/ipv6_loopback (0.00s)
834:  === RUN   TestSortSliceSortable
835:  --- PASS: TestSortSliceSortable (0.00s)
836:  === RUN   TestIsSortedAndUniqueSortable
837:  --- PASS: TestIsSortedAndUniqueSortable (0.00s)
838:  === RUN   TestSortByHash
839:  --- PASS: TestSortByHash (0.00s)
840:  PASS
841:  ok  	github.com/landslidenetwork/slide-sdk/utils	1.011s
842:  === RUN   TestAppErrorEqual
843:  === RUN   TestAppErrorEqual/is_-_equal
844:  === RUN   TestAppErrorEqual/is_-_same_error_code_different_messages
845:  === RUN   TestAppErrorEqual/not_is_-_different_error_code
846:  === RUN   TestAppErrorEqual/not_is_-_different_type
847:  --- PASS: TestAppErrorEqual (0.00s)
848:  --- PASS: TestAppErrorEqual/is_-_equal (0.00s)
849:  --- PASS: TestAppErrorEqual/is_-_same_error_code_different_messages (0.00s)
850:  --- PASS: TestAppErrorEqual/not_is_-_different_error_code (0.00s)
851:  --- PASS: TestAppErrorEqual/not_is_-_different_type (0.00s)
852:  === RUN   TestErrorCode
853:  === RUN   TestErrorCode/undefined
854:  === RUN   TestErrorCode/undefined#01
855:  --- PASS: TestErrorCode (0.00s)
856:  --- PASS: TestErrorCode/undefined (0.00s)
857:  --- PASS: TestErrorCode/undefined#01 (0.00s)
858:  PASS
...

918:  === RUN   TestSet/only_push
919:  === RUN   TestSet/out_of_order_pushes
920:  === RUN   TestSet/push_and_pop
921:  --- PASS: TestSet (0.00s)
922:  --- PASS: TestSet/only_push (0.00s)
923:  --- PASS: TestSet/out_of_order_pushes (0.00s)
924:  --- PASS: TestSet/push_and_pop (0.00s)
925:  PASS
926:  ok  	github.com/landslidenetwork/slide-sdk/utils/avalanche/heap	1.010s
927:  === RUN   Test_newMsgBuilder
928:  === PAUSE Test_newMsgBuilder
929:  === RUN   TestInboundMsgBuilder
930:  === RUN   TestInboundMsgBuilder/InboundAppRequest
931:  --- PASS: TestInboundMsgBuilder (0.00s)
932:  --- PASS: TestInboundMsgBuilder/InboundAppRequest (0.00s)
933:  === RUN   TestAppError
934:  --- PASS: TestAppError (0.00s)
935:  === RUN   TestMessage
...

1275:  ok  	github.com/landslidenetwork/slide-sdk/utils/avalanche/networking/benchlist	1.314s
1276:  === RUN   TestClockSet
1277:  --- PASS: TestClockSet (0.00s)
1278:  === RUN   TestClockSync
1279:  --- PASS: TestClockSync (0.00s)
1280:  === RUN   TestClockUnixTime
1281:  --- PASS: TestClockUnixTime (0.00s)
1282:  === RUN   TestClockUnix
1283:  --- PASS: TestClockUnix (0.00s)
1284:  PASS
1285:  ok  	github.com/landslidenetwork/slide-sdk/utils/avalanche/timer/mockable	1.008s
1286:  === RUN   TestLockedCalculator
1287:  --- PASS: TestLockedCalculator (0.00s)
1288:  === RUN   TestStartTracking
1289:  --- PASS: TestStartTracking (0.00s)
1290:  === RUN   TestStartTrackingDBError
1291:  --- PASS: TestStartTrackingDBError (0.00s)
1292:  === RUN   TestStartTrackingInThePast
1293:  --- PASS: TestStartTrackingInThePast (0.00s)
1294:  === RUN   TestStopTrackingDecreasesUptime
1295:  --- PASS: TestStopTrackingDecreasesUptime (0.00s)
1296:  === RUN   TestStopTrackingIncreasesUptime
1297:  --- PASS: TestStopTrackingIncreasesUptime (0.00s)
1298:  === RUN   TestStopTrackingConnectedDBError
1299:  --- PASS: TestStopTrackingConnectedDBError (0.00s)
1300:  === RUN   TestStopTrackingNonConnectedPast
1301:  --- PASS: TestStopTrackingNonConnectedPast (0.00s)
1302:  === RUN   TestStopTrackingNonConnectedDBError
1303:  --- PASS: TestStopTrackingNonConnectedDBError (0.00s)
1304:  === RUN   TestConnectAndDisconnect
...

1498:  --- PASS: TestBiMapDeleteKey/key_removed (0.00s)
1499:  === RUN   TestBiMapDeleteValue
1500:  === RUN   TestBiMapDeleteValue/none_removed
1501:  === RUN   TestBiMapDeleteValue/key_removed
1502:  --- PASS: TestBiMapDeleteValue (0.00s)
1503:  --- PASS: TestBiMapDeleteValue/none_removed (0.00s)
1504:  --- PASS: TestBiMapDeleteValue/key_removed (0.00s)
1505:  === RUN   TestBiMapLenAndLists
1506:  --- PASS: TestBiMapLenAndLists (0.00s)
1507:  === RUN   TestBiMapJSON
1508:  --- PASS: TestBiMapJSON (0.00s)
1509:  === RUN   TestBiMapInvalidJSON
1510:  --- PASS: TestBiMapInvalidJSON (0.00s)
1511:  PASS
1512:  ok  	github.com/landslidenetwork/slide-sdk/utils/bimap	1.011s
1513:  === RUN   TestNewErrors
1514:  === RUN   TestNewErrors/too_few_hashes
1515:  === RUN   TestNewErrors/too_many_hashes
1516:  === RUN   TestNewErrors/too_few_entries
1517:  --- PASS: TestNewErrors (0.00s)
1518:  --- PASS: TestNewErrors/too_few_hashes (0.00s)
1519:  --- PASS: TestNewErrors/too_many_hashes (0.00s)
1520:  --- PASS: TestNewErrors/too_few_entries (0.00s)
1521:  === RUN   TestCollisionResistance
...

1807:  --- PASS: TestFirstDifferenceEqualByte5 (0.00s)
1808:  === RUN   TestFirstDifferenceSubsetMiddle
1809:  --- PASS: TestFirstDifferenceSubsetMiddle (0.00s)
1810:  === RUN   TestFirstDifferenceStartMiddle
1811:  --- PASS: TestFirstDifferenceStartMiddle (0.00s)
1812:  === RUN   TestFirstDifferenceVacuous
1813:  --- PASS: TestFirstDifferenceVacuous (0.00s)
1814:  === RUN   TestID
1815:  --- PASS: TestID (0.00s)
1816:  === RUN   TestIDXOR
1817:  --- PASS: TestIDXOR (0.00s)
1818:  === RUN   TestIDBit
1819:  --- PASS: TestIDBit (0.00s)
1820:  === RUN   TestFromString
1821:  --- PASS: TestFromString (0.00s)
1822:  === RUN   TestIDFromStringError
1823:  === RUN   TestIDFromStringError/#00
1824:  === RUN   TestIDFromStringError/foo
1825:  === RUN   TestIDFromStringError/foobar
1826:  --- PASS: TestIDFromStringError (0.00s)
1827:  --- PASS: TestIDFromStringError/#00 (0.00s)
1828:  --- PASS: TestIDFromStringError/foo (0.00s)
1829:  --- PASS: TestIDFromStringError/foobar (0.00s)
1830:  === RUN   TestIDMarshalJSON
...

1851:  --- PASS: TestSortIDs (0.00s)
1852:  === RUN   TestIDMapMarshalling
1853:  --- PASS: TestIDMapMarshalling (0.00s)
1854:  === RUN   TestIDCompare
1855:  === RUN   TestIDCompare/SYXsAycDPUu4z2ZksJD5fh5nTDcH3vCFHnpcVye5XuJ2jArg_11111111111111111111111111111111LpoYY_1
1856:  === RUN   TestIDCompare/SYXsAycDPUu4z2ZksJD5fh5nTDcH3vCFHnpcVye5XuJ2jArg_SYXsAycDPUu4z2ZksJD5fh5nTDcH3vCFHnpcVye5XuJ2jArg_0
1857:  === RUN   TestIDCompare/SYXsAycDPUu4z2ZksJD5fh5nTDcH3vCFHnpcVye5XuJ2jArg_Sk7Bgxh2A4eXJ9NggMy8RVcdkBtsAHTHffvsjLvgTcTkkewq_-1
1858:  --- PASS: TestIDCompare (0.00s)
1859:  --- PASS: TestIDCompare/SYXsAycDPUu4z2ZksJD5fh5nTDcH3vCFHnpcVye5XuJ2jArg_11111111111111111111111111111111LpoYY_1 (0.00s)
1860:  --- PASS: TestIDCompare/SYXsAycDPUu4z2ZksJD5fh5nTDcH3vCFHnpcVye5XuJ2jArg_SYXsAycDPUu4z2ZksJD5fh5nTDcH3vCFHnpcVye5XuJ2jArg_0 (0.00s)
1861:  --- PASS: TestIDCompare/SYXsAycDPUu4z2ZksJD5fh5nTDcH3vCFHnpcVye5XuJ2jArg_Sk7Bgxh2A4eXJ9NggMy8RVcdkBtsAHTHffvsjLvgTcTkkewq_-1 (0.00s)
1862:  === RUN   TestNodeIDEquality
1863:  --- PASS: TestNodeIDEquality (0.00s)
1864:  === RUN   TestNodeIDFromString
1865:  --- PASS: TestNodeIDFromString (0.00s)
1866:  === RUN   TestNodeIDFromStringError
1867:  === RUN   TestNodeIDFromStringError/#00
1868:  === RUN   TestNodeIDFromStringError/foo
1869:  === RUN   TestNodeIDFromStringError/foobar
1870:  --- PASS: TestNodeIDFromStringError (0.00s)
1871:  --- PASS: TestNodeIDFromStringError/#00 (0.00s)
1872:  --- PASS: TestNodeIDFromStringError/foo (0.00s)
1873:  --- PASS: TestNodeIDFromStringError/foobar (0.00s)
1874:  === RUN   TestNodeIDMarshalJSON
...

2376:  I[2025-05-22|21:50:02.560] committed state                              height=1 block_app_hash=0000000000000000
2377:  D[2025-05-22|21:50:02.560] Update                                       module=mempool height=1 len(txs)=0
2378:  D[2025-05-22|21:50:02.560] recheck txs                                  module=mempool height=1 num-txs=0
2379:  I[2025-05-22|21:50:02.560] indexed block events                         module=indexer height=1
2380:  D[2025-05-22|21:50:02.560] indexed transactions                         module=indexer height=1 num_txs=0
2381:  I[2025-05-22|21:50:02.560] ENCODE BLOCK WITH STATUS ACCEPTED            
2382:  E[2025-05-22|21:50:02.560] BLS Public KEY:                              err="nil key"
2383:  D[2025-05-22|21:50:02.561] Setup p2p communication with avalanche engine 
2384:  I[2025-05-22|21:50:02.561] vm initialization completed                  
2385:  I[2025-05-22|21:50:02.561] GetBlock                                     id=B36A211648CC884E0756EBCD822FC9DBDBF2093ED7AD2657659E8B5699C2890F
2386:  I[2025-05-22|21:50:04.572] reading body                                 
2387:  I[2025-05-22|21:50:04.572] request                                      body="{\"jsonrpc\":\"2.0\",\"id\":0,\"method\":\"warp_get_message_signature\",\"params\":{\"messageID\":\"9VZJJvBsocTu5pjkq6VhzjUrP8mzmTKu1GA21Dy8h6vPgKSMs\"}}"
2388:  I[2025-05-22|21:50:04.572] process requests                             qty=1
2389:  I[2025-05-22|21:50:04.572] calling func                                 method=warp_get_message_signature args="[<*types.Context Value> 9VZJJvBsocTu5pjkq6VhzjUrP8mzmTKu1GA21Dy8h6vPgKSMs]"
2390:  D[2025-05-22|21:50:04.573] Getting warp message from backend            messageID=9VZJJvBsocTu5pjkq6VhzjUrP8mzmTKu1GA21Dy8h6vPgKSMs
2391:  I[2025-05-22|21:50:04.573] result of calling func for %s: err: %s       warp_get_message_signature="failed to get signature for message 9VZJJvBsocTu5pjkq6VhzjUrP8mzmTKu1GA21Dy8h6vPgKSMs with error failed to sign warp message: rpc error: code = Unavailable desc = dns: A record lookup error: lookup bufnet on 127.0.0.53:53: server misbehaving"
2392:  rpc_test.go:96: 
2393:  Error Trace:	/home/runner/work/slide-sdk/slide-sdk/vm/rpc_test.go:96
2394:  Error:      	Received unexpected error:
2395:  error in json rpc client, with http response metadata: (Status: 200 OK, Protocol HTTP/1.1). RPC error -32603 - Internal error: failed to get signature for message 9VZJJvBsocTu5pjkq6VhzjUrP8mzmTKu1GA21Dy8h6vPgKSMs with error failed to sign warp message: rpc error: code = Unavailable desc = dns: A record lookup error: lookup bufnet on 127.0.0.53:53: server misbehaving
2396:  Test:       	TestWarpGetMessageSignature
2397:  --- FAIL: TestWarpGetMessageSignature (2.02s)
2398:  === RUN   TestPanic
...

2447:  /opt/hostedtoolcache/go/1.22.12/x64/src/reflect/value.go:596 +0xd5d
2448:  reflect.Value.Call({0x1628200?, 0xc000730c00?, 0xc?}, {0xc0006be1b0, 0x1, 0x1})
2449:  /opt/hostedtoolcache/go/1.22.12/x64/src/reflect/value.go:380 +0xb6
2450:  github.com/landslidenetwork/slide-sdk/jsonrpc.RegisterRPCFuncs.makeJSONRPCHandler.func1({0x1a4d040, 0xc000174d20}, 0xc000321320)
2451:  /home/runner/work/slide-sdk/slide-sdk/jsonrpc/http_json_handler.go:127 +0x1975
2452:  net/http.HandlerFunc.ServeHTTP(0xc000732260, {0x1a4d040, 0xc000174d20}, 0xc000321320)
2453:  /opt/hostedtoolcache/go/1.22.12/x64/src/net/http/server.go:2171 +0x48
2454:  net/http.(*ServeMux).ServeHTTP(0xc000188340, {0x1a4d040, 0xc000174d20}, 0xc000321320)
2455:  /opt/hostedtoolcache/go/1.22.12/x64/src/net/http/server.go:2688 +0x1f0
2456:  net/http.serverHandler.ServeHTTP({0x1a494f8?}, {0x1a4d040, 0xc000174d20}, 0xc000321320)
2457:  /opt/hostedtoolcache/go/1.22.12/x64/src/net/http/server.go:3142 +0x2a2
2458:  net/http.(*conn).serve(0xc000504f30, {0x1a51548, 0xc000730d80})
2459:  /opt/hostedtoolcache/go/1.22.12/x64/src/net/http/server.go:2044 +0x13c5
2460:  created by net/http.(*Server).Serve in goroutine 138
2461:  /opt/hostedtoolcache/go/1.22.12/x64/src/net/http/server.go:3290 +0x8ed
2462:  I[2025-05-22|21:50:06.580] result of calling func for %s: err: %s       test_panic="internal server error"
2463:  rpc_test.go:161: Panic result error in json rpc client, with http response metadata: (Status: 200 OK, Protocol HTTP/1.1). RPC error -32603 - Internal error: internal server error
2464:  --- PASS: TestPanic (2.01s)
...

2659:  I[2025-05-22|21:50:06.612] MEMPOOL INITIALIZED                          
2660:  D[2025-05-22|21:50:06.612] creating genesis block                       
2661:  I[2025-05-22|21:50:06.612] finalized block                              height=1 num_txs_res=0 num_val_updates=0 block_app_hash=0000000000000000
2662:  I[2025-05-22|21:50:06.612] executed block                               height=1 app_hash=0000000000000000
2663:  I[2025-05-22|21:50:06.613] committed state                              height=1 block_app_hash=0000000000000000
2664:  D[2025-05-22|21:50:06.613] Update                                       module=mempool height=1 len(txs)=0
2665:  D[2025-05-22|21:50:06.613] recheck txs                                  module=mempool height=1 num-txs=0
2666:  I[2025-05-22|21:50:06.613] indexed block events                         module=indexer height=1
2667:  D[2025-05-22|21:50:06.613] indexed transactions                         module=indexer height=1 num_txs=0
2668:  I[2025-05-22|21:50:06.613] ENCODE BLOCK WITH STATUS ACCEPTED            
2669:  E[2025-05-22|21:50:06.613] BLS Public KEY:                              err="nil key"
2670:  D[2025-05-22|21:50:06.613] Setup p2p communication with avalanche engine 
2671:  I[2025-05-22|21:50:06.614] vm initialization completed                  
2672:  I[2025-05-22|21:50:06.614] GetBlock                                     id=B36A211648CC884E0756EBCD822FC9DBDBF2093ED7AD2657659E8B5699C2890F
2673:  vm_warp_test.go:40: 
2674:  Error Trace:	/home/runner/work/slide-sdk/slide-sdk/vm/vm_warp_test.go:40
2675:  Error:      	Received unexpected error:
2676:  failed to sign warp message: failed to sign warp message: rpc error: code = Unavailable desc = dns: A record lookup error: lookup bufnet on 127.0.0.53:53: server misbehaving
2677:  Test:       	TestMessageSignatureRequestsToVM
2678:  Shutdown
2679:  I[2025-05-22|21:50:06.620] service stop                                 module=indexer msg="Stopping IndexerService service" impl=IndexerService
2680:  I[2025-05-22|21:50:06.620] service stop                                 module=events msg="Stopping EventBus service" impl=EventBus
2681:  I[2025-05-22|21:50:06.620] service stop                                 module=pubsub msg="Stopping PubSub service" impl=PubSub
2682:  I[2025-05-22|21:50:06.620] service stop                                 module=proxy msg="Stopping multiAppConn service" impl=multiAppConn
2683:  I[2025-05-22|21:50:06.620] service stop                                 module=abci-client connection=consensus msg="Stopping localClient service" impl=localClient
2684:  I[2025-05-22|21:50:06.620] service stop                                 module=abci-client connection=mempool msg="Stopping localClient service" impl=localClient
2685:  I[2025-05-22|21:50:06.620] service stop                                 module=abci-client connection=query msg="Stopping localClient service" impl=localClient
2686:  I[2025-05-22|21:50:06.620] service stop                                 module=abci-client connection=snapshot msg="Stopping localClient service" impl=localClient
2687:  --- FAIL: TestMessageSignatureRequestsToVM (0.01s)
2688:  === RUN   TestBlockSignatureRequestsToVM
...

2704:  I[2025-05-22|21:50:06.623] committed state                              height=1 block_app_hash=0000000000000000
2705:  D[2025-05-22|21:50:06.623] Update                                       module=mempool height=1 len(txs)=0
2706:  D[2025-05-22|21:50:06.623] recheck txs                                  module=mempool height=1 num-txs=0
2707:  I[2025-05-22|21:50:06.624] indexed block events                         module=indexer height=1
2708:  D[2025-05-22|21:50:06.624] indexed transactions                         module=indexer height=1 num_txs=0
2709:  I[2025-05-22|21:50:06.624] ENCODE BLOCK WITH STATUS ACCEPTED            
2710:  E[2025-05-22|21:50:06.624] BLS Public KEY:                              err="nil key"
2711:  D[2025-05-22|21:50:06.624] Setup p2p communication with avalanche engine 
2712:  I[2025-05-22|21:50:06.624] vm initialization completed                  
2713:  I[2025-05-22|21:50:06.624] GetBlock                                     id=B36A211648CC884E0756EBCD822FC9DBDBF2093ED7AD2657659E8B5699C2890F
2714:  I[2025-05-22|21:50:06.624] GetBlockIDAtHeight                           
2715:  D[2025-05-22|21:50:06.625] Getting block from backend                   blockID=2N1uT9PTzRRJC753v5PiQ3dYZJCTwEj2L5Cea1FpNkufGUAtTb
2716:  I[2025-05-22|21:50:06.625] GetBlock                                     id=B36A211648CC884E0756EBCD822FC9DBDBF2093ED7AD2657659E8B5699C2890F
2717:  I[2025-05-22|21:50:06.625] GetBlockIDAtHeight                           
2718:  vm_warp_test.go:104: 
2719:  Error Trace:	/home/runner/work/slide-sdk/slide-sdk/vm/vm_warp_test.go:104
2720:  Error:      	Received unexpected error:
2721:  failed to sign warp message: rpc error: code = Unavailable desc = dns: A record lookup error: lookup bufnet on 127.0.0.53:53: server misbehaving
2722:  Test:       	TestBlockSignatureRequestsToVM
2723:  Shutdown
2724:  I[2025-05-22|21:50:06.629] service stop                                 module=indexer msg="Stopping IndexerService service" impl=IndexerService
2725:  I[2025-05-22|21:50:06.629] service stop                                 module=events msg="Stopping EventBus service" impl=EventBus
2726:  I[2025-05-22|21:50:06.629] service stop                                 module=pubsub msg="Stopping PubSub service" impl=PubSub
2727:  I[2025-05-22|21:50:06.629] service stop                                 module=proxy msg="Stopping multiAppConn service" impl=multiAppConn
2728:  I[2025-05-22|21:50:06.629] service stop                                 module=abci-client connection=consensus msg="Stopping localClient service" impl=localClient
2729:  I[2025-05-22|21:50:06.629] service stop                                 module=abci-client connection=mempool msg="Stopping localClient service" impl=localClient
2730:  I[2025-05-22|21:50:06.629] service stop                                 module=abci-client connection=query msg="Stopping localClient service" impl=localClient
2731:  I[2025-05-22|21:50:06.629] service stop                                 module=abci-client connection=snapshot msg="Stopping localClient service" impl=localClient
2732:  --- FAIL: TestBlockSignatureRequestsToVM (0.01s)
2733:  === RUN   TestClearWarpDB
...

2745:  I[2025-05-22|21:50:06.632] MEMPOOL INITIALIZED                          
2746:  D[2025-05-22|21:50:06.632] creating genesis block                       
2747:  I[2025-05-22|21:50:06.632] finalized block                              height=1 num_txs_res=0 num_val_updates=0 block_app_hash=0000000000000000
2748:  I[2025-05-22|21:50:06.632] executed block                               height=1 app_hash=0000000000000000
2749:  I[2025-05-22|21:50:06.632] committed state                              height=1 block_app_hash=0000000000000000
2750:  D[2025-05-22|21:50:06.632] Update                                       module=mempool height=1 len(txs)=0
2751:  D[2025-05-22|21:50:06.632] recheck txs                                  module=mempool height=1 num-txs=0
2752:  I[2025-05-22|21:50:06.633] indexed block events                         module=indexer height=1
2753:  D[2025-05-22|21:50:06.633] indexed transactions                         module=indexer height=1 num_txs=0
2754:  I[2025-05-22|21:50:06.633] ENCODE BLOCK WITH STATUS ACCEPTED            
2755:  E[2025-05-22|21:50:06.633] BLS Public KEY:                              err="nil key"
2756:  D[2025-05-22|21:50:06.633] Setup p2p communication with avalanche engine 
2757:  I[2025-05-22|21:50:06.633] vm initialization completed                  
2758:  I[2025-05-22|21:50:06.633] GetBlock                                     id=B36A211648CC884E0756EBCD822FC9DBDBF2093ED7AD2657659E8B5699C2890F
2759:  vm_warp_test.go:165: 
2760:  Error Trace:	/home/runner/work/slide-sdk/slide-sdk/vm/vm_warp_test.go:165
2761:  Error:      	Received unexpected error:
2762:  failed to sign warp message: failed to sign warp message: rpc error: code = Unavailable desc = dns: A record lookup error: lookup bufnet on 127.0.0.53:53: server misbehaving
2763:  Test:       	TestClearWarpDB
2764:  --- FAIL: TestClearWarpDB (0.01s)
2765:  FAIL
2766:  FAIL	github.com/landslidenetwork/slide-sdk/vm	10.165s
2767:  === RUN   TestEncodeDecodeBlockWithStatus
2768:  --- PASS: TestEncodeDecodeBlockWithStatus (0.00s)
2769:  === RUN   TestDecodeBlock
2770:  === RUN   TestDecodeBlock/failed_-_BlockIDFlag:_0
2771:  === RUN   TestDecodeBlock/failed_-_expected_ValidatorAddress_size_to_be_20_bytes,_got_0_bytes
2772:  === RUN   TestDecodeBlock/success_-_BlockIDFlag:_1
2773:  === RUN   TestDecodeBlock/success_-_BlockIDFlag:_3
2774:  === RUN   TestDecodeBlock/Parse_block_error_after_bootstrapping
2775:  === RUN   TestDecodeBlock/Valid_block,_round_0
2776:  === RUN   TestDecodeBlock/init_chain_block
2777:  === RUN   TestDecodeBlock/panic:_runtime_error:_hash_of_unhashable_type_bytes.HexBytes
2778:  === RUN   TestDecodeBlock/panic:_runtime_error:_hash_of_unhashable_type_bytes.HexBytes#01
2779:  === RUN   TestDecodeBlock/proto:_Data:_wiretype_end_group_for_non-group
2780:  --- PASS: TestDecodeBlock (0.00s)
2781:  --- PASS: TestDecodeBlock/failed_-_BlockIDFlag:_0 (0.00s)
2782:  --- PASS: TestDecodeBlock/failed_-_expected_ValidatorAddress_size_to_be_20_bytes,_got_0_bytes (0.00s)
2783:  --- PASS: TestDecodeBlock/success_-_BlockIDFlag:_1 (0.00s)
2784:  --- PASS: TestDecodeBlock/success_-_BlockIDFlag:_3 (0.00s)
2785:  --- PASS: TestDecodeBlock/Parse_block_error_after_bootstrapping (0.00s)
2786:  --- PASS: TestDecodeBlock/Valid_block,_round_0 (0.00s)
2787:  --- PASS: TestDecodeBlock/init_chain_block (0.00s)
2788:  --- PASS: TestDecodeBlock/panic:_runtime_error:_hash_of_unhashable_type_bytes.HexBytes (0.00s)
2789:  --- PASS: TestDecodeBlock/panic:_runtime_error:_hash_of_unhashable_type_bytes.HexBytes#01 (0.00s)
2790:  --- PASS: TestDecodeBlock/proto:_Data:_wiretype_end_group_for_non-group (0.00s)
2791:  === RUN   TestGetCachedBlock
2792:  --- PASS: TestGetCachedBlock (0.00s)
2793:  PASS
2794:  ok  	github.com/landslidenetwork/slide-sdk/vm/types/state	1.050s
2795:  === RUN   TestAddAndGetValidMessage
2796:  D[2025-05-22|21:49:57.496] Adding warp message to backend               messageID=uEZVzz9qkk5jLGr3k1QTZini6dQ8ynwEFmC2K9db5RY5Nyn8F
2797:  D[2025-05-22|21:49:57.497] Getting warp message from backend            messageID=uEZVzz9qkk5jLGr3k1QTZini6dQ8ynwEFmC2K9db5RY5Nyn8F
2798:  --- PASS: TestAddAndGetValidMessage (0.00s)
2799:  === RUN   TestAddAndGetUnknownMessage
2800:  D[2025-05-22|21:49:57.497] Getting warp message from backend            messageID=uEZVzz9qkk5jLGr3k1QTZini6dQ8ynwEFmC2K9db5RY5Nyn8F
2801:  --- PASS: TestAddAndGetUnknownMessage (0.00s)
2802:  PASS
2803:  ok  	github.com/landslidenetwork/slide-sdk/warp	1.019s
2804:  FAIL
2805:  ##[error]Process completed with exit code 1.
2806:  Post job cleanup.

Ivan Sukach added 22 commits May 13, 2025 10:59
…2P infrastructure provided by avalanche; remove TestRequestRequestsRoutingAndResponse and TestP2PAppRequest, because it vm level is not fit to test network
…istry, change metrics dependency to internal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants