zrepl: flaky platform tests on fast systems / systems without other pool + panic in ReceiveForceIntoEncryptedErr

Summary

What should be done about platform test failures? I received the following test failures on Arch Linux:

FAILED TESTS:
  github.com/zrepl/zrepl/platformtest/tests.ReplicationIncrementalCleansUpStaleAbstractionsWithCacheOnSecondReplication
  github.com/zrepl/zrepl/platformtest/tests.ReplicationIncrementalCleansUpStaleAbstractionsWithoutCacheOnSecondReplication
  github.com/zrepl/zrepl/platformtest/tests.ReplicationIncrementalDestroysStepHoldsIffIncrementalStepHoldsAreDisabledButStepHoldsExist
  github.com/zrepl/zrepl/platformtest/tests.ReplicationStepCompletedLostBehavior__GuaranteeIncrementalReplication
  github.com/zrepl/zrepl/platformtest/tests.ReplicationStepCompletedLostBehavior__GuaranteeResumability

How can I help to debug these?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (15 by maintainers)

Commits related to this issue

Most upvoted comments

Please invoke the tests directly using the artifacts/platformtest-linux-amd64 binary instead of the test-platform makefile target. The Makefile adds an intermediary mock zfs command to the mix.

So only the tests were affected? If the problame/develop tests pass, I should assume the Arch Linux platform is good?

Yes, and it wasn’t specific to Arch.

I’ll have a detailed look tomorrow. But just to make sure: the 0.3.0 zrepl daemon is not crashing, it’s just the platform tests, right?