You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "lhotari (via GitHub)" <gi...@apache.org> on 2023/06/01 17:19:59 UTC
[GitHub] [pulsar] lhotari opened a new issue, #20463: [CI] FunctionCommonTest.testDownloadFileWithBasicAuth test is coupled to external service httpbin.org and when that is down, CI fails
lhotari opened a new issue, #20463:
URL: https://github.com/apache/pulsar/issues/20463
```
Error: Tests run: 15, Failures: 1, Errors: 0, Skipped: 13, Time elapsed: 32.262 s <<< FAILURE! - in org.apache.pulsar.functions.utils.FunctionCommonTest
Error: org.apache.pulsar.functions.utils.FunctionCommonTest.testDownloadFileWithBasicAuth Time elapsed: 10.029 s <<< FAILURE!
java.io.IOException: Server returned HTTP response code: 504 for URL: ***httpbin.org/basic-auth/foo/bar
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:2000)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
at org.apache.pulsar.functions.utils.FunctionCommon.downloadFromHttpUrl(FunctionCommon.java:260)
at org.apache.pulsar.functions.utils.FunctionCommonTest.testDownloadFileWithBasicAuth(FunctionCommonTest.java:94)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:47)
at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:76)
at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] lhotari closed issue #20463: [CI] FunctionCommonTest.testDownloadFileWithBasicAuth test is coupled to external service httpbin.org and when that is down, CI fails
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed issue #20463: [CI] FunctionCommonTest.testDownloadFileWithBasicAuth test is coupled to external service httpbin.org and when that is down, CI fails
URL: https://github.com/apache/pulsar/issues/20463
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] lhotari commented on issue #20463: [CI] FunctionCommonTest.testDownloadFileWithBasicAuth test is coupled to external service httpbin.org and when that is down, CI fails
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #20463:
URL: https://github.com/apache/pulsar/issues/20463#issuecomment-1572524418
#19330 is another issue where an external service is used as part of unit tests in Pulsar CI. That should also be fixed.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org