Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6699

WatchService exception when proxy stops

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: proxy, test-impact
    • Labels:

      Description

      Found with rev (b791ab327d1)

      In our tests with proxy in production mode, we install a proxy in front of 2 replicated DS servers.
      Then we perform some checks trying to access some resources with ldapsearch.
      At the end of this test suite, we start the teardown by stopping the proxy server and at that point, we had an issue in the master pipeline:

      --- Check for error patterns in "/home/jenkins/workspace/OpenDJ-build_master-CPMER56E632EMKNXZEURRUYWFHY72MGZDGZHN7BYLM5SGO6GS6PA/results/20191006-165237/proxy_group/ProductionMode/PROXY1/opendj/logs/errors" file ---	
      20:03:53.298	WARN	(ERROR) [06/Oct/2019:18:03:52 +0000] category=CORE severity=WARNING msgID=768 msg=Scheduled discovery 'Replication Service Discovery Mechanism' failed : null at ClosedWatchServiceException (AbstractWatchService.java:80 AbstractWatchService.java:97 FileBasedKeyManagerProvider.java:428 FileBasedKeyManagerProvider.java:144 FileBasedKeyManagerProvider.java:130 SslUtils.java:238 SslUtils.java:222 Collection.java:414 SslUtils.java:222 SslUtils.java:141 SslUtils.java:98 ReplicationServiceDiscoveryMechanism.java:613 ReplicationServiceDiscoveryMechanism.java:406 ReplicationServiceDiscoveryMechanism.java:337 PeriodicServiceDiscoveryMechanism.java:87 CronExecutorService.java:267 Executors.java:511 FutureTask.java:266 ThreadPoolExecutor.java:1149 ThreadPoolExecutor.java:624 Thread.java:748)
      

      This issue does not seem to be reproducible.

      The suite where it happens can be run using:

      ./run-pybot.py -s proxy_group.ProductionMode opendj
      

        Attachments

          Activity

            People

            • Assignee:
              matthew Matthew Swift
              Reporter:
              cforel carole forel
              Dev Assignee:
              Matthew Swift
              QA Assignee:
              carole forel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: