Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: DATA RACE when run ci_test #85

Open
sc0Vu opened this issue Feb 1, 2021 · 0 comments
Open

WARNING: DATA RACE when run ci_test #85

sc0Vu opened this issue Feb 1, 2021 · 0 comments

Comments

@sc0Vu
Copy link
Contributor

sc0Vu commented Feb 1, 2021

INFO Retry to connect to 139.162.56.162:41046 (3/3), waiting 2.334386763s
ERROR GetServer() failed: couldn't connect to server '&{Host:[49 51 57 46 49 54 50 46 53 54 46 49 54 50] EdgePort:41046 ServerPort:443 Sig:[1 56 236 161 110 37 136 149 17 61 135 32 241 215 61 97 114 224 68 24 95 220 43 19 194 171 0 107 130 83 47 64 191 32 56 185 125 138 23 167 220 227 199 40 84 210 224 112 54 156 20 94 121 223 41 155 155 93 207 219 228 56 141 8 85] ServerPubKey:[4 119 134 124 193 167 3 240 26 14 253 214 252 148 181 195 29 132 78 93 26 98 167 193 191 160 229 81 205 46 111 203 38 245 168 170 191 199 95 170 96 217 226 167 20 74 89 252 242 159 171 200 169 218 56 195 93 148 223 229 179 172 80 182 0]}' with error 'failed to connect to host: 139.162.56.162:41046'
ERROR Failed to connect to: 139.162.56.162:41046 (dial tcp 139.162.56.162:41046: connect: connection refused)
INFO Retry to connect to 139.162.56.162:41046 (1/3), waiting 1s
==================
WARNING: DATA RACE
Read at 0x00c000122100 by goroutine 38:
  github.com/diodechain/diode_go_client/rpc.(*Client).watchLatestBlock()
      /path/to/diode_go_client/rpc/bridge.go:301 +0x253
  github.com/diodechain/diode_go_client/rpc.(*Client).watchLatestBlock-fm()
      /path/to/diode_go_client/rpc/bridge.go:289 +0x44
  github.com/diodechain/diode_go_client/rpc.(*Client).addWorker.func1()
      /path/to/diode_go_client/rpc/bridge.go:27 +0x72

Previous write at 0x00c000122100 by goroutine 26:
  github.com/diodechain/diode_go_client/rpc.(*Client).ValidateNetwork()
      /path/to/diode_go_client/rpc/client.go:348 +0x8a4
  main.(*Diode).WaitForFirstClient.func1()
      /path/to/diode_go_client/cmd/diode/app.go:433 +0x315

Goroutine 38 (running) created at:
  github.com/diodechain/diode_go_client/rpc.(*Client).addWorker()
      /path/to/diode_go_client/rpc/bridge.go:25 +0x76
  github.com/diodechain/diode_go_client/rpc.(*Client).Start()
      /path/to/diode_go_aclient/rpc/bridge.go:376 +0x111
  github.com/diodechain/diode_go_client/rpc.DoConnect()
      /path/to/diode_go_client/rpc/ssl.go:400 +0xcbd
  main.connect()
      /path/to/diode_go_client/cmd/diode/diode.go:43 +0x85

Goroutine 26 (finished) created at:
  main.(*Diode).WaitForFirstClient()
      /path/to/diode_go_client/cmd/diode/app.go:414 +0x184
  main.(*Diode).Start()
      /path/to/diode_go_client/cmd/diode/app.go:381 +0x371
  main.socksdHandler()
      /path/to/diode_go_client/cmd/diode/socksd.go:32 +0x54
  github.com/diodechain/diode_go_client/command.(*Command).Execute()
      /path/to/diode_go_client/command/command.go:139 +0x552
  main.RunDiode()
      /path/to/diode_go_client/cmd/diode/diode.go:27 +0x5b
  main.main()
      /path/to/diode_go_client/cmd/diode/diode.go:33 +0x4b
==================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant