Menu

#314 2021_04_25 Clone of Galago Fails to Build on Linux with OpenJ9

v1.x
open
nobody
None
1
2021-04-24
2021-04-24
Martin Vahi
No

After

# cd < a cleanly clonded Galago folder>
mv ~/.m2 ~/.m2_usual
mkdir ~/.m2
time mvn package

I got

<many lines removed in this citation>
Stage writePostings-krovetz completed with 0 errors.
Stage writeNamesRev completed with 0 errors.
Done Indexing.
  - 0.00 Hours
  - 0.00 Minutes
  - 0.13 Seconds
Documents Indexed: 1.
class org.lemurproject.galago.core.corpus.WebDocumentSerializer
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec
Running org.lemurproject.galago.core.util.FixedSizeMinHeapTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

Tests in error: 
  testProxyRet(org.lemurproject.galago.core.retrieval.ProxyRetrievalTest)

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] galago ............................................. SUCCESS [  1.242 s]
[INFO] utility ............................................ SUCCESS [ 41.814 s]
[INFO] tupleflow-typebuilder .............................. SUCCESS [ 25.750 s]
[INFO] tupleflow .......................................... SUCCESS [ 15.576 s]
[INFO] eval ............................................... SUCCESS [  8.563 s]
[INFO] snowball-stemmers .................................. SUCCESS [  2.326 s]
[INFO] krovetz-stemmer .................................... SUCCESS [  1.381 s]
[INFO] core ............................................... FAILURE [04:54 min]
[INFO] contrib ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:39 min
[INFO] Finished at: 2021-04-25T01:11:37+03:00
[INFO] Final Memory: 59M/205M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.1:test (default-test) on project core: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/ts2_andmed/tmp/test/fff2/2021_04_25_cloned_Lemur_search_engine_code/Galago/built_version/lemur-galago/core/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 :core

real    6m43.925s
user    5m34.813s
sys 0m16.969s
ts2@linux-f26r:~/tmp/test/fff2/2021_04_25_cloned_Lemur_search_engine_code/Galago/built_version/lemur-galago$ uname -a
Linux linux-f26r 4.4.126-48-default #1 SMP Sat Apr 7 05:22:50 UTC 2018 (f24992c) x86_64 x86_64 x86_64 GNU/Linux
ts2@linux-f26r:~/tmp/test/fff2/2021_04_25_cloned_Lemur_search_engine_code/Galago/built_version/lemur-galago$ javac -version
JVMSHRC798W The maximum allowed AOT space should not be greater than the softmx limit 67108864 set on shared cache usage.
javac 11.0.10
ts2@linux-f26r:~/tmp/test/fff2/2021_04_25_cloned_Lemur_search_engine_code/Galago/built_version/lemur-galago$ java -version
JVMSHRC798W The maximum allowed AOT space should not be greater than the softmx limit 67108864 set on shared cache usage.
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.24.0, JRE 11 Linux amd64-64-Bit Compressed References 20210120_910 (JIT enabled, AOT enabled)
OpenJ9   - 345e1b09e
OMR      - 741e94ea8
JCL      - 0a86953833 based on jdk-11.0.10+9)
ts2@linux-f26r:~/tmp/test/fff2/2021_04_25_cloned_Lemur_search_engine_code/Galago/built_version/lemur-galago$ 

Related

Bugs: #314

Discussion

  • Martin Vahi

    Martin Vahi - 2021-04-24

    Supposedly this file contains more information.

     
    • Gregory Brooks

      Gregory Brooks - 2021-04-26

      Martin,

      The SureFire output indicated the ProxyRetrievalTest failed with an
      unexpected exception, but to figure out what happened please run the "mvn
      package" step again with the -X flag. Capture the output in a file, and
      in that file find the part that starts with

      Running org.lemurproject.galago.core.retrieval.ProxyRetrievalTest

      and send me that, please.

      Thanks,
      Greg

      On Sun, Apr 25, 2021 at 5:59 AM Martin Vahi martinvahi@users.sourceforge.net wrote:

      Supposedly this file contains more information.

      Attachments:


      Status: open
      Group: v1.x
      Created: Sat Apr 24, 2021 10:23 PM UTC by Martin Vahi
      Last Updated: Sat Apr 24, 2021 10:23 PM UTC
      Owner: nobody

      After

      cd < a cleanly clonded Galago folder>

      mv ~/.m2 ~/.m2_usual
      mkdir ~/.m2
      time mvn package

      I got

      <many lines="" removed="" in="" this="" citation="">Stage writePostings-krovetz completed with 0 errors.Stage writeNamesRev completed with 0 errors.Done Indexing. - 0.00 Hours - 0.00 Minutes - 0.13 SecondsDocuments Indexed: 1.class org.lemurproject.galago.core.corpus.WebDocumentSerializerTests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 secRunning org.lemurproject.galago.core.util.FixedSizeMinHeapTestTests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
      Results :
      Tests in error: testProxyRet(org.lemurproject.galago.core.retrieval.ProxyRetrievalTest)
      Tests run: 314, Failures: 0, Errors: 1, Skipped: 0
      [INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO] [INFO] galago ............................................. SUCCESS [ 1.242 s][INFO] utility ............................................ SUCCESS [ 41.814 s][INFO] tupleflow-typebuilder .............................. SUCCESS [ 25.750 s][INFO] tupleflow .......................................... SUCCESS [ 15.576 s][INFO] eval ............................................... SUCCESS [ 8.563 s][INFO] snowball-stemmers .................................. SUCCESS [ 2.326 s][INFO] krovetz-stemmer .................................... SUCCESS [ 1.381 s][INFO] core ............................................... FAILURE [04:54 min][INFO] contrib ............................................ SKIPPED[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 06:39 min[INFO] Finished at: 2021-04-25T01:11:37+03:00[INFO] Final Memory: 59M/205M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.1:test (default-test) on project core: There are test failures.[ERROR] [ERROR] Please refer to /home/ts2_andmed/tmp/test/fff2/2021_04_25_cloned_Lemur_search_engine_code/Galago/built_version/lemur-galago/core/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 :core
      real 6m43.925suser 5m34.813ssys 0m16.969sts2@linux-f26r:~/tmp/test/fff2/2021_04_25_cloned_Lemur_search_engine_code/Galago/built_version/lemur-galago$ uname -aLinux linux-f26r 4.4.126-48-default #1 SMP Sat Apr 7 05:22:50 UTC 2018 (f24992c) x86_64 x86_64 x86_64 GNU/Linuxts2@linux-f26r:~/tmp/test/fff2/2021_04_25_cloned_Lemur_search_engine_code/Galago/built_version/lemur-galago$ javac -versionJVMSHRC798W The maximum allowed AOT space should not be greater than the softmx limit 67108864 set on shared cache usage.javac 11.0.10ts2@linux-f26r:~/tmp/test/fff2/2021_04_25_cloned_Lemur_search_engine_code/Galago/built_version/lemur-galago$ java -versionJVMSHRC798W The maximum allowed AOT space should not be greater than the softmx limit 67108864 set on shared cache usage.openjdk version "11.0.10" 2021-01-19OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.24.0, JRE 11 Linux amd64-64-Bit Compressed References 20210120_910 (JIT enabled, AOT enabled)OpenJ9 - 345e1b09eOMR - 741e94ea8JCL - 0a86953833 based on jdk-11.0.10+9)ts2@linux-f26r:~/tmp/test/fff2/2021_04_25_cloned_Lemur_search_engine_code/Galago/built_version/lemur-galago$</goals></many>


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/lemur/bugs/314/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #314


Log in to post a comment.