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 2020/10/27 14:13:11 UTC
[GitHub] [pulsar] codelipenghui opened a new pull request #8391: Fix flaky test in the InactiveTopicDeleteTest.java
codelipenghui opened a new pull request #8391:
URL: https://github.com/apache/pulsar/pull/8391
Fix flaky test in the InactiveTopicDeleteTest.java
Since the test needs to start the broker, bookie, and zookeeper. So increase the test timeout to 60s.
----------------------------------------------------------------
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
[GitHub] [pulsar] codelipenghui closed pull request #8391: Fix flaky test in the InactiveTopicDeleteTest.java
Posted by GitBox <gi...@apache.org>.
codelipenghui closed pull request #8391:
URL: https://github.com/apache/pulsar/pull/8391
----------------------------------------------------------------
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
[GitHub] [pulsar] lhotari commented on pull request #8391: Fix flaky test in the InactiveTopicDeleteTest.java
Posted by GitBox <gi...@apache.org>.
lhotari commented on pull request #8391:
URL: https://github.com/apache/pulsar/pull/8391#issuecomment-717356245
This failure happen in the checks of this PR:
```
Error: Failures:
Error: org.apache.pulsar.broker.service.InactiveTopicDeleteTest.testTopicLevelInActiveTopicApi(org.apache.pulsar.broker.service.InactiveTopicDeleteTest)
[INFO] Run 1: PASS
Error: Run 2: InactiveTopicDeleteTest.testTopicLevelInActiveTopicApi ? ServerSideError HTTP ...
[INFO]
Error: org.apache.pulsar.broker.service.NonPersistentTopicE2ETest.testGCWillDeleteSchema(org.apache.pulsar.broker.service.NonPersistentTopicE2ETest)
[INFO] Run 1: PASS
Error: Run 2: NonPersistentTopicE2ETest.testGCWillDeleteSchema:132 expected [false] but found [true]
[INFO]
Error: org.apache.pulsar.broker.service.persistent.TopicDuplicationTest.testDuplicationApi(org.apache.pulsar.broker.service.persistent.TopicDuplicationTest)
[INFO] Run 1: PASS
Error: Run 2: TopicDuplicationTest.testDuplicationApi ? ServerSideError HTTP 500 Internal Se...
```
full logs: https://github.com/apache/pulsar/pull/8391/checks?check_run_id=1315588821
one of the failures is `InactiveTopicDeleteTest.testTopicLevelInActiveTopicApi` so it seems that the problem isn't fixed yet.
----------------------------------------------------------------
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
[GitHub] [pulsar] codelipenghui commented on pull request #8391: Fix flaky test in the InactiveTopicDeleteTest.java
Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #8391:
URL: https://github.com/apache/pulsar/pull/8391#issuecomment-717710676
dup with #8392
----------------------------------------------------------------
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
[GitHub] [pulsar] lhotari commented on pull request #8391: Fix flaky test in the InactiveTopicDeleteTest.java
Posted by GitBox <gi...@apache.org>.
lhotari commented on pull request #8391:
URL: https://github.com/apache/pulsar/pull/8391#issuecomment-717357436
more detailed logs from another PR where InactiveTopicDeleteTest fails:
```
Error: Tests run: 10, Failures: 2, Errors: 0, Skipped: 2, Time elapsed: 55.828 s <<< FAILURE! - in org.apache.pulsar.broker.service.InactiveTopicDeleteTest
Error: testTopicLevelInActiveTopicApi(org.apache.pulsar.broker.service.InactiveTopicDeleteTest) Time elapsed: 4.938 s <<< FAILURE!
org.apache.pulsar.client.admin.PulsarAdminException$ServerSideErrorException: HTTP 500 Internal Server Error
at org.apache.pulsar.client.admin.internal.BaseResource.getApiException(BaseResource.java:209)
at org.apache.pulsar.client.admin.internal.TopicsImpl$23.failed(TopicsImpl.java:1583)
at org.glassfish.jersey.client.JerseyInvocation$1.failed(JerseyInvocation.java:839)
at org.glassfish.jersey.client.JerseyInvocation$1.completed(JerseyInvocation.java:820)
at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:229)
at org.glassfish.jersey.client.ClientRuntime.access$200(ClientRuntime.java:62)
at org.glassfish.jersey.client.ClientRuntime$2.lambda$response$0(ClientRuntime.java:173)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288)
at org.glassfish.jersey.client.ClientRuntime$2.response(ClientRuntime.java:173)
at org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$apply$1(AsyncHttpConnector.java:212)
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
at java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:792)
at java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2153)
at org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.apply(AsyncHttpConnector.java:202)
at org.glassfish.jersey.client.ClientRuntime.lambda$null$6(ClientRuntime.java:182)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288)
at org.glassfish.jersey.client.ClientRuntime.lambda$createRunnableForAsyncProcessing$7(ClientRuntime.java:156)
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: javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:914)
at org.glassfish.jersey.client.JerseyInvocation.access$500(JerseyInvocation.java:77)
... 29 more
Error: testTopicLevelInactivePolicyUpdateAndClean(org.apache.pulsar.broker.service.InactiveTopicDeleteTest) Time elapsed: 5.357 s <<< FAILURE!
java.lang.AssertionError: expected [999] but found [1]
at org.testng.Assert.fail(Assert.java:96)
at org.testng.Assert.failNotEquals(Assert.java:776)
at org.testng.Assert.assertEqualsImpl(Assert.java:137)
at org.testng.Assert.assertEquals(Assert.java:118)
at org.testng.Assert.assertEquals(Assert.java:652)
at org.testng.Assert.assertEquals(Assert.java:662)
at org.apache.pulsar.broker.service.InactiveTopicDeleteTest.testTopicLevelInactivePolicyUpdateAndClean(InactiveTopicDeleteTest.java:417)
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:124)
at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
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)
```
from https://github.com/apache/pulsar/pull/8386/checks?check_run_id=1315609418
----------------------------------------------------------------
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