This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Description Hi, jobbandtalent. When I first download and run this project, a "BUILD FAILURE" error occurs.
The command I used,
The error log I got,
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running ciir .umass .edu .learning .tree .LambdaMARTTest
Model : LambdaMART
Tests run : 2 , Failures : 0 , Errors : 0 , Skipped : 0 , Time elapsed : 0.145 sec
Running ciir .umass .edu .utilities .FileUtilsTest
Tests run : 1 , Failures : 1 , Errors : 0 , Skipped : 0 , Time elapsed : 0.002 sec <<< FAILURE !
testRead (ciir .umass .edu .utilities .FileUtilsTest ) Time elapsed : 0.001 sec <<< FAILURE !
org .junit .ComparisonFailure : expected :<it is a test []
] but was :<it is a test [
>
at org .junit .Assert .assertEquals (Assert .java :115 )
at org .junit .Assert .assertEquals (Assert .java :144 )
at ciir .umass .edu .utilities .FileUtilsTest .testRead (FileUtilsTest .java :13 )
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 :498 )
at org .junit .runners .model .FrameworkMethod$1 .runReflectiveCall (FrameworkMethod .java :50 )
at org .junit .internal .runners .model .ReflectiveCallable .run (ReflectiveCallable .java :12 )
at org .junit .runners .model .FrameworkMethod .invokeExplosively (FrameworkMethod .java :47 )
at org .junit .internal .runners .statements .InvokeMethod .evaluate (InvokeMethod .java :17 )
at org .junit .runners .ParentRunner .runLeaf (ParentRunner .java :325 )
at org .junit .runners .BlockJUnit4ClassRunner .runChild (BlockJUnit4ClassRunner .java :78 )
at org .junit .runners .BlockJUnit4ClassRunner .runChild (BlockJUnit4ClassRunner .java :57 )
at org .junit .runners .ParentRunner$3 .run (ParentRunner .java :290 )
at org .junit .runners .ParentRunner$1 .schedule (ParentRunner .java :71 )
at org .junit .runners .ParentRunner .runChildren (ParentRunner .java :288 )
at org .junit .runners .ParentRunner .access$000 (ParentRunner .java :58 )
at org .junit .runners .ParentRunner$2 .evaluate (ParentRunner .java :268 )
at org .junit .runners .ParentRunner .run (ParentRunner .java :363 )
at org .apache .maven .surefire .junit4 .JUnit4Provider .execute (JUnit4Provider .java :252 )
at org .apache .maven .surefire .junit4 .JUnit4Provider .executeTestSet (JUnit4Provider .java :141 )
at org .apache .maven .surefire .junit4 .JUnit4Provider .invoke (JUnit4Provider .java :112 )
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 :498 )
at org .apache .maven .surefire .util .ReflectionUtils .invokeMethodWithArray (ReflectionUtils .java :189 )
at org .apache .maven .surefire .booter .ProviderFactory$ProviderProxy .invoke (ProviderFactory .java :165 )
at org .apache .maven .surefire .booter .ProviderFactory .invokeProvider (ProviderFactory .java :85 )
at org .apache .maven .surefire .booter .ForkedBooter .runSuitesInProcess (ForkedBooter .java :115 )
at org .apache .maven .surefire .booter .ForkedBooter .main (ForkedBooter .java :75 )
Results :
Failed tests : testRead (ciir .umass .edu .utilities .FileUtilsTest ): expected :<it is a test [](..)
Tests run : 3 , Failures : 1 , Errors : 0 , Skipped : 0
[INFO ] ------------------------------------------------------------------------
[INFO ] BUILD FAILURE
[INFO ] ------------------------------------------------------------------------
[INFO ] Total time : 5.700 s
[INFO ] Finished at : 2020 -02 -22 T14 :11 :27 +0 8 :00
[INFO ] Final Memory : 16 M /251 M
[INFO ] ------------------------------------------------------------------------
[ERROR ] Failed to execute goal org .apache .maven .plugins :maven -surefire -plugin :2.12 .4 :test (default -test ) on project RankLib -jt : There are test failures .
[ERROR ]
[ERROR ] Please refer to C :\Users \yongfeng \Downloads \RankLib -master \RankLib -master \t arget \s urefire -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
I was curious about whether there is something wrong with the test of LambdaMART model in your project? Or did I lose some necessary 3rd-party libraries?
Reactions are currently unavailable
Hi, jobbandtalent. When I first download and run this project, a "BUILD FAILURE" error occurs.
The command I used,
The error log I got,
I was curious about whether there is something wrong with the test of LambdaMART model in your project? Or did I lose some necessary 3rd-party libraries?