hiroshi
hiroshi — tmux — tmux — tmux — 141×61
2021-09-19 13:04:44 UTC
→ mongodb_exporter git:(update-gopsutil-for-apple-silicon) make test-cluster docker-compose up -d Creating network "mongodb_exporter_default" with the default driver Creating mongo-1-3 Creating mongo-cnf-2 Creating mongo-2-2 Creating mongo-2-3 Creating standalone Creating mongo-1-2 Creating mongo-cnf-3 Creating mongo-1-1 Creating mongo-cnf-1 done Creating mongo-2-1 Creating mongo-cnf-setup ... Creating mongo-rs1-setup Creating mongo-rs2-setup → ... ... PASS ok done done done done done done done RUN ... done Creating mongos Creating mongo-shard-setup done done done mongodb_exporter git:(update-gopsutil-for-apple-silicon) make test go test -v -timeout 30s ./... RUN TestBuildExporter done done done time="2021-09-19T21:27:28+09:00" level-debug msg="Compatible mode: true" time="2021-09-19T21:27:28+09:00" level-debug msg="Connection URI: mongodb://usr:pwd@127.0.0.1/" PASS: TestBuildExporter (0.00s) github.com/percona/mongodb_exporter (cached) TestCollStatsCollector collstats_collector_test.go:51: Error Trace: collstats_collector_test.go:51 Error: Received unexpected error: (NotWritablePrimary) not master TestCollStatsCollector Test: collstats_collector_test.go:51: Error Trace: Error: collstats_collector_test.go:51 Received unexpected error: (NotWritablePrimary) not master TestCollStatsCollector Test: collstats_collector_test.go:51: Error Trace: Error: collstats_collector_test.go:51 Received unexpected error: (NotWritablePrimary) not master TestCollStatsCollector Test: time="2021-09-19T22:00:21+09:00" level-error msg="cannot get $collstats cursor for collection testdb.testcol_00: (Location40280) Unable to re trieve storageStats in $collStats stage: Database [testdb] not found." time="2021-09-19T22:00:21+09:00" level-error msg="cannot get $collstats cursor for collection testdb.testcol_01: (Location40280) Unable to re trieve storageStats in $collStats stage: Database [testdb] not found." time="2021-09-19T22:00:21+09:00" level-error msg="cannot get $collstats cursor for collection testdb.testcol_02: (Location40280) Unable to re trieve storageStats in $collStats stage: Database [testdb] not found." time="2021-09-19T22:00:21+09:00" level-error msg="cannot get $collstats cursor for collection testdb.testcol_00: (Location40280) Unable to re trieve storageStats in $collStats stage: Database [testdb] not found." time="2021-09-19T22:00:21+09:00" level-error msg="cannot get $collstats cursor for collection testdb.testcol_01: (Location40280) Unable to re trieve storageStats in $collStats stage: Database [testdb] not found." time="2021-09-19T22:00:21+09:00" level-error msg="cannot get $collstats cursor for collection testdb.testcol_02: (Location40280) Unable to re trieve storageStats in $collStats stage: Database [testdb] not found." collstats_collector_test.go:86: Error Trace: collstats_collector_test.go:86 Error: Received unexpected error: