See <https://builds.apache.org/job/openmeetings-pr-build/16/display/redirect?page=changes>
Changes: [sebawagner] OPENMEETINGS-2273 Add Mocked Unit test for getOriginal [sebawagner] OPENMEETINGS-2273 Add some more unit tests ------------------------------------------ [...truncated 22.68 KB...] [INFO] Attaching 'src/site/site.xml' site descriptor with classifier 'site'. [INFO] [INFO] --- forbiddenapis:2.7:check (forbiddenapis) @ openmeetings-parent --- [INFO] Skipping execution for packaging "pom" [INFO] [INFO] --- forbiddenapis:2.7:testCheck (forbiddenapis) @ openmeetings-parent --- [INFO] Skipping execution for packaging "pom" [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ openmeetings-parent --- [INFO] Installing <https://builds.apache.org/job/openmeetings-pr-build/ws/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/openmeetings/openmeetings-parent/5.0.0-M4-SNAPSHOT/openmeetings-parent-5.0.0-M4-SNAPSHOT.pom [INFO] Installing <https://builds.apache.org/job/openmeetings-pr-build/ws/target/openmeetings-parent-5.0.0-M4-SNAPSHOT-site.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/openmeetings/openmeetings-parent/5.0.0-M4-SNAPSHOT/openmeetings-parent-5.0.0-M4-SNAPSHOT-site.xml [INFO] [INFO] -------------< org.apache.openmeetings:openmeetings-util >-------------- [INFO] Building Openmeetings Util 5.0.0-M4-SNAPSHOT [2/10] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/dom4j/dom4j/2.1.3/dom4j-2.1.3.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15on/1.65/bcprov-jdk15on-1.65.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/dom4j/dom4j/2.1.3/dom4j-2.1.3.jar (324 kB at 6.2 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15on/1.65/bcprov-jdk15on-1.65.jar (4.5 MB at 16 MB/s) [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ openmeetings-util --- [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmeetings-util --- [INFO] [INFO] --- apache-rat-plugin:0.13:check (default) @ openmeetings-util --- [INFO] Added 2 additional default licenses. [INFO] Enabled default license matchers. [INFO] Added 2 custom approved licenses. [INFO] Will parse SCM ignores for exclusions... [INFO] Finished adding exclusions from SCM ignore files. [INFO] 62 implicit excludes (use -debug for more details). [INFO] 2 explicit excludes (use -debug for more details). [INFO] 35 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 33 licenses. [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-versions) @ openmeetings-util --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ openmeetings-util --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (prepare-agent) @ openmeetings-util --- [INFO] argLine set to -javaagent:/home/jenkins/jenkins-slave/maven-repositories/1/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=<https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/../target/jacoco.exec,append=true> [INFO] [INFO] --- maven-remote-resources-plugin:1.6.0:process (process-resource-bundles) @ openmeetings-util --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- maven-site-plugin:3.9.0:site (generate-site) @ openmeetings-util --- [INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:3.0.0 [INFO] 14 reports configured for maven-project-info-reports-plugin:3.0.0: index, ci-management, dependencies, dependency-convergence, dependency-management, distribution-management, issue-management, licenses, mailing-lists, plugin-management, plugins, team, scm, summary [INFO] configuring report plugin org.apache.maven.plugins:maven-surefire-report-plugin:3.0.0-M4 [INFO] 1 report configured for maven-surefire-report-plugin:3.0.0-M4: report-only [INFO] configuring report plugin org.apache.rat:apache-rat-plugin:0.13 [INFO] 1 report configured for apache-rat-plugin:0.13: rat [INFO] Rendering site with default locale English (en) [INFO] Relativizing decoration links with respect to localized project URL: https://openmeetings.apache.org/openmeetings-util [INFO] Rendering content with io.github.devacfr.maven.skins:reflow-maven-skin:jar:2.3.0 skin. [INFO] Generating "About" report --- maven-project-info-reports-plugin:3.0.0:index [INFO] Generating "CI Management" report --- maven-project-info-reports-plugin:3.0.0:ci-management [INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:3.0.0:dependencies [INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:3.0.0:dependency-convergence [INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:3.0.0:dependency-management [INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:3.0.0:distribution-management [INFO] Generating "Issue Management" report --- maven-project-info-reports-plugin:3.0.0:issue-management [INFO] Generating "Licenses" report --- maven-project-info-reports-plugin:3.0.0:licenses [INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:3.0.0:mailing-lists [INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:3.0.0:plugin-management [INFO] Generating "Plugins" report --- maven-project-info-reports-plugin:3.0.0:plugins [INFO] Generating "Team" report --- maven-project-info-reports-plugin:3.0.0:team [INFO] Generating "Source Code Management" report --- maven-project-info-reports-plugin:3.0.0:scm [INFO] Generating "Summary" report --- maven-project-info-reports-plugin:3.0.0:summary [INFO] Generating "Surefire Report" report --- maven-surefire-report-plugin:3.0.0-M4:report-only [WARNING] Unable to locate Test Source XRef to link to - DISABLED [INFO] Generating "Rat Report" report --- apache-rat-plugin:0.13:rat [INFO] Added 2 additional default licenses. [INFO] Enabled default license matchers. [INFO] Added 2 custom approved licenses. [INFO] Will parse SCM ignores for exclusions... [INFO] Finished adding exclusions from SCM ignore files. [INFO] 62 implicit excludes (use -debug for more details). [INFO] 2 explicit excludes (use -debug for more details). [INFO] 35 resources included (use -debug for more details) [JENKINS] Archiving site from <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/target/site> to /x1/jenkins/jenkins-home/jobs/openmeetings-pr-build/site/openmeetings-util [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ openmeetings-util --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmeetings-util --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 23 source files to <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/target/classes> [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ openmeetings-util --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmeetings-util --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ openmeetings-util --- [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.6.2/junit-platform-launcher-1.6.2.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.6.2/junit-platform-launcher-1.6.2.jar (122 kB at 4.7 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.6.2/junit-platform-launcher-1.6.2.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.6.2/junit-platform-launcher-1.6.2.pom (3.0 kB at 190 kB/s) [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.openmeetings.util.crypt.TestSCrypt [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 211.449 s - in org.apache.openmeetings.util.crypt.TestSCrypt [INFO] Running org.apache.openmeetings.util.TestVersion 05:59:23.547 [main] DEBUG org.apache.openmeetings.util.Version - ################################################################################ # Openmeetings is up # # 5.0.0-M4-SNAPSHOT 7fd2ef2 2020-04-19T05:55:44Z # # and ready to use # ################################################################################ [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.278 s - in org.apache.openmeetings.util.TestVersion [INFO] Running org.apache.openmeetings.util.TestStoredFile Apr 19, 2020 5:59:26 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem WARNING: J2KImageReader not loaded. JPEG2000 files will not be processed. See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io for optional dependencies. Apr 19, 2020 5:59:26 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem WARNING: org.xerial's sqlite-jdbc is not loaded. Please provide the jar on your classpath to parse sqlite files. See tika-parsers/pom.xml for the correct version. [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.85 s - in org.apache.openmeetings.util.TestStoredFile [INFO] Running org.apache.openmeetings.util.TestCalendarPatterns [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.309 s - in org.apache.openmeetings.util.TestCalendarPatterns [INFO] [INFO] Results: [INFO] [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ openmeetings-util --- [INFO] Building jar: <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/target/openmeetings-util-5.0.0-M4-SNAPSHOT.jar> [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmeetings-util --- [INFO] Building jar: <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/target/openmeetings-util-5.0.0-M4-SNAPSHOT-tests.jar> [INFO] [INFO] --- maven-site-plugin:3.9.0:attach-descriptor (attach-descriptor) @ openmeetings-util --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- forbiddenapis:2.7:check (forbiddenapis) @ openmeetings-util --- [INFO] Scanning for classes to check... [INFO] Reading bundled API signatures: jdk-deprecated-1.7 [INFO] Reading bundled API signatures: jdk-non-portable [INFO] Reading inline API signatures... [INFO] Loading classes to check... [INFO] Scanning classes for violations... [INFO] Scanned 26 class file(s) for forbidden API invocations (in 0.34s), 0 error(s). [INFO] [INFO] --- forbiddenapis:2.7:testCheck (forbiddenapis) @ openmeetings-util --- [INFO] Scanning for classes to check... [INFO] Reading bundled API signatures: jdk-deprecated-1.7 [INFO] Reading bundled API signatures: jdk-non-portable [INFO] Reading inline API signatures... [INFO] Loading classes to check... [INFO] Scanning classes for violations... [INFO] Scanned 6 class file(s) for forbidden API invocations (in 0.07s), 0 error(s). [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ openmeetings-util --- [INFO] Installing <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/target/openmeetings-util-5.0.0-M4-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/openmeetings/openmeetings-util/5.0.0-M4-SNAPSHOT/openmeetings-util-5.0.0-M4-SNAPSHOT.jar [INFO] Installing <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/openmeetings/openmeetings-util/5.0.0-M4-SNAPSHOT/openmeetings-util-5.0.0-M4-SNAPSHOT.pom [INFO] Installing <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/target/openmeetings-util-5.0.0-M4-SNAPSHOT-tests.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/openmeetings/openmeetings-util/5.0.0-M4-SNAPSHOT/openmeetings-util-5.0.0-M4-SNAPSHOT-tests.jar [INFO] [INFO] --------------< org.apache.openmeetings:openmeetings-db >--------------- [INFO] Building Openmeetings DB 5.0.0-M4-SNAPSHOT [3/10] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.6.2/junit-vintage-engine-5.6.2.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.6.2/junit-vintage-engine-5.6.2.jar (64 kB at 701 kB/s) [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ openmeetings-db --- [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmeetings-db --- [INFO] [INFO] --- apache-rat-plugin:0.13:check (default) @ openmeetings-db --- [INFO] Added 2 additional default licenses. [INFO] Enabled default license matchers. [INFO] Added 2 custom approved licenses. [INFO] Will parse SCM ignores for exclusions... [INFO] Finished adding exclusions from SCM ignore files. [INFO] 62 implicit excludes (use -debug for more details). [INFO] 2 explicit excludes (use -debug for more details). [INFO] 142 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 1, unknown: 1, generated: 0, approved: 135 licenses. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Openmeetings 5.0.0-M4-SNAPSHOT: [INFO] [INFO] Openmeetings ....................................... SUCCESS [01:23 min] [INFO] Openmeetings Util .................................. SUCCESS [04:22 min] [INFO] Openmeetings DB .................................... FAILURE [ 1.209 s] [INFO] Openmeetings Core .................................. SKIPPED [INFO] Openmeetings Install ............................... SKIPPED [INFO] Openmeetings Service ............................... SKIPPED [INFO] Openmeetings Webservices ........................... SKIPPED [INFO] Openmeetings Web ................................... SKIPPED [INFO] Openmeetings Screen Sharing applet ................. SKIPPED [INFO] Openmeetings Server ................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:09 min [INFO] Finished at: 2020-04-19T05:59:56Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check (default) on project openmeetings-db: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-db/target/rat.txt> -> [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 :openmeetings-db [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-server/pom.xml> to org.apache.openmeetings/openmeetings-server/5.0.0-M4-SNAPSHOT/openmeetings-server-5.0.0-M4-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-screenshare/pom.xml> to org.apache.openmeetings/openmeetings-screenshare/5.0.0-M4-SNAPSHOT/openmeetings-screenshare-5.0.0-M4-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/pom.xml> to org.apache.openmeetings/openmeetings-util/5.0.0-M4-SNAPSHOT/openmeetings-util-5.0.0-M4-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/target/openmeetings-util-5.0.0-M4-SNAPSHOT.jar> to org.apache.openmeetings/openmeetings-util/5.0.0-M4-SNAPSHOT/openmeetings-util-5.0.0-M4-SNAPSHOT.jar [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-util/target/openmeetings-util-5.0.0-M4-SNAPSHOT-tests.jar> to org.apache.openmeetings/openmeetings-util/5.0.0-M4-SNAPSHOT/openmeetings-util-5.0.0-M4-SNAPSHOT-tests.jar [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-install/pom.xml> to org.apache.openmeetings/openmeetings-install/5.0.0-M4-SNAPSHOT/openmeetings-install-5.0.0-M4-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-service/pom.xml> to org.apache.openmeetings/openmeetings-service/5.0.0-M4-SNAPSHOT/openmeetings-service-5.0.0-M4-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/pom.xml> to org.apache.openmeetings/openmeetings-parent/5.0.0-M4-SNAPSHOT/openmeetings-parent-5.0.0-M4-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/target/openmeetings-parent-5.0.0-M4-SNAPSHOT-site.xml> to org.apache.openmeetings/openmeetings-parent/5.0.0-M4-SNAPSHOT/openmeetings-parent-5.0.0-M4-SNAPSHOT-site.xml [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-db/pom.xml> to org.apache.openmeetings/openmeetings-db/5.0.0-M4-SNAPSHOT/openmeetings-db-5.0.0-M4-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-web/pom.xml> to org.apache.openmeetings/openmeetings-web/5.0.0-M4-SNAPSHOT/openmeetings-web-5.0.0-M4-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-webservice/pom.xml> to org.apache.openmeetings/openmeetings-webservice/5.0.0-M4-SNAPSHOT/openmeetings-webservice-5.0.0-M4-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/openmeetings-pr-build/ws/openmeetings-core/pom.xml> to org.apache.openmeetings/openmeetings-core/5.0.0-M4-SNAPSHOT/openmeetings-core-5.0.0-M4-SNAPSHOT.pom No mail will be sent out, as 'openmeetings-pr-build » Openmeetings Server #16' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'openmeetings-pr-build » Openmeetings Screen Sharing applet #16' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'openmeetings-pr-build » Openmeetings Util #16' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'openmeetings-pr-build » Openmeetings Install #16' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'openmeetings-pr-build » Openmeetings Service #16' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'openmeetings-pr-build » Openmeetings #16' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. Sending e-mails to: dev@openmeetings.apache.org sebawag...@apache.org No mail will be sent out, as 'openmeetings-pr-build » Openmeetings Web #16' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'openmeetings-pr-build » Openmeetings Webservices #16' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. No mail will be sent out, as 'openmeetings-pr-build » Openmeetings Core #16' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. channel stopped Archiving artifacts Putting comment on the pull request