Open khanhnvo opened 4 years ago
Hello, I'm trying to build the webprotege.war with mvn clean package but it is dying at webprotege-server-core.
Any ideas? Also where can I download the webprotege.war?
Thanks
00.003Z"} [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 s - in edu.stanf ord.bmir.protege.web.shared.project.ProjectDetails_Serialization_TestCase [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase.shouldAddT ag(edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase) [ERROR] Run 1: EntityTagsRepositoryImpl_TestCase.setUp:51 » MongoTimeout Timed out after 30 00... [ERROR] Run 2: EntityTagsRepositoryImpl_TestCase.tearDown:99 » MongoTimeout Timed out after 3... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase.shouldFind ByTag(edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase) [ERROR] Run 1: EntityTagsRepositoryImpl_TestCase.setUp:51 » MongoTimeout Timed out after 30 00... [ERROR] Run 2: EntityTagsRepositoryImpl_TestCase.tearDown:99 » MongoTimeout Timed out after 3... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase.shouldNotS aveDuplicateEntityTags(edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_Test Case) [ERROR] Run 1: EntityTagsRepositoryImpl_TestCase.setUp:51 » MongoTimeout Timed out after 30 00... [ERROR] Run 2: EntityTagsRepositoryImpl_TestCase.tearDown:99 » MongoTimeout Timed out after 3... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase.shouldRemo veTag(edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase) [ERROR] Run 1: EntityTagsRepositoryImpl_TestCase.setUp:51 » MongoTimeout Timed out after 30 00... [ERROR] Run 2: EntityTagsRepositoryImpl_TestCase.tearDown:99 » MongoTimeout Timed out after 3... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase.shouldSave EntityTags(edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase) [ERROR] Run 1: EntityTagsRepositoryImpl_TestCase.setUp:51 » MongoTimeout Timed out after 30 00... [ERROR] Run 2: EntityTagsRepositoryImpl_TestCase.tearDown:99 » MongoTimeout Timed out after 3... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldDeleteU serRecord(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldDeleteUserRecord:85 » MongoTimeout Timed o... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldFindByC ontaining(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldFindByContaining:93 » MongoTimeout Timed o... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldFindByE mailAddress(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldFindByEmailAddress:100 » MongoTimeout Ti me... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldFindUse rRecord(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldFindUserRecord:71 » MongoTimeout Timed o ut... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldReplace UserRecord(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldReplaceUserRecord:79 » MongoTimeout Time d ... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldSaveUse rRecord(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldSaveUserRecord:66 » MongoTimeout Timed o ut... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [INFO] [ERROR] Tests run: 1535, Failures: 0, Errors: 11, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] webprotege 4.0.0-beta-3-SNAPSHOT ................... SUCCESS [ 6.582 s] [INFO] webprotege-shared-core ............................. SUCCESS [ 20.641 s] [INFO] webprotege-shared .................................. SUCCESS [ 44.953 s] [INFO] webprotege-server-core ............................. FAILURE [12:21 min] [INFO] webprotege-client .................................. SKIPPED [INFO] webprotege-server .................................. SKIPPED [INFO] webprotege-cli 4.0.0-beta-3-SNAPSHOT ............... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13:44 min [INFO] Finished at: 2020-05-21T15:16:23Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (de fault-test) on project webprotege-server-core: There are test failures. [ERROR] [ERROR] Please refer to /home/techworks/webprotege/webprotege-server-core/target/surefire-rep orts for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [dat e].dumpstream.
@khanhnvo you need to have MongoDB running for the integration tests.
Hello, I'm trying to build the webprotege.war with mvn clean package but it is dying at webprotege-server-core.
Any ideas? Also where can I download the webprotege.war?
Thanks
00.003Z"} [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 s - in edu.stanf ord.bmir.protege.web.shared.project.ProjectDetails_Serialization_TestCase [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase.shouldAddT ag(edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase) [ERROR] Run 1: EntityTagsRepositoryImpl_TestCase.setUp:51 » MongoTimeout Timed out after 30 00... [ERROR] Run 2: EntityTagsRepositoryImpl_TestCase.tearDown:99 » MongoTimeout Timed out after 3... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase.shouldFind ByTag(edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase) [ERROR] Run 1: EntityTagsRepositoryImpl_TestCase.setUp:51 » MongoTimeout Timed out after 30 00... [ERROR] Run 2: EntityTagsRepositoryImpl_TestCase.tearDown:99 » MongoTimeout Timed out after 3... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase.shouldNotS aveDuplicateEntityTags(edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_Test Case) [ERROR] Run 1: EntityTagsRepositoryImpl_TestCase.setUp:51 » MongoTimeout Timed out after 30 00... [ERROR] Run 2: EntityTagsRepositoryImpl_TestCase.tearDown:99 » MongoTimeout Timed out after 3... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase.shouldRemo veTag(edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase) [ERROR] Run 1: EntityTagsRepositoryImpl_TestCase.setUp:51 » MongoTimeout Timed out after 30 00... [ERROR] Run 2: EntityTagsRepositoryImpl_TestCase.tearDown:99 » MongoTimeout Timed out after 3... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase.shouldSave EntityTags(edu.stanford.bmir.protege.web.server.tag.EntityTagsRepositoryImpl_TestCase) [ERROR] Run 1: EntityTagsRepositoryImpl_TestCase.setUp:51 » MongoTimeout Timed out after 30 00... [ERROR] Run 2: EntityTagsRepositoryImpl_TestCase.tearDown:99 » MongoTimeout Timed out after 3... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldDeleteU serRecord(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldDeleteUserRecord:85 » MongoTimeout Timed o... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldFindByC ontaining(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldFindByContaining:93 » MongoTimeout Timed o... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldFindByE mailAddress(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldFindByEmailAddress:100 » MongoTimeout Ti me... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldFindUse rRecord(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldFindUserRecord:71 » MongoTimeout Timed o ut... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldReplace UserRecord(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldReplaceUserRecord:79 » MongoTimeout Time d ... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [ERROR] edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase.shouldSaveUse rRecord(edu.stanford.bmir.protege.web.server.user.UserRecordRepository_TestCase) [ERROR] Run 1: UserRecordRepository_TestCase.shouldSaveUserRecord:66 » MongoTimeout Timed o ut... [ERROR] Run 2: UserRecordRepository_TestCase.tearDown:60 » MongoTimeout Timed out after 300 00... [INFO] [INFO] [ERROR] Tests run: 1535, Failures: 0, Errors: 11, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] webprotege 4.0.0-beta-3-SNAPSHOT ................... SUCCESS [ 6.582 s] [INFO] webprotege-shared-core ............................. SUCCESS [ 20.641 s] [INFO] webprotege-shared .................................. SUCCESS [ 44.953 s] [INFO] webprotege-server-core ............................. FAILURE [12:21 min] [INFO] webprotege-client .................................. SKIPPED [INFO] webprotege-server .................................. SKIPPED [INFO] webprotege-cli 4.0.0-beta-3-SNAPSHOT ............... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13:44 min [INFO] Finished at: 2020-05-21T15:16:23Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (de fault-test) on project webprotege-server-core: There are test failures. [ERROR] [ERROR] Please refer to /home/techworks/webprotege/webprotege-server-core/target/surefire-rep orts for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [dat e].dumpstream.