Closed cammellos closed 2 years ago
When I try to run the command locally I get:
ERROR[11-15|16:17:22.931] could not retrieve message error="record not found"
WARN [11-15|16:17:22.931] message not retrieved
I'm also seeing some weird failures when trying to build a Docker image:
vendor/github.com/benbjohnson/clock/clock.go:323:11: t.ticker.Reset undefined (type *time.Ticker has no field or method Reset)
Looks like our dependency on github.com/benbjohnson/clock
version 1.1.0
forces us to use Go compiler 1.15
or newer:
func (t *Ticker) Reset(dur time.Duration) {
if t.ticker != nil {
t.ticker.Reset(dur)
}
}
Otherwise the time.Ticker
object lacks the Reset
option: https://pkg.go.dev/time#Ticker.Reset
https://cs.opensource.google/go/go/+/refs/tags/go1.15:src/time/tick.go;l=51 https://cs.opensource.google/go/go/+/refs/tags/go1.14.9:src/time/tick.go
Maybe it's time to bump the version required in go.mod
:
https://github.com/status-im/status-go/blob/15853c5a9a953e2f87857181aad64d82ba532a28/go.mod#L3
Here's the Ansible role and configuration: https://github.com/status-im/infra-eth-cluster/commit/3ec1d3eb
admin@node-01.do-ams3.eth.test:/docker/ping-community % docker-compose ps
Name Command State Ports
-------------------------------------------------------------------------------------------------------------
ping-community /usr/local/bin/ping-commun ... Up 30303/tcp, 30303/udp, 30304/udp, 8080/tcp, 8545/
I think this works fine so I'm closing this.
We need an host for running the community reliability script.
The branch we will be running is https://github.com/status-im/status-go/pull/2417 ( we'll merge in develop before deploying).
The command is:
The host does not need frequent updates, and need to be always online.