Skip to content

'panic: runtime error: slice bounds out of range' during test run #1073

Closed
@dengayevskiy

Description

@dengayevskiy

Hi! We have an issue that reproduces time to time on our CI agents (Ubuntu 14.04.4 LTS; JRE: 1.8.0_91-b14). Tests are run in 8 threads using gauge:execute -DinParallel=true -Dnodes=8

Here is a stacktrace:

[10:40:11][com.tests] panic: runtime error: slice bounds out of range
[10:40:11][com.tests] 
[10:40:11][com.tests] goroutine 2816 [running]:
[10:40:11][com.tests] github.com/getgauge/gauge/conn.readResponse(0xc61e20, 0xc4201fc0f8, 0xc420c258c0, 0x17e, 0x240, 0x0, 0x0)
[10:40:11][com.tests]     src/github.com/getgauge/gauge/conn/network.go:99 +0x215
[10:40:11][com.tests] github.com/getgauge/gauge/conn.writeDataAndGetResponse(0xc61e20, 0xc4201fc0f8, 0xc420c258c0, 0x17e, 0x240, 0x0, 0x0, 0x0, 0x0, 0x0)
[10:40:11][com.tests]     src/github.com/getgauge/gauge/conn/network.go:83 +0xb6
[10:40:11][com.tests] github.com/getgauge/gauge/conn.getResponseForGaugeMessage(0xc420daca50, 0xc61e20, 0xc4201fc0f8, 0xc4202192c0, 0xc420219320, 0x0, 0x0)
[10:40:11][com.tests]     src/github.com/getgauge/gauge/conn/network.go:137 +0x1e6
[10:40:11][com.tests] created by github.com/getgauge/gauge/conn.GetResponseForMessageWithTimeout
[10:40:11][com.tests]  src/github.com/getgauge/gauge/conn/network.go:163 +0xd9

Gauge version: 0.9.9

Plugins
html-report (4.0.4)
java (0.6.7)
screenshot (0.0.1)
spectacle (0.1.2)
xml-report (0.2.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions