Hi John, I just pushed a fix for that Log4jRecordingAppenderTest failing - there was something platform dependent in the asserts on the test. That test should pass on windows now. If you have any other specific problems, please let us know.
On Wed, May 6, 2015 at 7:55 PM, Stephen Mallette <[email protected]> wrote: > I'm not sure I know what would be causing these additional errors. Any > help you can provided in making the Windows experience better for others > would be appreciated. That would include improvements to the .bat files in > the distributions for Gremlin Server and Console. If I can think of > anything else that might be help you out, I'll let you know. > > Thanks, > > Stephe > > On Wed, May 6, 2015 at 5:53 PM, John Whelan <[email protected]> wrote: > >> Stephen, et al., >> >> Skipping the Javadoc step gets me past the problem. Building at the top >> level without Javadoc gets me a bit further. Specifically: >> {code} >> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec >> <<< FAILURE! - in >> org.apache.tinkerpop.gremlin.util.Log4jRecordingAppenderTest >> >> shouldRecordMessages(org.apache.tinkerpop.gremlin.util.Log4jRecordingAppenderTest) >> Time elapsed: 0.011 sec <<< FAILURE! >> org.junit.ComparisonFailure: expected:<ERROR - ERROR[] >> ] but was:<ERROR - ERROR[ >> > >> at org.junit.Assert.assertEquals(Assert.java:115) >> at org.junit.Assert.assertEquals(Assert.java:144) >> at >> >> org.apache.tinkerpop.gremlin.util.Log4jRecordingAppenderTest.shouldRecordMessages(Log4jRecordingAppenderTest.java:58) >> >> >> Results : >> >> Failed tests: >> Log4jRecordingAppenderTest.shouldRecordMessages:58 expected:<ERROR - >> ERROR[] >> ] but was:<ERROR - ERROR[ >> > >> >> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0 >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] Apache TinkerPop .................................. SUCCESS [ >> 17.500 >> s] >> [INFO] Apache TinkerPop :: Gremlin Shaded ................ SUCCESS [ >> 3.850 >> s] >> [INFO] Apache TinkerPop :: Gremlin Core .................. SUCCESS [ >> 39.434 >> s] >> [INFO] Apache TinkerPop :: Gremlin Test .................. FAILURE [ >> 16.577 >> s] >> [INFO] Apache TinkerPop :: Gremlin Groovy ................ SKIPPED >> [INFO] Apache TinkerPop :: Gremlin Groovy Test ........... SKIPPED >> [INFO] Apache TinkerPop :: TinkerGraph Gremlin ........... SKIPPED >> [INFO] Apache TinkerPop :: Hadoop Gremlin ................ SKIPPED >> [INFO] Apache TinkerPop :: Gremlin Driver ................ SKIPPED >> [INFO] Apache TinkerPop :: Gremlin Server ................ SKIPPED >> [INFO] Apache TinkerPop :: Gremlin Console ............... SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 01:17 min >> [INFO] Finished at: 2015-05-06T14:08:43-06:00 >> [INFO] Final Memory: 44M/663M >> {code} >> >> After that failure, if I switch to also skip tests (mvn clean install >> -Dmaven.javadoc.skip=true -Dmaven.test.skip=true), then I get a successful >> build. However, it is kind of like working without a net. >> >> I did try moving my source from "D:\Secure\sandbox\20150304_ >> Graports\incubator-tinkerpop-master\" to "D:\t\" and re-attempted running >> "mvn clean install", but still encountered the same Javadoc related error. >> (Note "D:\t\"is as short a path as we can get on Windows.) I also then >> attempted running "mvnmvn clean install -Dmaven.javadoc.skip=true >> --fail-at-end clean install -Dmaven.javadoc.skip=true" on the short-path >> location, and also hit the same test failure as mentioned above. after >> that, built the 'gremlin-test' project without running the tests on it, >> and >> then attempted building the remaining projects via 'mvn clean install' >> (and >> variants mentioned below). The results of this are as follows: >> >> {code} >> [INFO] Apache TinkerPop .................................. SUCCESS [ >> 6.577 >> s] >> [INFO] Apache TinkerPop :: Gremlin Shaded ................ SUCCESS [ >> 2.377 >> s] >> [INFO] Apache TinkerPop :: Gremlin Core .................. SUCCESS [ >> 21.047 >> s] >> [INFO] Apache TinkerPop :: Gremlin Test .................. Note: 1 test >> and >> javadoc fails. "mvn clean install -Dmaven.javadoc.skip=true" succeeds >> [INFO] Apache TinkerPop :: Gremlin Groovy ................ Note: Javadoc >> failed. "mvn clean install -Dmaven.javadoc.skip=true" succeeds >> [INFO] Apache TinkerPop :: Gremlin Groovy Test ........... Note: "mvn >> clean >> install -Dmaven.javadoc.skip=true" succeeds >> [INFO] Apache TinkerPop :: TinkerGraph Gremlin ........... Note: Javadoc >> failed. "mvn clean install -Dmaven.javadoc.skip=true" succeeds >> [INFO] Apache TinkerPop :: Hadoop Gremlin ................ Note: One Test >> fails* (some of the time). "mvn clean install -Dmaven.javadoc.skip=true" >> succeeds >> [INFO] Apache TinkerPop :: Gremlin Driver ................ Note: "mvn >> clean >> install -Dmaven.javadoc.skip=true" succeeds >> [INFO] Apache TinkerPop :: Gremlin Server ................ Note: "mvn >> clean >> install -Dmaven.javadoc.skip=true" succeeds >> [INFO] Apache TinkerPop :: Gremlin Console ............... Note: "mvn >> clean >> install -Dmaven.javadoc.skip=true" succeeds >> >> * Failed tests: >> ProfileTest$Traversals>ProfileTest.g_V_sleep_sleep_profile:149 Duration >> should be at least the length of the sleep (59ms): 58 >> {code} >> >> From this I can see that there besides the javadoc problem, there are a >> couple of test failures that show up on Windows. I had seen the "59ms" >> failure before, but the other one seems to be new. >> >> I might try to see if I can find a root cause for these failures... >> >> Regards, >> John >> >> >> >> >> On Wed, May 6, 2015 at 1:51 PM, Stephen Mallette <[email protected]> >> wrote: >> >> > I'm guessing that problem relates to length of javadoc >> > directory/filenames. Can you try to with: >> > >> > mvn clean install -Dmaven.javadoc.skip=true >> > >> > Please let me know if it gets you past that spot. >> > >> > On Wed, May 6, 2015 at 2:44 PM, John Whelan <[email protected]> >> wrote: >> > >> > > Hello, >> > > >> > > I have been building TP3 on both Windows and Linux, but have not been >> > > successful on Windows. It used to be that I had a test failing >> because it >> > > didn't take long enough. >> > > >> > > Now (today), when building incubator-tinkerpop-master on Windows, I >> get >> > the >> > > following error: >> > > >> > > {code} >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > [INFO] BUILD FAILURE >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > [INFO] Total time: 50.623 s >> > > [INFO] Finished at: 2015-05-06T13:27:24-06:00 >> > > [INFO] Final Memory: 37M/513M >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > [ERROR] Failed to execute goal >> > > org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:jar >> (attach-javadoc) >> > > on project gremlin-core: MavenReportException: Error while creating >> > archive >> > > : >> > > [ERROR] Exit code: 1 - javadoc: error - cannot read options (The >> system >> > > cannot find the file specified) >> > > [ERROR] >> > > [ERROR] Command line was: >> D:\apps\Java\jdk1.8.0_45\jre\..\bin\javadoc.exe >> > > @options @packages >> > > [ERROR] >> > > [ERROR] Refer to the generated Javadoc files in >> > > >> > > >> > >> 'D:\Secure\sandbox\20150304_Graports\incubator-tinkerpop-master\gremlin-core\target\apidocs' >> > > dir. >> > > [ERROR] -> [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/MojoExecutionException >> > > >> > > >> > >> D:\Secure\sandbox\20150304_Graports\incubator-tinkerpop-master\gremlin-core> >> > > {code} >> > > >> > > I have checked the 'apidocs' directory, and it contains 'javadoc.bat', >> > > 'options', and 'packages' files. >> > > >> > > Are there known issues with building on Windows, or should I submit a >> bug >> > > on JIRA for this? >> > > >> > > Regards, >> > > John >> > > >> > >> > >
