Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4108

Investigate intermittent failures of ClientSideEncryptionCorpusTest.testCorpus (useLocalSchema = true)

    XMLWordPrintable

Details

    • Task
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Test Failure
    • Fully Compatible
    • Not Needed

    Description

      After mergingĀ JAVA-3927, the test com.mongodb.reactivestreams.client.ClientSideEncryptionCorpusTest.testCorpus (useLocalSchema = true, not sure about false) started to fail sporadically (this link is not to the build caused by JAVA-3927, that one with failure is not available anymore; it should have been here, but I restarted it and now its gone):

      FAILURE: com.mongodb.MongoClientException: Exception in encryption library: null (com.mongodb.MongoClientException)
      com.mongodb.MongoClientException: Exception in encryption library: null
      	at com.mongodb.reactivestreams.client.internal.crypt.Crypt.wrapInClientException(Crypt.java:303)
      	at com.mongodb.reactivestreams.client.internal.crypt.Crypt.lambda$decryptKeys$18(Crypt.java:292)
      	at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onError(FluxPeekFuseable.java:219)
      	at reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onError(MonoPeekTerminal.java:272)
      	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:100)
      	at reactor.core.publisher.Operators.error(Operators.java:184)
      	at reactor.core.publisher.MonoError.subscribe(MonoError.java:52)
      	at reactor.core.publisher.Mono.subscribe(Mono.java:3873)
      	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:97)
      	at reactor.core.publisher.MonoCreate$DefaultMonoSink.error(MonoCreate.java:185)
      	at com.mongodb.reactivestreams.client.internal.crypt.KeyManagementService$3.failed(KeyManagementService.java:123)
      	at com.mongodb.reactivestreams.client.internal.crypt.KeyManagementService$3.failed(KeyManagementService.java:105)
      	at com.mongodb.internal.connection.tlschannel.async.AsynchronousTlsChannel.lambda$read$6(AsynchronousTlsChannel.java:123)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.nio.channels.InterruptedByTimeoutException
      	at com.mongodb.internal.connection.tlschannel.async.AsynchronousTlsChannelGroup.lambda$startRead$2(AsynchronousTlsChannelGroup.java:313)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	... 3 more
      

      The complete log is attached as log.txt.

      Attachments

        1. log.txt
          147 kB

        Activity

          People

            Unassigned Unassigned
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: