tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rusi Popov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TINKERPOP-2274) Test of TinkerGraph Gremlin fail on Windows and non EN locale
Date Fri, 16 Aug 2019 06:10:00 GMT

    [ https://issues.apache.org/jira/browse/TINKERPOP-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908769#comment-16908769
] 

Rusi Popov commented on TINKERPOP-2274:
---------------------------------------

The tests in spark-gremlin under Windows fail with:
{code:java}
INFO Results:
INFO
ERROR Failures:
ERROR org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest.shouldHaveConsistentMemoryVertexPropertiesAndExceptions(org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest)
ERROR   Run 1: GraphComputerTest.shouldHaveConsistentMemoryVertexPropertiesAndExceptions:552
expected:<0> but was:<6>
ERROR   Run 2: GraphComputerTest.shouldHaveConsistentMemoryVertexPropertiesAndExceptions:552
expected:<0> but was:<6>
INFO
ERROR org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest.shouldProcessResultGraphNewWithPersistNothing(org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest)
ERROR   Run 1: GraphComputerTest.shouldProcessResultGraphNewWithPersistNothing:1349 expected:<0>
but was:<6>
ERROR   Run 2: GraphComputerTest.shouldProcessResultGraphNewWithPersistNothing:1349 expected:<0>
but was:<6>
INFO
ERROR Errors:
ERROR org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest.shouldFailWithImproperTraverserRequirements(org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest)
INFO   Run 1: PASS
ERROR   Run 2: GraphComputerTest.shouldFailWithImproperTraverserRequirements:2525 » IllegalState
INFO
ERROR org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest.shouldSupportBroadcastKeys(org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest)
ERROR   Run 1: GraphComputerTest.shouldSupportBroadcastKeys:2378 » Execution org.apache.hadoo...
ERROR   Run 2: GraphComputerTest.shouldSupportBroadcastKeys:2378 » Execution org.apache.hadoo...
INFO
ERROR org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest.shouldSupportPreExistingComputeKeys(org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest)
ERROR   Run 1: GraphComputerTest.shouldSupportPreExistingComputeKeys:2142 » Execution org.apa...
ERROR   Run 2: GraphComputerTest.shouldSupportPreExistingComputeKeys:2142 » Execution org.apa...
INFO
ERROR org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest.shouldSupportTransientKeys(org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest)
INFO   Run 1: PASS
ERROR   Run 2: GraphComputerTest.shouldSupportTransientKeys:2203 » Execution org.apache.hadoo...
INFO
ERROR org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest.testMessagePassingBoth(org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest)
INFO   Run 1: PASS
ERROR   Run 2: GraphComputerTest.testMessagePassingBoth:2727->runMPTest:2746 » Execution
org....
INFO
ERROR org.apache.tinkerpop.gremlin.process.computer.clone.CloneVertexProgramTest.shouldDumpWholeGraph(org.apache.tinkerpop.gremlin.process.computer.clone.CloneVertexProgramTest)
ERROR   Run 1: CloneVertexProgramTest.shouldDumpWholeGraph:42 » Execution org.apache.hadoop.m...
ERROR   Run 2: CloneVertexProgramTest.shouldDumpWholeGraph:42 » Execution org.apache.hadoop.m...
INFO
ERROR org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals.g_V_hasLabelXpersonX_pageRank_byXpageRankX_project_byXnameX_byXvaluesXpageRankX_mathX(org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals)
ERROR   Run 1: PageRankTest$Traversals>PageRankTest.g_V_hasLabelXpersonX_pageRank_byXpageRankX_project_byXnameX_byXvaluesXpageRankX_mathX:146->AbstractGremlinTest.printTraversalForm:259
» IllegalState
ERROR   Run 2: PageRankTest$Traversals>PageRankTest.g_V_hasLabelXpersonX_pageRank_byXpageRankX_project_byXnameX_byXvaluesXpageRankX_mathX:146->AbstractGremlinTest.printTraversalForm:259
» IllegalState
INFO
ERROR org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals.g_V_hasLabelXsoftwareX_hasXname_rippleX_pageRankX1X_byXinEXcreatedXX_timesX1X_byXpriorsX_inXcreatedX_unionXboth__identityX_valueMapXname_priorsX(org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals)
INFO   Run 1: PASS
ERROR   Run 2: PageRankTest$Traversals>PageRankTest.g_V_hasLabelXsoftwareX_hasXname_rippleX_pageRankX1X_byXinEXcreatedXX_timesX1X_byXpriorsX_inXcreatedX_unionXboth__identityX_valueMapXname_priorsX:185->AbstractGremlinTest.printTraversalForm:259
» IllegalState
INFO
ERROR org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals.g_V_pageRank_byXoutEXknowsXX_byXfriendRankX_project_byXnameX_byXvaluesXfriendRankX_mathX(org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals)
ERROR   Run 1: PageRankTest$Traversals>PageRankTest.g_V_pageRank_byXoutEXknowsXX_byXfriendRankX_project_byXnameX_byXvaluesXfriendRankX_mathX:114->AbstractGremlinTest.printTraversalForm:259
» IllegalState
ERROR   Run 2: PageRankTest$Traversals>PageRankTest.g_V_pageRank_byXoutEXknowsXX_byXfriendRankX_project_byXnameX_byXvaluesXfriendRankX_mathX:114->AbstractGremlinTest.printTraversalForm:259
» IllegalState
INFO
ERROR org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals.g_V_pageRank_byXpageRankX_asXaX_outXknowsX_pageRank_asXbX_selectXa_bX_by_byXmathX(org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals)
ERROR   Run 1: PageRankTest$Traversals>PageRankTest.g_V_pageRank_byXpageRankX_asXaX_outXknowsX_pageRank_asXbX_selectXa_bX_by_byXmathX:167->AbstractGremlinTest.printTraversalForm:259
» IllegalState
ERROR   Run 2: PageRankTest$Traversals>PageRankTest.g_V_pageRank_byXpageRankX_asXaX_outXknowsX_pageRank_asXbX_selectXa_bX_by_byXmathX:167->AbstractGremlinTest.printTraversalForm:259
» IllegalState
INFO
ERROR org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals.g_V_pageRank_hasXpageRankX(org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals)
INFO   Run 1: PASS
ERROR   Run 2: PageRankTest$Traversals>PageRankTest.g_V_pageRank_hasXpageRankX:73->AbstractGremlinTest.printTraversalForm:259
» IllegalState
INFO
ERROR org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals.g_V_pageRank_order_byXpageRank_descX_byXnameX_name(org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals)
INFO   Run 1: PASS
ERROR   Run 2: PageRankTest$Traversals>PageRankTest.g_V_pageRank_order_byXpageRank_descX_byXnameX_name:99->AbstractGremlinTest.printTraversalForm:259
» IllegalState
INFO
ERROR org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals.g_V_pageRank_order_byXpageRank_descX_name_limitX2X(org.apache.tinkerpop.gremlin.process.traversal.step.map.PageRankTest$Traversals)
ERROR   Run 1: PageRankTest$Traversals>PageRankTest.g_V_pageRank_order_byXpageRank_descX_name_limitX2X:135->AbstractGremlinTest.printTraversalForm:259
» IllegalState
INFO   Run 2: PASS
INFO
ERROR org.apache.tinkerpop.gremlin.process.traversal.step.map.PeerPressureTest$Traversals.g_V_peerPressure_byXclusterX_byXoutEXknowsXX_pageRankX1X_byXrankX_byXoutEXknowsXX_timesX2X_group_byXclusterX_byXrank_sumX(org.apache.tinkerpop.gremlin.process.traversal.step.map.PeerPressureTest$Traversals)
ERROR   Run 1: PeerPressureTest$Traversals>PeerPressureTest.g_V_peerPressure_byXclusterX_byXoutEXknowsXX_pageRankX1X_byXrankX_byXoutEXknowsXX_timesX2X_group_byXclusterX_byXrank_sumX:69->AbstractGremlinTest.printTraversalForm:259
» IllegalState
ERROR   Run 2: PeerPressureTest$Traversals>PeerPressureTest.g_V_peerPressure_byXclusterX_byXoutEXknowsXX_pageRankX1X_byXrankX_byXoutEXknowsXX_timesX2X_group_byXclusterX_byXrank_sumX:69->AbstractGremlinTest.printTraversalForm:259
» IllegalState
INFO
ERROR org.apache.tinkerpop.gremlin.process.traversal.step.map.ProgramTest$Traversals.g_V_hasLabelXpersonX_programXpageRank_rankX_order_byXrank_ascX_valueMapXname_rankX(org.apache.tinkerpop.gremlin.process.traversal.step.map.ProgramTest$Traversals)
ERROR   Run 1: ProgramTest$Traversals>ProgramTest.g_V_hasLabelXpersonX_programXpageRank_rankX_order_byXrank_ascX_valueMapXname_rankX:96->AbstractGremlinTest.printTraversalForm:259
» IllegalState
ERROR   Run 2: ProgramTest$Traversals>ProgramTest.g_V_hasLabelXpersonX_programXpageRank_rankX_order_byXrank_ascX_valueMapXname_rankX:96->AbstractGremlinTest.printTraversalForm:259
» IllegalState
INFO
ERROR org.apache.tinkerpop.gremlin.process.traversal.step.map.ProgramTest$Traversals.g_V_programXpageRankX(org.apache.tinkerpop.gremlin.process.traversal.step.map.ProgramTest$Traversals)
ERROR   Run 1: ProgramTest$Traversals>ProgramTest.g_V_programXpageRankX:82->AbstractGremlinTest.printTraversalForm:259
» IllegalState
ERROR   Run 2: ProgramTest$Traversals>ProgramTest.g_V_programXpageRankX:82->AbstractGremlinTest.printTraversalForm:259
» IllegalState
INFO
INFO
ERROR Tests run: 1190, Failures: 2, Errors: 16, Skipped: 155
{code}
The analysis of the failing org.apache.tinkerpop.gremlin.spark.SparkHadoopGremlinTest and
FileSystemStorageCheck
{code:java}
ERROR shouldSupportRemoveAndListMethods(org.apache.tinkerpop.gremlin.hadoop.structure.io.FileSystemStorageCheck)
java.lang.AssertionError: expected:<0> but was:<1>
        at org.apache.tinkerpop.gremlin.hadoop.structure.io.FileSystemStorageCheck.shouldSupportRemoveAndListMethods(FileSystemStorageCheck.java:58)
{code}
tracks to deleting the storage while the graph and the infrastructure is up and running fails
under Windows due to locks held on the Spark files. This is a known not solved problem of
Spark, see:
 * https://issues.apache.org/jira/browse/SPARK-12216 Spark failed to delete temp directory
 * https://issues.apache.org/jira/browse/SPARK-22083 When dropping multiple blocks to disk,
