Rithin Kumar R S created TINKERPOP-2784:
-------------------------------------------

             Summary: Gremlin Server on Windows in GitHub Actions slows down 
significantly for some tests occasionally
                 Key: TINKERPOP-2784
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2784
             Project: TinkerPop
          Issue Type: Bug
          Components: server
         Environment: Windows - GitHub Actions
            Reporter: Rithin Kumar R S


Gremlin Server has been observed to occasionally slow down when running 
Integration and Cucumber Tests on Windows in GitHub Actions. Here is an example 
illustrating the slowdown:

Every so often (~2% of the time) on GitHub Actions, the Windows workflow for 
Gremlin Javascript will fail. There is a recurring failure from the scenario 
'g_V_connectedComponent_hasXcomponentX' on the 'When iterated to list' step in 
'ConnectedComponent.feature'. This can be observed in this Workflow Run: 
[Link|https://github.com/L0Lmaker/tinkerpop/runs/7755756716?check_suite_focus=true#step:4:12408].
 When 'g_V_connectedComponent_hasXcomponentX' fails, sometimes other scenarios 
like 'g_V_dedup_connectedComponent_hasXcomponentX' can also fail.

On adding some server logs, on the failed tests we can observe that on the 
server side, the request is still processed but takes longer than the Cucumber 
threshold ([Link 
|https://github.com/L0Lmaker/tinkerpop/runs/7755756716?check_suite_focus=true#step:4:11942]).
 We can also see that the slow down is not limited to just the specific 
Scenario 
([Link|https://github.com/L0Lmaker/tinkerpop/runs/7755756716?check_suite_focus=true#step:4:11941]).
 For reference, these are the usual runtimes for the same Steps respectively, 
but on a different workflow run 
(['connectedComponent()'|https://github.com/L0Lmaker/tinkerpop/runs/7755709203?check_suite_focus=true#step:4:11861]
 and 
['dedup()'|[https://github.com/L0Lmaker/tinkerpop/runs/7755709203?check_suite_focus=true#step:4:11862]]).

This ticket is to track the investigation of the slowdown on Gremlin Server on 
Windows in GitHub Actions. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to