Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make tick.epoch fails with file not found #223

Open
cthulhu-rider opened this issue Sep 30, 2022 · 3 comments
Open

make tick.epoch fails with file not found #223

cthulhu-rider opened this issue Sep 30, 2022 · 3 comments
Labels
bug Something isn't working I4 No visible changes S4 Routine U4 Nothing urgent

Comments

@cthulhu-rider
Copy link
Contributor

cthulhu-rider commented Sep 30, 2022

I tried to start Dev Env from scratch and met a problem with epoch ticks:

$ make tick.epoch
Updating NeoFS epoch to 1
open wallets/node-wallet.json: no such file or directory
send: spawn id exp4 not open
    while executing
"send -- "$passwd\r""
    invoked from within
"if { $passwd == "-"} {
	send -- "\r"
} else {
	send -- "$passwd\r"
}"
    (file "./bin/passwd.exp" line 9)
make: *** [neofs_config.mk:48: tick.epoch] Error 1

Seems like the problem is in WALLET_IMG setting, if I hardcode it in script everything works fine.

  • version: 8b0291d008cec11a86d9c19a3d508a8888a728d7
@cthulhu-rider cthulhu-rider added bug Something isn't working triage labels Sep 30, 2022
@cthulhu-rider cthulhu-rider changed the title make tick.epoc fails with file not found make tick.epoch fails with file not found Sep 30, 2022
@alexvanin
Copy link
Contributor

Couldn't reproduce on 8b0291d. I removed all docker images and volumes with docker system prune -af and redownload repo. Ubuntu 22.04.1 LTS.

$ git clone [email protected]:nspcc-dev/neofs-dev-env.git
Cloning into 'neofs-dev-env'...
remote: Enumerating objects: 1497, done.
remote: Counting objects: 100% (591/591), done.
remote: Compressing objects: 100% (244/244), done.
remote: Total 1497 (delta 397), reused 407 (delta 345), pack-reused 906
Receiving objects: 100% (1497/1497), 226.91 KiB | 922.00 KiB/s, done.
Resolving deltas: 100% (1017/1017), done.

$ cd neofs-dev-env/

$ make up
⇒ Download blockchain dump from https://github.com/nspcc-dev/neofs-contract/releases/download/v0.15.5/devenv_mainchain_notary_disabled.gz
⇒ Download NeoFS LOCODE database from https://github.com/nspcc-dev/neofs-locode-db/releases/download/v0.2.1/locode_db.gz
⇒ Download NeoFS CLI binary from https://github.com/nspcc-dev/neofs-node/releases/download/v0.32.0/neofs-cli-amd64.tar.gz
⇒ Download compiled NeoFS contracts from https://github.com/nspcc-dev/neofs-contract/releases/download/v0.15.5/neofs-contract-v0.15.5.tar.gz
⇒ Download NeoFS ADM binary from https://github.com/nspcc-dev/neofs-node/releases/download/v0.32.0/neofs-adm-amd64.tar.gz
⇒ Creating certs for NATS server and clients
⇒ Creating tls certs to NeoFS node
-----
...

Basic NeoFS Developer Environment is ready
...
Full NeoFS Developer Environment is ready

$ make tick.epoch 
Updating NeoFS epoch to 3
Enter account NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP password > 
Network fee: 0.0118458
System fee: 1.6787539
Total fee: 1.6905997
Relay transaction (y|N)> y
Sent invocation transaction 19bbcf3029163a3c0602c0a85148f7dae4230e391dc7c48a46bc99d76b8c12e2

@cthulhu-rider
Copy link
Contributor Author

@alexvanin I've encountered this problem on "pure" system only: previously I didn't have one. My OS version is similar. For now I don't have any ideas.

@cthulhu-rider
Copy link
Contributor Author

The problem was reproduced again after make clean. OS restart solved it.

@roman-khimov roman-khimov added U4 Nothing urgent S4 Routine I4 No visible changes and removed triage labels Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working I4 No visible changes S4 Routine U4 Nothing urgent
Projects
None yet
Development

No branches or pull requests

3 participants