-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A clear and concise description of what the bug is:
When I run cargo test two test case failed.
test getrandom_intercepted ... FAILED
test rdrand_rdseed_is_masked ... FAILED
failures:
---- getrandom_intercepted stdout ----
Expecting determinism:
Test Run 1:
thread 'getrandom_intercepted' panicked at 'vdso symbol __vdso_clock_gettime's real size is 5 bytes, but trying to replace it with 8 bytes', /home/tl/.cargo/git/checkouts/reverie-9a587e40a0d7d3be/c448d10/reverie-ptrace/src/vdso.rs:148:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- rdrand_rdseed_is_masked stdout ----
Expecting determinism:
Test Run 1:
thread 'rdrand_rdseed_is_masked' panicked at 'Once instance has previously been poisoned', /home/tl/.cargo/registry/src/gitlite.zycloud.tk-1ecc6299db9ec823/lazy_static-1.4.0/src/inline_lazy.rs:30:16
failures:
getrandom_intercepted
rdrand_rdseed_is_maskedIndicate any of these common scenarios that apply:
- a program hangs under hermit
- hermit panics internally
- hermit runs the program but divergence (nondeterminism) occurs
To Reproduce
Minimal input to reproduce the behavior.
cargo test
Expected behavior
A clear and concise description of what you expected to happen.
all tests pass
Environment
- Linux kernel version (
uname -a): Linux tl 5.15.0-53-generic Bump mio from 0.8.5 to 1.1.1 in /hermit-cli #59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux - CPU version (
/proce/cpuinfo): 12th Gen Intel(R) Core(TM) i9-12900KS - Linux distro flavor (
/etc/issue,/etc/redhat-release): Ubuntu 22.04.1 LTS
Additional context
Attach the logs to this issue as a text file generated by hermit --log=trace --log-file=FOO run.
Add any other context about the problem here.
I saw people have similar situation that would explain why I failed the first test. But I am not sure what caused the second test to fail. Is it because of some bug in lazy_static?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working