Spark should release all locks on a failure

Still trying to overcome...

> Test of TinkerGraph Gremlin fail on Windows and non EN locale
> -------------------------------------------------------------
>
>                 Key: TINKERPOP-2274
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2274
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: build-release
>    Affects Versions: 3.5.0
>         Environment: windows 10
> java version "1.8.0_221"
> Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
>            Reporter: Rusi Popov
>            Priority: Major
>
> When compiling the first time TiinkerPop projects under Windows with a locale other than
English (in this case Bulgarian), the tests of TinkerGraph Gremlin fail due to:
>  * parsing test data using SimpleDateFormat in the default locale
>  * parsing UNIX-formatted path literal (with / separator) searching for the system's
file separator (\ for Windows).
> The tests of Gremlin Driver fail with:
> {code:java}
> ERROR initializationError(org.apache.tinkerpop.gremlin.driver.ser.binary.GraphBinaryReaderWriterRoundTripTest)
 Time elapsed: 0.046 s  <<< ERROR!
> java.text.ParseException: Unparseable date: "Jan 12, 1952"
>         at org.apache.tinkerpop.gremlin.driver.ser.binary.GraphBinaryReaderWriterRoundTripTest.input(GraphBinaryReaderWriterRoundTripTest.java:180)
> {code}
> due to locale-specific format used.
> In order to reproduce:
>  * under Windows 10 clone the TinkerPop GIT repository
>  * git checkout aee038fe26ba399410720afb96c133602410fd6e
>  (version 3.5.0-SNAPSHOT)
>  * in *Start \ Settings \ Time and Language \ Regional format* choose Bulgarian
>  * mvn clean install



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message