[
https://issues.apache.org/jira/browse/WAGON-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982484#comment-16982484
]
Oleg Kalnichevski commented on WAGON-568:
-----------------------------------------
If I run this test case separately in the IDE I am getting this error.
Oleg
{noformat}
2019-11-26T13:23:11.555 [main] INFO org.eclipse.jetty.util.log - Logging
initialized @652ms
2019-11-26T13:23:11.583 [main] INFO org.eclipse.jetty.server.Server -
jetty-9.2.24.v20180105
2019-11-26T13:23:11.619 [main] INFO org.eclipse.jetty.server.ServerConnector -
Started ServerConnector@7c469c48{HTTP/1.1}{0.0.0.0:41993}
2019-11-26T13:23:11.620 [main] INFO org.eclipse.jetty.server.Server - Started
@719ms
2019-11-26T13:23:11.623 [main] INFO org.eclipse.jetty.server.Server -
jetty-9.2.24.v20180105
2019-11-26T13:23:11.627 [main] INFO org.eclipse.jetty.server.ServerConnector -
Started ServerConnector@1e802ef9{HTTP/1.1}{0.0.0.0:35353}
2019-11-26T13:23:11.628 [main] INFO org.eclipse.jetty.server.Server - Started
@727ms
http://localhost:35353 - Session: Opened
Uploading: test-secured-put-resource to http://localhost:35353
2019-11-26T13:23:12.118 [main] DEBUG
org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected:
compatibility
2019-11-26T13:23:12.125 [main] DEBUG
org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection
request: [route: {}->http://localhost:35353][total kept alive: 0; route
allocated: 0 of 20; total allocated: 0 of 40]
2019-11-26T13:23:12.136 [main] DEBUG
org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection
leased: [id: 0][route: {}->http://localhost:35353][total kept alive: 0; route
allocated: 1 of 20; total allocated: 1 of 40]
2019-11-26T13:23:12.137 [main] DEBUG
org.apache.http.impl.execchain.MainClientExec - Opening connection
{}->http://localhost:35353
2019-11-26T13:23:12.144 [main] DEBUG
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connecting to
localhost/127.0.0.1:35353
2019-11-26T13:23:12.146 [main] DEBUG
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connection
established 127.0.0.1:34934<->127.0.0.1:35353
2019-11-26T13:23:12.146 [main] DEBUG
org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0:
set socket timeout to 1800000
2019-11-26T13:23:12.146 [main] DEBUG
org.apache.http.impl.execchain.MainClientExec - Executing request PUT
/test-secured-put-resource HTTP/1.1
2019-11-26T13:23:12.147 [main] DEBUG
org.apache.http.impl.execchain.MainClientExec - Target auth state: UNCHALLENGED
2019-11-26T13:23:12.147 [main] DEBUG
org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED
2019-11-26T13:23:12.149 [main] DEBUG org.apache.http.headers - http-outgoing-0
>> PUT /test-secured-put-resource HTTP/1.1
2019-11-26T13:23:12.149 [main] DEBUG org.apache.http.headers - http-outgoing-0
>> Cache-control: no-cache
2019-11-26T13:23:12.149 [main] DEBUG org.apache.http.headers - http-outgoing-0
>> Cache-store: no-store
2019-11-26T13:23:12.150 [main] DEBUG org.apache.http.headers - http-outgoing-0
>> Pragma: no-cache
2019-11-26T13:23:12.150 [main] DEBUG org.apache.http.headers - http-outgoing-0
>> Content-Length: 14
2019-11-26T13:23:12.150 [main] DEBUG org.apache.http.headers - http-outgoing-0
>> Host: localhost:35353
2019-11-26T13:23:12.150 [main] DEBUG org.apache.http.headers - http-outgoing-0
>> Connection: Keep-Alive
2019-11-26T13:23:12.150 [main] DEBUG org.apache.http.headers - http-outgoing-0
>> User-Agent: Apache-HttpClient/4.5.9 (Java/11.0.3)
2019-11-26T13:23:12.150 [main] DEBUG org.apache.http.headers - http-outgoing-0
>> Accept-Encoding: gzip,deflate
2019-11-26T13:23:12.152 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"PUT /test-secured-put-resource HTTP/1.1[\r][\n]"
2019-11-26T13:23:12.153 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"Cache-control: no-cache[\r][\n]"
2019-11-26T13:23:12.153 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"Cache-store: no-store[\r][\n]"
2019-11-26T13:23:12.154 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"Pragma: no-cache[\r][\n]"
2019-11-26T13:23:12.154 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"Content-Length: 14[\r][\n]"
2019-11-26T13:23:12.154 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"Host: localhost:35353[\r][\n]"
2019-11-26T13:23:12.155 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"Connection: Keep-Alive[\r][\n]"
2019-11-26T13:23:12.155 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"User-Agent: Apache-HttpClient/4.5.9 (Java/11.0.3)[\r][\n]"
2019-11-26T13:23:12.155 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"Accept-Encoding: gzip,deflate[\r][\n]"
2019-11-26T13:23:12.156 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"[\r][\n]"
2019-11-26T13:23:12.157 [main] DEBUG org.apache.http.wire - http-outgoing-0 >>
"put top secret"
2019-11-26T13:23:12.226 [main] DEBUG org.apache.http.wire - http-outgoing-0 <<
"HTTP/1.1 303 See Other[\r][\n]"
2019-11-26T13:23:12.227 [main] DEBUG org.apache.http.wire - http-outgoing-0 <<
"Date: Tue, 26 Nov 2019 12:23:12 GMT[\r][\n]"
2019-11-26T13:23:12.227 [main] DEBUG org.apache.http.wire - http-outgoing-0 <<
"Location: http://localhost:41993/test-secured-put-resource[\r][\n]"
2019-11-26T13:23:12.227 [main] DEBUG org.apache.http.wire - http-outgoing-0 <<
"Content-Length: 0[\r][\n]"
2019-11-26T13:23:12.227 [main] DEBUG org.apache.http.wire - http-outgoing-0 <<
"Server: Jetty(9.2.24.v20180105)[\r][\n]"
2019-11-26T13:23:12.227 [main] DEBUG org.apache.http.wire - http-outgoing-0 <<
"[\r][\n]"
#http://localhost:35353/test-secured-put-resource -- status code: 303, reason
phrase: See Other
Uploading: test-secured-put-resource to http://localhost:35353
2019-11-26T13:23:12.229 [main] DEBUG org.apache.http.headers - http-outgoing-0
<< HTTP/1.1 303 See Other
2019-11-26T13:23:12.230 [main] DEBUG org.apache.http.headers - http-outgoing-0
<< Date: Tue, 26 Nov 2019 12:23:12 GMT
2019-11-26T13:23:12.230 [main] DEBUG org.apache.http.headers - http-outgoing-0
<< Location: http://localhost:41993/test-secured-put-resource
2019-11-26T13:23:12.230 [main] DEBUG org.apache.http.headers - http-outgoing-0
<< Content-Length: 0
2019-11-26T13:23:12.230 [main] DEBUG org.apache.http.headers - http-outgoing-0
<< Server: Jetty(9.2.24.v20180105)
2019-11-26T13:23:12.234 [main] DEBUG
org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive
indefinitely
2019-11-26T13:23:12.235 [main] DEBUG
org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id:
0][route: {}->http://localhost:35353] can be kept alive indefinitely
2019-11-26T13:23:12.235 [main] DEBUG
org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0:
set socket timeout to 0
2019-11-26T13:23:12.235 [main] DEBUG
org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection
released: [id: 0][route: {}->http://localhost:35353][total kept alive: 1; route
allocated: 1 of 20; total allocated: 1 of 40]
2019-11-26T13:23:12.239 [main] DEBUG
org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected:
compatibility
2019-11-26T13:23:12.239 [main] DEBUG
org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection
request: [route: {}->http://localhost:41993][total kept alive: 1; route
allocated: 0 of 20; total allocated: 1 of 40]
2019-11-26T13:23:12.239 [main] DEBUG
org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection
leased: [id: 1][route: {}->http://localhost:41993][total kept alive: 1; route
allocated: 1 of 20; total allocated: 2 of 40]
2019-11-26T13:23:12.239 [main] DEBUG
org.apache.http.impl.execchain.MainClientExec - Opening connection
{}->http://localhost:41993
2019-11-26T13:23:12.240 [main] DEBUG
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connecting to
localhost/127.0.0.1:41993
2019-11-26T13:23:12.240 [main] DEBUG
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connection
established 127.0.0.1:54446<->127.0.0.1:41993
2019-11-26T13:23:12.245 [main] DEBUG
org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-1:
set socket timeout to 1800000
2019-11-26T13:23:12.245 [main] DEBUG
org.apache.http.impl.execchain.MainClientExec - Executing request PUT
/test-secured-put-resource HTTP/1.1
2019-11-26T13:23:12.245 [main] DEBUG
org.apache.http.impl.execchain.MainClientExec - Target auth state: UNCHALLENGED
2019-11-26T13:23:12.245 [main] DEBUG
org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED
2019-11-26T13:23:12.245 [main] DEBUG org.apache.http.headers - http-outgoing-1
>> PUT /test-secured-put-resource HTTP/1.1
2019-11-26T13:23:12.245 [main] DEBUG org.apache.http.headers - http-outgoing-1
>> Cache-control: no-cache
2019-11-26T13:23:12.246 [main] DEBUG org.apache.http.headers - http-outgoing-1
>> Cache-store: no-store
2019-11-26T13:23:12.246 [main] DEBUG org.apache.http.headers - http-outgoing-1
>> Pragma: no-cache
2019-11-26T13:23:12.246 [main] DEBUG org.apache.http.headers - http-outgoing-1
>> Content-Length: 14
2019-11-26T13:23:12.246 [main] DEBUG org.apache.http.headers - http-outgoing-1
>> Host: localhost:41993
2019-11-26T13:23:12.246 [main] DEBUG org.apache.http.headers - http-outgoing-1
>> Connection: Keep-Alive
2019-11-26T13:23:12.246 [main] DEBUG org.apache.http.headers - http-outgoing-1
>> User-Agent: Apache-HttpClient/4.5.9 (Java/11.0.3)
2019-11-26T13:23:12.246 [main] DEBUG org.apache.http.headers - http-outgoing-1
>> Accept-Encoding: gzip,deflate
2019-11-26T13:23:12.246 [main] DEBUG org.apache.http.wire - http-outgoing-1 >>
"PUT /test-secured-put-resource HTTP/1.1[\r][\n]"
2019-11-26T13:23:12.246 [main] DEBUG org.apache.http.wire - http-outgoing-1 >>
"Cache-control: no-cache[\r][\n]"
2019-11-26T13:23:12.246 [main] DEBUG org.apache.http.wire - http-outgoing-1 >>
"Cache-store: no-store[\r][\n]"
2019-11-26T13:23:12.247 [main] DEBUG org.apache.http.wire - http-outgoing-1 >>
"Pragma: no-cache[\r][\n]"
2019-11-26T13:23:12.247 [main] DEBUG org.apache.http.wire - http-outgoing-1 >>
"Content-Length: 14[\r][\n]"
2019-11-26T13:23:12.247 [main] DEBUG org.apache.http.wire - http-outgoing-1 >>
"Host: localhost:41993[\r][\n]"
2019-11-26T13:23:12.247 [main] DEBUG org.apache.http.wire - http-outgoing-1 >>
"Connection: Keep-Alive[\r][\n]"
2019-11-26T13:23:12.247 [main] DEBUG org.apache.http.wire - http-outgoing-1 >>
"User-Agent: Apache-HttpClient/4.5.9 (Java/11.0.3)[\r][\n]"
2019-11-26T13:23:12.247 [main] DEBUG org.apache.http.wire - http-outgoing-1 >>
"Accept-Encoding: gzip,deflate[\r][\n]"
2019-11-26T13:23:12.247 [main] DEBUG org.apache.http.wire - http-outgoing-1 >>
"[\r][\n]"
2019-11-26T13:23:42.252 [qtp1151755506-17] WARN
org.eclipse.jetty.server.HttpChannel - /test-secured-put-resource
java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout
expired: 30001/30000 ms
at
org.eclipse.jetty.util.SharedBlockingCallback$Blocker.block(SharedBlockingCallback.java:213)
at
org.eclipse.jetty.server.HttpInputOverHTTP.blockForContent(HttpInputOverHTTP.java:66)
at
org.eclipse.jetty.server.HttpInput$1.waitForContent(HttpInput.java:489)
at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:122)
at java.base/java.io.InputStream.read(InputStream.java:205)
at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:169)
at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:156)
at
org.apache.maven.wagon.http.HttpWagonTestCase$PutHandler.handle(HttpWagonTestCase.java:2124)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)
at
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.util.concurrent.TimeoutException: Idle timeout expired:
30001/30000 ms
at
org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:161)
at org.eclipse.jetty.io.IdleTimeout$1.run(IdleTimeout.java:50)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
... 1 more
2019-11-26T13:23:42.288 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"HTTP/1.1 500 java.util.concurrent.TimeoutException: Idle timeout expired:
30001/30000 ms[\r][\n]"
2019-11-26T13:23:42.288 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"Date: Tue, 26 Nov 2019 12:23:12 GMT[\r][\n]"
2019-11-26T13:23:42.289 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"Cache-Control: must-revalidate,no-cache,no-store[\r][\n]"
2019-11-26T13:23:42.289 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"Content-Type: text/html; charset=ISO-8859-1[\r][\n]"
2019-11-26T13:23:42.289 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"Content-Length: 369[\r][\n]"
2019-11-26T13:23:42.289 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"Connection: close[\r][\n]"
2019-11-26T13:23:42.289 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"Server: Jetty(9.2.24.v20180105)[\r][\n]"
2019-11-26T13:23:42.289 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"[\r][\n]"
2019-11-26T13:23:42.289 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"<html>[\n]"
2019-11-26T13:23:42.289 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"<head>[\n]"
2019-11-26T13:23:42.289 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>[\n]"
2019-11-26T13:23:42.290 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"<title>Error 500 </title>[\n]"
2019-11-26T13:23:42.290 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"</head>[\n]"
2019-11-26T13:23:42.290 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"<body>[\n]"
2019-11-26T13:23:42.290 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"<h2>HTTP ERROR: 500</h2>[\n]"
2019-11-26T13:23:42.290 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"<p>Problem accessing /test-secured-put-resource. Reason:[\n]"
2019-11-26T13:23:42.290 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"<pre> java.util.concurrent.TimeoutException: Idle timeout expired:
30001/30000 ms</pre></p>[\n]"
2019-11-26T13:23:42.290 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"<hr /><i><small>Powered by Jetty://</small></i>[\n]"
2019-11-26T13:23:42.290 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"</body>[\n]"
2019-11-26T13:23:42.290 [main] DEBUG org.apache.http.wire - http-outgoing-1 <<
"</html>[\n]"
2019-11-26T13:23:42.290 [main] DEBUG org.apache.http.headers - http-outgoing-1
<< HTTP/1.1 500 java.util.concurrent.TimeoutException: Idle timeout expired:
30001/30000 ms
2019-11-26T13:23:42.291 [main] DEBUG org.apache.http.headers - http-outgoing-1
<< Date: Tue, 26 Nov 2019 12:23:12 GMT
2019-11-26T13:23:42.291 [main] DEBUG org.apache.http.headers - http-outgoing-1
<< Cache-Control: must-revalidate,no-cache,no-store
2019-11-26T13:23:42.291 [main] DEBUG org.apache.http.headers - http-outgoing-1
<< Content-Type: text/html; charset=ISO-8859-1
2019-11-26T13:23:42.291 [main] DEBUG org.apache.http.headers - http-outgoing-1
<< Content-Length: 369
2019-11-26T13:23:42.291 [main] DEBUG org.apache.http.headers - http-outgoing-1
<< Connection: close
2019-11-26T13:23:42.291 [main] DEBUG org.apache.http.headers - http-outgoing-1
<< Server: Jetty(9.2.24.v20180105)
http://localhost:41993/test-secured-put-resource -- status code: 500, reason
phrase: java.util.concurrent.TimeoutException: Idle timeout expired:
30001/30000 ms
Transfer error: org.apache.maven.wagon.TransferFailedException: Transfer
failed for http://localhost:41993/test-secured-put-resource 500
java.util.concurrent.TimeoutException: Idle timeout expired: 30001/30000 ms
2019-11-26T13:23:42.292 [main] DEBUG
org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-1:
Close connection
2019-11-26T13:23:42.292 [main] DEBUG
org.apache.http.impl.execchain.MainClientExec - Connection discarded
2019-11-26T13:23:42.292 [main] DEBUG
org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection
released: [id: 1][route: {}->http://localhost:41993][total kept alive: 1; route
allocated: 0 of 20; total allocated: 1 of 40]
http://localhost:35353 - Session: Disconnecting
http://localhost:35353 - Session: Disconnected
2019-11-26T13:23:42.297 [main] INFO org.eclipse.jetty.server.ServerConnector -
Stopped ServerConnector@7c469c48{HTTP/1.1}{0.0.0.0:0}
2019-11-26T13:23:42.301 [main] INFO org.eclipse.jetty.server.ServerConnector -
Stopped ServerConnector@1e802ef9{HTTP/1.1}{0.0.0.0:0}
org.apache.maven.wagon.TransferFailedException: Transfer failed for
http://localhost:41993/test-secured-put-resource 500
java.util.concurrent.TimeoutException: Idle timeout expired: 30001/30000 ms
at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:820)
at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:737)
at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:801)
at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:737)
at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:709)
at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:703)
at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.putFromStream(AbstractHttpClientWagon.java:697)
at
org.apache.maven.wagon.http.HttpWagonTestCase.testRedirectPutFromStreamWithFullUrl(HttpWagonTestCase.java:914)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:176)
at org.apache.maven.wagon.WagonTestCase.runTest(WagonTestCase.java:285)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at
com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
{noformat}
> Fail to deploy on Sonatype OSS since maven 3.5.4
> ------------------------------------------------
>
> Key: WAGON-568
> URL: https://issues.apache.org/jira/browse/WAGON-568
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-http
> Affects Versions: 3.3.3
> Environment: 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14
> PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
> openjdk version "1.8.0_202"
> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_202-b08)
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.202-b08, mixed mode)
> Reporter: Stephane Landelle
> Priority: Major
>
> I've been trying to release AsyncHttpClient for days and deployment was
> always super slow until it ultimately failed or completely stalled.
> The issue seems to be that maven-deploy-plugin wants to upload checksum
> files. I have no idea where those would come from, as far as I know, those
> are generated by the maven repository.
>
> {code:java}
> [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @
> async-http-client-project ---
> Uploading to sonatype-nexus-staging:
> http://oss.sonatype.org/service/local/staging/deploy/maven2/org/asynchttpclient/async-http-client-project/2.0.40/async-http-client-project-2.0.40.pom
> [WARNING] Failed to upload checksum
> org/asynchttpclient/async-http-client-project/2.0.40/async-http-client-project-2.0.40.pom.sha1:
> null{code}
>
>
> For each actual file, maven-deploy-plugin tries to upload a sha1 and a md5
> files and this takes forever to ultimately fail.
> I tried upgrading plugins but nothing worked.
> I finally found [this
> ticket|[https://issues.sonatype.org/browse/OSSRH-43371?focusedCommentId=610865&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-610865]]
> against Sonatype OSS describing the exact same behavior and stating
> downgrading to maven 3.5.3 fixed the issue.
> Indeed, downgrading did the trick!
> I'm opening an issue here and not against OSS Sonatype as it looks like a
> maven regression to me.
> * maven 3.6.2: fails
> * maven 3.5.4: fails
> * maven 3.5.3: works like a charm
--
This message was sent by Atlassian Jira
(v8.3.4#803005)