Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2994

KuduTestHarness fails to start with NTP error when using kudu-binary 1.11.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.11.0, 1.12.0
    • Fix Version/s: 1.12.0, 1.11.1
    • Component/s: test
    • Labels:
      None

      Description

      I tried using Kudu binary jars today (version 1.11.0) and I get the following exception, when trying to initialize the harness:

      java.io.IOException: failed to start NTP server 0: Unable to canonicalize /var/folders/kz/3479cpp131b6w8gp2fjpz0fw0000gp/T/kudu-binary-jar5655318054000350912/kudu-binary-1.11.0-osx-x86_64/bin/chronyd: No such file or directory
          at org.apache.kudu.test.cluster.MiniKuduCluster.sendRequestToCluster(MiniKuduCluster.java:169)
          at org.apache.kudu.test.cluster.MiniKuduCluster.start(MiniKuduCluster.java:234)
          at org.apache.kudu.test.cluster.MiniKuduCluster.access$300(MiniKuduCluster.java:71)
          at org.apache.kudu.test.cluster.MiniKuduCluster$MiniKuduClusterBuilder.build(MiniKuduCluster.java:658)
          at org.apache.kudu.test.KuduTestHarness.before(KuduTestHarness.java:140)
          at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
          at org.apache.kudu.test.junit.RetryRule$RetryStatement.doOneAttempt(RetryRule.java:215)
          at org.apache.kudu.test.junit.RetryRule$RetryStatement.evaluate(RetryRule.java:232)
          at org.junit.rules.RunRules.evaluate(RunRules.java:20)
          at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
          at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
          at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89)
          at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)
      
      

      the same test works with kudu-binary 1.10.0

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              grishick Greg Solovyev
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: