dfinity / sns-testing

Testing SNS in local testing environment
Apache License 2.0
9 stars 12 forks source link

curl: (35) Recv failure: Connection reset by peer #63

Closed letmejustputthishere closed 5 months ago

letmejustputthishere commented 5 months ago

when executing setup_locally.sh the following error appears a number of times. getting to download all the files requires multiple tries.

mraszyk commented 5 months ago

getting to download all the files requires multiple tries.

this might be due to redirects; does the script succeed after all?

letmejustputthishere commented 5 months ago

yes it does, but only after multiple retries

mraszyk commented 5 months ago

yes it does, but only after multiple retries

I don't see any retries in my run of setup_locally.sh:

$ ./setup_locally.sh 
Using identity: "default".
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  345k  100  345k    0     0   459k      0 --:--:-- --:--:-- --:--:--  459k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  162k  100  162k    0     0   186k      0 --:--:-- --:--:-- --:--:--  186k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  945k  100  945k    0     0  1240k      0 --:--:-- --:--:-- --:--:-- 1239k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  958k  100  958k    0     0  1614k      0 --:--:-- --:--:-- --:--:-- 1614k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  483k  100  483k    0     0  1014k      0 --:--:-- --:--:-- --:--:-- 1014k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4145  100  4145    0     0  15673      0 --:--:-- --:--:-- --:--:-- 15700
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  531k  100  531k    0     0  1372k      0 --:--:-- --:--:-- --:--:-- 1370k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 77026  100 77026    0     0   220k      0 --:--:-- --:--:-- --:--:--  220k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4145  100  4145    0     0  15743      0 --:--:-- --:--:-- --:--:-- 15760
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  836k  100  836k    0     0  1659k      0 --:--:-- --:--:-- --:--:-- 1660k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  258k  100  258k    0     0   722k      0 --:--:-- --:--:-- --:--:--  723k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  493k  100  493k    0     0  1341k      0 --:--:-- --:--:-- --:--:-- 1338k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  241k  100  241k    0     0   783k      0 --:--:-- --:--:-- --:--:--  785k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  597k  100  597k    0     0  1298k      0 --:--:-- --:--:-- --:--:-- 1296k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  441k  100  441k    0     0   800k      0 --:--:-- --:--:-- --:--:--  801k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  558k  100  558k    0     0  1169k      0 --:--:-- --:--:-- --:--:-- 1167k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  204k  100  204k    0     0   583k      0 --:--:-- --:--:-- --:--:--  584k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  215k  100  215k    0     0   610k      0 --:--:-- --:--:-- --:--:--  610k
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/dfx.json
Importing canister 'cycles-minting' as 'nns-cycles-minting'
Importing /home/martin/sns-testing/candid/nns-cycles-minting.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/cmc/cmc.did
cycles-minting canister id on network 'ic' is rkp4c-7iaaa-aaaaa-aaaca-cai
Importing canister 'genesis-token' as 'nns-genesis-token'
Importing /home/martin/sns-testing/candid/nns-genesis-token.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/gtc/canister/gtc.did
genesis-token canister id on network 'ic' is renrk-eyaaa-aaaaa-aaada-cai
Importing canister 'governance' as 'nns-governance'
Importing /home/martin/sns-testing/candid/nns-governance.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/governance/canister/governance.did
governance canister id on network 'ic' is rrkah-fqaaa-aaaaa-aaaaq-cai
Importing canister 'ledger' as 'nns-ledger'
Importing /home/martin/sns-testing/candid/nns-ledger.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/rosetta-api/icp_ledger/ledger.did
ledger canister id on network 'ic' is ryjl3-tyaaa-aaaaa-aaaba-cai
Importing canister 'lifeline' as 'nns-lifeline'
Importing /home/martin/sns-testing/candid/nns-lifeline.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/handlers/lifeline/impl/lifeline.did
lifeline canister id on network 'ic' is rno2w-sqaaa-aaaaa-aaacq-cai
Importing canister 'registry' as 'nns-registry'
Importing /home/martin/sns-testing/candid/nns-registry.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/registry/canister/canister/registry.did
registry canister id on network 'ic' is rwlgt-iiaaa-aaaaa-aaaaa-cai
Importing canister 'root' as 'nns-root'
Importing /home/martin/sns-testing/candid/nns-root.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/handlers/root/impl/canister/root.did
root canister id on network 'ic' is r7inp-6aaaa-aaaaa-aaabq-cai
Importing canister 'sns-wasm' as 'nns-sns-wasm'
Importing /home/martin/sns-testing/candid/nns-sns-wasm.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/sns-wasm/canister/sns-wasm.did
sns-wasm canister id on network 'ic' is qaa6y-5yaaa-aaaaa-aaafa-cai
Importing canister 'nns-dapp' from https://raw.githubusercontent.com/dfinity/nns-dapp/5a9b84ac38ab60065dd40c5174384c4c161875d3/dfx.json
Importing canister 'nns-dapp' as 'nns-dapp'
Importing /home/martin/sns-testing/candid/nns-dapp.did from https://raw.githubusercontent.com/dfinity/nns-dapp/5a9b84ac38ab60065dd40c5174384c4c161875d3/rs/backend/nns-dapp.did
nns-dapp has no canister id for network 'ic'
Importing canister 'internet_identity' from https://raw.githubusercontent.com/dfinity/nns-dapp/5a9b84ac38ab60065dd40c5174384c4c161875d3/dfx.json
Importing canister 'internet_identity' as 'internet_identity'
Importing /home/martin/sns-testing/candid/internet_identity.did from https://raw.githubusercontent.com/dfinity/nns-dapp/5a9b84ac38ab60065dd40c5174384c4c161875d3/internet_identity.did
internet_identity has no canister id for network 'ic'
internet_identity canister id on network 'local' is qhbym-qaaaa-aaaaa-aaafq-cai
nns-cycles-minting canister id on network 'local' is rkp4c-7iaaa-aaaaa-aaaca-cai
nns-dapp canister id on network 'local' is qsgjb-riaaa-aaaaa-aaaga-cai
nns-genesis-token canister id on network 'local' is renrk-eyaaa-aaaaa-aaada-cai
nns-governance canister id on network 'local' is rrkah-fqaaa-aaaaa-aaaaq-cai
nns-ic-ckbtc-minter has no local canister ID.
nns-identity has no local canister ID.
nns-ledger canister id on network 'local' is ryjl3-tyaaa-aaaaa-aaaba-cai
nns-lifeline canister id on network 'local' is rno2w-sqaaa-aaaaa-aaacq-cai
nns-registry canister id on network 'local' is rwlgt-iiaaa-aaaaa-aaaaa-cai
nns-root canister id on network 'local' is r7inp-6aaaa-aaaaa-aaabq-cai
nns-sns-wasm canister id on network 'local' is qaa6y-5yaaa-aaaaa-aaafa-cai
nns-ui has no local canister ID.
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/sns/cli/dfx.json
Importing canister 'sns_governance' as 'sns_governance'
Importing /home/martin/sns-testing/candid/sns_governance.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/sns/governance/canister/governance.did
sns_governance has no canister id for network 'ic'
Importing canister 'sns_index' as 'sns_index'
Importing /home/martin/sns-testing/candid/sns_index.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/rosetta-api/icrc1/index/index.did
sns_index has no canister id for network 'ic'
Importing canister 'sns_ledger' as 'sns_ledger'
Importing /home/martin/sns-testing/candid/sns_ledger.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/rosetta-api/icrc1/ledger/ledger.did
sns_ledger has no canister id for network 'ic'
Importing canister 'sns_root' as 'sns_root'
Importing /home/martin/sns-testing/candid/sns_root.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/sns/root/canister/root.did
sns_root has no canister id for network 'ic'
Importing canister 'sns_swap' as 'sns_swap'
Importing /home/martin/sns-testing/candid/sns_swap.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/sns/swap/canister/swap.did
sns_swap has no canister id for network 'ic'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 24973  100 24973    0     0  41289      0 --:--:-- --:--:-- --:--:-- 41277
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 16277  100 16277    0     0  27086      0 --:--:-- --:--:-- --:--:-- 27128
Using identity: "default".
Using neuron csv initial_neurons.csv
Using identity: "nns-nf-neuron-3001".
Ensured the existence of Neurons' Fund neuron ID 3001 with identity principal = nkoy5-vcevh-orqr7-th3wm-wxnfb-jich4-lq4s7-ofxeb-jzmg3-6hyfc-pqe
Using identity: "nns-nf-neuron-3002".
Ensured the existence of Neurons' Fund neuron ID 3002 with identity principal = 6t6wh-hjuhy-lazuc-rwwk7-3cvwr-gnphb-urcrz-jeztz-kc6ry-odtjb-vqe
Using identity: "nns-nf-neuron-3003".
Ensured the existence of Neurons' Fund neuron ID 3003 with identity principal = xnqzr-craud-mowbh-33y3v-i63px-dx5tq-vodqm-zrd73-olggf-vamq3-cqe
Using identity: "nns-nf-neuron-3004".
Ensured the existence of Neurons' Fund neuron ID 3004 with identity principal = b6lc3-lae5k-oxebf-nelm2-q5qe2-asekb-kg7bo-3xl5s-qfgzc-djqwk-vqe
Using identity: "nns-nf-neuron-3005".
Ensured the existence of Neurons' Fund neuron ID 3005 with identity principal = zqlss-4whal-a3dm5-r7ith-ussdl-zpxgh-zumdk-mvfgs-tnqqf-sqqss-dae
Using identity: "nns-nf-neuron-3006".
Ensured the existence of Neurons' Fund neuron ID 3006 with identity principal = fqj42-afpxb-ym33s-pz2fz-2nwlt-astw2-6tasv-oq2us-mjaff-dmhni-cae
[ic-nns-init] The content of the registry will be initialized with an empty content. This is most likely not what you want. Use --initial-registry or --registry-local-store-dir to specify initial content.
[ic-nns-init] Initializing neurons from CSV file: "initial_neurons.csv"
[ic-nns-init] Initializing with test ledger account: 2c11af69b948bf6fee9ca9ac3221c40aef2749d3905252facdd698294fdff2a7
[ic-nns-init] Initializing with test ledger account: 5b315d2f6702cb3a27d826161797d7b2c2e131cd312aece51d4d5574d1247087
[ic-nns-init] Initializing with test ledger account: 2b8fbde99de881f695f279d2a892b1137bfe81a42d7694e064b1be58701e1138
[ic-nns-init] Initialized governance.
Compiling Wasm for registry-canister in task on thread: ThreadId(19)
looking up registry-canister at REGISTRY_CANISTER_WASM_PATH
Compiling Wasm for governance-canister in task on thread: ThreadId(20)
looking up governance-canister at GOVERNANCE_CANISTER_TEST_WASM_PATH
Compiling Wasm for ledger-canister in task on thread: ThreadId(21)
looking up ledger-canister at LEDGER_CANISTER_NOTIFY_METHOD_WASM_PATH
Using pre-built binary for ledger-canister with features: ["notify-method"] (size = 1215262, path = ./ledger-canister_notify-method.wasm)
Done compiling the wasm for ledger-canister
Using pre-built binary for registry-canister with features: [] (size = 2741790, path = ./registry-canister.wasm)
Using pre-built binary for governance-canister with features: ["test"] (size = 3063094, path = ./governance-canister_test.wasm)
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: ryjl3-tyaaa-aaaaa-aaaba-cai
  wasm_module: <1215262 bytes>
  arg: <1980 bytes>
  compute_allocation: None
  memory_allocation: Some("4_294_967_296")
  query_allocation: None
}

Done compiling the wasm for registry-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: rwlgt-iiaaa-aaaaa-aaaaa-cai
  wasm_module: <2741790 bytes>
  arg: <69 bytes>
  compute_allocation: None
  memory_allocation: Some("4_294_967_296")
  query_allocation: None
}

Done compiling the wasm for governance-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: rrkah-fqaaa-aaaaa-aaaaq-cai
  wasm_module: <3063094 bytes>
  arg: <2304 bytes>
  compute_allocation: None
  memory_allocation: Some("10_737_418_240")
  query_allocation: None
}

Successfully installed wasm into canister with ID: ryjl3-tyaaa-aaaaa-aaaba-cai
Installed ryjl3-tyaaa-aaaaa-aaaba-cai with ledger-canister
Successfully installed wasm into canister with ID: rwlgt-iiaaa-aaaaa-aaaaa-cai
Installed rwlgt-iiaaa-aaaaa-aaaaa-cai with registry-canister
Successfully installed wasm into canister with ID: rrkah-fqaaa-aaaaa-aaaaq-cai
Installed rrkah-fqaaa-aaaaa-aaaaq-cai with governance-canister
Compiling Wasm for root-canister in task on thread: ThreadId(20)
looking up root-canister at ROOT_CANISTER_WASM_PATH
looking up lifeline_canister at LIFELINE_CANISTER_WASM_PATH
Compiling Wasm for cycles-minting-canister in task on thread: ThreadId(21)
looking up cycles-minting-canister at CYCLES_MINTING_CANISTER_WASM_PATH
Using pre-built binary for lifeline_canister with features: [] (size = 196705, path = ./lifeline_canister.wasm)
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: rno2w-sqaaa-aaaaa-aaacq-cai
  wasm_module: <196705 bytes>
  arg: <0 bytes>
  compute_allocation: None
  memory_allocation: Some("1_073_741_824")
  query_allocation: None
}

Using pre-built binary for root-canister with features: [] (size = 687175, path = ./root-canister.wasmCompiling Wasm for genesis-token-canister in task on thread: ThreadId(19)
)
looking up genesis-token-canister at GENESIS_TOKEN_CANISTER_WASM_PATH
Done compiling the wasm for root-canister
Compiling Wasm for sns-wasm-canister in task on thread: ThreadId(20)
looking up sns-wasm-canister at SNS_WASM_CANISTER_WASM_PATH
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: r7inp-6aaaa-aaaaa-aaabq-cai
  wasm_module: <687175 bytes>
  arg: <9 bytes>
  compute_allocation: None
  memory_allocation: Some("1_073_741_824")
  query_allocation: None
}

Using pre-built binary for cycles-minting-canister with features: [] (size = 985455, path = ./cycles-minting-canister.wasm)
Using pre-built binary for genesis-token-canister with features: [] (size = 439661, path = ./genesis-token-canister.wasm)
Done compiling the wasm for cycles-minting-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: rkp4c-7iaaa-aaaaa-aaaca-cai
  wasm_module: <985455 bytes>
  arg: <184 bytes>
  compute_allocation: None
  memory_allocation: Some("1_073_741_824")
  query_allocation: None
}

Using pre-built binary for sns-wasm-canister with features: [] (size = 1441156, path = ./sns-wasm-canister.wasm)
Done compiling the wasm for genesis-token-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: renrk-eyaaa-aaaaa-aaada-cai
  wasm_module: <439661 bytes>
  arg: <8 bytes>
  compute_allocation: None
  memory_allocation: Some("1_073_741_824")
  query_allocation: None
}

Done compiling the wasm for sns-wasm-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: qaa6y-5yaaa-aaaaa-aaafa-cai
  wasm_module: <1441156 bytes>
  arg: <32 bytes>
  compute_allocation: None
  memory_allocation: Some("1_073_741_824")
  query_allocation: None
}

Successfully installed wasm into canister with ID: rno2w-sqaaa-aaaaa-aaacq-cai
Installed rno2w-sqaaa-aaaaa-aaacq-cai with the lifeline handler
Successfully installed wasm into canister with ID: rkp4c-7iaaa-aaaaa-aaaca-cai
Installed rkp4c-7iaaa-aaaaa-aaaca-cai with cycles-minting-canister
Successfully installed wasm into canister with ID: r7inp-6aaaa-aaaaa-aaabq-cai
Installed r7inp-6aaaa-aaaaa-aaabq-cai with root-canister
Successfully installed wasm into canister with ID: renrk-eyaaa-aaaaa-aaada-cai
Installed renrk-eyaaa-aaaaa-aaada-cai with genesis-token-canister
Successfully installed wasm into canister with ID: qaa6y-5yaaa-aaaaa-aaafa-cai
Installed qaa6y-5yaaa-aaaaa-aaafa-cai with sns-wasm-canister
NNS canisters installed after 27.9 s
NNS canisters set up after 29.9 s
[ic-nns-init] All NNS canisters have been set up on the replica with http://localhost:35731/
Using identity: "default".
++ /home/martin/sns-testing/bin/dfx identity whoami
+ export CURRENT_DX_IDENT=default
+ CURRENT_DX_IDENT=default
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/martin/sns-testing/bin/dfx identity use /home/martin/.config/dfx/identity/nns-nf-neuron-3001
Using identity: "/home/martin/.config/dfx/identity/nns-nf-neuron-3001".
++ sed 's/(vec { //'
++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/ .*//'
+ NEURON_ID=3_001
+ echo 'Setting up Neurons'\'' Fund neuron 3_001 ...'
Setting up Neurons' Fund neuron 3_001 ...
++ readlink -f /home/martin/.config/dfx/identity/nns-nf-neuron-3001/identity.pem
+ PEM_FILE=/home/martin/.config/dfx/identity/nns-nf-neuron-3001/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/martin/.config/dfx/identity/nns-nf-neuron-3001/identity.pem neuron-manage --join-community-fund 3_001
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with

  Call type:   update
  Sender:      nkoy5-vcevh-orqr7-th3wm-wxnfb-jich4-lq4s7-ofxeb-jzmg3-6hyfc-pqe
  Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
  Method name: manage_neuron
  Arguments:   (
  record {
    id = opt record { id = 3_001 : nat64 };
    command = opt variant {
      Configure = record {
        operation = opt variant { JoinCommunityFund = record {} };
      }
    };
    neuron_id_or_subaccount = null;
  },
)
Request ID: 0x23d014f857ea9662b675427e3921af07403e3812f8024671e78dcaaba8d613ec
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })

++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_001)'
++ grep joined_community_fund_timestamp_seconds
+ JNF='      joined_community_fund_timestamp_seconds = opt (1_713_164_701 : nat64);'
+ [[       joined_community_fund_timestamp_seconds = opt (1_713_164_701 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/martin/sns-testing/bin/dfx identity use /home/martin/.config/dfx/identity/nns-nf-neuron-3002
Using identity: "/home/martin/.config/dfx/identity/nns-nf-neuron-3002".
++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_002
+ echo 'Setting up Neurons'\'' Fund neuron 3_002 ...'
Setting up Neurons' Fund neuron 3_002 ...
++ readlink -f /home/martin/.config/dfx/identity/nns-nf-neuron-3002/identity.pem
+ PEM_FILE=/home/martin/.config/dfx/identity/nns-nf-neuron-3002/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/martin/.config/dfx/identity/nns-nf-neuron-3002/identity.pem neuron-manage --join-community-fund 3_002
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with

  Call type:   update
  Sender:      6t6wh-hjuhy-lazuc-rwwk7-3cvwr-gnphb-urcrz-jeztz-kc6ry-odtjb-vqe
  Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
  Method name: manage_neuron
  Arguments:   (
  record {
    id = opt record { id = 3_002 : nat64 };
    command = opt variant {
      Configure = record {
        operation = opt variant { JoinCommunityFund = record {} };
      }
    };
    neuron_id_or_subaccount = null;
  },
)
Request ID: 0xec5884c2a29c115cd4889f51aea8f746921f8cb3528b0c8472ba3ad0130999c4
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })

++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_002)'
++ grep joined_community_fund_timestamp_seconds
+ JNF='      joined_community_fund_timestamp_seconds = opt (1_713_164_702 : nat64);'
+ [[       joined_community_fund_timestamp_seconds = opt (1_713_164_702 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/martin/sns-testing/bin/dfx identity use /home/martin/.config/dfx/identity/nns-nf-neuron-3003
Using identity: "/home/martin/.config/dfx/identity/nns-nf-neuron-3003".
++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_003
+ echo 'Setting up Neurons'\'' Fund neuron 3_003 ...'
Setting up Neurons' Fund neuron 3_003 ...
++ readlink -f /home/martin/.config/dfx/identity/nns-nf-neuron-3003/identity.pem
+ PEM_FILE=/home/martin/.config/dfx/identity/nns-nf-neuron-3003/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/martin/.config/dfx/identity/nns-nf-neuron-3003/identity.pem neuron-manage --join-community-fund 3_003
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with

  Call type:   update
  Sender:      xnqzr-craud-mowbh-33y3v-i63px-dx5tq-vodqm-zrd73-olggf-vamq3-cqe
  Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
  Method name: manage_neuron
  Arguments:   (
  record {
    id = opt record { id = 3_003 : nat64 };
    command = opt variant {
      Configure = record {
        operation = opt variant { JoinCommunityFund = record {} };
      }
    };
    neuron_id_or_subaccount = null;
  },
)
Request ID: 0x472ec52c0bc82e9eaad896faf6dd32043a9d76b3c082c7426a26a00bce7bd543
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })

++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_003)'
++ grep joined_community_fund_timestamp_seconds
+ JNF='      joined_community_fund_timestamp_seconds = opt (1_713_164_704 : nat64);'
+ [[       joined_community_fund_timestamp_seconds = opt (1_713_164_704 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/martin/sns-testing/bin/dfx identity use /home/martin/.config/dfx/identity/nns-nf-neuron-3004
Using identity: "/home/martin/.config/dfx/identity/nns-nf-neuron-3004".
++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_004
+ echo 'Setting up Neurons'\'' Fund neuron 3_004 ...'
Setting up Neurons' Fund neuron 3_004 ...
++ readlink -f /home/martin/.config/dfx/identity/nns-nf-neuron-3004/identity.pem
+ PEM_FILE=/home/martin/.config/dfx/identity/nns-nf-neuron-3004/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/martin/.config/dfx/identity/nns-nf-neuron-3004/identity.pem neuron-manage --join-community-fund 3_004
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with

  Call type:   update
  Sender:      b6lc3-lae5k-oxebf-nelm2-q5qe2-asekb-kg7bo-3xl5s-qfgzc-djqwk-vqe
  Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
  Method name: manage_neuron
  Arguments:   (
  record {
    id = opt record { id = 3_004 : nat64 };
    command = opt variant {
      Configure = record {
        operation = opt variant { JoinCommunityFund = record {} };
      }
    };
    neuron_id_or_subaccount = null;
  },
)
Request ID: 0x89f38d1c180affe809e26197c85926ef2d2225ceabdf877e79ddcd2810874796
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })

++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_004)'
++ grep joined_community_fund_timestamp_seconds
+ JNF='      joined_community_fund_timestamp_seconds = opt (1_713_164_705 : nat64);'
+ [[       joined_community_fund_timestamp_seconds = opt (1_713_164_705 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/martin/sns-testing/bin/dfx identity use /home/martin/.config/dfx/identity/nns-nf-neuron-3005
Using identity: "/home/martin/.config/dfx/identity/nns-nf-neuron-3005".
++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_005
+ echo 'Setting up Neurons'\'' Fund neuron 3_005 ...'
Setting up Neurons' Fund neuron 3_005 ...
++ readlink -f /home/martin/.config/dfx/identity/nns-nf-neuron-3005/identity.pem
+ PEM_FILE=/home/martin/.config/dfx/identity/nns-nf-neuron-3005/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/martin/.config/dfx/identity/nns-nf-neuron-3005/identity.pem neuron-manage --join-community-fund 3_005
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with

  Call type:   update
  Sender:      zqlss-4whal-a3dm5-r7ith-ussdl-zpxgh-zumdk-mvfgs-tnqqf-sqqss-dae
  Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
  Method name: manage_neuron
  Arguments:   (
  record {
    id = opt record { id = 3_005 : nat64 };
    command = opt variant {
      Configure = record {
        operation = opt variant { JoinCommunityFund = record {} };
      }
    };
    neuron_id_or_subaccount = null;
  },
)
Request ID: 0x06fedc3dcdc1b3f083758471fdb6c75f715dac3cf06ca44f19bf8abbdd8de51e
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })

++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_005)'
++ grep joined_community_fund_timestamp_seconds
+ JNF='      joined_community_fund_timestamp_seconds = opt (1_713_164_706 : nat64);'
+ [[       joined_community_fund_timestamp_seconds = opt (1_713_164_706 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/martin/sns-testing/bin/dfx identity use /home/martin/.config/dfx/identity/nns-nf-neuron-3006
Using identity: "/home/martin/.config/dfx/identity/nns-nf-neuron-3006".
++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_006
+ echo 'Setting up Neurons'\'' Fund neuron 3_006 ...'
Setting up Neurons' Fund neuron 3_006 ...
++ readlink -f /home/martin/.config/dfx/identity/nns-nf-neuron-3006/identity.pem
+ PEM_FILE=/home/martin/.config/dfx/identity/nns-nf-neuron-3006/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/martin/.config/dfx/identity/nns-nf-neuron-3006/identity.pem neuron-manage --join-community-fund 3_006
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with

  Call type:   update
  Sender:      fqj42-afpxb-ym33s-pz2fz-2nwlt-astw2-6tasv-oq2us-mjaff-dmhni-cae
  Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
  Method name: manage_neuron
  Arguments:   (
  record {
    id = opt record { id = 3_006 : nat64 };
    command = opt variant {
      Configure = record {
        operation = opt variant { JoinCommunityFund = record {} };
      }
    };
    neuron_id_or_subaccount = null;
  },
)
Request ID: 0x48dd13130901f975156a90d7a92e3dd79c2531e419f6f841254d372f68e288d2
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })

++ /home/martin/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_006)'
++ grep joined_community_fund_timestamp_seconds
+ JNF='      joined_community_fund_timestamp_seconds = opt (1_713_164_708 : nat64);'
+ [[       joined_community_fund_timestamp_seconds = opt (1_713_164_708 : nat64); == *\n\a\t\6\4* ]]
+ /home/martin/sns-testing/bin/dfx identity use default
Using identity: "default".
Using identity: "default".
No arguments supplied. Script will download the sns wasm binaries at specified IC_COMMIT.
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/dfx.json
Importing canister 'cycles-minting' as 'nns-cycles-minting'
Importing /home/martin/sns-testing/candid/nns-cycles-minting.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/cmc/cmc.did
cycles-minting canister id on network 'local' is rkp4c-7iaaa-aaaaa-aaaca-cai
Importing canister 'genesis-token' as 'nns-genesis-token'
Importing /home/martin/sns-testing/candid/nns-genesis-token.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/gtc/canister/gtc.did
genesis-token canister id on network 'local' is renrk-eyaaa-aaaaa-aaada-cai
Importing canister 'governance' as 'nns-governance'
Importing /home/martin/sns-testing/candid/nns-governance.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/governance/canister/governance.did
governance canister id on network 'local' is rrkah-fqaaa-aaaaa-aaaaq-cai
Importing canister 'ledger' as 'nns-ledger'
Importing /home/martin/sns-testing/candid/nns-ledger.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/rosetta-api/icp_ledger/ledger.did
ledger canister id on network 'local' is ryjl3-tyaaa-aaaaa-aaaba-cai
Importing canister 'lifeline' as 'nns-lifeline'
Importing /home/martin/sns-testing/candid/nns-lifeline.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/handlers/lifeline/impl/lifeline.did
lifeline canister id on network 'local' is rno2w-sqaaa-aaaaa-aaacq-cai
Importing canister 'registry' as 'nns-registry'
Importing /home/martin/sns-testing/candid/nns-registry.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/registry/canister/canister/registry.did
registry canister id on network 'local' is rwlgt-iiaaa-aaaaa-aaaaa-cai
Importing canister 'root' as 'nns-root'
Importing /home/martin/sns-testing/candid/nns-root.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/handlers/root/impl/canister/root.did
root canister id on network 'local' is r7inp-6aaaa-aaaaa-aaabq-cai
Importing canister 'sns-wasm' as 'nns-sns-wasm'
Importing /home/martin/sns-testing/candid/nns-sns-wasm.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/nns/sns-wasm/canister/sns-wasm.did
sns-wasm canister id on network 'local' is qaa6y-5yaaa-aaaaa-aaafa-cai
Importing canister 'nns-dapp' from https://raw.githubusercontent.com/dfinity/nns-dapp/5a9b84ac38ab60065dd40c5174384c4c161875d3/dfx.json
Importing canister 'nns-dapp' as 'nns-dapp'
Importing /home/martin/sns-testing/candid/nns-dapp.did from https://raw.githubusercontent.com/dfinity/nns-dapp/5a9b84ac38ab60065dd40c5174384c4c161875d3/rs/backend/nns-dapp.did
nns-dapp has no canister id for network 'local'
Importing canister 'internet_identity' from https://raw.githubusercontent.com/dfinity/nns-dapp/5a9b84ac38ab60065dd40c5174384c4c161875d3/dfx.json
Importing canister 'internet_identity' as 'internet_identity'
Importing /home/martin/sns-testing/candid/internet_identity.did from https://raw.githubusercontent.com/dfinity/nns-dapp/5a9b84ac38ab60065dd40c5174384c4c161875d3/internet_identity.did
internet_identity has no canister id for network 'local'
internet_identity canister id on network 'local' is qhbym-qaaaa-aaaaa-aaafq-cai
nns-cycles-minting canister id on network 'local' is rkp4c-7iaaa-aaaaa-aaaca-cai
nns-dapp canister id on network 'local' is qsgjb-riaaa-aaaaa-aaaga-cai
nns-genesis-token canister id on network 'local' is renrk-eyaaa-aaaaa-aaada-cai
nns-governance canister id on network 'local' is rrkah-fqaaa-aaaaa-aaaaq-cai
nns-ic-ckbtc-minter has no local canister ID.
nns-identity has no local canister ID.
nns-ledger canister id on network 'local' is ryjl3-tyaaa-aaaaa-aaaba-cai
nns-lifeline canister id on network 'local' is rno2w-sqaaa-aaaaa-aaacq-cai
nns-registry canister id on network 'local' is rwlgt-iiaaa-aaaaa-aaaaa-cai
nns-root canister id on network 'local' is r7inp-6aaaa-aaaaa-aaabq-cai
nns-sns-wasm canister id on network 'local' is qaa6y-5yaaa-aaaaa-aaafa-cai
nns-ui has no local canister ID.
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/sns/cli/dfx.json
Importing canister 'sns_governance' as 'sns_governance'
Importing /home/martin/sns-testing/candid/sns_governance.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/sns/governance/canister/governance.did
sns_governance has no canister id for network 'ic'
Importing canister 'sns_index' as 'sns_index'
Importing /home/martin/sns-testing/candid/sns_index.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/rosetta-api/icrc1/index/index.did
sns_index has no canister id for network 'ic'
Importing canister 'sns_ledger' as 'sns_ledger'
Importing /home/martin/sns-testing/candid/sns_ledger.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/rosetta-api/icrc1/ledger/ledger.did
sns_ledger has no canister id for network 'ic'
Importing canister 'sns_root' as 'sns_root'
Importing /home/martin/sns-testing/candid/sns_root.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/sns/root/canister/root.did
sns_root has no canister id for network 'ic'
Importing canister 'sns_swap' as 'sns_swap'
Importing /home/martin/sns-testing/candid/sns_swap.did from https://raw.githubusercontent.com/dfinity/ic/d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a/rs/sns/swap/canister/swap.did
sns_swap has no canister id for network 'ic'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 24973  100 24973    0     0   108k      0 --:--:-- --:--:-- --:--:--  109k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 16277  100 16277    0     0  80117      0 --:--:-- --:--:-- --:--:-- 80182
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  144k    0  144k    0     0   264k      0 --:--:-- --:--:-- --:--:--  264k
Creating canister internet_identity...
internet_identity canister created with canister id: qhbym-qaaaa-aaaaa-aaafq-cai
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1812k  100 1812k    0     0  1057k      0  0:00:01  0:00:01 --:--:-- 3079k
Creating canister nns-dapp...
nns-dapp canister created with canister id: qsgjb-riaaa-aaaaa-aaaga-cai
Creating canister sns_aggregator...
sns_aggregator canister created with canister id: qvhpv-4qaaa-aaaaa-aaagq-cai
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2529k  100 2529k    0     0  1079k      0  0:00:02  0:00:02 --:--:-- 1523k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  368k  100  368k    0     0   188k      0  0:00:01  0:00:01 --:--:-- 1762k
Installing code for canister sns_aggregator, with canister ID qvhpv-4qaaa-aaaaa-aaagq-cai
Installing code for canister internet_identity, with canister ID qhbym-qaaaa-aaaaa-aaafq-cai
Installing code for canister nns-dapp, with canister ID qsgjb-riaaa-aaaaa-aaaga-cai
Using NNS URLs: ["http://localhost:35731/"]
Title: Set authorized subnets

Summary: This proposal sets the application subnet as authorized

Payload: SetAuthorizedSubnetworkListArgs {
    who: None,
    subnets: [
        7vrqj-2ppvy-pj746-5y2ko-d6wiw-kovlu-gfowq-mmqzp-7s66o-czyy6-lqe,
    ],
}
submit_proposal for Set authorized subnets response: Ok(proposal 1)
proposal 1
Using NNS URLs: ["http://localhost:35731/"]
Title: Add SNS Subnet IDs to SNS-WASM

Summary: This proposal sets the SNS subnet

Payload: UpdateSnsSubnetListRequest {
    sns_subnet_ids_to_add: [
        7vrqj-2ppvy-pj746-5y2ko-d6wiw-kovlu-gfowq-mmqzp-7s66o-czyy6-lqe,
    ],
    sns_subnet_ids_to_remove: [],
}
submit_proposal for Add SNS Subnet IDs to SNS-WASM response: Ok(proposal 2)
proposal 2
Downloading WASMs at specified IC_COMMIT.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  241k  100  241k    0     0   370k      0 --:--:-- --:--:-- --:--:--  370k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  597k  100  597k    0     0   832k      0 --:--:-- --:--:-- --:--:--  831k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  441k  100  441k    0     0  1364k      0 --:--:-- --:--:-- --:--:-- 1367k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  558k  100  558k    0     0  1772k      0 --:--:-- --:--:-- --:--:-- 1777k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  204k  100  204k    0     0   815k      0 --:--:-- --:--:-- --:--:--  813k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  215k  100  215k    0     0   911k      0 --:--:-- --:--:-- --:--:--  915k
Submitting WASM for root
Using NNS URLs: ["http://localhost:35731/"]
submit_proposal for Add root SNS canister wasm to SNS-WASM response: Ok(proposal 3)
Submitting WASM for governance
Using NNS URLs: ["http://localhost:35731/"]
submit_proposal for Add governance SNS canister wasm to SNS-WASM response: Ok(proposal 4)
Submitting WASM for swap
Using NNS URLs: ["http://localhost:35731/"]
submit_proposal for Add swap SNS canister wasm to SNS-WASM response: Ok(proposal 5)
Submitting WASM for ledger
Using NNS URLs: ["http://localhost:35731/"]
submit_proposal for Add ledger SNS canister wasm to SNS-WASM response: Ok(proposal 6)
Submitting WASM for index
Using NNS URLs: ["http://localhost:35731/"]
submit_proposal for Add index SNS canister wasm to SNS-WASM response: Ok(proposal 7)
Submitting WASM for archive
Using NNS URLs: ["http://localhost:35731/"]
submit_proposal for Add archive SNS canister wasm to SNS-WASM response: Ok(proposal 8)

Could you please share more details?

letmejustputthishere commented 5 months ago

i just ran the steps again but cannot reproduce the issue, maybe it was just a temporary problem. will close this until it appears again and i can provide more details