Skip to content

Make dragonboat work with Pebble v1.0.0 #421

Make dragonboat work with Pebble v1.0.0

Make dragonboat work with Pebble v1.0.0 #421

Triggered via pull request December 19, 2023 22:25
Status Failure
Total duration 4m 45s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors
unit-test
Process completed with exit code 2.
static-check: internal/logdb/kv_test.go#L354
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
static-check: internal/rsm/encoded_test.go#L79
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
static-check: internal/rsm/managed_test.go#L30
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
static-check: internal/rsm/rwv_test.go#L38
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
static-check: internal/rsm/rwv_test.go#L47
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
static-check: internal/transport/chunk_test.go#L52
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
static-check: internal/transport/transport_test.go#L119
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
static-check: internal/transport/transport_test.go#L142
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
static-check: internal/utils/dio/io_test.go#L75
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
static-check: internal/utils/dio/io_test.go#L107
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
go1-19-unit-test
Process completed with exit code 2.
memfs-unit-test
Process completed with exit code 2.
race-unit-test
Process completed with exit code 2.