Algorand Development From Source

i have tried to implement algorand in my system from the github link that mentions about go-algorand GitHub - algorand/go-algorand: Algorand's official implementation in Go.

It looks like , I could not make it through the make test and make integration commands… eventually it fails. My intention behind this exploration is to see how the algorand blockchain actually works and to understand the source code. Can anyone guide me on this.

Thank you

Can you give some more detail on the error you are getting when running Make?

Thank you for responding quickly.
I am getting messages as attached.

1

2

Make sanity failed…
3

Could you try to get it again and compile it ?
The issue on wsNetwork_test.go was addressed recently on master.

For this specific issue with logfilter, I believe it’s because you don’t have $GOPATH/bin in your $PATH.
logfilter is installed by the Algorand software in $GOPATH/bin.

PS: Can you post the log as text between triple backquotes ``` and ```. This will enable anyone to easily search for the error later.

HI, i tried, but still i am getting the same error with make test and make integration. My go version is 1.16.4. Do I need to downgrade this?

Am not sure if I am doing anything wrong.

gopath is set in .profile as “export PATH=$PATH:/usr/local/go/bin” , do I need to make any changes here ?

The “make test” error is shown below

./scripts/check_golang_version.sh build
mkdir -p tmp/go-cache && \
touch tmp/go-cache/file.txt && \
GOCACHE=/home/algorand/go-algorand/tmp/go-cache go install -trimpath --tags "sqlite_unlock_notify sqlite_omit_load_extension  osusergo netgo static_build" -buildmode pie -ldflags="-X github.com/algorand/go-algorand/config.BuildNumber=109618 -X github.com/algorand/go-algorand/config.CommitHash=15bfd9a9 -X github.com/algorand/go-algorand/config.Branch=master -X github.com/algorand/go-algorand/config.DefaultDeadlock=disable -extldflags \"-static-libstdc++ -static-libgcc -static\" -X github.com/algorand/go-algorand/config.Channel=master" ./...
go test --tags "sqlite_unlock_notify sqlite_omit_load_extension  osusergo netgo static_build" -race github.com/algorand/go-algorand/agreement github.com/algorand/go-algorand/agreement/agreementtest github.com/algorand/go-algorand/agreement/fuzzer github.com/algorand/go-algorand/agreement/gossip github.com/algorand/go-algorand/auction github.com/algorand/go-algorand/auction/client github.com/algorand/go-algorand/catchup github.com/algorand/go-algorand/cmd/algocfg github.com/algorand/go-algorand/cmd/algod github.com/algorand/go-algorand/cmd/algofix github.com/algorand/go-algorand/cmd/algoh github.com/algorand/go-algorand/cmd/algokey github.com/algorand/go-algorand/cmd/algons github.com/algorand/go-algorand/cmd/algorelay github.com/algorand/go-algorand/cmd/algorelay/eb github.com/algorand/go-algorand/cmd/auctionbank github.com/algorand/go-algorand/cmd/auctionconsole github.com/algorand/go-algorand/cmd/auctionmaster github.com/algorand/go-algorand/cmd/auctionminion github.com/algorand/go-algorand/cmd/buildtools github.com/algorand/go-algorand/cmd/catchpointdump github.com/algorand/go-algorand/cmd/catchupsrv github.com/algorand/go-algorand/cmd/dbgen github.com/algorand/go-algorand/cmd/diagcfg github.com/algorand/go-algorand/cmd/dispenser github.com/algorand/go-algorand/cmd/genesis github.com/algorand/go-algorand/cmd/goal github.com/algorand/go-algorand/cmd/incorporate github.com/algorand/go-algorand/cmd/kmd github.com/algorand/go-algorand/cmd/kmd/codes github.com/algorand/go-algorand/cmd/loadgenerator github.com/algorand/go-algorand/cmd/msgpacktool github.com/algorand/go-algorand/cmd/netdummy github.com/algorand/go-algorand/cmd/netgoal github.com/algorand/go-algorand/cmd/nodecfg github.com/algorand/go-algorand/cmd/opdoc github.com/algorand/go-algorand/cmd/pingpong github.com/algorand/go-algorand/cmd/tealdbg github.com/algorand/go-algorand/cmd/tealdbg/cdt github.com/algorand/go-algorand/cmd/updater github.com/algorand/go-algorand/compactcert github.com/algorand/go-algorand/components github.com/algorand/go-algorand/components/mocks github.com/algorand/go-algorand/config github.com/algorand/go-algorand/config/defaultsGenerator github.com/algorand/go-algorand/crypto github.com/algorand/go-algorand/crypto/compactcert github.com/algorand/go-algorand/crypto/merklearray github.com/algorand/go-algorand/crypto/merkletrie github.com/algorand/go-algorand/crypto/passphrase github.com/algorand/go-algorand/daemon/algod github.com/algorand/go-algorand/daemon/algod/api/client github.com/algorand/go-algorand/daemon/algod/api/server github.com/algorand/go-algorand/daemon/algod/api/server/common github.com/algorand/go-algorand/daemon/algod/api/server/lib github.com/algorand/go-algorand/daemon/algod/api/server/lib/middlewares github.com/algorand/go-algorand/daemon/algod/api/server/v1/handlers github.com/algorand/go-algorand/daemon/algod/api/server/v1/routes github.com/algorand/go-algorand/daemon/algod/api/server/v2 github.com/algorand/go-algorand/daemon/algod/api/server/v2/generated github.com/algorand/go-algorand/daemon/algod/api/server/v2/generated/private github.com/algorand/go-algorand/daemon/algod/api/server/v2/test github.com/algorand/go-algorand/daemon/algod/api/spec/common github.com/algorand/go-algorand/daemon/algod/api/spec/v1 github.com/algorand/go-algorand/daemon/kmd github.com/algorand/go-algorand/daemon/kmd/api github.com/algorand/go-algorand/daemon/kmd/api/v1 github.com/algorand/go-algorand/daemon/kmd/client github.com/algorand/go-algorand/daemon/kmd/config github.com/algorand/go-algorand/daemon/kmd/lib/kmdapi github.com/algorand/go-algorand/daemon/kmd/server github.com/algorand/go-algorand/daemon/kmd/session github.com/algorand/go-algorand/daemon/kmd/wallet github.com/algorand/go-algorand/daemon/kmd/wallet/driver github.com/algorand/go-algorand/data github.com/algorand/go-algorand/data/account github.com/algorand/go-algorand/data/basics github.com/algorand/go-algorand/data/bookkeeping github.com/algorand/go-algorand/data/committee github.com/algorand/go-algorand/data/committee/sortition github.com/algorand/go-algorand/data/datatest github.com/algorand/go-algorand/data/hashable github.com/algorand/go-algorand/data/pools github.com/algorand/go-algorand/data/transactions github.com/algorand/go-algorand/data/transactions/logic github.com/algorand/go-algorand/data/transactions/verify github.com/algorand/go-algorand/debug/carpenter github.com/algorand/go-algorand/debug/coroner github.com/algorand/go-algorand/debug/doberman github.com/algorand/go-algorand/debug/genconsensusconfig github.com/algorand/go-algorand/debug/logfilter github.com/algorand/go-algorand/gen github.com/algorand/go-algorand/ledger github.com/algorand/go-algorand/ledger/apply github.com/algorand/go-algorand/ledger/ledgercore github.com/algorand/go-algorand/libgoal github.com/algorand/go-algorand/logging github.com/algorand/go-algorand/logging/logspec github.com/algorand/go-algorand/logging/telemetryspec github.com/algorand/go-algorand/netdeploy github.com/algorand/go-algorand/netdeploy/remote github.com/algorand/go-algorand/netdeploy/remote/nodecfg github.com/algorand/go-algorand/network github.com/algorand/go-algorand/network/messagetracer github.com/algorand/go-algorand/node github.com/algorand/go-algorand/node/indexer github.com/algorand/go-algorand/nodecontrol github.com/algorand/go-algorand/protocol github.com/algorand/go-algorand/protocol/transcode github.com/algorand/go-algorand/rpcs github.com/algorand/go-algorand/shared/algoh github.com/algorand/go-algorand/shared/pingpong github.com/algorand/go-algorand/tools/network github.com/algorand/go-algorand/tools/network/cloudflare github.com/algorand/go-algorand/tools/network/dnssec github.com/algorand/go-algorand/tools/network/dnssec/relay-check github.com/algorand/go-algorand/tools/teal/algotmpl github.com/algorand/go-algorand/tools/teal/dkey/dsign github.com/algorand/go-algorand/tools/teal/tealcut github.com/algorand/go-algorand/util github.com/algorand/go-algorand/util/bloom github.com/algorand/go-algorand/util/codecs github.com/algorand/go-algorand/util/condvar github.com/algorand/go-algorand/util/db github.com/algorand/go-algorand/util/execpool github.com/algorand/go-algorand/util/metrics github.com/algorand/go-algorand/util/s3 github.com/algorand/go-algorand/util/tar github.com/algorand/go-algorand/util/timers github.com/algorand/go-algorand/util/tokens -timeout 3600s | logfilter
/bin/sh: 1: logfilter: not found
Makefile:231: recipe for target 'test' failed
make: *** [test] Error 127```

"make integration" error is shown below
```+ algotmpl -d tools/teal/templates/ htlc --fee=2000 --hashfn=sha256 --hashimg=9S+9MrKzuG/4jvbEkGKChfSCrxXdyylUH5S89Saj9sc= --own=26IADQTOQVHA24MLRDV3IF5AFHBL3BPOS7KIHIIRQWOQPEST4J4DB4EEHE --rcv=DN7OMMFE6P4QJORHIJJ3TPQ2TQ2KWONXFBMU7UZKNUVECVQEJFBEKZIDBA --timeout=100000
/home/algorand/go-algorand/test/scripts/e2e_subs/htlc-teal-test.sh: line 20: algotmpl: command not found
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/rekey.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/e2e-teal.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-x-app-reads.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/rest-assets-endpoint.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-delete-clear.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/create_destroy_optin_optout.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/dex.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/asset-misc.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/dynamic-fee-teal-test.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-closeout.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-cross-round.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-stateful-local.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-bootloader.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/sectok-app.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/assets-app.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-stateful-global.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/periodic-teal-test.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/limit-swap-test.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/teal-split-test.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/keyreg-teal-test.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/rest-applications-endpoint.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-simple.sh finishes.
20210525_135925 :151 Program terminated before /home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-real-assets-round.sh finishes.
20210525_135925 :457 ERRORS after 74.990638 seconds: '/home/algorand/go-algorand/test/scripts/e2e_subs/htlc-teal-test.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/rekey.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-teal.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-x-app-reads.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/rest-assets-endpoint.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-delete-clear.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/create_destroy_optin_optout.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/dex.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/asset-misc.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/dynamic-fee-teal-test.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-closeout.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-cross-round.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-stateful-local.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-bootloader.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/sectok-app.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/assets-app.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-stateful-global.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/periodic-teal-test.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/limit-swap-test.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/teal-split-test.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/keyreg-teal-test.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/rest-applications-endpoint.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-simple.sh failed\n/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-real-assets-round.sh failed'
20210525_135925 :460 statuses-json: [{"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/rest-pprof.sh", "ok": true, "seconds": 67.06705951690674}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/rest-genesis-endpoint.sh", "ok": true, "seconds": 67.75723767280579}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/rest.sh", "ok": true, "seconds": 69.27675604820251}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/htlc-teal-test.sh", "ok": false, "seconds": 70.42966675758362}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/rekey.sh", "ok": false, "seconds": 70.48748803138733}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-teal.sh", "ok": false, "seconds": 70.48969149589539}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-x-app-reads.sh", "ok": false, "seconds": 70.49001908302307}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/rest-assets-endpoint.sh", "ok": false, "seconds": 70.48732495307922}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-delete-clear.sh", "ok": false, "seconds": 70.49180793762207}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/create_destroy_optin_optout.sh", "ok": false, "seconds": 70.49380397796631}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/dex.sh", "ok": false, "seconds": 70.49343466758728}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/asset-misc.sh", "ok": false, "seconds": 71.32481932640076}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/dynamic-fee-teal-test.sh", "ok": false, "seconds": 70.49324178695679}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-closeout.sh", "ok": false, "seconds": 70.49268198013306}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-cross-round.sh", "ok": false, "seconds": 70.49237203598022}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-stateful-local.sh", "ok": false, "seconds": 70.49077200889587}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-bootloader.sh", "ok": false, "seconds": 70.49309611320496}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/sectok-app.sh", "ok": false, "seconds": 70.48650407791138}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/assets-app.sh", "ok": false, "seconds": 71.19917273521423}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-stateful-global.sh", "ok": false, "seconds": 70.49120092391968}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/periodic-teal-test.sh", "ok": false, "seconds": 70.48876595497131}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/limit-swap-test.sh", "ok": false, "seconds": 70.48913717269897}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/teal-split-test.sh", "ok": false, "seconds": 70.48637866973877}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/keyreg-teal-test.sh", "ok": false, "seconds": 70.48948550224304}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/rest-applications-endpoint.sh", "ok": false, "seconds": 70.48830914497375}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-simple.sh", "ok": false, "seconds": 70.49176287651062}, {"script": "/home/algorand/go-algorand/test/scripts/e2e_subs/e2e-app-real-assets-round.sh", "ok": false, "seconds": 70.49208045005798}]
20210525_135925 :326 stop network in /home/algorand/go-algorand/tmp/out/e2e/109618-1621969071008/net
20210525_135926 :335 stop kmd in /home/algorand/go-algorand/tmp/out/e2e/109618-1621969071008/net/Node
20210525_135926 :348 delete network in /home/algorand/go-algorand/tmp/out/e2e/109618-1621969071008/net
Makefile:244: recipe for target 'integration' failed
make: *** [integration] Error 1
algorand@algorand-vm:~/go-algorand$ ```

Yes, you need to add to your PATH not only the /usr/local/go/bin but also $GOPATH/bin, that is the folder where logfilter is installed.
If $GOPATH is not defined, it is by default $HOME/go.

Best is to check whether the folder you add to the PATH contains logfilter.

Thank you for the help, this helped me to get through the “make test” part. “Make Integration” is still failing with following errors.

algod(29159) :   github.com/algorand/go-algorand/catchup.(*CatchpointCatchupService).run()
algod(29159) :       github.com/algorand/go-algorand/catchup/catchpointService.go:199 +0x4fb
algod(29159) : ==================
    fixture.go:105: 
        	Error Trace:	catchpointCatchup_test.go:224
        	Error:      	Received unexpected error:
        	            	Get "http://127.0.0.1:37149/v1/status": dial tcp 127.0.0.1:37149: connect: connection refused
        	Test:       	TestBasicCatchpointCatchup
    fixture.go:105: 
        	Error Trace:	catchpointCatchup_test.go:77
        	            				panic.go:632
        	            				testing.go:741
        	            				fixture.go:115
        	            				catchpointCatchup_test.go:224
        	Error:      	Received unexpected error:
        	            	exit status 66
        	Test:       	TestBasicCatchpointCatchup
        	Messages:   	Node at /home/algorand/go-algorand/tmp/out/e2e/10982-1622083193522/TestBasicCatchpointCatchup/Node has terminated with error code 66
--- FAIL: TestBasicCatchpointCatchup (41.72s)
--- PASS: TestBasicCatchup (14.66s)
--- PASS: TestStoppedCatchupOnUnsupported (26.07s)
--- PASS: TestCatchupOverGossip (33.06s)
FAIL	github.com/algorand/go-algorand/test/e2e-go/features/catchup	115.568s
--- PASS: TestBasicMultisig (17.69s)
--- PASS: TestDuplicateKeys (9.02s)
--- PASS: TestZeroThreshold (3.05s)
--- PASS: TestZeroSigners (2.95s)
ok  	github.com/algorand/go-algorand/test/e2e-go/features/multisig	32.780s
--- PASS: TestParticipationKeyOnlyAccountParticipatesCorrectly (6.85s)
--- PASS: TestRewardRateRecalculation (102.74s)
--- PASS: TestPartkeyOnlyRewards (1334.37s)
--- PASS: TestOnlineOfflineRewards (74.32s)
--- PASS: TestOverlappingParticipationKeys (92.01s)
--- PASS: TestRewardUnitThreshold (54.34s)
ok  	github.com/algorand/go-algorand/test/e2e-go/features/participation	1664.672s
--- PASS: TestBasicPartitionRecovery (41.52s)
--- PASS: TestPartitionHalfOffline (66.55s)
--- PASS: TestPartitionRecoveryStaggerRestart (117.39s)
--- PASS: TestBasicPartitionRecoveryPartOffline (42.07s)
--- PASS: TestPartitionRecoverySwapStartup (151.24s)
ok  	github.com/algorand/go-algorand/test/e2e-go/features/partitionRecovery	418.822s
--- PASS: TestTealCompile (2.31s)
ok  	github.com/algorand/go-algorand/test/e2e-go/features/teal	2.365s
--- PASS: TestAssetValidRounds (2.66s)
--- PASS: TestTxnMerkleProof (8.70s)
--- PASS: TestAccountsCanChangeOnlineStateInTheFuture (14.33s)
--- PASS: TestAccountsCanSendMoney (108.13s)
--- PASS: TestOverlappingLeases (90.84s)
--- PASS: TestAccountsCanChangeOnlineState (13.19s)
--- PASS: TestLeaseTransactionsSameSenderDifferentLease (9.68s)
--- PASS: TestLeaseRegressionFaultyFirstValidCheckNew_2f3880f7 (9.78s)
--- PASS: TestLeaseRegressionFaultyFirstValidCheckOld_2f3880f7 (17.49s)
--- PASS: TestLeaseTransactionsDifferentSender (17.29s)
--- PASS: TestLeaseTransactionsSameSender (10.93s)
--- PASS: TestGroupTransactionsSubmission (3.89s)
--- PASS: TestGroupTransactionsDifferentSizes (33.89s)
--- PASS: TestAccountsCanClose (17.18s)
--- PASS: TestGroupTransactions (9.64s)
--- PASS: TestAssetCreateWaitBalLookbackDelete (152.40s)
--- PASS: TestAssetCreateWaitRestartDelete (19.23s)
--- PASS: TestAssetSend (33.62s)
--- PASS: TestAssetInformation (17.29s)
--- PASS: TestAssetConfig (358.22s)
--- PASS: TestAssetGroupCreateSendDestroy (17.88s)
--- PASS: TestAccountInformationV2 (11.76s)
ok  	github.com/algorand/go-algorand/test/e2e-go/features/transactions	978.135s
--- PASS: TestNonAbsSQLiteWalletConfigFails (0.00s)
--- PASS: TestWalletSessionExpiry (2.30s)
--- PASS: TestWalletSessionRenew (2.33s)
--- PASS: TestWalletRename (0.29s)
--- PASS: TestWalletSessionRelease (0.31s)
--- PASS: TestBlankWalletCreation (0.30s)
--- PASS: TestWalletCreation (0.28s)
--- PASS: TestMultisigSignWithWrongSigner (0.34s)
--- PASS: TestMultisigSignProgram (0.34s)
--- PASS: TestMultisigSign (0.29s)
--- PASS: TestMultisigExportDelete (0.31s)
--- PASS: TestMultisigImportList (0.34s)
--- PASS: TestMasterKeyGeneratePastImportedKeys (0.47s)
--- PASS: TestMasterKeyImportExport (0.43s)
--- PASS: TestMultisigSignWithSigner (0.34s)
--- PASS: TestSignProgram (0.32s)
--- PASS: TestSignTransaction (0.29s)
--- PASS: TestExportKey (0.30s)
--- PASS: TestImportKey (0.29s)
--- PASS: TestDeleteKey (0.29s)
--- PASS: TestAbsSQLiteWalletConfigSucceeds (0.00s)
--- PASS: TestGenerateAndListKeys (0.32s)
--- PASS: TestGoodAuthSucceeds (0.22s)
--- PASS: TestBadAuthFails (0.21s)
--- PASS: TestServerStartsStopsSuccessfully (0.21s)
ok  	github.com/algorand/go-algorand/test/e2e-go/kmd	11.226s
ok  	github.com/algorand/go-algorand/test/e2e-go/perf	0.043s [no tests to run]
--- PASS: TestClientCanGetStatus (0.00s)
--- PASS: TestClientCanGetStatusAfterBlock (14.63s)
--- PASS: TestTransactionsByAddr (18.08s)
--- PASS: TestClientCanGetVersion (0.00s)
--- PASS: TestClientCanGetSuggestedFee (0.00s)
--- PASS: TestClientCanGetMinTxnFee (0.00s)
--- PASS: TestClientCanGetBlockInfo (0.00s)
--- PASS: TestClientRejectsBadFromAddressWhenSending (0.01s)
--- PASS: TestClientRejectsBadToAddressWhenSending (0.00s)
--- PASS: TestClientRejectsMutatedFromAddressWhenSending (0.01s)
--- PASS: TestClientRejectsMutatedToAddressWhenSending (0.01s)
--- PASS: TestClientRejectsSendingMoneyFromAccountForWhichItHasNoKey (0.01s)
--- PASS: TestClientOversizedNote (0.01s)
--- PASS: TestClientCanSendAndGetNote (6.30s)
--- PASS: TestClientCanGetTransactionStatus (8.22s)
--- PASS: TestAccountBalance (8.27s)
--- PASS: TestAccountParticipationInfo (8.28s)
--- PASS: TestSupply (0.00s)
--- PASS: TestClientCanGetGoRoutines (0.01s)
--- PASS: TestSendingTooMuchFails (0.03s)
--- PASS: TestSendingFromEmptyAccountFails (0.02s)
--- PASS: TestSendingTooLittleToEmptyAccountFails (0.04s)
--- PASS: TestSendingLowFeeFails (0.03s)
--- PASS: TestSendingNotClosingAccountFails (3.03s)
--- PASS: TestClientCanGetPendingTransactions (3.28s)
--- PASS: TestClientTruncatesPendingTransactions (3.14s)
--- PASS: TestManyAccountsCanGoOnline (21.30s)
ok  	github.com/algorand/go-algorand/test/e2e-go/stress/transactions	21.361s
--- PASS: TestApplicationsUpgradeOverREST (28.04s)
--- PASS: TestApplicationsUpgradeOverGossip (31.45s)
--- PASS: TestRekeyUpgrade (10.09s)
--- PASS: TestAccountsCanSendMoneyAcrossUpgradeV15toV16 (27.42s)
--- PASS: TestAccountsCanSendMoneyAcrossUpgradeV21toV22 (27.36s)
--- PASS: TestAccountsCanSendMoneyAcrossUpgradeV22toV23 (12.01s)
--- PASS: TestAccountsCanSendMoneyAcrossUpgradeV23toV24 (12.15s)
--- PASS: TestAccountsCanSendMoneyAcrossUpgradeV24toV25 (27.40s)
ok  	github.com/algorand/go-algorand/test/e2e-go/upgrades	175.991s
Makefile:244: recipe for target 'integration' failed
make: *** [integration] Error 1
algorand@algorand-vm:~/go-algorand$ ```

On which commit/branch are you (git rev-parse HEAD)?
I would recommend to stay on rel/stable, i.e., git checkout rel/stable, and verify there is no leftover files (git status).