There are tests that only works at machine with some 3rd party tools In this case it is `ImageMagic` tests expects it's binaries are in the PATH
to bypass this you can use `Jenkins` profile (created for our CI server) so the final command will be `mvn clean install -PallModules,Jenkins` (`allModules` profile need to defined in this case) On Mon, 22 Mar 2021 at 17:20, Filip Žák <fillipp...@gmail.com> wrote: > > Thanks I removed all 'node_modules' folders but now I have this: > > INFO] Results: > [INFO] > [ERROR] Failures: > [ERROR] TestFileService.addFileTest:68 Width should be determined ==> > expected: <150> but was: <null> > [INFO] > [ERROR] Tests run: 210, Failures: 1, Errors: 0, Skipped: 0 > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary for Openmeetings 6.0.0: > [INFO] > [INFO] Openmeetings ....................................... SUCCESS [ 15.097 > s] > [INFO] Openmeetings Util .................................. SUCCESS [02:00 > min] > [INFO] Openmeetings DB .................................... SUCCESS [ 21.527 > s] > [INFO] Openmeetings Core .................................. SUCCESS [ 40.046 > s] > [INFO] Openmeetings Install ............................... SUCCESS [ 16.994 > s] > [INFO] Openmeetings Service ............................... SUCCESS [ 13.295 > s] > [INFO] Openmeetings Webservices ........................... SUCCESS [ 48.888 > s] > [INFO] Openmeetings Web ................................... FAILURE [13:45 > min] > [INFO] Openmeetings Screen Sharing applet ................. SKIPPED > [INFO] Openmeetings Server ................................ SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > > > I opened > /openmeetings/openmeetings-web/target/surefire-reports/org.apache.openmeetings.webservice.TestFileService.txt > and there is: > > ------------------------------------------------------------------------------- > Test set: org.apache.openmeetings.webservice.TestFileService > ------------------------------------------------------------------------------- > Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.587 s <<< > FAILURE! - in org.apache.openmeetings.webservice.TestFileService > org.apache.openmeetings.webservice.TestFileService.addFileTest Time elapsed: > 3.644 s <<< FAILURE! > org.opentest4j.AssertionFailedError: Width should be determined ==> expected: > <150> but was: <null> > at > org.apache.openmeetings.webservice.TestFileService.addFileTest(TestFileService.java:68) > > Filip > > > po 22. 3. 2021 o 2:35 Maxim Solodovnik <solomax...@gmail.com> napísal(a): >> >> https://issues.apache.org/jira/browse/OPENMEETINGS-2597 >> >> On Mon, 22 Mar 2021 at 07:27, Maxim Solodovnik <solomax...@gmail.com> wrote: >>> >>> >>> >>> On Mon, 22 Mar 2021 at 02:45, Filip Žák <fillipp...@gmail.com> wrote: >>>> >>>> Hello, >>>> I would like to build a custom version of OM (a little bit changed code). >>>> But first I tried build original source code. So I downloaded the OM 6.0.0 >>>> src package from: >>>> https://openmeetings.apache.org/downloads.html >>>> >>>> I unpacked files into the openmeetings directory. I have installed >>>> OracleJDK 11 and Maven 3.6.3. I have set JAVA_HOME to OracleJDK 11. So I >>>> tried to compile from the terminal with command: >>>> >>>> mvn clean install -P allModules >>>> >>>> But it failed. >>> >>> >>> could you share the errors? >>> >>> in case it is "npm related" errors like >>> ``` >>> [INFO] > main@1.0.0 build-dev >>> /home/solomax/work/openmeetings/tmp/openmeetings-web/src/main/front/main >>> [INFO] > browserify src/index.js --transform-key=staging -o >>> ${outDir}${npm_package_name}.js >>> [INFO] >>> [INFO] sh: 1: browserify: Permission denied >>> [INFO] npm ERR! code ELIFECYCLE >>> [INFO] npm ERR! errno 126 >>> ``` >>> >>> please delete all `node_modules` folders from >>> openmeetings-web/src/main/front >>> and try again >>> >>> I'll correct build scripts and will perform 6.0.1 release ASAP >>> >>> >>>> >>>> So my question is how can I achieve compilation without any errors in >>>> original source code. What else I need to do or have installed? >>>> >>>> Thanks >>>> >>>> Filip >>> >>> >>> >>> -- >>> Best regards, >>> Maxim >> >> >> >> -- >> Best regards, >> Maxim > > > > -- > S pozdravom > Filip Žák -- Best regards, Maxim