You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestBadger fails when running reproducibility testing on 32-bit / i386 debian
Your environment
OS: Debian
Version: unstable
Architecture: i386
Additional context
=== RUN TestBadger
badger 2022/08/01 05:59:21 INFO: All 0 tables opened in 0s
nosql_test.go:322: error 'error opening Badger database: During db.vlog.open: Error while creating log file in valueLog.open: Mmap value log file. Path=./tmp/badgerdb/000000.vlog. Error=cannot allocate memory' not expected
--- FAIL: TestBadger (0.06s)
Truth be told I haven't dug into the Badger integration in a looong time. However, I recall that specific architectures require Badger to be run with configuration flags that restrict the memory, disk, addressable bit space.
I think the error you're seeing is a known Badger error (dgraph-io/badger#246) -- it's Badger yelling that it doesn't have enough room to run. Since we generally test in 64 bit environments, we haven't optimized the tests to run in 32 bit environments. If you'd like to post a PR with the changes necessary to run the tests against a 32 bit env, we'll happily merge. I imagine it would just be adding some options here -
Subject of the issue
TestBadger
fails when running reproducibility testing on 32-bit / i386 debianYour environment
Additional context
For full logs see here: https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/i386/golang-github-smallstep-nosql.html
The text was updated successfully, but these errors were encountered: