Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7206

TestZooKeeperStateProvider not reliable on slow build systems

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0, 1.11.4
    • None
    • None

    Description

      [ERROR] Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.121 s <<< FAILURE! - in org.apache.nifi.controller.state.providers.zookeeper.TestZooKeeperStateProvider
      [ERROR] testReplaceWithNonExistingValue(org.apache.nifi.controller.state.providers.zookeeper.TestZooKeeperStateProvider) Time elapsed: 4.26 s <<< ERROR!
      java.io.IOException: Failed to obtain value from ZooKeeper for component with ID 111111111-1111-1111-1111-111111111111 with exception code CONNECTIONLOSS
      Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /nifi/team1/testing/components/111111111-1111-1111-1111-111111111111

      [ERROR] Errors:
      [ERROR] TestZooKeeperStateProvider>AbstractTestStateProvider.testReplaceWithNonExistingValue:154 ยป IO
      [ERROR] Tests run: 500, Failures: 0, Errors: 1, Skipped: 11
      [WARNING] /home/runner/work/nifi/nifi/nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/nifi-hadoop-record-utils/src/main/java/org/apache/nifi/processors/hadoop/AbstractPutHDFSRecord.java:[326,31] [deprecation] closeQuietly(Closeable) in IOUtils has been deprecated
      [WARNING] /home/runner/work/nifi/nifi/nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/nifi-hadoop-record-utils/src/main/java/org/apache/nifi/processors/hadoop/AbstractPutHDFSRecord.java:[327,31] [deprecation] closeQuietly(Closeable) in IOUtils has been deprecated
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project nifi-framework-core: There are test failures.

      Attachments

        Activity

          People

            joewitt Joe Witt
            joewitt Joe Witt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: