[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15853660#comment-15853660 ] Michael Dürig commented on OAK-4456: The stableness has gone again. The Windows CI does not reliably execute our job anymore: build #434: This run spent 19 hr waiting in the queue. > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig >Priority: Blocker > Labels: CI, build, infrastructure, jenkins > Fix For: 1.8, 1.6.1 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15848354#comment-15848354 ] Michael Dürig commented on OAK-4456: The build seems to be "reasonably" stable. I temporarily enabled creating JIRA issues for failed builds. > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig >Priority: Blocker > Labels: CI, build, infrastructure, jenkins > Fix For: 1.8, 1.6.1 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15827848#comment-15827848 ] Michael Dürig commented on OAK-4456: I changed the name of the job to "Oak-Win", which shortens that paths. With this the builds seem to work. Let's see how stable that is over the next couple of days. Job is here now: https://builds.apache.org/job/Oak-Win/402/ > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig >Priority: Blocker > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15827713#comment-15827713 ] Amit Jain commented on OAK-4456: This again looks like some long path problem to me, the path is 259 chars long > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig >Priority: Blocker > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15827672#comment-15827672 ] Michael Dürig commented on OAK-4456: Gave this another desperate try. After fiddling with the job configuration to actually start the build, all 16 matrix jobs fail in "Oak Cloud Blob Store" when attempting to run the tests. {noformat} Error: Unable to access jarfile F:\jenkins\jenkins-slave\workspace\Apache Jackrabbit Oak matrix (Windows)\Windows slaves\Windows\jdk\JDK 1.8 (unlimited security) 64-bit Windows only\nsfixtures\SEGMENT_MK\profile\unittesting\oak-blob-cloud\target\surefire\surefirebooter9032420544841764784.jar {noformat} This is immediately followed by {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project oak-blob-cloud: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? -> [Help 1] {noformat} > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig >Priority: Blocker > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15513038#comment-15513038 ] Michael Dürig commented on OAK-4456: The other thing I'm seeing quite often is: {code} --- T E S T S --- Error: Unable to access jarfile F:\jenkins\jenkins-slave\workspace\Apache Jackrabbit Oak matrix (Windows)\jdk\JDK 1.7 (unlimited security) 64-bit Windows only\label\windows-2012-1\nsfixtures\DOCUMENT_RDB\profile\unittesting\oak-blob-cloud\target\surefire\surefirebooter5534851598338818813.jar {code} Immediately followed by {code} ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project oak-blob-cloud: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? -> [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/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :oak-blob-cloud {code} This happens both with the 1.7. and the 1.8 builds > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15512801#comment-15512801 ] Julian Reschke commented on OAK-4456: - Yes. So right now, the problem below seems to be common: {noformat} Failed tests: testLoaderBlock(org.apache.jackrabbit.oak.cache.ConcurrentTest): Had to wait unexpectedly long for other threads: 3450 testQueue(org.apache.jackrabbit.oak.plugins.document.persistentCache.async.CacheActionDispatcherTest): Following actions hasn't been executed: [4_46, 4_47, 4_48, 4_49, 4_50, 4_51, 4_52, 4_53, 4_54, 4_55, 4_56, 4_57, 4_58, 4_59, 4_60, 4_61, 4_62, 4_63, 4_64, 4_65, 4_66, 4_67, 4_68, 4_69, 4_70, 4_71, 4_72, 4_73, 4_74, 4_75, 4_76, 4_77, 4_78, 4_79, 4_80, 4_81, 4_82, 4_83, 4_84, 4_85, 4_86, 4_87, 4_88, 4_89, 4_90, 4_91, 4_92, 4_93, 4_94, 4_95, 4_96, 4_97, 4_98, 4_99] {noformat} I haven't seen this in local builds. Maybe too aggressive timing requirements in the test case? > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15512676#comment-15512676 ] Michael Dürig commented on OAK-4456: With help form infra the problem with the long paths could be solved (INFRA-12076). The build is now failing for various reasons we need to sort out. See https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix%20(Windows)/ [~reschke], could you help me keeping an eye on this? > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15383678#comment-15383678 ] Michael Dürig commented on OAK-4456: [~chetanm], do you have anything specific in mind here? I didn't see a way in Jenkins to specify such a build step so it runs before the git checkout. > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15324127#comment-15324127 ] Chetan Mehrotra commented on OAK-4456: -- May be execute a batch command before maven build as part of build steps. > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15324100#comment-15324100 ] Michael Dürig commented on OAK-4456: This just pushed the problem to the next path: {noformat} f:\jenkins\jenkins-slave\workspace\w\jdk\latest1.7\label\Windows\nsfixtures\SEGMENT_TAR\profile\unittesting/oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/ExternalIdentityRepositoryInitializer.java {noformat} Will try with [~chetanm] s suggestins next. > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15324091#comment-15324091 ] Michael Dürig commented on OAK-4456: Urgs... this is sooo 80ies ;-) The full path is {noformat} f:\jenkins\jenkins-slave\workspace\Apache Jackrabbit Oak matrix (Windows)\jdk\jdk1.8.0_11\label\Windows\nsfixtures\SEGMENT_MK\profile\unittesting/oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalIdentity.java {noformat} The only part we can control is "Apache Jackrabbit Oak matrix (Windows)" (the name of the build). But this will just push the problem down a bit further. Will try anyway to see what crashes next.. > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15324061#comment-15324061 ] Julian Reschke commented on OAK-4456: - So this is new code that indeed has long paths (156 characters if I count correctly). I assume we can't control where Jenkins does the checkout? In which case the only fix I can think of seems to be to shorten either package or class names here (and in the future, have an eye on path lengths before they fail on Windows) > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15323361#comment-15323361 ] Michael Dürig commented on OAK-4456: And it is already failing all over the places: {noformat} stderr: error: unable to create file oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalIdentity.java (Filename too long) {noformat} {noformat} stderr: error: unable to create file oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalGroup.java (No such file or directory) {noformat} > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4456) Setup Windows builds
[ https://issues.apache.org/jira/browse/OAK-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15323352#comment-15323352 ] Michael Dürig commented on OAK-4456: Copied our existing matrix configuration [Apache Jackrabbit Oak matrix | https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/] to [Apache Jackrabbit Oak matrix (Windows) | https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix%20(Windows)/] enabling the Windows part of the matrix and disabling the Ubuntu part. > Setup Windows builds > - > > Key: OAK-4456 > URL: https://issues.apache.org/jira/browse/OAK-4456 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Michael Dürig >Assignee: Michael Dürig > Labels: CI, build, infrastructure, jenkins > Fix For: 1.6 > > > As [discussed | http://markmail.org/message/2dk6i3yxjfkknrzp] we should also > have CI coverage on Windows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)