[SOLVED] Mattermost load test error: Internal error - code should not reach this point: goroutine 251 [running]: runtime/debug.Stack(0xc42021b448, 0xa660a0, 0xc42012ba00)

Hello
I have set up the complete environment for load test according to the links provided below:

When I run the loadtest all command I get the following error in UI console

[INFO] Done starting entities                                                                     
│[INFO] Test set to run for 20 minutes                                                             
│[ERROR] Internal error - code should not reach this point: goroutine 251 [running]:               
 runtime/debug.Stack(0xc42021b448, 0xa660a0, 0xc42012ba00)               
 
 
  Internal error - code should not reach this point: goroutine 220195 [running]:            
│runtime/debug.Stack(0xc42021b448, 0xa660a0, 0xc4203171c0)                                        
│/usr/local/go/src/runtime/debug/stack.go:24 +0x79                                                 
│github.com/mattermost/mattermost-load-test/loadtest.doStatusPolling.func1(0xc4203cc000)           
│/usr/local/go/src/github.com/mattermost/mattermost-load-test/loadtest/entity.go:68 +0x57          
│panic(0xa660a0, 0xc4203171c0)                                                                     
│/usr/local/go/src/runtime/panic.go:489 +0x2cf                                                   
│github.com/mattermost/mattermost-load-test/autocreation.*UserImportData).PickTeamChannel(0xc4203c
│c030, 0xc4201dad50, 0xc42021b640)                                                                 
 /usr/local/go/src/github.com/mattermost/mattermost-load-test/autocreation/bulkload.go:137 +0x1b1 

And then the UI exits and displays this:

    [INFO] Stopping monitor routines. Timeout is 10 seconds.
    [INFO]
    --------- Loadtest Report ------------
    Score: NaN
    [INFO] DONE!

Screenshot for same- https://www.screencast.com/t/My0Rhnx62oZh

Can someone guide what could be wrong.

Hi,

Two things. Can you pull the latest master from mattermost-load-test? Also can you share your config?

The error your getting is coming from one of the loadtest dependencies. I have never seen it before.

Hi

I took latest code from repository and made configuration url changes and the issue resolved.

Thanks a lot.

Thanks @Ajita!

Glad your issue is resolved :slight_smile: