Skip to content

Code Integration [push][testing-0.5.0] rev.2f8059832bbd20581ae54d6450a19c75138392fc #467

Code Integration [push][testing-0.5.0] rev.2f8059832bbd20581ae54d6450a19c75138392fc

Code Integration [push][testing-0.5.0] rev.2f8059832bbd20581ae54d6450a19c75138392fc #467

GitHub Actions / Unit Tests - Linux Platform failed Sep 19, 2024 in 0s

11 fail, 4 skipped, 219 pass in 6m 15s

234 tests   219 ✅  6m 15s ⏱️
  9 suites    4 💤
 13 files     11 ❌

Results for commit 2f80598.

Annotations

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite failed

unit/server.xml [took 1m 46s]
Raw output
Failed

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite/TestRunServer_APIConnection failed

unit/server.xml [took 10s]
Raw output
Failed
{"level":"error","time":"Sep 19 15:08:14.339","message":"'idle timeout' parameter not in acceptable range: 0s [1s:1m0s]\n"}
{"level":"info","time":"Sep 19 15:08:14.339","message":"PANIC: configuration values did not pass validation\n"}
goroutine 15 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:16 +0x19
github.com/parvit/qpep/workers/server.RunServer.func1()
	/home/runner/work/qpep/qpep/workers/server/server.go:21 +0x77
panic({0xbbfba0, 0xc000064530})
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
github.com/parvit/qpep/shared/configuration.AssertParamValidTimeout({0xc78618?, 0xb?}, 0x0)
	/home/runner/work/qpep/qpep/shared/configuration/params_validation.go:148 +0xf5
github.com/parvit/qpep/workers/server.validateConfiguration()
	/home/runner/work/qpep/qpep/workers/server/server.go:116 +0x10a
github.com/parvit/qpep/workers/server.RunServer({0xd4c900?, 0xc0001b40a0}, 0xc0001d2090)
	/home/runner/work/qpep/qpep/workers/server/server.go:30 +0xb0
github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection.func2()
	/home/runner/work/qpep/qpep/workers/server/server_test.go:231 +0x65
