You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/01/25 03:35:37 UTC

[GitHub] [pulsar] zymap commented on pull request #9300: [Pulsar SQL] Fix OffloadPolicies json serialization error in Pulsar SQL

zymap commented on pull request #9300:
URL: https://github.com/apache/pulsar/pull/9300#issuecomment-766518015


   ```
   01:19:21.875 [main:org.apache.pulsar.tests.integration.topologies.PulsarCluster@438] INFO  org.apache.pulsar.tests.integration.topologies.PulsarCluster - [startPrestoWorker] set offload env offloadDriver: s3, offloadProperties: {"s3ManagedLedgerOffloadBucket":"pulsar-integtest","s3ManagedLedgerOffloadServiceEndpoint":"http://s3:9090"}
   ------- Starting test [TestClass name=class org.apache.pulsar.tests.integration.presto.TestPrestoQueryTieredStorage].testQueryTieredStorage1([])-------
   ~~~~~~~~~ SKIPPED -- [TestClass name=class org.apache.pulsar.tests.integration.presto.TestPrestoQueryTieredStorage].testQueryTieredStorage1([])-------------- Starting test [TestClass name=class org.apache.pulsar.tests.integration.presto.TestPrestoQueryTieredStorage].testQueryTieredStorage2([])-------
   Error: ~~ SKIPPED -- [TestClass name=class org.apache.pulsar.tests.integration.presto.TestPrestoQueryTieredStorage].testQueryTieredStorage2([])-------[ERROR] Tests run: 9, Failures: 2, Errors: 0, Skipped: 5, Time elapsed: 192.13 s <<< FAILURE! - in TestSuite
   Error:  pulsar-test-suite(org.apache.pulsar.tests.integration.presto.TestBasicPresto)  Time elapsed: 19.202 s  <<< FAILURE!
   java.lang.NullPointerException
   	at org.apache.pulsar.tests.integration.topologies.PulsarCluster.stopPrestoWorker(PulsarCluster.java:405)
   	at org.apache.pulsar.tests.integration.presto.TestBasicPresto.teardownPresto(TestBasicPresto.java:69)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
   	at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
   	at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
   	at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
   	at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:217)
   	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:130)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.testng.TestRunner.privateRun(TestRunner.java:764)
   	at org.testng.TestRunner.run(TestRunner.java:585)
   	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
   	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
   	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
   	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
   	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
   	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
   	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
   	at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
   	at org.testng.TestNG.runSuites(TestNG.java:1069)
   	at org.testng.TestNG.run(TestNG.java:1037)
   	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
   	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
   	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
   	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
   	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
   	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
   	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
   
   Error:  pulsar-test-suite(org.apache.pulsar.tests.integration.presto.TestPrestoQueryTieredStorage)  Time elapsed: 52.488 s  <<< FAILURE!
   java.lang.NullPointerException
   	at org.apache.pulsar.tests.integration.topologies.PulsarCluster.startPrestoFollowWorkers(PulsarCluster.java:416)
   	at org.apache.pulsar.tests.integration.presto.TestPrestoQueryTieredStorage.setupPresto(TestPrestoQueryTieredStorage.java:86)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
   	at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
   	at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
   	at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
   	at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:176)
   	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:122)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.testng.TestRunner.privateRun(TestRunner.java:764)
   	at org.testng.TestRunner.run(TestRunner.java:585)
   	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
   	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
   	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
   	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
   	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
   	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
   	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
   	at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
   	at org.testng.TestNG.runSuites(TestNG.java:1069)
   	at org.testng.TestNG.run(TestNG.java:1037)
   	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
   	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
   	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
   	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
   	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
   	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
   	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
   
   [INFO] 
   [INFO] Results:
   [INFO] 
   Error:  Failures: 
   Error:  org.apache.pulsar.tests.integration.presto.TestBasicPresto.pulsar-test-suite(org.apache.pulsar.tests.integration.presto.TestBasicPresto)
   [INFO]   Run 1: PASS
   [INFO]   Run 2: PASS
   Error:    Run 3: TestBasicPresto.teardownPresto:69 » NullPointer
   [INFO]   Run 4: PASS
   [INFO] 
   Error:  org.apache.pulsar.tests.integration.presto.TestPrestoQueryTieredStorage.pulsar-test-suite(org.apache.pulsar.tests.integration.presto.TestPrestoQueryTieredStorage)
   Error:    Run 1: TestPrestoQueryTieredStorage.setupPresto:86 » NullPointer
   [INFO]   Run 2: PASS
   [INFO]   Run 3: PASS
   [INFO]   Run 4: PASS
   [INFO]   Run 5: PASS
   [INFO] 
   [INFO] 
   Error:  Tests run: 2, Failures: 2, Errors: 0, Skipped: 0
   ```
   @gaoran10 The test is failed. Please take a look when you have time.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org