Closed MarvinJanssen closed 3 years ago
Are there any logs from the bootstrap container or docker itself? I'm not able to test this myself on M1, but it seems that chipset is expecting something different than x86
This is all I get:
Creating network "mocknet" with driver "bridge"
Creating mocknet_bootstrap ... done
Creating mocknet_postgres ... done
Creating mocknet_stacks-node-miner ... done
Creating mocknet_stacks-node-api ... done
Creating mocknet_stacks-node-follower ... done
Attaching to mocknet_bootstrap, mocknet_stacks-node-miner, mocknet_postgres, mocknet_stacks-node-api, mocknet_stacks-node-follower
bootstrap_1 | setup.sh: applet not found
postgres_1 | The files belonging to this database system will be owned by user "postgres".
postgres_1 | This user must also own the server process.
postgres_1 |
postgres_1 | The database cluster will be initialized with locale "en_US.utf8".
postgres_1 | The default database encoding has accordingly been set to "UTF8".
postgres_1 | The default text search configuration will be set to "english".
postgres_1 |
postgres_1 | Data page checksums are disabled.
postgres_1 |
postgres_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres_1 | creating subdirectories ... ok
postgres_1 | selecting dynamic shared memory implementation ... posix
mocknet_stacks-node-follower | INFO [1617070565.949530] [testnet/stacks-node/src/main.rs:80] [main] stacks-node 796c199 (feat/mock-miner:796c199, release build, linux [x86_64])
mocknet_stacks-node-follower | INFO [1617070565.950922] [testnet/stacks-node/src/main.rs:125] [main] Loading config at path /src/stacks-node/Config.toml
mocknet_stacks-node-miner | INFO [1617070561.690359] [testnet/stacks-node/src/main.rs:80] [main] stacks-node 796c199 (feat/mock-miner:796c199, release build, linux [x86_64])
postgres_1 | selecting default max_connections ... 100
postgres_1 | selecting default shared_buffers ... 128MB
mocknet_stacks-node-follower | Process abort due to thread panic
mocknet_stacks-node-miner | INFO [1617070561.711060] [testnet/stacks-node/src/main.rs:125] [main] Loading config at path /src/stacks-node/Config.toml
mocknet_stacks-node-follower | 0: <unknown>
postgres_1 | selecting default time zone ... UTC
mocknet_stacks-node-miner | Process abort due to thread panic
postgres_1 | creating configuration files ... ok
postgres_1 | running bootstrap script ... ok
mocknet_stacks-node-follower | 1: <unknown>
mocknet_stacks-node-follower | 2: <unknown>
mocknet_stacks-node-follower | 3: <unknown>
mocknet_stacks-node-follower | 4: <unknown>
mocknet_stacks-node-follower | 5: <unknown>
mocknet_stacks-node-follower | 6: <unknown>
mocknet_stacks-node-follower | 7: <unknown>
mocknet_stacks-node-follower | 8: <unknown>
mocknet_stacks-node-follower | 9: <unknown>
mocknet_stacks-node-follower | 10: <unknown>
mocknet_stacks-node-follower | 11: <unknown>
mocknet_stacks-node-follower | 12: <unknown>
postgres_1 | performing post-bootstrap initialization ... sh: locale: not found
mocknet_stacks-node-follower |
mocknet_stacks-node-follower | Dumping core for pid 1
mocknet_stacks-node-miner | 0: <unknown>
postgres_1 | 2021-03-30 02:16:03.433 UTC [30] WARNING: no usable system locales were found
mocknet_stacks-node-follower | qemu: uncaught target signal 3 (Quit) - core dumped
mocknet_stacks-node-miner | 1: <unknown>
mocknet_stacks-node-miner | 2: <unknown>
mocknet_stacks-node-miner | 3: <unknown>
mocknet_stacks-node-miner | 4: <unknown>
mocknet_stacks-node-miner | 5: <unknown>
mocknet_stacks-node-miner | 6: <unknown>
mocknet_stacks-node-miner | 7: <unknown>
mocknet_stacks-node-miner | 8: <unknown>
mocknet_stacks-node-miner | 9: <unknown>
mocknet_stacks-node-miner | 10: <unknown>
mocknet_stacks-node-miner | 11: <unknown>
mocknet_stacks-node-miner | 12: <unknown>
mocknet_stacks-node-miner |
mocknet_stacks-node-miner | Dumping core for pid 1
mocknet_stacks-node-miner | qemu: uncaught target signal 3 (Quit) - core dumped
postgres_1 | ok
postgres_1 | syncing data to disk ... ok
postgres_1 |
postgres_1 |
postgres_1 | Success. You can now start the database server using:
postgres_1 |
postgres_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres_1 |
postgres_1 | initdb: warning: enabling "trust" authentication for local connections
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | waiting for server to start....2021-03-30 02:16:05.866 UTC [35] LOG: starting PostgreSQL 13.2 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 10.2.1_pre1) 10.2.1 20201203, 64-bit
postgres_1 | 2021-03-30 02:16:05.938 UTC [35] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
mocknet_bootstrap exited with code 127
Trying this on macOS Big Sur on an Apple M1.
Observe this error:
From which the miner and follower panic:
It is not immediately apparent to me why this is happening.