Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[milo-dev] Maven Build Error in Eclipse
  • From: Gilberto de Melo <gilbertogdemelo@xxxxxxxxxxx>
  • Date: Wed, 12 Apr 2023 13:04:52 +0000
  • Accept-language: pt-BR, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OsB7X/rDE7ZXLVPZpqfBET6/8/cfHHgfstkDBdx4NhA=; b=e0MyvmItBzo4cEX/wEHURPbhTVtqFFV9uDySBfxbYrqofjZi1BvMZE33QsewtNLAMoI8WMIx20kDyDvAeTj23x0tdQBrJllT3nJuKmYozplrFXDBjzFv9eTlU71M9IZvSDO5pPKHHba75dt9TK2Q5ktXlwJgTWIKoBpfTTp7hXhZ263zlQBzfWvJx9lIZwhJALRwDWy51EHsO3iaaj8D9OgLdnyoE3fukXXK6jmTqczyhHwLgSZMwMiENOSGGLzbscH7gHd6EHsHbTEijVuS1/ePMqYmk+oef5MwlDsijLY/ZQXFS9ZZb3VW4H9qqAsYkPNzPu5XE3+3qh8PS4acsQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DLNo9Z5Zs4KfDamH70dt86DhNoI4dxwxRVDBO1mcXfLt9VJFpqHq0obLezGCwUyQpoyDlpQbDR1ZsyeF8VqaZ4QOwb5J7sJc/YVZ2MKxPwjBCAiT7nP/P/sfqbY0cHZZF0Azsvw8Vfpl+JWNyyf94i4yCnrr9OM06RO0TjYDGv0eQoGnmVDZkTJFNDM3vdODbr7Eq1EyUX6uQuz7CR38PvoZ7lm2BioUp3OWbsv+dze0qnKEmoVdf8CC909dpS/suHnW5PhAQnelP4vcR0RKHU0uphCgYPDwG9GxOGeTrM9ISzkua/V/JSm2dwbAGbtkq1C/hhkJf+mEN82dUUGE6g==
  • Delivered-to: milo-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/milo-dev/>
  • List-help: <mailto:milo-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/milo-dev>, <mailto:milo-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/milo-dev>, <mailto:milo-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHZbT492k0CFGjA8UW2w3jvgk2dqQ==
  • Thread-topic: Maven Build Error in Eclipse

Hi,

After building the project using mvn clean install  in JDK8 I'm getting an error and I'm stuck now.

I hope you can shed some light on what to do, thanks.

[main] INFO org.eclipse.milo.opcua.stack.core.security.DefaultTrustListManagerTest - using C:\Users\GILBER~1\AppData\Local\Temp\securityTest

[milo-nonce-util-secure-random] INFO org.eclipse.milo.opcua.stack.core.util.NonceUtil - SecureRandom seeded in 0ms.

[main] WARN org.eclipse.milo.opcua.stack.core.util.validation.CertificateValidationUtil - Failed to add custom revocation checker; REVOCATION_LIST_FOUND check will be ignored.

[main] WARN org.eclipse.milo.opcua.stack.core.util.validation.CertificateValidationUtil - Failed to add custom revocation checker; REVOCATION_LIST_FOUND check will be ignored.

[ERROR] Tests run: 194, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.359 s <<< FAILURE! - in TestSuite

[ERROR] org.eclipse.milo.opcua.stack.core.util.validation.CertificateValidationUtilTest.testBuildAndValidate_LeafIntermediateSigned_Revoked  Time elapsed: 0.06 s  <<< FAILURE!

java.lang.AssertionError: expected [StatusCode{name=Bad_CertificateRevoked, value=0x801D0000, quality=bad}] but found [StatusCode{name=Bad_CertificateIssuerRevocationUnknown, value=0x801C0000, quality=bad}]

at org.eclipse.milo.opcua.stack.core.util.validation.CertificateValidationUtilTest.testBuildAndValidate_LeafIntermediateSigned_Revoked(CertificateValidationUtilTest.java:232)


[INFO]

[INFO] Results:

[INFO]

[ERROR] Failures: 

[ERROR]   CertificateValidationUtilTest.testBuildAndValidate_LeafIntermediateSigned_Revoked:232 expected [StatusCode{name=Bad_CertificateRevoked, value=0x801D0000, quality=bad}] but found [StatusCode{name=Bad_CertificateIssuerRevocationUnknown, value=0x801C0000, quality=bad}]

[INFO]

[ERROR] Tests run: 194, Failures: 1, Errors: 0, Skipped: 0

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary for Eclipse Milo - OPC UA (IEC 62541) 0.6.10-SNAPSHOT:

[INFO]

[INFO] Eclipse Milo Build Tools ........................... SUCCESS [  1.450 s]

[INFO] Eclipse Milo - OPC UA (IEC 62541) .................. SUCCESS [  1.383 s]

[INFO] opc-ua-stack ....................................... SUCCESS [  0.744 s]

[INFO] stack-core ......................................... FAILURE [ 32.240 s]

[INFO] stack-client ....................................... SKIPPED

[INFO] opc-ua-sdk ......................................... SKIPPED

[INFO] sdk-core ........................................... SKIPPED

[INFO] sdk-client ......................................... SKIPPED

[INFO] bsd-core ........................................... SKIPPED

[INFO] bsd-parser ......................................... SKIPPED

[INFO] dictionary-reader .................................. SKIPPED

[INFO] stack-server ....................................... SKIPPED

[INFO] bsd-generator ...................................... SKIPPED

[INFO] sdk-server ......................................... SKIPPED

[INFO] dictionary-manager ................................. SKIPPED

[INFO] milo-examples ...................................... SKIPPED

[INFO] server-examples .................................... SKIPPED

[INFO] client-examples .................................... SKIPPED

[INFO] bsd-parser-gson .................................... SKIPPED

[INFO] stack-tests ........................................ SKIPPED

[INFO] sdk-tests .......................................... SKIPPED

[INFO] integration-tests .................................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  36.060 s

[INFO] Finished at: 2023-04-12T14:38:39+02:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project stack-core: There are test failures.

[ERROR] 

[ERROR] Please refer to C:\Users\GilbertodeMelo\OneDrive - northvolt.com\199 - Automation Programs Installation\eclipse\!Programs\milo-master\opc-ua-stack\stack-core\target\surefire-reports for the individual test results.

[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.

[ERROR] -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project stack-core: There are test failures.


Please refer to C:\Users\GilbertodeMelo\OneDrive - northvolt.com\199 - Automation Programs Installation\eclipse\!Programs\milo-master\opc-ua-stack\stack-core\target\surefire-reports for the individual test results.

Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.

    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)

    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)

    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)

    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)

    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)

    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)

    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke (Method.java:568)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)

    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)

    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)

Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.


Please refer to C:\Users\GilbertodeMelo\OneDrive - northvolt.com\199 - Automation Programs Installation\eclipse\!Programs\milo-master\opc-ua-stack\stack-core\target\surefire-reports for the individual test results.

Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.

    at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:271)

    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159)

    at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:435)

    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1079)

    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:889)

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)

    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)

    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)

    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)

    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)

    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)

    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)

    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke (Method.java:568)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)

    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)

    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)

[ERROR]

[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 :stack-core



Gilberto Melo
m: +46 733987151

Back to the top