Stream: hapi
Topic: hapi build error
Rob Hausam (Jun 10 2016 at 20:54):
I'm seeing these errors now when I execute an mvn clean install with full debugging - thoughts/suggestions?
Running ca.uhn.fhir.rest.server.RequestValidatingInterceptorDstu3Test
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.894 sec - in ca.uhn.fhir.rest.server.RequestValidatingInterceptorDstu3Test
Results :
Failed tests:
QuestionnaireResponseValidatorDstu3Test.testCodedAnswer:133 ValidationResult{messageCount=1, isSuccessful=true, description='WARNING - Error unable to find code system http://codesystems.com/system validating Coding against Questionnaire Options - QuestionnaireResponse.item.answer'} expected:<0> but was:<1>
QuestionnaireResponseValidatorDstu3Test.testOpenchoiceAnswer:254 ValidationResult{messageCount=1, isSuccessful=true, description='WARNING - Error unable to find code system http://codesystems.com/system validating Coding against Questionnaire Options - QuestionnaireResponse.item.answer'} expected:<0> but was:<1>
Tests run: 405, Failures: 2, Errors: 0, Skipped: 18
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] HAPI-FHIR .......................................... SUCCESS [ 2.422 s]
[INFO] HAPI FHIR - Deployable Artifact Parent POM ......... SUCCESS [ 0.979 s]
[INFO] HAPI FHIR - Core Library ........................... SUCCESS [ 59.305 s]
[INFO] HAPI FHIR - Validation Resources (DSTU3) ........... SUCCESS [ 20.123 s]
[INFO] HAPI Tinder Plugin ................................. SUCCESS [01:13 min]
[INFO] HAPI FHIR Structures - DSTU1 (FHIR v0.80) .......... SUCCESS [02:28 min]
[INFO] HAPI FHIR - Validation Resources (DSTU2) ........... SUCCESS [ 2.539 s]
[INFO] HAPI FHIR Structures - DSTU2 (FHIR v1.0.0) ......... SUCCESS [02:06 min]
[INFO] HAPI FHIR - Minimal Dependency Test - Client ....... SUCCESS [ 3.690 s]
[INFO] HAPI FHIR - Minimal Dependency Test - Server ....... SUCCESS [ 6.056 s]
[INFO] HAPI Tinder Plugin - Test Project .................. SUCCESS [ 13.452 s]
[INFO] HAPI FHIR Structures - HL7.org DSTU2 ............... SUCCESS [03:53 min]
[INFO] HAPI FHIR Structures - DSTU3 ....................... FAILURE [06:35 min]
[INFO] HAPI FHIR JAX-RS Server ............................ SKIPPED
[INFO] HAPI FHIR JAX-RS Server - Example .................. SKIPPED
[INFO] HAPI FHIR JPA Server ............................... SKIPPED
[INFO] HAPI FHIR TestPage Overlay ......................... SKIPPED
[INFO] HAPI FHIR JPA Server - Example ..................... SKIPPED
[INFO] HAPI FHIR Sample RESTful Server .................... SKIPPED
[INFO] HAPI FHIR Sample RESTful Server - Tests ............ SKIPPED
[INFO] HAPI FHIR - fhirtest.uhn.ca Deployable WAR ......... SKIPPED
[INFO] HAPI FHIR - Android ................................ SKIPPED
[INFO] HAPI FHIR - Command Line Client - Base Project ..... SKIPPED
[INFO] HAPI FHIR - Command Line Client - Server WAR ....... SKIPPED
[INFO] HAPI FHIR - Command Line Client - Application ...... SKIPPED
[INFO] HAPI FHIR - Distribution Archive ................... SKIPPED
[INFO] HAPI FHIR - Examples (for site) .................... SKIPPED
[INFO] hapi-fhir-base-example-embedded-ws ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:07 min
[INFO] Finished at: 2016-06-09T23:29:15-06:00
[INFO] Final Memory: 273M/807M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project hapi-fhir-structures-dstu3: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/rhausam/hapi-fhir/hapi-fhir-structures-dstu3/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project hapi-fhir-structures-dstu3: There are test failures.
Please refer to /Users/rhausam/hapi-fhir/hapi-fhir-structures-dstu3/target/surefire-reports for the individual test results.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to /Users/rhausam/hapi-fhir/hapi-fhir-structures-dstu3/target/surefire-reports for the individual test results.
at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:91)
at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:320)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:892)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
[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 <goals> -rf :hapi-fhir-structures-dstu3
R
James Agnew (Jun 10 2016 at 23:17):
Travis agrees with you. Just fixing that now, oddly enough.
Rob Hausam (Jun 10 2016 at 23:18):
Good that Travis is agreeable today, I guess. :) Thanks!
Last updated: Apr 12 2022 at 19:14 UTC