created by github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection
	/home/runner/work/qpep/qpep/workers/server/server_test.go:229 +0x11b
{"level":"info","time":"Sep 19 15:08:14.339","message":"Opening API Server on: 127.0.0.1:9443"}
{"level":"info","time":"Sep 19 15:08:14.339","message":"Register API: GET /echo (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:14.339","message":"Register API: GET /versions (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:14.339","message":"Register API: GET /status/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:14.339","message":"Register API: GET /statistics/hosts (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:14.339","message":"Register API: GET /statistics/info (srv:false cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:14.339","message":"Register API: GET /statistics/data (srv:true cli:true cli-mode:false)\n"}
2024/09/19 15:08:14 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 20480 kiB, got: 416 kiB). See https://github.com/Project-Faster/quic-go/wiki/UDP-Receive-Buffer-Size for details.
{"level":"info","time":"Sep 19 15:08:14.339","message":"Register API: GET /statistics/info/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:14.339","message":"Register API: GET /statistics/data/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:14.339","message":"Error running API server: http: Server closed"}
{"level":"info","time":"Sep 19 15:08:14.339","message":"Closed API Server"}
{"level":"error","time":"Sep 19 15:08:24.343","message":"Unable to Dial Protocol Session: timeout: no recent network activity\n"}
{"level":"error","time":"Sep 19 15:08:24.343","message":"Unrecoverable error while listening for Protocol connections: failed to connect to the gateway\n"}
    server_test.go:241: 
        	Error Trace:	/home/runner/work/qpep/qpep/workers/server/server_test.go:241
        	Error:      	Expected nil, but got: &errors.errorString{s:"failed to connect to the gateway"}
        	Test:       	TestServerSuite/TestRunServer_APIConnection
{"level":"debug","time":"Sep 19 15:08:24.343","message":"Statistics reset."}
{"level":"debug","time":"Sep 19 15:08:24.343","message":"SET counter: counter-connections[] = 0.00\n"}
    suite.go:87: test panicked: runtime error: invalid memory address or nil pointer dereference
        goroutine 50 [running]:
        runtime/debug.Stack()
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
        github.com/stretchr/testify/suite.failOnPanic(0xc00008ad00, {0xbcf260, 0x11583f0})
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:87 +0x3b
        github.com/stretchr/testify/suite.Run.func1.1()
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:183 +0x252
        panic({0xbcf260, 0x11583f0})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
        github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection(0xc000076e80)
        	/home/runner/work/qpep/qpep/workers/server/server_test.go:243 +0x23a
        reflect.Value.call({0xc0001d0280?, 0xc000015050?, 0x0?}, {0xc74f40, 0x4}, {0xc000407e70, 0x1, 0x0?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:586 +0xb07
        reflect.Value.Call({0xc0001d0280?, 0xc000015050?, 0xc000076e80?}, {0xc000407e70?, 0x1b?, 0xdc7caa?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:370 +0xbc
        github.com/stretchr/testify/suite.Run.func1(0xc00008ad00)
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x4b6
        testing.tRunner(0xc00008ad00, 0xc0001a83f0)
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x10b
        created by testing.(*T).Run
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x3ea

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite/TestRunServer_APIConnection_BadDestination failed

unit/server.xml [took 10s]
Raw output
Failed
{"level":"error","time":"Sep 19 15:08:24.551","message":"'idle timeout' parameter not in acceptable range: 0s [1s:1m0s]\n"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"PANIC: configuration values did not pass validation\n"}
goroutine 71 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:16 +0x19
github.com/parvit/qpep/workers/server.RunServer.func1()
	/home/runner/work/qpep/qpep/workers/server/server.go:21 +0x77
panic({0xbbfba0, 0xc000064530})
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
github.com/parvit/qpep/shared/configuration.AssertParamValidTimeout({0xc78618?, 0xb?}, 0x0)
	/home/runner/work/qpep/qpep/shared/configuration/params_validation.go:148 +0xf5
github.com/parvit/qpep/workers/server.validateConfiguration()
	/home/runner/work/qpep/qpep/workers/server/server.go:116 +0x10a
github.com/parvit/qpep/workers/server.RunServer({0xd4c900?, 0xc000024140}, 0xc000064810)
	/home/runner/work/qpep/qpep/workers/server/server.go:30 +0xb0
github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_BadDestination.func1()
	/home/runner/work/qpep/qpep/workers/server/server_test.go:328 +0x65
created by github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_BadDestination
	/home/runner/work/qpep/qpep/workers/server/server_test.go:326 +0xfc
{"level":"info","time":"Sep 19 15:08:24.551","message":"Opening API Server on: 10.1.0.102:9443"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"Register API: GET /echo (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"Register API: GET /versions (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"Register API: GET /status/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"Register API: GET /statistics/hosts (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"Register API: GET /statistics/info (srv:false cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"Register API: GET /statistics/data (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"Register API: GET /statistics/info/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"Register API: GET /statistics/data/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"Error running API server: http: Server closed"}
{"level":"info","time":"Sep 19 15:08:24.551","message":"Closed API Server"}
{"level":"error","time":"Sep 19 15:08:34.554","message":"Unable to Dial Protocol Session: timeout: no recent network activity\n"}
{"level":"error","time":"Sep 19 15:08:34.554","message":"Unrecoverable error while listening for Protocol connections: failed to connect to the gateway\n"}
    server_test.go:338: 
        	Error Trace:	/home/runner/work/qpep/qpep/workers/server/server_test.go:338
        	Error:      	Expected nil, but got: &errors.errorString{s:"failed to connect to the gateway"}
        	Test:       	TestServerSuite/TestRunServer_APIConnection_BadDestination
{"level":"debug","time":"Sep 19 15:08:34.554","message":"Statistics reset."}
{"level":"debug","time":"Sep 19 15:08:34.554","message":"SET counter: counter-connections[] = 0.00\n"}
    suite.go:87: test panicked: runtime error: invalid memory address or nil pointer dereference
        goroutine 52 [running]:
        runtime/debug.Stack()
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
        github.com/stretchr/testify/suite.failOnPanic(0xc00012c1a0, {0xbcf260, 0x11583f0})
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:87 +0x3b
        github.com/stretchr/testify/suite.Run.func1.1()
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:183 +0x252
        panic({0xbcf260, 0x11583f0})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
        github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_BadDestination(0xc000076e80)
        	/home/runner/work/qpep/qpep/workers/server/server_test.go:340 +0x21a
        reflect.Value.call({0xc0001d0280?, 0xc000015068?, 0x0?}, {0xc74f40, 0x4}, {0xc000151e70, 0x1, 0x0?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:586 +0xb07
        reflect.Value.Call({0xc0001d0280?, 0xc000015068?, 0xc000076e80?}, {0xc000151e70?, 0x2a?, 0xdc7caa?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:370 +0xbc
        github.com/stretchr/testify/suite.Run.func1(0xc00012c1a0)
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x4b6
        testing.tRunner(0xc00012c1a0, 0xc0001a8480)
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x10b
        created by testing.(*T).Run
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x3ea

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite/TestRunServer_APIConnection_BadHeader failed

unit/server.xml [took 10s]
Raw output
Failed
{"level":"error","time":"Sep 19 15:08:34.678","message":"'idle timeout' parameter not in acceptable range: 0s [1s:1m0s]\n"}
{"level":"info","time":"Sep 19 15:08:34.678","message":"PANIC: configuration values did not pass validation\n"}
goroutine 79 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:16 +0x19
github.com/parvit/qpep/workers/server.RunServer.func1()
	/home/runner/work/qpep/qpep/workers/server/server.go:21 +0x77
panic({0xbbfba0, 0xc000064530})
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
github.com/parvit/qpep/shared/configuration.AssertParamValidTimeout({0xc78618?, 0xb?}, 0x0)
	/home/runner/work/qpep/qpep/shared/configuration/params_validation.go:148 +0xf5
github.com/parvit/qpep/workers/server.validateConfiguration()
	/home/runner/work/qpep/qpep/workers/server/server.go:116 +0x10a
github.com/parvit/qpep/workers/server.RunServer({0xd4c900?, 0xc0001b40a0}, 0xc0001a00a0)
	/home/runner/work/qpep/qpep/workers/server/server.go:30 +0xb0
github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_BadHeader.func1()
	/home/runner/work/qpep/qpep/workers/server/server_test.go:294 +0x65
created by github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_BadHeader
	/home/runner/work/qpep/qpep/workers/server/server_test.go:292 +0xf5
{"level":"error","time":"Sep 19 15:08:44.681","message":"Unable to Dial Protocol Session: timeout: no recent network activity\n"}
{"level":"error","time":"Sep 19 15:08:44.681","message":"Unrecoverable error while listening for Protocol connections: failed to connect to the gateway\n"}
    server_test.go:300: 
        	Error Trace:	/home/runner/work/qpep/qpep/workers/server/server_test.go:300
        	Error:      	Expected nil, but got: &errors.errorString{s:"failed to connect to the gateway"}
        	Test:       	TestServerSuite/TestRunServer_APIConnection_BadHeader
{"level":"debug","time":"Sep 19 15:08:44.682","message":"Statistics reset."}
{"level":"debug","time":"Sep 19 15:08:44.682","message":"SET counter: counter-connections[] = 0.00\n"}
    suite.go:87: test panicked: runtime error: invalid memory address or nil pointer dereference
        goroutine 35 [running]:
        runtime/debug.Stack()
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
        github.com/stretchr/testify/suite.failOnPanic(0xc00008ad00, {0xbcf260, 0x11583f0})
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:87 +0x3b
        github.com/stretchr/testify/suite.Run.func1.1()
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:183 +0x252
        panic({0xbcf260, 0x11583f0})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
        github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_BadHeader(0xc000076e80)
        	/home/runner/work/qpep/qpep/workers/server/server_test.go:302 +0x177
        reflect.Value.call({0xc0001d0280?, 0xc000015080?, 0x0?}, {0xc74f40, 0x4}, {0xc000151e70, 0x1, 0x0?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:586 +0xb07
        reflect.Value.Call({0xc0001d0280?, 0xc000015080?, 0xc000076e80?}, {0xc000151e70?, 0x25?, 0xdc7caa?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:370 +0xbc
        github.com/stretchr/testify/suite.Run.func1(0xc00008ad00)
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x4b6
        testing.tRunner(0xc00008ad00, 0xc0001a8510)
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x10b
        created by testing.(*T).Run
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x3ea

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite/TestRunServer_APIConnection_LimitDst failed

unit/server.xml [took 10s]
Raw output
Failed
{"level":"error","time":"Sep 19 15:08:44.736","message":"'idle timeout' parameter not in acceptable range: 0s [1s:1m0s]\n"}
{"level":"info","time":"Sep 19 15:08:44.736","message":"PANIC: configuration values did not pass validation\n"}
goroutine 27 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:16 +0x19
github.com/parvit/qpep/workers/server.RunServer.func1()
	/home/runner/work/qpep/qpep/workers/server/server.go:21 +0x77
panic({0xbbfba0, 0xc000064530})
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
github.com/parvit/qpep/shared/configuration.AssertParamValidTimeout({0xc78618?, 0xb?}, 0x0)
	/home/runner/work/qpep/qpep/shared/configuration/params_validation.go:148 +0xf5
github.com/parvit/qpep/workers/server.validateConfiguration()
	/home/runner/work/qpep/qpep/workers/server/server.go:116 +0x10a
github.com/parvit/qpep/workers/server.RunServer({0xd4c900?, 0xc0001d6780}, 0xc0004c4570)
	/home/runner/work/qpep/qpep/workers/server/server.go:30 +0xb0
github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitDst.func1()
	/home/runner/work/qpep/qpep/workers/server/server_test.go:663 +0x65
created by github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitDst
	/home/runner/work/qpep/qpep/workers/server/server_test.go:661 +0x29f
{"level":"error","time":"Sep 19 15:08:54.741","message":"Unable to Dial Protocol Session: timeout: no recent network activity\n"}
{"level":"error","time":"Sep 19 15:08:54.741","message":"Unrecoverable error while listening for Protocol connections: failed to connect to the gateway\n"}
    server_test.go:697: 
        	Error Trace:	/home/runner/work/qpep/qpep/workers/server/server_test.go:697
        	Error:      	Expected nil, but got: &errors.errorString{s:"failed to connect to the gateway"}
        	Test:       	TestServerSuite/TestRunServer_APIConnection_LimitDst
{"level":"debug","time":"Sep 19 15:08:54.741","message":"Statistics reset."}
{"level":"debug","time":"Sep 19 15:08:54.741","message":"SET counter: counter-connections[] = 0.00\n"}
    suite.go:87: test panicked: runtime error: invalid memory address or nil pointer dereference
        goroutine 23 [running]:
        runtime/debug.Stack()
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
        github.com/stretchr/testify/suite.failOnPanic(0xc00012c340, {0xbcf260, 0x11583f0})
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:87 +0x3b
        github.com/stretchr/testify/suite.Run.func1.1()
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:183 +0x252
        panic({0xbcf260, 0x11583f0})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
        github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitDst(0xc000076e80)
        	/home/runner/work/qpep/qpep/workers/server/server_test.go:699 +0x400
        reflect.Value.call({0xc0001d0280?, 0xc000015098?, 0x0?}, {0xc74f40, 0x4}, {0xc000151e70, 0x1, 0x0?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:586 +0xb07
        reflect.Value.Call({0xc0001d0280?, 0xc000015098?, 0xc000076e80?}, {0xc000151e70?, 0x24?, 0xdc7caa?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:370 +0xbc
        github.com/stretchr/testify/suite.Run.func1(0xc00012c340)
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x4b6
        testing.tRunner(0xc00012c340, 0xc0001a85a0)
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x10b
        created by testing.(*T).Run
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x3ea

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite/TestRunServer_APIConnection_LimitSrc failed

unit/server.xml [took 10s]
Raw output
Failed
{"level":"error","time":"Sep 19 15:08:54.812","message":"'idle timeout' parameter not in acceptable range: 0s [1s:1m0s]\n"}
{"level":"info","time":"Sep 19 15:08:54.812","message":"PANIC: configuration values did not pass validation\n"}
goroutine 87 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:16 +0x19
github.com/parvit/qpep/workers/server.RunServer.func1()
	/home/runner/work/qpep/qpep/workers/server/server.go:21 +0x77
panic({0xbbfba0, 0xc000064530})
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
github.com/parvit/qpep/shared/configuration.AssertParamValidTimeout({0xc78618?, 0xb?}, 0x0)
	/home/runner/work/qpep/qpep/shared/configuration/params_validation.go:148 +0xf5
github.com/parvit/qpep/workers/server.validateConfiguration()
	/home/runner/work/qpep/qpep/workers/server/server.go:116 +0x10a
github.com/parvit/qpep/workers/server.RunServer({0xd4c900?, 0xc0001b42d0}, 0xc0001a0100)
	/home/runner/work/qpep/qpep/workers/server/server.go:30 +0xb0
github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitSrc.func1()
	/home/runner/work/qpep/qpep/workers/server/server_test.go:550 +0x65
created by github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitSrc
	/home/runner/work/qpep/qpep/workers/server/server_test.go:548 +0x28d
{"level":"error","time":"Sep 19 15:09:04.815","message":"Unable to Dial Protocol Session: timeout: no recent network activity\n"}
{"level":"error","time":"Sep 19 15:09:04.815","message":"Unrecoverable error while listening for Protocol connections: failed to connect to the gateway\n"}
    server_test.go:585: 
        	Error Trace:	/home/runner/work/qpep/qpep/workers/server/server_test.go:585
        	Error:      	Expected nil, but got: &errors.errorString{s:"failed to connect to the gateway"}
        	Test:       	TestServerSuite/TestRunServer_APIConnection_LimitSrc
{"level":"debug","time":"Sep 19 15:09:04.815","message":"Statistics reset."}
{"level":"debug","time":"Sep 19 15:09:04.815","message":"SET counter: counter-connections[] = 0.00\n"}
    suite.go:87: test panicked: runtime error: invalid memory address or nil pointer dereference
        goroutine 83 [running]:
        runtime/debug.Stack()
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
        github.com/stretchr/testify/suite.failOnPanic(0xc00012d1e0, {0xbcf260, 0x11583f0})
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:87 +0x3b
        github.com/stretchr/testify/suite.Run.func1.1()
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:183 +0x252
        panic({0xbcf260, 0x11583f0})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
        github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitSrc(0xc000076e80)
        	/home/runner/work/qpep/qpep/workers/server/server_test.go:587 +0x3cd
        reflect.Value.call({0xc0001d0280?, 0xc0000150b0?, 0x0?}, {0xc74f40, 0x4}, {0xc0000c1e70, 0x1, 0x0?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:586 +0xb07
        reflect.Value.Call({0xc0001d0280?, 0xc0000150b0?, 0xc000076e80?}, {0xc0000c1e70?, 0x24?, 0xdc7caa?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:370 +0xbc
        github.com/stretchr/testify/suite.Run.func1(0xc00012d1e0)
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x4b6
        testing.tRunner(0xc00012d1e0, 0xc0001a8630)
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x10b
        created by testing.(*T).Run
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x3ea

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite/TestRunServer_APIConnection_LimitZeroDst failed

unit/server.xml [took 10s]
Raw output
Failed
{"level":"info","time":"Sep 19 15:09:04.884","message":"Opening API Server on: 10.1.0.102:9443"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"Register API: GET /echo (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"Register API: GET /versions (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"Register API: GET /status/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"Register API: GET /statistics/hosts (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"Register API: GET /statistics/info (srv:false cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"Register API: GET /statistics/data (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"Register API: GET /statistics/info/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"Register API: GET /statistics/data/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"error","time":"Sep 19 15:09:04.884","message":"'idle timeout' parameter not in acceptable range: 0s [1s:1m0s]\n"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"PANIC: configuration values did not pass validation\n"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"Error running API server: listen tcp 10.1.0.102:9443: bind: address already in use"}
{"level":"info","time":"Sep 19 15:09:04.884","message":"Closed API Server"}
goroutine 103 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:16 +0x19
github.com/parvit/qpep/workers/server.RunServer.func1()
	/home/runner/work/qpep/qpep/workers/server/server.go:21 +0x77
panic({0xbbfba0, 0xc000064530})
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
github.com/parvit/qpep/shared/configuration.AssertParamValidTimeout({0xc78618?, 0xb?}, 0x0)
	/home/runner/work/qpep/qpep/shared/configuration/params_validation.go:148 +0xf5
github.com/parvit/qpep/workers/server.validateConfiguration()
	/home/runner/work/qpep/qpep/workers/server/server.go:116 +0x10a
github.com/parvit/qpep/workers/server.RunServer({0xd4c900?, 0xc0000245a0}, 0xc000065820)
	/home/runner/work/qpep/qpep/workers/server/server.go:30 +0xb0
github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitZeroDst.func1()
	/home/runner/work/qpep/qpep/workers/server/server_test.go:474 +0x65
created by github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitZeroDst
	/home/runner/work/qpep/qpep/workers/server/server_test.go:472 +0x2d3
{"level":"error","time":"Sep 19 15:09:14.888","message":"Unable to Dial Protocol Session: timeout: no recent network activity\n"}
{"level":"error","time":"Sep 19 15:09:14.888","message":"Unrecoverable error while listening for Protocol connections: failed to connect to the gateway\n"}
    server_test.go:483: 
        	Error Trace:	/home/runner/work/qpep/qpep/workers/server/server_test.go:483
        	Error:      	Expected nil, but got: &errors.errorString{s:"failed to connect to the gateway"}
        	Test:       	TestServerSuite/TestRunServer_APIConnection_LimitZeroDst
{"level":"debug","time":"Sep 19 15:09:14.888","message":"Statistics reset."}
{"level":"debug","time":"Sep 19 15:09:14.888","message":"SET counter: counter-connections[] = 0.00\n"}
    suite.go:87: test panicked: runtime error: invalid memory address or nil pointer dereference
        goroutine 99 [running]:
        runtime/debug.Stack()
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
        github.com/stretchr/testify/suite.failOnPanic(0xc00008ad00, {0xbcf260, 0x11583f0})
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:87 +0x3b
        github.com/stretchr/testify/suite.Run.func1.1()
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:183 +0x252
        panic({0xbcf260, 0x11583f0})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
        github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitZeroDst(0xc000076e80)
        	/home/runner/work/qpep/qpep/workers/server/server_test.go:485 +0x3e0
        reflect.Value.call({0xc0001d0280?, 0xc0000150c8?, 0x0?}, {0xc74f40, 0x4}, {0xc0000c1e70, 0x1, 0x0?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:586 +0xb07
        reflect.Value.Call({0xc0001d0280?, 0xc0000150c8?, 0xc000076e80?}, {0xc0000c1e70?, 0x28?, 0xdc7caa?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:370 +0xbc
        github.com/stretchr/testify/suite.Run.func1(0xc00008ad00)
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x4b6
        testing.tRunner(0xc00008ad00, 0xc0001a86c0)
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x10b
        created by testing.(*T).Run
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x3ea

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite/TestRunServer_APIConnection_LimitZeroSrc failed

unit/server.xml [took 10s]
Raw output
Failed
{"level":"info","time":"Sep 19 15:09:15.028","message":"Opening API Server on: 10.1.0.102:9443"}
{"level":"info","time":"Sep 19 15:09:15.028","message":"Register API: GET /echo (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:15.028","message":"Register API: GET /versions (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:15.028","message":"Register API: GET /status/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:15.028","message":"Register API: GET /statistics/hosts (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:15.029","message":"Register API: GET /statistics/info (srv:false cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:15.029","message":"Register API: GET /statistics/data (srv:true cli:true cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:15.029","message":"Register API: GET /statistics/info/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"info","time":"Sep 19 15:09:15.029","message":"Register API: GET /statistics/data/:addr (srv:true cli:false cli-mode:false)\n"}
{"level":"error","time":"Sep 19 15:09:15.028","message":"'idle timeout' parameter not in acceptable range: 0s [1s:1m0s]\n"}
{"level":"info","time":"Sep 19 15:09:15.029","message":"PANIC: configuration values did not pass validation\n"}
{"level":"info","time":"Sep 19 15:09:15.029","message":"Error running API server: listen tcp 10.1.0.102:9443: bind: address already in use"}
{"level":"info","time":"Sep 19 15:09:15.029","message":"Closed API Server"}
goroutine 60 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:16 +0x19
github.com/parvit/qpep/workers/server.RunServer.func1()
	/home/runner/work/qpep/qpep/workers/server/server.go:21 +0x77
panic({0xbbfba0, 0xc000064530})
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
github.com/parvit/qpep/shared/configuration.AssertParamValidTimeout({0xc78618?, 0xb?}, 0x0)
	/home/runner/work/qpep/qpep/shared/configuration/params_validation.go:148 +0xf5
github.com/parvit/qpep/workers/server.validateConfiguration()
	/home/runner/work/qpep/qpep/workers/server/server.go:116 +0x10a
github.com/parvit/qpep/workers/server.RunServer({0xd4c900?, 0xc0001b4230}, 0xc0001a0040)
	/home/runner/work/qpep/qpep/workers/server/server.go:30 +0xb0
github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitZeroSrc.func1()
	/home/runner/work/qpep/qpep/workers/server/server_test.go:399 +0x65
created by github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitZeroSrc
	/home/runner/work/qpep/qpep/workers/server/server_test.go:397 +0x2d3
{"level":"error","time":"Sep 19 15:09:25.032","message":"Unable to Dial Protocol Session: timeout: no recent network activity\n"}
{"level":"error","time":"Sep 19 15:09:25.032","message":"Unrecoverable error while listening for Protocol connections: failed to connect to the gateway\n"}
    server_test.go:408: 
        	Error Trace:	/home/runner/work/qpep/qpep/workers/server/server_test.go:408
        	Error:      	Expected nil, but got: &errors.errorString{s:"failed to connect to the gateway"}
        	Test:       	TestServerSuite/TestRunServer_APIConnection_LimitZeroSrc
{"level":"debug","time":"Sep 19 15:09:25.032","message":"Statistics reset."}
{"level":"debug","time":"Sep 19 15:09:25.032","message":"SET counter: counter-connections[] = 0.00\n"}
    suite.go:87: test panicked: runtime error: invalid memory address or nil pointer dereference
        goroutine 111 [running]:
        runtime/debug.Stack()
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
        github.com/stretchr/testify/suite.failOnPanic(0xc00008bba0, {0xbcf260, 0x11583f0})
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:87 +0x3b
        github.com/stretchr/testify/suite.Run.func1.1()
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:183 +0x252
        panic({0xbcf260, 0x11583f0})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
        github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_APIConnection_LimitZeroSrc(0xc000076e80)
        	/home/runner/work/qpep/qpep/workers/server/server_test.go:410 +0x3e0
        reflect.Value.call({0xc0001d0280?, 0xc0000150e0?, 0x0?}, {0xc74f40, 0x4}, {0xc000317e70, 0x1, 0x0?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:586 +0xb07
        reflect.Value.Call({0xc0001d0280?, 0xc0000150e0?, 0xc000076e80?}, {0xc000317e70?, 0x28?, 0xdc7caa?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:370 +0xbc
        github.com/stretchr/testify/suite.Run.func1(0xc00008bba0)
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x4b6
        testing.tRunner(0xc00008bba0, 0xc0001a8750)
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x10b
        created by testing.(*T).Run
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x3ea

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite/TestRunServer_DownloadConnection failed

unit/server.xml [took 10s]
Raw output
Failed
{"level":"error","time":"Sep 19 15:09:29.325","message":"'idle timeout' parameter not in acceptable range: 0s [1s:1m0s]\n"}
{"level":"info","time":"Sep 19 15:09:29.325","message":"PANIC: configuration values did not pass validation\n"}
goroutine 122 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:16 +0x19
github.com/parvit/qpep/workers/server.RunServer.func1()
	/home/runner/work/qpep/qpep/workers/server/server.go:21 +0x77
panic({0xbbfba0, 0xc000064530})
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
github.com/parvit/qpep/shared/configuration.AssertParamValidTimeout({0xc78618?, 0xb?}, 0x0)
	/home/runner/work/qpep/qpep/shared/configuration/params_validation.go:148 +0xf5
github.com/parvit/qpep/workers/server.validateConfiguration()
	/home/runner/work/qpep/qpep/workers/server/server.go:116 +0x10a
github.com/parvit/qpep/workers/server.RunServer({0xd4c900?, 0xc0001b40a0}, 0xc0004c4080)
	/home/runner/work/qpep/qpep/workers/server/server.go:30 +0xb0
github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_DownloadConnection.func1()
	/home/runner/work/qpep/qpep/workers/server/server_test.go:777 +0x65
created by github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_DownloadConnection
	/home/runner/work/qpep/qpep/workers/server/server_test.go:775 +0x1cd
{"level":"error","time":"Sep 19 15:09:39.329","message":"Unable to Dial Protocol Session: timeout: no recent network activity\n"}
{"level":"error","time":"Sep 19 15:09:39.329","message":"Unrecoverable error while listening for Protocol connections: failed to connect to the gateway\n"}
    server_test.go:813: 
        	Error Trace:	/home/runner/work/qpep/qpep/workers/server/server_test.go:813
        	Error:      	Expected nil, but got: &errors.errorString{s:"failed to connect to the gateway"}
        	Test:       	TestServerSuite/TestRunServer_DownloadConnection
{"level":"debug","time":"Sep 19 15:09:39.329","message":"Statistics reset."}
{"level":"debug","time":"Sep 19 15:09:39.329","message":"SET counter: counter-connections[] = 0.00\n"}
    suite.go:87: test panicked: runtime error: invalid memory address or nil pointer dereference
        goroutine 37 [running]:
        runtime/debug.Stack()
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
        github.com/stretchr/testify/suite.failOnPanic(0xc00008b1e0, {0xbcf260, 0x11583f0})
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:87 +0x3b
        github.com/stretchr/testify/suite.Run.func1.1()
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:183 +0x252
        panic({0xbcf260, 0x11583f0})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
        github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_DownloadConnection(0xc000076e80)
        	/home/runner/work/qpep/qpep/workers/server/server_test.go:815 +0x323
        reflect.Value.call({0xc0001d0280?, 0xc000015128?, 0x0?}, {0xc74f40, 0x4}, {0xc00029de70, 0x1, 0x0?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:586 +0xb07
        reflect.Value.Call({0xc0001d0280?, 0xc000015128?, 0xc000076e80?}, {0xc00029de70?, 0x20?, 0xdc7caa?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:370 +0xbc
        github.com/stretchr/testify/suite.Run.func1(0xc00008b1e0)
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x4b6
        testing.tRunner(0xc00008b1e0, 0xc0001a8900)
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x10b
        created by testing.(*T).Run
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x3ea

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite/TestRunServer_DownloadConnection_InactivityTimeout failed

unit/server.xml [took 10s]
Raw output
Failed
{"level":"error","time":"Sep 19 15:09:39.436","message":"'idle timeout' parameter not in acceptable range: 0s [1s:1m0s]\n"}
{"level":"info","time":"Sep 19 15:09:39.436","message":"PANIC: configuration values did not pass validation\n"}
goroutine 125 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:16 +0x19
github.com/parvit/qpep/workers/server.RunServer.func1()
	/home/runner/work/qpep/qpep/workers/server/server.go:21 +0x77
panic({0xbbfba0, 0xc000064530})
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
github.com/parvit/qpep/shared/configuration.AssertParamValidTimeout({0xc78618?, 0xb?}, 0x0)
	/home/runner/work/qpep/qpep/shared/configuration/params_validation.go:148 +0xf5
github.com/parvit/qpep/workers/server.validateConfiguration()
	/home/runner/work/qpep/qpep/workers/server/server.go:116 +0x10a
github.com/parvit/qpep/workers/server.RunServer({0xd4c900?, 0xc000024140}, 0xc000064820)
	/home/runner/work/qpep/qpep/workers/server/server.go:30 +0xb0
github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_DownloadConnection_InactivityTimeout.func1()
	/home/runner/work/qpep/qpep/workers/server/server_test.go:873 +0x65
created by github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_DownloadConnection_InactivityTimeout
	/home/runner/work/qpep/qpep/workers/server/server_test.go:871 +0x1cd
{"level":"error","time":"Sep 19 15:09:49.440","message":"Unable to Dial Protocol Session: timeout: no recent network activity\n"}
{"level":"error","time":"Sep 19 15:09:49.440","message":"Unrecoverable error while listening for Protocol connections: failed to connect to the gateway\n"}
    server_test.go:908: 
        	Error Trace:	/home/runner/work/qpep/qpep/workers/server/server_test.go:908
        	Error:      	Expected nil, but got: &errors.errorString{s:"failed to connect to the gateway"}
        	Test:       	TestServerSuite/TestRunServer_DownloadConnection_InactivityTimeout
{"level":"debug","time":"Sep 19 15:09:49.441","message":"Statistics reset."}
{"level":"debug","time":"Sep 19 15:09:49.441","message":"SET counter: counter-connections[] = 0.00\n"}
    suite.go:87: test panicked: runtime error: invalid memory address or nil pointer dereference
        goroutine 124 [running]:
        runtime/debug.Stack()
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
        github.com/stretchr/testify/suite.failOnPanic(0xc00008bba0, {0xbcf260, 0x11583f0})
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:87 +0x3b
        github.com/stretchr/testify/suite.Run.func1.1()
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:183 +0x252
        panic({0xbcf260, 0x11583f0})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
        github.com/parvit/qpep/workers/server.(*ServerSuite).TestRunServer_DownloadConnection_InactivityTimeout(0xc000076e80)
        	/home/runner/work/qpep/qpep/workers/server/server_test.go:910 +0x323
        reflect.Value.call({0xc0001d0280?, 0xc000015140?, 0x0?}, {0xc74f40, 0x4}, {0xc00021de70, 0x1, 0x0?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:586 +0xb07
        reflect.Value.Call({0xc0001d0280?, 0xc000015140?, 0xc000076e80?}, {0xc00021de70?, 0x32?, 0xdc7caa?})
        	/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:370 +0xbc
        github.com/stretchr/testify/suite.Run.func1(0xc00008bba0)
        	/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x4b6
        testing.tRunner(0xc00008bba0, 0xc0001a8990)
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x10b
        created by testing.(*T).Run
        	/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x3ea

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Tests - Linux Platform

TestServerSuite/TestValidateConfiguration failed

unit/server.xml [took 0s]
Raw output
Failed
{"level":"error","time":"Sep 19 15:09:49.677","message":"'idle timeout' parameter not in acceptable range: 0s [1s:1m0s]\n"}
    server_test.go:79: 
        	Error Trace:	/home/runner/work/qpep/qpep/workers/server/server_test.go:79
        	Error:      	func (assert.PanicTestFunc)(0x9ca100) should not panic
        	            		Panic value:	configuration values did not pass validation
        	            		Panic stack:	goroutine 44 [running]:
        	            	runtime/debug.Stack()
        	            		/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/debug/stack.go:24 +0x65
        	            	github.com/stretchr/testify/assert.didPanic.func1()
        	            		/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1038 +0x6c
        	            	panic({0xbbfba0, 0xc000064530})
        	            		/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/panic.go:884 +0x213
        	            	github.com/parvit/qpep/shared/configuration.AssertParamValidTimeout({0xc78618?, 0xb?}, 0x0)
        	            		/home/runner/work/qpep/qpep/shared/configuration/params_validation.go:148 +0xf5
        	            	github.com/parvit/qpep/workers/server.validateConfiguration()
        	            		/home/runner/work/qpep/qpep/workers/server/server.go:116 +0x10a
        	            	github.com/parvit/qpep/workers/server.(*ServerSuite).TestValidateConfiguration.func1()
        	            		/home/runner/work/qpep/qpep/workers/server/server_test.go:80 +0x17
        	            	github.com/stretchr/testify/assert.didPanic(0xc0004d3620?)
        	            		/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1043 +0x8c
        	            	github.com/stretchr/testify/assert.NotPanics({0xd48760, 0xc000493860}, 0xcbb438, {0x0, 0x0, 0x0})
        	            		/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1114 +0x7b
        	            	github.com/parvit/qpep/workers/server.(*ServerSuite).TestValidateConfiguration(0x0?)
        	            		/home/runner/work/qpep/qpep/workers/server/server_test.go:79 +0x38
        	            	reflect.Value.call({0xc0001d0280?, 0xc000015158?, 0x0?}, {0xc74f40, 0x4}, {0xc0004d3e70, 0x1, 0x0?})
        	            		/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:586 +0xb07
        	            	reflect.Value.Call({0xc0001d0280?, 0xc000015158?, 0xc000076e80?}, {0xc0004d3e70?, 0x19?, 0xdc7caa?})
        	            		/opt/hostedtoolcache/go/1.20.14/x64/src/reflect/value.go:370 +0xbc
        	            	github.com/stretchr/testify/suite.Run.func1(0xc000493860)
        	            		/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:197 +0x4b6
        	            	testing.tRunner(0xc000493860, 0xc0001a8a20)
        	            		/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x10b
        	            	created by testing.(*T).Run
        	            		/opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x3ea
        	Test:       	TestServerSuite/TestValidateConfiguration
{"level":"debug","time":"Sep 19 15:09:49.677","message":"Statistics reset."}
{"level":"debug","time":"Sep 19 15:09:49.677","message":"SET counter: counter-connections[] = 0.00\n"}