The inception-project-export module - testing issue on build

105 views
Skip to first unread message

Glenn Gobbel

unread,
Dec 12, 2023, 6:36:25 PM12/12/23
to inception-users
I'm trying to build version 30.0 of the INCEpTION application in Eclipse with Maven.   The reason for creating our own build is that we'd like to add a recommender for our specific research project, and we've been able to do that with earlier versions of INCEpTION (27.8).  Unfortunately, we are getting a test failure when trying to build the inception-project-export module.  

We are currently using Maven 3.9.4 and JDK 17.0.9 within Eclipse 2023-09 (4.29.0).  Eclipse is running on Ubuntu 22.0.4 LTS within a Windows Subsystem for Linux (wsl2) on a Dell PC.  The output from the Maven build to the console for the module is below.  All the modules up to the inception-project-export build successfully, so I have not included that output.  We can run the application from within Eclipse by running the 'main' method in the INCEpTION class, and it seems to run fine despite being unable to build the project using Maven.  However, we have not done extensive testing of the run, and we have not yet tried to add our Recommender module.

Could you please help us figure out what might be causing this error and how to fix it?  

Thank you in advance for your time on this program and any help you might provide,

Glenn Gobbel

---

[INFO] build-helper:3.3.0:add-resource(add-js-resources)inception-project-export
[INFO]
[INFO] resources:3.3.1:resources(default-resources)inception-project-export
[INFO] Copying 3 resources from src/main/resources to target/classes
[INFO] Copying 0 resource from src/main/resources to target/classes
[INFO] Copying 8 resources from src/main/java to target/classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to target/classes
[INFO] Copying 3 resources from target/js to target/classes
[INFO]
[INFO] compiler:3.11.0:compile(default-compile)inception-project-export
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 29 source files with javac [debug deprecation release 17] to target/classes
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
  reason: class file for javax.persistence.GenerationType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
  reason: class file for javax.persistence.TemporalType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.FetchType.EAGER
  reason: class file for javax.persistence.FetchType not found
[WARNING] unknown enum constant javax.persistence.EnumType.STRING
  reason: class file for javax.persistence.EnumType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[INFO] Hibernate JPA 2 Static-Metamodel Generator 5.6.15.Final
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
  reason: class file for javax.persistence.GenerationType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
  reason: class file for javax.persistence.TemporalType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.FetchType.EAGER
  reason: class file for javax.persistence.FetchType not found
[WARNING] unknown enum constant javax.persistence.EnumType.STRING
  reason: class file for javax.persistence.EnumType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
  reason: class file for javax.persistence.GenerationType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
  reason: class file for javax.persistence.TemporalType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.FetchType.EAGER
  reason: class file for javax.persistence.FetchType not found
[WARNING] unknown enum constant javax.persistence.EnumType.STRING
  reason: class file for javax.persistence.EnumType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[INFO]
[INFO] frontend:1.13.4:npm(npm test)inception-project-export
[INFO] Running 'npm run test' in /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export/src/main/ts
[INFO]
[INFO] > @inception-project/inception-pr...@30.0.0 test
[INFO] > mocha -r esbuild-runner-plugins/register -r jsdom-global/register "./test/**/*.test.ts" --extension ts --reporter mocha-junit-reporter --reporter-options mochaFile="../../../target/surefire-reports/mocha-test-report.xml"
[INFO]
[INFO]
[INFO] resources:3.3.1:testResources(default-testResources)inception-project-export
[INFO] Copying 2 resources from src/test/resources to target/test-classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to target/test-classes
[INFO]
[INFO] compiler:3.11.0:testCompile(default-testCompile)inception-project-export
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 2 source files with javac [debug deprecation release 17] to target/test-classes
[INFO] Hibernate JPA 2 Static-Metamodel Generator 5.6.15.Final
[WARNING] /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java:[330,18] antMatcher(java.lang.String) in org.springframework.security.config.annotation.web.builders.HttpSecurity has been deprecated
[WARNING] /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java:[331,18] authorizeRequests() in org.springframework.security.config.annotation.web.builders.HttpSecurity has been deprecated
[WARNING] /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java:[332,21] antMatchers(java.lang.String...) in org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry has been deprecated
[INFO]
[INFO] surefire:3.1.2:test(default-test)inception-project-export
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running de.tudarmstadt.ukp.inception.project.export.controller.ExportServiceControllerImplTest
09:23:16 INFO ExportServiceControllerImplTest:55   - [main] Starting ExportServiceControllerImplTest using Java 17.0.9 on VAWF6PJKQ3 with PID 31745 (started by gobbelg in /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export)
09:23:16 INFO ExportServiceControllerImplTest:632  - [main] No active profile set, falling back to 1 default profile: "default"
09:23:20 WARN JpaBaseConfiguration$JpaWebConfiguration:223  - [main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
09:23:22 INFO ExportServiceControllerImplTest:61   - [main] Started ExportServiceControllerImplTest in 6.488 seconds (JVM running for 7.764)
09:23:22 INFO                 CasDoctor:223  - [main] Detected SNAPSHOT/beta version - automatically enabling all checks
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: AllFeatureStructuresIndexedCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: CASMetadataTypeIsPresentCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: DanglingRelationsCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: FeatureAttachedSpanAnnotationsTrulyAttachedCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: LinksReachableThroughChainsCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: NoMultipleIncomingRelationsCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: NoZeroSizeTokensAndSentencesCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: RelationOffsetsCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: UniqueDocumentAnnotationCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: NegativeSizeAnnotationsCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: AllAnnotationsStartAndEndWithinSentencesCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: TokensAndSententencedDoNotOverlapCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: UnreachableAnnotationsCheck
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
09:23:22 INFO        ProjectServiceImpl:151  - [main] Created project [test-project](1)
09:23:23 INFO        ProjectServiceImpl:523  - [main] Created permission [MANAGER] for user user on project [test-project](1)
09:23:23 INFO ExportServiceControllerImplTest:259  - [WebSocketClient-AsyncIO-5] GOT MESSAGE: [91, 93]
09:23:23 ERROR ExportServiceControllerImplTest:269  - [WebSocketClient-AsyncIO-6] Error: [Session closed.]
09:23:23 INFO        ProjectServiceImpl:506  - [main] Removed permission [MANAGER] for user [user] on project [test-project](1)
09:23:23 ERROR   StompSubProtocolHandler:338  - [http-nio-auto-1-exec-1] Failed to send message to MessageChannel in session dda2aa38-66d9-09d2-083f-ba6a5c32f512:Failed to send message to ExecutorSubscribableChannel[clientInboundChannel]; nested exception is org.springframework.security.access.AccessDeniedException: Access is denied
09:23:23 ERROR ExportServiceControllerImplTest:269  - [WebSocketClient-AsyncIO-12] Error: [Failed to send message to ExecutorSubscribableChannel[clientInboundChannel]; nested exception is org.springframework.security.access.AccessDeniedException: Access is denied]
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.076 s <<< FAILURE! -- in de.tudarmstadt.ukp.inception.project.export.controller.ExportServiceControllerImplTest
[ERROR] de.tudarmstadt.ukp.inception.project.export.controller.ExportServiceControllerImplTest.thatSubscriptionWithProjectPermissionIsAccepted -- Time elapsed: 0.866 s <<< FAILURE!
org.opentest4j.AssertionFailedError:

expected: null
 but was: "Session closed."
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at de.tudarmstadt.ukp.inception.project.export.controller.ExportServiceControllerImplTest.thatSubscriptionWithProjectPermissionIsAccepted(ExportServiceControllerImplTest.java:223)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

[INFO] Running de.tudarmstadt.ukp.inception.project.export.AnnotationDocumentsExporterTest
09:23:24 INFO     CasStorageServiceImpl:187  - [main] CAS doctor not available - unable to check/repair CASes
09:23:24 INFO AnnotationDocumentExporter:441  - [main] Imported content for annotation document 1: user [INITIAL_CAS] for [example_sentence.txt](1) in project [Test Project](1)
09:23:24 INFO AnnotationDocumentExporter:441  - [main] Imported content for annotation document 2: user [admin] for [example_sentence.txt](1) in project [Test Project](1)
09:23:24 INFO AnnotationDocumentExporter:342  - [main] Imported [1] annotation documents for project [Export Test - Curated annotation project] (0 seconds)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.839 s -- in de.tudarmstadt.ukp.inception.project.export.AnnotationDocumentsExporterTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   ExportServiceControllerImplTest.thatSubscriptionWithProjectPermissionIsAccepted:223
expected: null
 but was: "Session closed."
[INFO]
[ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for INCEpTION 30.0:
[INFO]
[INFO] INCEpTION .......................................... SUCCESS [  2.027 s]
[INFO] INCEpTION - Dependencies ........................... SUCCESS [  0.068 s]
[INFO] INCEpTION - Test Dependencies ...................... SUCCESS [  0.517 s]
[INFO] INCEpTION - BOM .................................... SUCCESS [  0.058 s]
[INFO] inception-app ...................................... SUCCESS [  0.813 s]
[INFO] INCEpTION - Dev - Build resources .................. SUCCESS [  0.972 s]
[INFO] INCEpTION - App - Boot loader ...................... SUCCESS [  2.390 s]
[INFO] INCEpTION - Support library ........................ SUCCESS [  6.016 s]
[INFO] INCEpTION - Support - Bootstrap .................... SUCCESS [  8.504 s]
[INFO] INCEpTION - Core - Support for standalone mode ..... SUCCESS [  0.620 s]
[INFO] INCEpTION - Core - Security ........................ SUCCESS [  9.580 s]
[INFO] INCEpTION - Core - Model ........................... SUCCESS [  0.844 s]
[INFO] INCEpTION - Core - VDoc Model ...................... SUCCESS [  0.679 s]
[INFO] INCEpTION - Core - Export Model .................... SUCCESS [  0.572 s]
[INFO] INCEpTION - Core - Annotation Storage - API ........ SUCCESS [  1.849 s]
[INFO] INCEpTION - Core - Documents - API ................. SUCCESS [  1.183 s]
[INFO] INCEpTION - Core - Formats API ..................... SUCCESS [  0.612 s]
[INFO] INCEpTION - Export - API ........................... SUCCESS [  0.636 s]
[INFO] INCEpTION - Project - API .......................... SUCCESS [  0.488 s]
[INFO] INCEpTION - Core - Project ......................... SUCCESS [  5.781 s]
[INFO] INCEpTION - Core - Constraints ..................... SUCCESS [  2.964 s]
[INFO] INCEpTION - Core - Annotation rendering API ........ SUCCESS [  1.527 s]
[INFO] INCEpTION - Core - Annotation Schema API ........... SUCCESS [  0.669 s]
[INFO] INCEpTION - Core - Annotation editor API ........... SUCCESS [  0.651 s]
[INFO] INCEpTION - Preferences ............................ SUCCESS [  5.941 s]
[INFO] INCEpTION - UI - Core .............................. SUCCESS [  1.449 s]
[INFO] INCEpTION - Core - Annotation API .................. SUCCESS [  7.559 s]
[INFO] INCEpTION - Core - Diagnostics ..................... SUCCESS [  4.023 s]
[INFO] INCEpTION - Core - Annotation Storage .............. SUCCESS [ 59.969 s]
[INFO] INCEpTION - IO - XMI ............................... SUCCESS [  0.558 s]
[INFO] INCEpTION - Scheduling ............................. SUCCESS [  2.568 s]
[INFO] INCEpTION - Core - Documents ....................... SUCCESS [01:03 min]
[INFO] INCEpTION - IO - Text .............................. SUCCESS [  1.943 s]
[INFO] INCEpTION - Core - Annotation Schema ............... SUCCESS [  8.218 s]
[INFO] INCEpTION - Core - Export .......................... SUCCESS [  4.521 s]
[INFO] INCEpTION - Core - Project initializers ............ SUCCESS [  0.812 s]
[INFO] INCEpTION - Recommendation - API ................... SUCCESS [  6.643 s]
[INFO] INCEpTION - Log .................................... SUCCESS [  7.201 s]
[INFO] INCEpTION - Search - Core .......................... SUCCESS [  1.059 s]
[INFO] INCEpTION - UI - Annotation ........................ SUCCESS [  1.648 s]
[INFO] INCEpTION - Websocket .............................. SUCCESS [ 11.292 s]
[INFO] INCEpTION - Core - Project export .................. FAILURE [ 17.285 s]
[INFO] INCEpTION - UI - Project ........................... SKIPPED
[INFO] INCEpTION - Workload ............................... SKIPPED
[INFO] INCEpTION - DIAM - API ............................. SKIPPED
[INFO] INCEpTION - JavaScript API ......................... SKIPPED
[INFO] INCEpTION - DIAM ................................... SKIPPED
[INFO] INCEpTION - IO - XML ............................... SKIPPED
[INFO] INCEpTION - DIAM - Compact Serialization v2 ........ SKIPPED
[INFO] INCEpTION - Editor - External editor ............... SKIPPED
[INFO] INCEpTION - Editor - brat .......................... SKIPPED
[INFO] INCEpTION - DIAM - Editor .......................... SKIPPED
[INFO] INCEpTION - UI - Dashboard ......................... SKIPPED
[INFO] INCEpTION - Test Support library ................... SKIPPED
[INFO] INCEpTION - Recommendation - Core .................. SKIPPED
[INFO] INCEpTION - ML - String Matching ................... SKIPPED
[INFO] INCEpTION - Core - Project initializers - Basic Span / Relation SKIPPED
[INFO] INCEpTION - Document Metadata Support .............. SKIPPED
[INFO] INCEpTION - IO - TSV ............................... SKIPPED
[INFO] INCEpTION - Core - Curation ........................ SKIPPED
[INFO] INCEpTION - Curation ............................... SKIPPED
[INFO] INCEpTION - Workload Management - Matrix ........... SKIPPED
[INFO] INCEpTION - Core - Project initializers - Document Labeling SKIPPED
[INFO] INCEpTION - ML - OpenNLP (v 2.3.0) ................. SKIPPED
[INFO] INCEpTION - Core - Project initializers - Sentence Labeling SKIPPED
[INFO] INCEpTION - Core - Project initializers - Universal Dependencies SKIPPED
[INFO] INCEpTION - Knowledge Base - Core .................. SKIPPED
[INFO] INCEpTION - Concept Linking ........................ SKIPPED
[INFO] INCEpTION - IO - CONLL ............................. SKIPPED
[INFO] INCEpTION - Search - MTAS .......................... SKIPPED
[INFO] INCEpTION - Knowledge Base - UI .................... SKIPPED
[INFO] INCEpTION - Core - Project initializers - Entity Linking (Wikidata) SKIPPED
[INFO] INCEpTION - Core - Remote API ...................... SKIPPED
[INFO] INCEpTION - Telemetry .............................. SKIPPED
[INFO] INCEpTION - UI - Tutorial .......................... SKIPPED
[INFO] INCEpTION - Core - Agreement ....................... SKIPPED
[INFO] INCEpTION - UI - Agreement ......................... SKIPPED
[INFO] INCEpTION - UI - Curation .......................... SKIPPED
[INFO] INCEpTION - Dashboard - Recent activity ............ SKIPPED
[INFO] INCEpTION - UI - Scheduling ........................ SKIPPED
[INFO] INCEpTION - UI - Tagsets ........................... SKIPPED
[INFO] INCEpTION - Sharing ................................ SKIPPED
[INFO] INCEpTION - Core - Annotation Guidelines ........... SKIPPED
[INFO] INCEpTION - IO - BioC .............................. SKIPPED
[INFO] INCEpTION - IO - JSON .............................. SKIPPED
[INFO] INCEpTION - IO - HTML .............................. SKIPPED
[INFO] INCEpTION - IO - NIF ............................... SKIPPED
[INFO] INCEpTION - IO - LIF (deprecated) .................. SKIPPED
[INFO] INCEpTION - IO - Perseus ........................... SKIPPED
[INFO] INCEpTION - IO - IMS CWB ........................... SKIPPED
[INFO] INCEpTION - IO - InterText ......................... SKIPPED
[INFO] INCEpTION - IO - TCF ............................... SKIPPED
[INFO] INCEpTION - IO - TEI ............................... SKIPPED
[INFO] INCEpTION - Search - UI ............................ SKIPPED
[INFO] INCEpTION - External Search - Core ................. SKIPPED
[INFO] INCEpTION - External Search - Elastic Search ....... SKIPPED
[INFO] INCEpTION - External Search - OpenSearch ........... SKIPPED
[INFO] INCEpTION - External Search - Solr ................. SKIPPED
[INFO] INCEpTION - External Search - PubMed ............... SKIPPED
[INFO] INCEpTION - External Search - PubAnnotation ........ SKIPPED
[INFO] INCEpTION - External Search - UI ................... SKIPPED
[INFO] INCEpTION - Knowledge Base - Fact Linking (deprecated) SKIPPED
[INFO] INCEpTION - Editor - HTML + Annotator JS (deprecated) SKIPPED
[INFO] INCEpTION - Editor - HTML + Apache Annotator (v0.2.0) SKIPPED
[INFO] INCEpTION - Editor - HTML + Recogito JS (1.8.2) .... SKIPPED
[INFO] INCEpTION - Editor - PDF (pdfbox 2.0.30) (deprecated) SKIPPED
[INFO] INCEpTION - Editor - PDF (pdfbox 2.0.30; pdfjs 2.14.305) SKIPPED
[INFO] INCEpTION - Editor - Review (deprecated) ........... SKIPPED
[INFO] INCEpTION - Lookup Feature Support ................. SKIPPED
[INFO] INCEpTION - Image Support .......................... SKIPPED
[INFO] INCEpTION - Recommendation - Active Learning ....... SKIPPED
[INFO] INCEpTION - ML - European Language Grid ............ SKIPPED
[INFO] INCEpTION - ML - Huggingface ....................... SKIPPED
[INFO] INCEpTION - ML - External .......................... SKIPPED
[INFO] INCEpTION - ML - LAPPS Grid (deprecated) ........... SKIPPED
[INFO] INCEpTION - ML - WebLicht .......................... SKIPPED
[INFO] INCEpTION - Documentation .......................... SKIPPED
[INFO] INCEpTION - Workload Management - Dynamic .......... SKIPPED
[INFO] INCEpTION - Workload UI ............................ SKIPPED
[INFO] INCEpTION - Plugin API ............................. SKIPPED
[INFO] INCEpTION - Plugin manager ......................... SKIPPED
[INFO] INCEpTION - Plugin Parent POM ...................... SKIPPED
[INFO] INCEpTION - Versioning ............................. SKIPPED
[INFO] INCEpTION - App - Web-Application .................. SKIPPED
[INFO] INCEpTION - Example - ML - Data Majority Recommender SKIPPED
[INFO] INCEpTION - Docker Image ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:17 min
[INFO] Finished at: 2023-12-12T09:23:24-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test(default-test) on project inception-project-export: There are test failures.
[ERROR]
[ERROR] Please refer to /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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 <args> -rf :inception-project-export

[INFO] build-helper:3.3.0:add-resource(add-js-resources)inception-project-export
[INFO]
[INFO] resources:3.3.1:resources(default-resources)inception-project-export
[INFO] Copying 3 resources from src/main/resources to target/classes
[INFO] Copying 0 resource from src/main/resources to target/classes
[INFO] Copying 8 resources from src/main/java to target/classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to target/classes
[INFO] Copying 3 resources from target/js to target/classes
[INFO]
[INFO] compiler:3.11.0:compile(default-compile)inception-project-export
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 29 source files with javac [debug deprecation release 17] to target/classes
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
  reason: class file for javax.persistence.GenerationType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
  reason: class file for javax.persistence.TemporalType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.FetchType.EAGER
  reason: class file for javax.persistence.FetchType not found
[WARNING] unknown enum constant javax.persistence.EnumType.STRING
  reason: class file for javax.persistence.EnumType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[INFO] Hibernate JPA 2 Static-Metamodel Generator 5.6.15.Final
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
  reason: class file for javax.persistence.GenerationType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
  reason: class file for javax.persistence.TemporalType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.FetchType.EAGER
  reason: class file for javax.persistence.FetchType not found
[WARNING] unknown enum constant javax.persistence.EnumType.STRING
  reason: class file for javax.persistence.EnumType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
  reason: class file for javax.persistence.GenerationType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
  reason: class file for javax.persistence.TemporalType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.GenerationType.IDENTITY
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.FetchType.EAGER
  reason: class file for javax.persistence.FetchType not found
[WARNING] unknown enum constant javax.persistence.EnumType.STRING
  reason: class file for javax.persistence.EnumType not found
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[WARNING] unknown enum constant javax.persistence.TemporalType.TIMESTAMP
[INFO]
[INFO] frontend:1.13.4:npm(npm test)inception-project-export
[INFO] Running 'npm run test' in /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export/src/main/ts
[INFO]
[INFO] > @inception-project/inception-pr...@30.0.0 test
[INFO] > mocha -r esbuild-runner-plugins/register -r jsdom-global/register "./test/**/*.test.ts" --extension ts --reporter mocha-junit-reporter --reporter-options mochaFile="../../../target/surefire-reports/mocha-test-report.xml"
[INFO]
[INFO]
[INFO] resources:3.3.1:testResources(default-testResources)inception-project-export
[INFO] Copying 2 resources from src/test/resources to target/test-classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to target/test-classes
[INFO]
[INFO] compiler:3.11.0:testCompile(default-testCompile)inception-project-export
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 2 source files with javac [debug deprecation release 17] to target/test-classes
[INFO] Hibernate JPA 2 Static-Metamodel Generator 5.6.15.Final
[WARNING] /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java:[330,18] antMatcher(java.lang.String) in org.springframework.security.config.annotation.web.builders.HttpSecurity has been deprecated
[WARNING] /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java:[331,18] authorizeRequests() in org.springframework.security.config.annotation.web.builders.HttpSecurity has been deprecated
[WARNING] /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java:[332,21] antMatchers(java.lang.String...) in org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry has been deprecated
[INFO]
[INFO] surefire:3.1.2:test(default-test)inception-project-export
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running de.tudarmstadt.ukp.inception.project.export.controller.ExportServiceControllerImplTest
09:23:16 INFO ExportServiceControllerImplTest:55   - [main] Starting ExportServiceControllerImplTest using Java 17.0.9 on VAWF6PJKQ3 with PID 31745 (started by gobbelg in /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export)
09:23:16 INFO ExportServiceControllerImplTest:632  - [main] No active profile set, falling back to 1 default profile: "default"
09:23:20 WARN JpaBaseConfiguration$JpaWebConfiguration:223  - [main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
09:23:22 INFO ExportServiceControllerImplTest:61   - [main] Started ExportServiceControllerImplTest in 6.488 seconds (JVM running for 7.764)
09:23:22 INFO                 CasDoctor:223  - [main] Detected SNAPSHOT/beta version - automatically enabling all checks
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: AllFeatureStructuresIndexedCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: CASMetadataTypeIsPresentCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: DanglingRelationsCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: FeatureAttachedSpanAnnotationsTrulyAttachedCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: LinksReachableThroughChainsCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: NoMultipleIncomingRelationsCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: NoZeroSizeTokensAndSentencesCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: RelationOffsetsCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: UniqueDocumentAnnotationCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: NegativeSizeAnnotationsCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: AllAnnotationsStartAndEndWithinSentencesCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: TokensAndSententencedDoNotOverlapCheck
09:23:22 INFO                 CasDoctor:228  - [main] Check activated: UnreachableAnnotationsCheck
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
09:23:22 INFO        ProjectServiceImpl:151  - [main] Created project [test-project](1)
09:23:23 INFO        ProjectServiceImpl:523  - [main] Created permission [MANAGER] for user user on project [test-project](1)
09:23:23 INFO ExportServiceControllerImplTest:259  - [WebSocketClient-AsyncIO-5] GOT MESSAGE: [91, 93]
09:23:23 ERROR ExportServiceControllerImplTest:269  - [WebSocketClient-AsyncIO-6] Error: [Session closed.]
09:23:23 INFO        ProjectServiceImpl:506  - [main] Removed permission [MANAGER] for user [user] on project [test-project](1)
09:23:23 ERROR   StompSubProtocolHandler:338  - [http-nio-auto-1-exec-1] Failed to send message to MessageChannel in session dda2aa38-66d9-09d2-083f-ba6a5c32f512:Failed to send message to ExecutorSubscribableChannel[clientInboundChannel]; nested exception is org.springframework.security.access.AccessDeniedException: Access is denied
09:23:23 ERROR ExportServiceControllerImplTest:269  - [WebSocketClient-AsyncIO-12] Error: [Failed to send message to ExecutorSubscribableChannel[clientInboundChannel]; nested exception is org.springframework.security.access.AccessDeniedException: Access is denied]
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.076 s <<< FAILURE! -- in de.tudarmstadt.ukp.inception.project.export.controller.ExportServiceControllerImplTest
[ERROR] de.tudarmstadt.ukp.inception.project.export.controller.ExportServiceControllerImplTest.thatSubscriptionWithProjectPermissionIsAccepted -- Time elapsed: 0.866 s <<< FAILURE!
org.opentest4j.AssertionFailedError:

expected: null
 but was: "Session closed."
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at de.tudarmstadt.ukp.inception.project.export.controller.ExportServiceControllerImplTest.thatSubscriptionWithProjectPermissionIsAccepted(ExportServiceControllerImplTest.java:223)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

[INFO] Running de.tudarmstadt.ukp.inception.project.export.AnnotationDocumentsExporterTest
09:23:24 INFO     CasStorageServiceImpl:187  - [main] CAS doctor not available - unable to check/repair CASes
09:23:24 INFO AnnotationDocumentExporter:441  - [main] Imported content for annotation document 1: user [INITIAL_CAS] for [example_sentence.txt](1) in project [Test Project](1)
09:23:24 INFO AnnotationDocumentExporter:441  - [main] Imported content for annotation document 2: user [admin] for [example_sentence.txt](1) in project [Test Project](1)
09:23:24 INFO AnnotationDocumentExporter:342  - [main] Imported [1] annotation documents for project [Export Test - Curated annotation project] (0 seconds)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.839 s -- in de.tudarmstadt.ukp.inception.project.export.AnnotationDocumentsExporterTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   ExportServiceControllerImplTest.thatSubscriptionWithProjectPermissionIsAccepted:223
expected: null
 but was: "Session closed."
[INFO]
[ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for INCEpTION 30.0:
[INFO]
[INFO] INCEpTION .......................................... SUCCESS [  2.027 s]
[INFO] INCEpTION - Dependencies ........................... SUCCESS [  0.068 s]
[INFO] INCEpTION - Test Dependencies ...................... SUCCESS [  0.517 s]
[INFO] INCEpTION - BOM .................................... SUCCESS [  0.058 s]
[INFO] inception-app ...................................... SUCCESS [  0.813 s]
[INFO] INCEpTION - Dev - Build resources .................. SUCCESS [  0.972 s]
[INFO] INCEpTION - App - Boot loader ...................... SUCCESS [  2.390 s]
[INFO] INCEpTION - Support library ........................ SUCCESS [  6.016 s]
[INFO] INCEpTION - Support - Bootstrap .................... SUCCESS [  8.504 s]
[INFO] INCEpTION - Core - Support for standalone mode ..... SUCCESS [  0.620 s]
[INFO] INCEpTION - Core - Security ........................ SUCCESS [  9.580 s]
[INFO] INCEpTION - Core - Model ........................... SUCCESS [  0.844 s]
[INFO] INCEpTION - Core - VDoc Model ...................... SUCCESS [  0.679 s]
[INFO] INCEpTION - Core - Export Model .................... SUCCESS [  0.572 s]
[INFO] INCEpTION - Core - Annotation Storage - API ........ SUCCESS [  1.849 s]
[INFO] INCEpTION - Core - Documents - API ................. SUCCESS [  1.183 s]
[INFO] INCEpTION - Core - Formats API ..................... SUCCESS [  0.612 s]
[INFO] INCEpTION - Export - API ........................... SUCCESS [  0.636 s]
[INFO] INCEpTION - Project - API .......................... SUCCESS [  0.488 s]
[INFO] INCEpTION - Core - Project ......................... SUCCESS [  5.781 s]
[INFO] INCEpTION - Core - Constraints ..................... SUCCESS [  2.964 s]
[INFO] INCEpTION - Core - Annotation rendering API ........ SUCCESS [  1.527 s]
[INFO] INCEpTION - Core - Annotation Schema API ........... SUCCESS [  0.669 s]
[INFO] INCEpTION - Core - Annotation editor API ........... SUCCESS [  0.651 s]
[INFO] INCEpTION - Preferences ............................ SUCCESS [  5.941 s]
[INFO] INCEpTION - UI - Core .............................. SUCCESS [  1.449 s]
[INFO] INCEpTION - Core - Annotation API .................. SUCCESS [  7.559 s]
[INFO] INCEpTION - Core - Diagnostics ..................... SUCCESS [  4.023 s]
[INFO] INCEpTION - Core - Annotation Storage .............. SUCCESS [ 59.969 s]
[INFO] INCEpTION - IO - XMI ............................... SUCCESS [  0.558 s]
[INFO] INCEpTION - Scheduling ............................. SUCCESS [  2.568 s]
[INFO] INCEpTION - Core - Documents ....................... SUCCESS [01:03 min]
[INFO] INCEpTION - IO - Text .............................. SUCCESS [  1.943 s]
[INFO] INCEpTION - Core - Annotation Schema ............... SUCCESS [  8.218 s]
[INFO] INCEpTION - Core - Export .......................... SUCCESS [  4.521 s]
[INFO] INCEpTION - Core - Project initializers ............ SUCCESS [  0.812 s]
[INFO] INCEpTION - Recommendation - API ................... SUCCESS [  6.643 s]
[INFO] INCEpTION - Log .................................... SUCCESS [  7.201 s]
[INFO] INCEpTION - Search - Core .......................... SUCCESS [  1.059 s]
[INFO] INCEpTION - UI - Annotation ........................ SUCCESS [  1.648 s]
[INFO] INCEpTION - Websocket .............................. SUCCESS [ 11.292 s]
[INFO] INCEpTION - Core - Project export .................. FAILURE [ 17.285 s]
[INFO] INCEpTION - UI - Project ........................... SKIPPED
[INFO] INCEpTION - Workload ............................... SKIPPED
[INFO] INCEpTION - DIAM - API ............................. SKIPPED
[INFO] INCEpTION - JavaScript API ......................... SKIPPED
[INFO] INCEpTION - DIAM ................................... SKIPPED
[INFO] INCEpTION - IO - XML ............................... SKIPPED
[INFO] INCEpTION - DIAM - Compact Serialization v2 ........ SKIPPED
[INFO] INCEpTION - Editor - External editor ............... SKIPPED
[INFO] INCEpTION - Editor - brat .......................... SKIPPED
[INFO] INCEpTION - DIAM - Editor .......................... SKIPPED
[INFO] INCEpTION - UI - Dashboard ......................... SKIPPED
[INFO] INCEpTION - Test Support library ................... SKIPPED
[INFO] INCEpTION - Recommendation - Core .................. SKIPPED
[INFO] INCEpTION - ML - String Matching ................... SKIPPED
[INFO] INCEpTION - Core - Project initializers - Basic Span / Relation SKIPPED
[INFO] INCEpTION - Document Metadata Support .............. SKIPPED
[INFO] INCEpTION - IO - TSV ............................... SKIPPED
[INFO] INCEpTION - Core - Curation ........................ SKIPPED
[INFO] INCEpTION - Curation ............................... SKIPPED
[INFO] INCEpTION - Workload Management - Matrix ........... SKIPPED
[INFO] INCEpTION - Core - Project initializers - Document Labeling SKIPPED
[INFO] INCEpTION - ML - OpenNLP (v 2.3.0) ................. SKIPPED
[INFO] INCEpTION - Core - Project initializers - Sentence Labeling SKIPPED
[INFO] INCEpTION - Core - Project initializers - Universal Dependencies SKIPPED
[INFO] INCEpTION - Knowledge Base - Core .................. SKIPPED
[INFO] INCEpTION - Concept Linking ........................ SKIPPED
[INFO] INCEpTION - IO - CONLL ............................. SKIPPED
[INFO] INCEpTION - Search - MTAS .......................... SKIPPED
[INFO] INCEpTION - Knowledge Base - UI .................... SKIPPED
[INFO] INCEpTION - Core - Project initializers - Entity Linking (Wikidata) SKIPPED
[INFO] INCEpTION - Core - Remote API ...................... SKIPPED
[INFO] INCEpTION - Telemetry .............................. SKIPPED
[INFO] INCEpTION - UI - Tutorial .......................... SKIPPED
[INFO] INCEpTION - Core - Agreement ....................... SKIPPED
[INFO] INCEpTION - UI - Agreement ......................... SKIPPED
[INFO] INCEpTION - UI - Curation .......................... SKIPPED
[INFO] INCEpTION - Dashboard - Recent activity ............ SKIPPED
[INFO] INCEpTION - UI - Scheduling ........................ SKIPPED
[INFO] INCEpTION - UI - Tagsets ........................... SKIPPED
[INFO] INCEpTION - Sharing ................................ SKIPPED
[INFO] INCEpTION - Core - Annotation Guidelines ........... SKIPPED
[INFO] INCEpTION - IO - BioC .............................. SKIPPED
[INFO] INCEpTION - IO - JSON .............................. SKIPPED
[INFO] INCEpTION - IO - HTML .............................. SKIPPED
[INFO] INCEpTION - IO - NIF ............................... SKIPPED
[INFO] INCEpTION - IO - LIF (deprecated) .................. SKIPPED
[INFO] INCEpTION - IO - Perseus ........................... SKIPPED
[INFO] INCEpTION - IO - IMS CWB ........................... SKIPPED
[INFO] INCEpTION - IO - InterText ......................... SKIPPED
[INFO] INCEpTION - IO - TCF ............................... SKIPPED
[INFO] INCEpTION - IO - TEI ............................... SKIPPED
[INFO] INCEpTION - Search - UI ............................ SKIPPED
[INFO] INCEpTION - External Search - Core ................. SKIPPED
[INFO] INCEpTION - External Search - Elastic Search ....... SKIPPED
[INFO] INCEpTION - External Search - OpenSearch ........... SKIPPED
[INFO] INCEpTION - External Search - Solr ................. SKIPPED
[INFO] INCEpTION - External Search - PubMed ............... SKIPPED
[INFO] INCEpTION - External Search - PubAnnotation ........ SKIPPED
[INFO] INCEpTION - External Search - UI ................... SKIPPED
[INFO] INCEpTION - Knowledge Base - Fact Linking (deprecated) SKIPPED
[INFO] INCEpTION - Editor - HTML + Annotator JS (deprecated) SKIPPED
[INFO] INCEpTION - Editor - HTML + Apache Annotator (v0.2.0) SKIPPED
[INFO] INCEpTION - Editor - HTML + Recogito JS (1.8.2) .... SKIPPED
[INFO] INCEpTION - Editor - PDF (pdfbox 2.0.30) (deprecated) SKIPPED
[INFO] INCEpTION - Editor - PDF (pdfbox 2.0.30; pdfjs 2.14.305) SKIPPED
[INFO] INCEpTION - Editor - Review (deprecated) ........... SKIPPED
[INFO] INCEpTION - Lookup Feature Support ................. SKIPPED
[INFO] INCEpTION - Image Support .......................... SKIPPED
[INFO] INCEpTION - Recommendation - Active Learning ....... SKIPPED
[INFO] INCEpTION - ML - European Language Grid ............ SKIPPED
[INFO] INCEpTION - ML - Huggingface ....................... SKIPPED
[INFO] INCEpTION - ML - External .......................... SKIPPED
[INFO] INCEpTION - ML - LAPPS Grid (deprecated) ........... SKIPPED
[INFO] INCEpTION - ML - WebLicht .......................... SKIPPED
[INFO] INCEpTION - Documentation .......................... SKIPPED
[INFO] INCEpTION - Workload Management - Dynamic .......... SKIPPED
[INFO] INCEpTION - Workload UI ............................ SKIPPED
[INFO] INCEpTION - Plugin API ............................. SKIPPED
[INFO] INCEpTION - Plugin manager ......................... SKIPPED
[INFO] INCEpTION - Plugin Parent POM ...................... SKIPPED
[INFO] INCEpTION - Versioning ............................. SKIPPED
[INFO] INCEpTION - App - Web-Application .................. SKIPPED
[INFO] INCEpTION - Example - ML - Data Majority Recommender SKIPPED
[INFO] INCEpTION - Docker Image ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:17 min
[INFO] Finished at: 2023-12-12T09:23:24-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test(default-test) on project inception-project-export: There are test failures.
[ERROR]
[ERROR] Please refer to /home/gobbelg/Documents/GitHubProjects/inception-inception-30.0/inception/inception-project-export/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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 <args> -rf :inception-project-export

Richard Eckart de Castilho

unread,
Dec 13, 2023, 12:21:13 AM12/13/23
to incepti...@googlegroups.com
Good morning Glenn,

> On 13. Dec 2023, at 00:36, Glenn Gobbel <gob...@gmail.com> wrote:
>
> Could you please help us figure out what might be causing this error and how to fix it?

So if I see it correctly, you get a failed build due to this test here failing.

> [ERROR] de.tudarmstadt.ukp.inception.project.export.controller.ExportServiceControllerImplTest.thatSubscriptionWithProjectPermissionIsAccepted -- Time elapsed: 0.866 s <<< FAILURE!
> org.opentest4j.AssertionFailedError:
>
> expected: null
> but was: "Session closed."
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
> at de.tudarmstadt.ukp.inception.project.export.controller.ExportServiceControllerImplTest.thatSubscriptionWithProjectPermissionIsAccepted(ExportServiceControllerImplTest.java:223)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Locally, this test never failed for me. I see it fail occasionally on the CI system, but not consistently. As a consequence, I didn't bother yet tracking down how to improve.

Does this test fail for you on every build? If not, do you run into other issues when this particular test passes?

Cheers,

-- Richard

Glenn Gobbel

unread,
Dec 13, 2023, 5:04:16 PM12/13/23
to inception-users
Hi Richard,

Thank you for your response.  Regarding the questions you asked:

> So if I see it correctly, you get a failed build due to this test here failing.

Yes, I agree.

> Does this test fail for you on every build? If not, do you run into other issues when this particular test passes?

Yes, the test does fail on every build.  I've tried restarting and re-running the build probably over 30 times over two days without success.  However, I can get around the error by either:

1) Skipping tests using the Maven command: "clean install -DskipTests=true" with the most outer directory, 'inception,' as the base directory (that is, using the pom file within that directory,  'inception,' for the build)

OR

2) Skipping only tests of the 'inception-project-export' module using the Maven command: "clean install -pl !inception-project-export -DskipTests"  with the child directory of 'inception', 'inception-app', as the base directory (that is, using the pom file within the 'inception-app' directory for the build).

Do you think I can ignore this error and use one of the workarounds described above?  Or should I explore it further?

Thanks again,
Glenn

Richard Eckart de Castilho

unread,
Dec 14, 2023, 1:09:05 AM12/14/23
to incepti...@googlegroups.com
Hi Glenn,

> On 13. Dec 2023, at 23:04, Glenn Gobbel <gob...@gmail.com> wrote:
>
> Do you think I can ignore this error and use one of the workarounds described above? Or should I explore it further?

I have pushed a change here:

https://github.com/inception-project/inception/commit/70154eb8c38e2650e4acd273ca4c602fe155641b

Could you please check if pulling the latest changes from the `release/30.x` branch fixes the test for you?

Cheers,

-- Richard

Glenn Gobbel

unread,
Dec 14, 2023, 10:46:35 AM12/14/23
to inception-users
Hi Richard,

I downloaded the ' release/30.x' branch, and I was able to build it successfully ('mvn clean install'), and no test errors were reported.  

This is fantastic!  I can't thank you enough for your work, prompt attention, and help getting this addressed.

Thank you so much,
Glenn

Reply all
Reply to author
Forward
0 new messages