Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3195

Transient test failure in OffsetCheckpointTest.testReadWrite

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0.0
    • 0.10.0.0
    • streams
    • None

    Description

      It looks like its probably an issue with parallel tests trying to access the same fixed path, where one test deletes the file. Saw this on 86a9036a7b03c8ae07d014c25a5eedc315544139.

      org.apache.kafka.streams.state.internals.OffsetCheckpointTest > testReadWrite FAILED
      java.io.FileNotFoundException: /tmp/kafka-streams/offset_checkpoint.test.tmp (No such file or directory)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
      at org.apache.kafka.streams.state.internals.OffsetCheckpoint.write(OffsetCheckpoint.java:68)
      at org.apache.kafka.streams.state.internals.OffsetCheckpointTest.testReadWrite(OffsetCheckpointTest.java:48)

      Attachments

        Activity

          People

            ijuma Ismael Juma
            ewencp Ewen Cheslack-Postava
            Guozhang Wang Guozhang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: