issue with installing hc2vpp(stable/1701)


薛欣颖 <xyxue@...>
 


Hi

 When I run mvn clean install in hc2vpp(ubuntu 14.04) there is some error 


Failed tests: 
  MultiNamingContextTest.removeChild:186 
Expected: iterable containing [<Value [_index=2, _key=ValueKey [_name=child-2], _name=child-2, augmentation=[]]>, <Value [_index=3, _key=ValueKey [_name=child-3], _name=child-3, augmentation=[]]>]
     but: item 0: was <Value{getIndex=3, getName=child-3, augmentations={}}>

Tests run: 39, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] naming-context-api ................................. SUCCESS [  8.757 s]
[INFO] vpp-impl-parent .................................... SUCCESS [  0.370 s]
[INFO] vpp-translate-utils ................................ FAILURE [  6.522 s]
[INFO] naming-context-impl ................................ SKIPPED
[INFO] vpp-common-integration ............................. SKIPPED
[INFO] vpp-translate-test ................................. SKIPPED
[INFO] vpp-common-aggregator .............................. SKIPPED
[INFO] v3po-api ........................................... SKIPPED
[INFO] v3po2vpp ........................................... SKIPPED
[INFO] v3po-aggregator .................................... SKIPPED
[INFO] vppioam-api ........................................ SKIPPED
[INFO] vppioam-impl ....................................... SKIPPED
[INFO] vppioam-aggregator ................................. SKIPPED
[INFO] vppnsh-api ......................................... SKIPPED
[INFO] vppnsh-impl ........................................ SKIPPED
[INFO] vppnsh-aggregator .................................. SKIPPED
[INFO] routing-api ........................................ SKIPPED
[INFO] routing-impl ....................................... SKIPPED
[INFO] routing-aggregator ................................. SKIPPED
[INFO] nat-api ............................................ SKIPPED
[INFO] nat2vpp ............................................ SKIPPED
[INFO] nat-aggregator ..................................... SKIPPED
[INFO] lisp-api ........................................... SKIPPED
[INFO] lisp2vpp ........................................... SKIPPED
[INFO] lisp-aggregator .................................... SKIPPED
[INFO] release-notes-aggregator ........................... SKIPPED
[INFO] acl-api ............................................ SKIPPED
[INFO] acl-impl ........................................... SKIPPED
[INFO] vpp-integration-distribution ....................... SKIPPED
[INFO] vpp-integration .................................... SKIPPED
[INFO] hc2vpp ............................................. SKIPPED
[INFO] acl-aggregator ..................................... SKIPPED
[INFO] samples-api ........................................ SKIPPED
[INFO] samples-impl ....................................... SKIPPED
[INFO] samples ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.769 s
[INFO] Finished at: 2017-03-14T19:25:22-07:00
[INFO] Final Memory: 107M/544M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project vpp-translate-utils: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/fiber/hc2vpp/vpp-common/vpp-translate-utils/target/surefire-reports for the individual test results.
[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 <goals> -rf :vpp-translate-utils

 

 

How can I solve the problem


Thanks,

Xinying Xue