dotmesh-io / dotmesh

dotmesh (dm) is like git for your data volumes (databases, files etc) in Docker and Kubernetes
https://dotmesh.com
Apache License 2.0
539 stars 29 forks source link

Test flake: TestTwoSingleNodeClusters/ResetAfterPushThenPushMySQL on uncommitted changes #282

Open alaric-dotmesh opened 6 years ago

alaric-dotmesh commented 6 years ago

http://gitlab.dotmesh.io:9999/dotmesh/dotmesh-sync/-/jobs/18291 shows:

    --- FAIL: TestTwoSingleNodeClusters/ResetAfterPushThenPushMySQL (15.94s)
        testtools.go:456: exit status 1 while running dm push cluster_0 on cluster-1518726600864652160-1-node-0: Pushing admin/volume_6 to cluster_0:admin/volume_6
            Response '{"jsonrpc":"2.0","error":{"code":-32000,"message":"Aborting because there are 0.02 MiB of uncommitted changes on volume where data would be written. Use 'dm reset' to roll back.","data":null},"id":5577006791947779410}
            ' yields error Aborting because there are 0.02 MiB of uncommitted changes on volume where data would be written. Use 'dm reset' to roll back.

        acceptance_test.go:1020: 'node2 commit' didn't make it over to node1 after reset-and-push

This happens often, but usually goes away if just retried; it's a flakey test, but it indicates an underlying bug that our detection of dirty state is unreliable, which will annoy users sometimes when they can't push/pull.

alaric-dotmesh commented 6 years ago

Part of epic https://github.com/dotmesh-io/dotmesh/issues/296