Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-1107

Problem running high-memory-tests profile with Morfologik tests

    XMLWordPrintableJSON

Details

    Description

      When running the following command on the 1.8.1 tag I get the following error. (The full build log is attached.)

      mvn clean install -T 1C -Phigh-memory-tests -DOPENNLP_DATA_DIR=/opt/opennlp-data/

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project opennlp-morfologik-addon: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: There was an error in the forked process
      [ERROR] java.lang.RuntimeException: Unable to load category: opennlp.tools.HighMemoryUsage
      [ERROR] at org.apache.maven.surefire.group.match.SingleGroupMatcher.loadGroupClasses(SingleGroupMatcher.java:139)
      [ERROR] at org.apache.maven.surefire.common.junit48.FilterFactory.createGroupFilter(FilterFactory.java:100)
      [ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.createJUnit48Filter(JUnitCoreProvider.java:279)
      [ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:130)
      [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
      [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
      [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      [ERROR] Caused by: java.lang.ClassNotFoundException: opennlp.tools.HighMemoryUsage
      [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
      [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      [ERROR] at org.apache.maven.surefire.group.match.SingleGroupMatcher.loadGroupClasses(SingleGroupMatcher.java:135)
      [ERROR] ... 6 more
      [ERROR] -> [Help 1]
      

      Attachments

        1. opennlp-morfologik-addon.out
          286 kB
          Jeff Zemerick

        Issue Links

          Activity

            People

              jzemerick Jeff Zemerick
              jzemerick Jeff Zemerick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: