Can't see the reason, but likely test failure on your local env?
Try `> mvn clean package -Dmaven.test.skip=true`.

Sheng Wu 吴晟
Twitter, wusheng1108


gaurav kodmalwar <[email protected]> 于2020年6月21日周日 上午1:32写道:

> I thought to run on latest version of skywalking i.e. 8 but there as well
> mvn clean package has failed with below error. Any idea what's happening?
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  *05:17 h*
> [INFO] Finished at: 2020-06-20T22:50:30+05:30
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> *org.apache.maven.plugins:maven-surefire-plugin*:2.22.0:test (default-test)
> on project apm-datacarrier: There are test failures.
> [ERROR]
> [ERROR] Please refer to
>
> C:\Gaurav\software\K8S\apache-skywalking-apm-8.0.0\apm-commons\apm-datacarrier\target\surefire-reports
> for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
> [date].dumpstream and [date]-jvmRun[N].dumpstream.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <args> -rf :apm-datacarrier
>
> On Sat, 20 Jun 2020 at 12:15, gaurav kodmalwar <[email protected]
> >
> wrote:
>
> > dear dev team,
> >
> > Any idea about below failures?
> >
> >
> C:\apache-skywalking-apm-7.0.0-src\new\apache-skywalking-apm-7.0.0>*mvnw.cmd
> > clean package*
> > Exception calling "DownloadFile" with "2" argument(s): "The operation has
> > timed out."
> > At line:1 char:282
> > + ... pe]::Tls12; $webclient.DownloadFile('
> > https://repo.maven.apache.org/ma ...
> > +
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     + CategoryInfo          : NotSpecified: (:) [],
> > MethodInvocationException
> >     + FullyQualifiedErrorId : WebException
> >
> > Error: Could not find or load main class
> > org.apache.maven.wrapper.MavenWrapperMain
> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.maven.wrapper.MavenWrapperMain
> >
> >
> >
> > [root@localhost apache-skywalking-apm-7.0.0]# *./mvnw clean package*
> > Exception in thread "main" java.net.ConnectException: Connection refused
> > (Connection refused)
> >         at java.net.PlainSocketImpl.socketConnect(Native Method)
> >         at
> > java.net
> .AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
> >         at
> > java.net
> .AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
> >         at
> > java.net
> .AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
> >         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> >         at java.net.Socket.connect(Socket.java:589)
> >         at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
> >         at
> > sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
> >         at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
> >         at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
> >         at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
> >         at
> > sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
> >         at
> sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
> >         at
> >
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
> >         at
> >
> sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
> >         at
> >
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
> >         at
> >
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
> >         at
> >
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
> >         at
> >
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
> >         at
> >
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
> >         at
> >
> org.apache.maven.wrapper.DefaultDownloader.downloadInternal(DefaultDownloader.java:90)
> >         at
> >
> org.apache.maven.wrapper.DefaultDownloader.download(DefaultDownloader.java:76)
> >         at
> org.apache.maven.wrapper.Installer.createDist(Installer.java:72)
> >         at
> >
> org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:121)
> >         at
> > org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:61)
> >
>

Reply via email to