Flaky tests
Opened this issue · 0 comments
EtienneM commented
/!\ Specs probably need the .env.test file
Start etcd v3.3.18
2023-10-24 14:15:18.182168 I | etcdmain: etcd Version: 3.3.18
2023-10-24 14:15:18.182229 I | etcdmain: Git SHA: 3c8740a79
2023-10-24 14:15:18.182242 I | etcdmain: Go Version: go1.12.9
2023-10-24 14:15:18.182259 I | etcdmain: Go OS/Arch: linux/amd64
2023-10-24 14:15:18.182268 I | etcdmain: setting maximum number of CPUs to 32, total number of available CPUs is 32
2023-10-24 14:15:18.182282 W | etcdmain: no data-dir provided, using default data-dir ./default.etcd
2023-10-24 14:15:18.182649 I | embed: listening for peers on http://localhost:2380
2023-10-24 14:15:18.182766 I | embed: listening for client requests on localhost:2379
2023-10-24 14:15:18.183200 I | etcdserver: name = default
2023-10-24 14:15:18.183213 I | etcdserver: data dir = default.etcd
2023-10-24 14:15:18.183235 I | etcdserver: member dir = default.etcd/member
2023-10-24 14:15:18.183251 I | etcdserver: heartbeat = 100ms
2023-10-24 14:15:18.183259 I | etcdserver: election = 1000ms
2023-10-24 14:15:18.183266 I | etcdserver: snapshot count = 100000
2023-10-24 14:15:18.183289 I | etcdserver: advertise client URLs = http://localhost:2379
2023-10-24 14:15:18.183312 I | etcdserver: initial advertise peer URLs = http://localhost:2380
2023-10-24 14:15:18.183331 I | etcdserver: initial cluster = default=http://localhost:2380
2023-10-24 14:15:18.214600 I | etcdserver: starting member 8e9e05c52164694d in cluster cdf818194e3a8c32
2023-10-24 14:15:18.214642 I | raft: 8e9e05c52164694d became follower at term 0
2023-10-24 14:15:18.214661 I | raft: newRaft 8e9e05c52164694d [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
2023-10-24 14:15:18.214672 I | raft: 8e9e05c52164694d became follower at term 1
2023-10-24 14:15:18.217133 W | auth: simple token is not cryptographically signed
2023-10-24 14:15:18.217500 I | etcdserver: starting server... [version: 3.3.18, cluster version: to_be_decided]
2023-10-24 14:15:18.218337 I | etcdserver: 8e9e05c52164694d as single-node; fast-forwarding 9 ticks (election ticks 10)
2023-10-24 14:15:18.219170 I | etcdserver/membership: added member 8e9e05c52164694d [http://localhost:2380] to cluster cdf818194e3a8c32
2023-10-24 14:15:18.614974 I | raft: 8e9e05c52164694d is starting a new election at term 1
2023-10-24 14:15:18.615012 I | raft: 8e9e05c52164694d became candidate at term 2
2023-10-24 14:15:18.615033 I | raft: 8e9e05c52164694d received MsgVoteResp from 8e9e05c52164694d at term 2
2023-10-24 14:15:18.615052 I | raft: 8e9e05c52164694d became leader at term 2
2023-10-24 14:15:18.615065 I | raft: raft.node: 8e9e05c52164694d elected leader 8e9e05c52164694d at term 2
2023-10-24 14:15:18.615413 I | etcdserver: published {Name:default ClientURLs:[http://localhost:2379]} to cluster cdf818194e3a8c32
2023-10-24 14:15:18.615441 I | embed: ready to serve client requests
2023-10-24 14:15:18.615559 I | etcdserver: setting up the initial cluster version to 3.3
2023-10-24 14:15:18.615603 E | etcdmain: forgot to set Type=notify in systemd service file?
2023-10-24 14:15:18.615718 N | etcdserver/membership: set the initial cluster version to 3.3
2023-10-24 14:15:18.615807 I | etcdserver/api: enabled capabilities for version 3.3
2023-10-24 14:15:18.616276 N | embed: serving insecure client requests on 127.0.0.1:2379, this is strongly discouraged!
? github.com/Scalingo/etcd-discovery/v7/service/servicemock [no test files]
..
2 total assertions
.....
7 total assertions
...............
22 total assertions
...........
33 total assertions
....
37 total assertions
LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlDWEFJQkFBS0JnUURQRENiWTNHanVhbXYwN2xKeDRPR1V6WjUyWHVlVlppVkFyazU4QnlCZDlKNTJUOXJaClFaSGFuSC8vOXROcWROOVZ2eVkwcFhqQUNiV1hZSVFUZEJVcVRUNCt6a24vSURQRUhXRE9idGV5eG1KOENoVVUKUVV1QXoyQ1lETjhpRnMwUUhrbm5zRHhyclNZZUJLM0JtWGFzQ2FBdnU0WXpRbkhVMHBaT1VkVXB1UUlEQVFBQgpBb0dCQUpzSW5Wb0xDS05sbXJySGJZS0tBai83QzJuVlBKRlk4QklUc3Y4YUV2bG5mdlJXYlNmNitpejR2THU4ClphZzBKVHMrcTJ3R2IzbFVpOTN5emxNR3ZBVWJiWUQ2NkFGajFDVW1JVUc3K2gwZ08rMElwVm5QWGpDQlJFVlUKaDVNd3I4dlNtUHRBd2xNZlBlNnU4M2Zwa0g0WWs2NGxaNXhPckxrN1FoNFd0cTZCQWtFQTBNMFAxQk5LeUxpUAp4RldzTmxTcTlITEpzVlZwaHg1RjllWUNVT2FkUWZKanRvN2hqWDFEZnZndnVyNDdZUElTTGlpVWtpWklmNVR5CnpnQkh0SDlOa1FKQkFQM1puV2NhTVl5TnFVNGlHb1VJRFJUNGl2Wnl0UjdUK2t1a2hqSFh6NzlVZ0lVbURsL1EKMlBOOXRlR01YdkJQcnpRb1paczV3TWFLV3RwVUxHUEZKYWtDUUh2azRYcCtSQWFiOUxxVDkwNTVxTUxKaGNJUwpvejVJaVV5aVFVZU52MHdOTG50NWhuNTFFR0s3azE2a1dBbHJPYnhuMmRocW5PUVBGbytEZlFpdDdQRUNRSGt0CnllTHU4UnBNZ2JiSHR1c3NkYm8rRDNBb1ArZndmenBlMXFTeWhmeXE1Uk1xb0pBQ3paNG1zNDF4Q2QwajNOcEUKTW9UUUpBTmpCbzNVd3IvNTI4a0NRQlFIb3FsQlk3ZEZ2ZDZPdzdaOHRVdkZxR0ZGUGFUcVJCSVovMEdNVzlucAo3OGRXRm4xKzMxZ1ZEb2sxeUhUSm95M29adjBPUkxsUS9pU1gzUHpFZlNnPQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=
...
40 total assertions
....
44 total assertions
..
46 total assertions
..
48 total assertions
...........
59 total assertions
.........x
Failures:
* /home/rof/src/github.com/Scalingo/etcd-discovery/service/register_test.go
Line 138:
Expected: "host2"
Actual: "host1"
(Should equal)!
Diff: '"host21"'
69 total assertions
--- FAIL: TestWatcher (1.01s)
.
70 total assertions
.
71 total assertions
..
73 total assertions
.
74 total assertions
..
76 total assertions
...
79 total assertions
...
82 total assertions
...
85 total assertions
...
88 total assertions
....
92 total assertions
....
96 total assertions
....
100 total assertions
....
104 total assertions
..........
114 total assertions
..........
124 total assertions
..
126 total assertions
..
128 total assertions
FAIL
FAIL github.com/Scalingo/etcd-discovery/v7/service 3.879s
FAIL
--------------------------------------------------------------------------------
Build Failure: Shell exited.
--------------------------------------------------------------------------------