Closed 0xThresh closed 4 months ago
@0xThresh I think we need to add a step where you have to run make go_develop_and_test
before running make localnet_up
.
Can you try this out and let us know if it works? If it does, can you update the docs?
@0xThresh Bump
I tried running make go_develop_and_test
a couple days ago and got a long list of errors that made it seem like it was an issue with my Go install. I did a fresh Go install and re-cloned, and this was what I ran into this time:
make go_develop_and_test
✔ Generated Go code
Processing module application
Modifying file: ./api/poktroll/application/genesis.pulsar.go
Modifying file: ./api/poktroll/application/query.pulsar.go
Processing module gateway
Processing module proof
Processing module service
Processing module session
Modifying file: ./api/poktroll/session/query.pulsar.go
Processing module shared
Processing module supplier
Processing module tokenomics
? github.com/pokt-network/poktroll/api/poktroll/application [no test files]
? github.com/pokt-network/poktroll/api/poktroll/application/module [no test files]
? github.com/pokt-network/poktroll/api/poktroll/gateway [no test files]
? github.com/pokt-network/poktroll/api/poktroll/gateway/module [no test files]
? github.com/pokt-network/poktroll/api/poktroll/proof [no test files]
? github.com/pokt-network/poktroll/api/poktroll/proof/module [no test files]
? github.com/pokt-network/poktroll/api/poktroll/service [no test files]
? github.com/pokt-network/poktroll/api/poktroll/service/module [no test files]
? github.com/pokt-network/poktroll/api/poktroll/session [no test files]
? github.com/pokt-network/poktroll/api/poktroll/session/module [no test files]
? github.com/pokt-network/poktroll/api/poktroll/shared [no test files]
? github.com/pokt-network/poktroll/api/poktroll/supplier [no test files]
? github.com/pokt-network/poktroll/api/poktroll/supplier/module [no test files]
? github.com/pokt-network/poktroll/api/poktroll/tokenomics [no test files]
? github.com/pokt-network/poktroll/api/poktroll/tokenomics/module [no test files]
# github.com/pokt-network/poktroll/app.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2090028950/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
ok github.com/pokt-network/poktroll/app 2.201s
? github.com/pokt-network/poktroll/cmd/poktrolld [no test files]
? github.com/pokt-network/poktroll/cmd/poktrolld/cmd [no test files]
? github.com/pokt-network/poktroll/cmd/signals [no test files]
? github.com/pokt-network/poktroll/docs [no test files]
? github.com/pokt-network/poktroll/pkg/appgateserver [no test files]
? github.com/pokt-network/poktroll/pkg/appgateserver/cmd [no test files]
? github.com/pokt-network/poktroll/pkg/client [no test files]
ok github.com/pokt-network/poktroll/pkg/appgateserver/config 1.272s
# github.com/pokt-network/poktroll/pkg/client/delegation.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2312213908/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/pkg/client/block.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-4177933501/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/pkg/client/events.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3851070092/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/pkg/client/events/websocket [no test files]
? github.com/pokt-network/poktroll/pkg/client/keyring [no test files]
? github.com/pokt-network/poktroll/pkg/client/query [no test files]
? github.com/pokt-network/poktroll/pkg/client/query/types [no test files]
ok github.com/pokt-network/poktroll/pkg/client/block 3.015s
ok github.com/pokt-network/poktroll/pkg/client/delegation 2.155s
# github.com/pokt-network/poktroll/pkg/client/tx.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2167397543/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/pkg/client/supplier.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3941427237/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/pkg/client/tx/types [no test files]
? github.com/pokt-network/poktroll/pkg/crypto [no test files]
? github.com/pokt-network/poktroll/pkg/crypto/pubkey_client [no test files]
ok github.com/pokt-network/poktroll/pkg/client/events 5.581s
ok github.com/pokt-network/poktroll/pkg/client/supplier 2.627s
# github.com/pokt-network/poktroll/pkg/crypto/rings.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3442614493/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/pkg/deps/config [no test files]
? github.com/pokt-network/poktroll/pkg/observable [no test files]
? github.com/pokt-network/poktroll/pkg/either [no test files]
? github.com/pokt-network/poktroll/pkg/observable/filter [no test files]
? github.com/pokt-network/poktroll/pkg/observable/logging [no test files]
ok github.com/pokt-network/poktroll/pkg/client/tx 3.441s
? github.com/pokt-network/poktroll/pkg/partials/payloads [no test files]
ok github.com/pokt-network/poktroll/pkg/crypto/rings 2.312s
ok github.com/pokt-network/poktroll/pkg/observable/channel 2.251s
ok github.com/pokt-network/poktroll/pkg/partials 1.662s
ok github.com/pokt-network/poktroll/pkg/polylog 1.863s
ok github.com/pokt-network/poktroll/pkg/polylog/polyzero 1.979s
# github.com/pokt-network/poktroll/pkg/relayer.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-1006231760/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/pkg/relayer/cmd [no test files]
# github.com/pokt-network/poktroll/pkg/relayer/protocol.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2512520548/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/pkg/relayer/miner.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-1776264777/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/pkg/relayer/miner/gen [no test files]
ok github.com/pokt-network/poktroll/pkg/relayer 1.539s
ok github.com/pokt-network/poktroll/pkg/relayer/config 1.727s
ok github.com/pokt-network/poktroll/pkg/relayer/miner 1.860s
ok github.com/pokt-network/poktroll/pkg/relayer/protocol 2.143s
# github.com/pokt-network/poktroll/pkg/relayer/proxy.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3827076736/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/pkg/relayer/session.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-643083442/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/pkg/sdk [no test files]
? github.com/pokt-network/poktroll/pkg/signer [no test files]
? github.com/pokt-network/poktroll/testutil/application/mocks [no test files]
? github.com/pokt-network/poktroll/testutil/gateway/mocks [no test files]
? github.com/pokt-network/poktroll/testutil/keeper [no test files]
? github.com/pokt-network/poktroll/testutil/mockclient [no test files]
? github.com/pokt-network/poktroll/testutil/mockcrypto [no test files]
? github.com/pokt-network/poktroll/testutil/mockrelayer [no test files]
? github.com/pokt-network/poktroll/testutil/network [no test files]
? github.com/pokt-network/poktroll/testutil/nullify [no test files]
? github.com/pokt-network/poktroll/testutil/proof/mocks [no test files]
? github.com/pokt-network/poktroll/testutil/sample [no test files]
? github.com/pokt-network/poktroll/testutil/service/mocks [no test files]
? github.com/pokt-network/poktroll/testutil/session/mocks [no test files]
? github.com/pokt-network/poktroll/testutil/supplier/mocks [no test files]
? github.com/pokt-network/poktroll/testutil/testchannel [no test files]
? github.com/pokt-network/poktroll/testutil/testclient [no test files]
? github.com/pokt-network/poktroll/testutil/testclient/testblock [no test files]
? github.com/pokt-network/poktroll/testutil/testclient/testdelegation [no test files]
? github.com/pokt-network/poktroll/testutil/testclient/testqueryclients [no test files]
? github.com/pokt-network/poktroll/testutil/testclient/testsupplier [no test files]
? github.com/pokt-network/poktroll/testutil/testclient/testtx [no test files]
? github.com/pokt-network/poktroll/testutil/testcrypto/rings [no test files]
? github.com/pokt-network/poktroll/testutil/testclient/testeventsquery [no test files]
? github.com/pokt-network/poktroll/testutil/testerrors [no test files]
? github.com/pokt-network/poktroll/testutil/testclient/testkeyring [no test files]
? github.com/pokt-network/poktroll/testutil/testkeyring [no test files]
? github.com/pokt-network/poktroll/testutil/testpolylog [no test files]
? github.com/pokt-network/poktroll/testutil/testproxy [no test files]
? github.com/pokt-network/poktroll/testutil/testrelayer [no test files]
? github.com/pokt-network/poktroll/testutil/tokenomics/mocks [no test files]
? github.com/pokt-network/poktroll/testutil/yaml [no test files]
? github.com/pokt-network/poktroll/tools/scripts/goimports [no test files]
? github.com/pokt-network/poktroll/tools/scripts/goimports/filters [no test files]
# github.com/pokt-network/poktroll/x/application/types.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-4022279954/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/application/module/config.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2967296547/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/application/keeper.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2250780440/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/gateway/module/config.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3081729694/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/gateway/keeper.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3501481935/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/application/module.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-226878622/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/x/application/simulation [no test files]
ok github.com/pokt-network/poktroll/pkg/relayer/proxy 5.438s
--- FAIL: TestRelayerSessionsManager_Start (0.39s)
controller.go:137: missing call(s) to *mockclient.MockSupplierClient.CreateClaim(is equal to context.Background.WithValue(type string, val <not Stringer>).WithValue(type zerolog.ctxKey, val <not Stringer>) (*context.valueCtx), is assignable to SessionHeader, is assignable to ) /Users/jw/Documents/projects/poktroll/testutil/testclient/testsupplier/client.go:53
controller.go:137: missing call(s) to *mockclient.MockSupplierClient.SubmitProof(is equal to context.Background.WithValue(type string, val <not Stringer>).WithValue(type zerolog.ctxKey, val <not Stringer>) (*context.valueCtx), is assignable to SessionHeader, is assignable to ) /Users/jw/Documents/projects/poktroll/testutil/testclient/testsupplier/client.go:62
controller.go:137: aborting test due to missing call(s)
FAIL
FAIL github.com/pokt-network/poktroll/pkg/relayer/session 2.354s
ok github.com/pokt-network/poktroll/pkg/retry 1.846s
# github.com/pokt-network/poktroll/x/gateway/module.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-1937595741/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/x/gateway/simulation [no test files]
ok github.com/pokt-network/poktroll/x/application/keeper 2.077s
# github.com/pokt-network/poktroll/x/gateway/types.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-643616539/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/proof/types.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3790769651/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/proof/keeper.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2021140927/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/service/keeper.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3378086007/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/service/module.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3406605976/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/proof/module.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3112459546/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/x/proof/simulation [no test files]
? github.com/pokt-network/poktroll/x/service/simulation [no test files]
# github.com/pokt-network/poktroll/x/service/types.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2405376815/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/session/keeper.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-276217475/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/session/types.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-1444521051/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/session/module.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2578412859/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/x/session/simulation [no test files]
? github.com/pokt-network/poktroll/x/shared/types [no test files]
# github.com/pokt-network/poktroll/x/supplier/config.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3738549658/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/supplier/types.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2523483050/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/supplier/keeper.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-3523198832/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/supplier/module.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-1363947950/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/x/supplier/simulation [no test files]
# github.com/pokt-network/poktroll/x/tokenomics/keeper.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2476626918/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/tokenomics/types.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-2418680036/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/pokt-network/poktroll/x/tokenomics/module.test
ld: warning: '/private/var/folders/xl/d_dcbj6s7w3gqb_jj2drh5fh0000gn/T/go-link-1667175456/000017.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
? github.com/pokt-network/poktroll/x/tokenomics/simulation [no test files]
ok github.com/pokt-network/poktroll/x/application/module 96.633s
ok github.com/pokt-network/poktroll/x/application/module/config 1.389s
ok github.com/pokt-network/poktroll/x/application/types 2.584s
ok github.com/pokt-network/poktroll/x/gateway/keeper 3.589s
ok github.com/pokt-network/poktroll/x/gateway/module 51.081s
ok github.com/pokt-network/poktroll/x/gateway/module/config 2.647s
ok github.com/pokt-network/poktroll/x/gateway/types 2.867s
ok github.com/pokt-network/poktroll/x/proof/keeper 17.553s
ok github.com/pokt-network/poktroll/x/proof/module 97.876s
ok github.com/pokt-network/poktroll/x/proof/types 2.335s
ok github.com/pokt-network/poktroll/x/service/keeper 4.545s
ok github.com/pokt-network/poktroll/x/service/module 25.371s
ok github.com/pokt-network/poktroll/x/service/types 3.123s
ok github.com/pokt-network/poktroll/x/session/keeper 2.365s
ok github.com/pokt-network/poktroll/x/session/module 28.332s
ok github.com/pokt-network/poktroll/x/session/types 2.355s
ok github.com/pokt-network/poktroll/x/shared/helpers 2.874s
ok github.com/pokt-network/poktroll/x/supplier/client/cli 2.509s [no tests to run]
ok github.com/pokt-network/poktroll/x/supplier/config 1.728s
ok github.com/pokt-network/poktroll/x/supplier/keeper 2.090s
ok github.com/pokt-network/poktroll/x/supplier/module 71.912s
ok github.com/pokt-network/poktroll/x/supplier/types 1.881s
ok github.com/pokt-network/poktroll/x/tokenomics/keeper 2.104s
ok github.com/pokt-network/poktroll/x/tokenomics/module 8.390s
ok github.com/pokt-network/poktroll/x/tokenomics/types 1.467s
FAIL
make: *** [go_test] Error 1
Let me know if there's other info that would be helpful.
I tried this again today on a different system using WSL2 instead of my M2 MacBook that I'd been trying on before. I was able to successfully start localnet just by using make localnet_up
, and can confirm that I did not need to run make_go_develop_and_test
first.
Given that the issue seems specific to my Mac and the instructions in the documentation are accurate, I'm comfortable with this getting closed out. I can also provide more info/ try other steps on my MacBook if you think it's worth continuing to troubleshoot it.
@0xThresh Closing since you're unblocked and we can create a new ticket if need.
Issue
While attempting to follow the LocalNet documentation, I am running into issues with
make localnet_up
that prevent me from running the local network. I have double-checked that all dependencies are installed, versions match the requirements outlined in the Makefile, and that I can manually run commands that are listed in the Makefile functions. The full log output is in the Logs section below.Tool Versions
Golang: v1.22.0 Ignite: v28.3.0 Kind: v0.22.0 NPM: v8.19.4 NodeJS: v16.20.0 Docker: v24.0.5 Helm: v3.12.2
Logs
Additionally, while attempting the Clean Slate steps, I ran into these errors:
Conclusion
Please let me know if there is more info you'd like me to provide. I'll continue troubleshooting and report back with anything I find, and am happy to help test any fixes/ next steps. Creator: @0xThresh