scylladb / scylla-bench

43 stars 36 forks source link

panic: runtime error: integer divide by zero #125

Closed fgelcer closed 1 year ago

fgelcer commented 1 year ago

Issue description

unsure what caused it

Impact

load crashed, and raised a critical event, making the test to abort

  56s    3759   37545      0 7.7ms  3.9ms  2.6ms  1.8ms  1.6ms  1.1ms  1.2ms  
  57s    3825   38225      0 14ms   8.6ms  2.9ms  1.8ms  1.5ms  1.1ms  1.2ms  
  58s    3758   37545      0 3.6ms  3.2ms  2.5ms  1.8ms  1.6ms  1.2ms  1.2ms  
panic: runtime error: integer divide by zero
  59s    3961   39570      0 3.2ms  3ms    2.5ms  1.8ms  1.5ms  1.1ms  1.2ms  

goroutine 483 [running]:
main.DoBatchedWrites.func1(0xc000071b60)
        /go/scylla-bench-0.1.17/modes.go:409 +0x6a6
main.RunTest(0xc000071b60, {0x7dff38, 0xc0003d8ed0}, {0x7decd8, 0x9bd3d0}, 0xc0001e5eb0)
        /go/scylla-bench-0.1.17/modes.go:153 +0x1ac
main.DoBatchedWrites(0xc00008d800, 0x7dda80?, {0x7dff38, 0xc0003d8ed0}, {0x7decd8, 0x9bd3d0})
        /go/scylla-bench-0.1.17/modes.go:390 +0x145
main.main.func4(0xc000498300?, 0x7df6c8?, {0x7decd8, 0x9bd3d0})
        /go/scylla-bench-0.1.17/main.go:637 +0x105
main.RunConcurrently.func1(0x0)
        /go/scylla-bench-0.1.17/modes.go:83 +0x66
created by main.RunConcurrently
        /go/scylla-bench-0.1.17/modes.go:81 +0x19c

How frequently does it reproduce?

unsure how frequent it reproduces

Installation details

Kernel Version: 5.15.0-1030-gcp Scylla version (or git commit hash): 5.2.0-20230427.429b696bbc1b with build-id 9736db0414bad938b1d5d959bb25fbb4fb8558ce

Cluster size: 4 nodes (n1-highmem-8)

Scylla Nodes used in this run:

OS / Image: https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/family/ubuntu-2004-lts (gce: us-east1)

Test: rolling-upgrade-ubuntu20.04-test Test id: e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6 Test name: scylla-master/rolling-upgrade/rolling-upgrade-ubuntu20.04-test Test config file(s):

Logs and commands - Restore Monitor Stack command: `$ hydra investigate show-monitor e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6` - Restore monitor on AWS instance using [Jenkins job](https://jenkins.scylladb.com/view/QA/job/QA-tools/job/hydra-show-monitor/parambuild/?test_id=e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6) - Show all stored logs command: `$ hydra investigate show-logs e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6` ## Logs: - **db-cluster-e4dc0af3.tar.gz** - [https://cloudius-jenkins-test.s3.amazonaws.com/e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6/20230513_051444/db-cluster-e4dc0af3.tar.gz](https://cloudius-jenkins-test.s3.amazonaws.com/e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6/20230513_051444/db-cluster-e4dc0af3.tar.gz) - **sct-runner-events-e4dc0af3.tar.gz** - [https://cloudius-jenkins-test.s3.amazonaws.com/e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6/20230513_051444/sct-runner-events-e4dc0af3.tar.gz](https://cloudius-jenkins-test.s3.amazonaws.com/e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6/20230513_051444/sct-runner-events-e4dc0af3.tar.gz) - **sct-e4dc0af3.log.tar.gz** - [https://cloudius-jenkins-test.s3.amazonaws.com/e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6/20230513_051444/sct-e4dc0af3.log.tar.gz](https://cloudius-jenkins-test.s3.amazonaws.com/e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6/20230513_051444/sct-e4dc0af3.log.tar.gz) - **monitor-set-e4dc0af3.tar.gz** - [https://cloudius-jenkins-test.s3.amazonaws.com/e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6/20230513_051444/monitor-set-e4dc0af3.tar.gz](https://cloudius-jenkins-test.s3.amazonaws.com/e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6/20230513_051444/monitor-set-e4dc0af3.tar.gz) - **loader-set-e4dc0af3.tar.gz** - [https://cloudius-jenkins-test.s3.amazonaws.com/e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6/20230513_051444/loader-set-e4dc0af3.tar.gz](https://cloudius-jenkins-test.s3.amazonaws.com/e4dc0af3-97db-4fbc-83ea-5a2d4daf29d6/20230513_051444/loader-set-e4dc0af3.tar.gz) [Jenkins job URL](https://jenkins.scylladb.com/job/scylla-master/job/rolling-upgrade/job/rolling-upgrade-ubuntu20.04-test/129/)