Re: Struggling with buildbot
On 05/12/18 13:27, Maxim Solodovnik wrote: Hello Francesco, shall binary assemblies be created during "docs building"? (Right now I have 2 options: turn off creating openjpa-project/target/site/downloads/*.zip or understand why it fails :)) ) I think it is safe to disable, as there is no download link for that in the website; only, we'll need to adjust https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/openjpa.conf Regards. On Mon, 3 Dec 2018 at 23:34, Maxim Solodovnik wrote: I can see blocks like this in output: [INFO] --- maven-antrun-plugin:1.8:run (set subversion revision) @ openjpa-lib --- [INFO] Executing tasks main: [exec] Execute failed: java.io.IOException: Cannot run program "svnversion" (in directory "/home/solomax/work/tmp/openjpa/openjpa-lib"): error=2, No such file or directory [exec] Execute failed: java.io.IOException: Cannot run program "svn" (in directory "/home/solomax/work/tmp/openjpa/openjpa-lib"): error=2, No such file or directory [delete] Deleting: /home/solomax/work/tmp/openjpa/openjpa-lib/pcenhancer.revision.file [echo] Revision: unknown [echo] OpenJPA version: 3.0.1-SNAPSHOT I believe it should be replaced with https://www.mojohaus.org/buildnumber-maven-plugin/ with https://www.mojohaus.org/buildnumber-maven-plugin/create-mojo.html#getRevisionOnlyOnce option set will try to do after build fix On Mon, 3 Dec 2018 at 23:21, Maxim Solodovnik wrote: I'm checking OpenJdk build so far Have fixed couple of errors will try to finish today/tomorrow On Mon, 3 Dec 2018 at 23:19, Francesco Chicchiriccò wrote: On 03/12/18 16:43, Maxim Solodovnik wrote: I'm re-checking with OpenJdk According to builbot: This article states: https://shdhumale.wordpress.com/2017/06/01/how-to-remove-dmaven-multimoduleprojectdirectory-system-property-is-not-set-check-m2_home-environment-variable-and-mvn-script-match-in-eclipse/ Maven is not match with M2_HOME Can you try to add $M2_HOME/bin to $PATH ? Maybe it will help? After setting PATH, the error looks in-line with yours (e.g. with Oracle JDK): https://ci.apache.org/builders/openjpa-master-docs/builds/13/steps/compile/logs/stdio ...which is a good thing, IMO: now we "only" need to fix javadocs now. Regards. On Mon, 3 Dec 2018 at 22:13, Francesco Chicchiriccò < ilgro...@apache.org> wrote: On 03/12/18 15:57, Maxim Solodovnik wrote: Just have performed the full build (mvn clean install) It was successful Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-25T01:41:47+07:00) Maven home: /opt/maven Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-oracle/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-39-generic", arch: "amd64", family: "unix" Yep, same on Jenkins: https://builds.apache.org/view/M-R/view/OpenJPA/job/OpenJPA-trunk/ `mvn -U clean site install -DskipTests -Pjavadoc-profile,docbook-profile` The result is: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:aggregate (default) on project openjpa-parent: An error has occurred in Javadoc report generation: [ERROR] Exit code: 1 - /home/solomax/work/tmp/openjpa/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/CFMetaDataParser.java:54: warning: no @param for name [ERROR] protected boolean isPackageElementName(String name) { [ERROR] ^ *lots of errors here* This because you built with Oracle JDK; if you used OpenJDK, instead, you would have ended with same error as I reported below. According to buildbot Can I see job configuration? Sure, it's on SVN: https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/openjpa.conf Regards. On Mon, 3 Dec 2018 at 19:12, Maxim Solodovnik wrote: I'll double-check later tonight Will report back later with java versions WBR, Maxim (from mobile, sorry for the typos) On Mon, Dec 3, 2018, 19:08 Francesco Chicchiriccò < ilgro...@apache.org wrote: On 03/12/18 13:06, Maxim Solodovnik wrote: Have you 'git pull'? Of course: https://paste.apache.org/3SIA Regards. On Mon, Dec 3, 2018, 18:58 Francesco Chicchiriccò < ilgro...@apache.org wrote: On 03/12/18 12:47, Francesco Chicchiriccò wrote: On 03/12/18 12:22, Maxim Solodovnik wrote: Hello Francesco, I just have commited partial fix The build still fails since there dozed of javadoc errors :( Should they be suppressed or fixed? I would vote for fixing them I would also like to fix them - consider that, at least on my laptop, the build fails with Oracle JDK 8 but succeeds with OpenJDK 8 (with warnings). Mmmm, no, it fails anyway as follows: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:checkstyle (default) on project openjpa-tools: An error has occurred in Checkstyle report generation.: Failed
Re: Struggling with buildbot
Hello Franchesco, shall binary assemblies be created during "docs building"? (Right now I have 2 options: turn off creating openjpa-project/target/site/downloads/*.zip or understand why it fails :)) ) On Mon, 3 Dec 2018 at 23:34, Maxim Solodovnik wrote: > I can see blocks like this in output: > > [INFO] --- maven-antrun-plugin:1.8:run (set subversion revision) @ > openjpa-lib --- > [INFO] Executing tasks > > main: > [exec] Execute failed: java.io.IOException: Cannot run program > "svnversion" (in directory "/home/solomax/work/tmp/openjpa/openjpa-lib"): > error=2, No such file or directory > [exec] Execute failed: java.io.IOException: Cannot run program "svn" > (in directory "/home/solomax/work/tmp/openjpa/openjpa-lib"): error=2, No > such file or directory >[delete] Deleting: > /home/solomax/work/tmp/openjpa/openjpa-lib/pcenhancer.revision.file > [echo] Revision: unknown > [echo] OpenJPA version: 3.0.1-SNAPSHOT > > I believe it should be replaced with > https://www.mojohaus.org/buildnumber-maven-plugin/ > with > https://www.mojohaus.org/buildnumber-maven-plugin/create-mojo.html#getRevisionOnlyOnce > option set > > will try to do after build fix > > > On Mon, 3 Dec 2018 at 23:21, Maxim Solodovnik > wrote: > >> I'm checking OpenJdk build so far >> Have fixed couple of errors >> will try to finish today/tomorrow >> >> On Mon, 3 Dec 2018 at 23:19, Francesco Chicchiriccò >> wrote: >> >>> On 03/12/18 16:43, Maxim Solodovnik wrote: >>> > I'm re-checking with OpenJdk >>> > >>> > According to builbot: >>> > >>> > This article states: >>> > >>> https://shdhumale.wordpress.com/2017/06/01/how-to-remove-dmaven-multimoduleprojectdirectory-system-property-is-not-set-check-m2_home-environment-variable-and-mvn-script-match-in-eclipse/ >>> > >>> > Maven is not match with M2_HOME >>> > Can you try to add $M2_HOME/bin to $PATH ? >>> > Maybe it will help? >>> >>> After setting PATH, the error looks in-line with yours (e.g. with Oracle >>> JDK): >>> >>> >>> https://ci.apache.org/builders/openjpa-master-docs/builds/13/steps/compile/logs/stdio >>> >>> ...which is a good thing, IMO: now we "only" need to fix javadocs now. >>> >>> Regards. >>> >>> > On Mon, 3 Dec 2018 at 22:13, Francesco Chicchiriccò < >>> ilgro...@apache.org> >>> > wrote: >>> > >>> >> On 03/12/18 15:57, Maxim Solodovnik wrote: >>> >>> Just have performed the full build (mvn clean install) >>> >>> It was successful >>> >>> >>> >>> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; >>> >>> 2018-10-25T01:41:47+07:00) >>> >>> Maven home: /opt/maven >>> >>> Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: >>> >>> /usr/lib/jvm/java-8-oracle/jre >>> >>> Default locale: en_US, platform encoding: UTF-8 >>> >>> OS name: "linux", version: "4.15.0-39-generic", arch: "amd64", >>> family: >>> >>> "unix" >>> >> Yep, same on Jenkins: >>> >> >>> >> https://builds.apache.org/view/M-R/view/OpenJPA/job/OpenJPA-trunk/ >>> >> >>> >>> `mvn -U clean site install -DskipTests >>> -Pjavadoc-profile,docbook-profile` >>> >>> The result is: >>> >>> >>> >>> [ERROR] Failed to execute goal >>> >>> org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:aggregate >>> (default) >>> >> on >>> >>> project openjpa-parent: An error has occurred in Javadoc report >>> >> generation: >>> >>> [ERROR] Exit code: 1 - >>> >>> >>> >> >>> /home/solomax/work/tmp/openjpa/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/CFMetaDataParser.java:54: >>> >>> warning: no @param for name >>> >>> [ERROR] protected boolean isPackageElementName(String name) { >>> >>> [ERROR] ^ >>> >>> *lots of errors here* >>> >> This because you built with Oracle JDK; if you used OpenJDK, instead, >>> >> you would have ended with same error as I reported below. >>> >> >>> >>> According to buildbot >>> >>> Can I see job configuration? >>> >> Sure, it's on SVN: >>> >> >>> >> >>> >> >>> https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/openjpa.conf >>> >> >>> >> Regards. >>> >> >>> >>> On Mon, 3 Dec 2018 at 19:12, Maxim Solodovnik >>> >> wrote: >>> I'll double-check later tonight >>> >>> Will report back later with java versions >>> >>> WBR, Maxim >>> (from mobile, sorry for the typos) >>> >>> On Mon, Dec 3, 2018, 19:08 Francesco Chicchiriccò < >>> ilgro...@apache.org >>> wrote: >>> >>> > On 03/12/18 13:06, Maxim Solodovnik wrote: >>> >> Have you 'git pull'? >>> > Of course: https://paste.apache.org/3SIA >>> > >>> > Regards. >>> > >>> >> On Mon, Dec 3, 2018, 18:58 Francesco Chicchiriccò < >>> >> ilgro...@apache.org >>> >> wrote: >>> >> >>> >>> On 03/12/18 12:47, Francesco Chicchiriccò wrote: >>> On 03/12/18 12:22, Maxim Solodovnik wrote: >>> > Hello Francesco, >>> > >>> > I just have commited partial fix >>> > >>> > The build still fails since