Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-8821

DebeziumServerPostgresIT randomly fails

XMLWordPrintable

      Error:  Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.72 s <<< FAILURE! -- in io.debezium.server.DebeziumServerPostgresIT
      Error:  io.debezium.server.DebeziumServerPostgresIT.shouldSnapshot -- Time elapsed: 0.772 s <<< FAILURE!
      org.opentest4j.AssertionFailedError: 
      
      expected: 4
       but was: 1
      	at io.debezium.server.DebeziumServerPostgresIT.shouldSnapshot(DebeziumServerPostgresIT.java:66)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:973)
      	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:823)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
      
      2025-03-18 03:57:59,860 INFO  [io.deb.ser.DebeziumServer] (main) Received request to stop the engine
      Mar 18, 2025 3:58:00 AM io.quarkus.bootstrap.runner.Timing printStopTime
      INFO: debezium-system-tests stopped in 0.163s
      2025-03-18 03:57:59,860 INFO  [io.deb.emb.asy.AsyncEmbeddedEngine] (main) Engine state has changed from 'POLLING_TASKS' to 'STOPPING'
      2025-03-18 03:57:59,861 INFO  [io.deb.emb.asy.AsyncEmbeddedEngine] (pool-10-thread-1) Task interrupted while polling.
      2025-03-18 03:57:59,863 WARN  [io.deb.emb.asy.AsyncEmbeddedEngine] (pool-11-thread-1) Flush of the offsets failed, canceling the flush.: java.util.concurrent.ExecutionException: org.apache.kafka.connect.errors.ConnectException: java.nio.file.NoSuchFileException: /home/runner/work/debezium/debezium/server/debezium-system-tests/target/data/file-connector-offsets.txt
      	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
      	at io.debezium.embedded.async.AsyncEmbeddedEngine.commitOffsets(AsyncEmbeddedEngine.java:822)
      	at io.debezium.embedded.async.AsyncEmbeddedEngine.lambda$stopSourceTasks$3(AsyncEmbeddedEngine.java:608)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
      	at java.base/java.lang.Thread.run(Thread.java:1583)
      Caused by: org.apache.kafka.connect.errors.ConnectException: java.nio.file.NoSuchFileException: /home/runner/work/debezium/debezium/server/debezium-system-tests/target/data/file-connector-offsets.txt
      	at org.apache.kafka.connect.storage.FileOffsetBackingStore.save(FileOffsetBackingStore.java:109)
      	at org.apache.kafka.connect.storage.MemoryOffsetBackingStore.lambda$set$1(MemoryOffsetBackingStore.java:81)
      	... 4 more
      Caused by: java.nio.file.NoSuchFileException: /home/runner/work/debezium/debezium/server/debezium-system-tests/target/data/file-connector-offsets.txt
      	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
      	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
      	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
      	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:261)
      	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:482)
      	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
      	at org.apache.kafka.connect.storage.FileOffsetBackingStore.save(FileOffsetBackingStore.java:99)
      	... 5 more
      

              ccranfor@redhat.com Chris Cranford
              ccranfor@redhat.com Chris Cranford
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: