Bug ID 1208969
Summary sonic-pi fails ErlangTauOSCTest in year 2038
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS All
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter bwiedemann@suse.com
QA Contact qa-bugs@suse.de
CC dmueller@suse.com, mcepl@suse.com
Found By Development
Blocker ---

osc build --vm-type=kvm --noservice --clean --build-opt=--vm-custom-opt="-rtc
base=2038-01-20T00:00:00" standard

Actual results:
[  579s]   1) test making a bundle with a timestamp (ErlangTauOSCTest)
[  579s]      test/erlang_tau_osc_test.exs:37
[  579s]      Assertion with < failed
[  579s]      code:  assert abs(t - new_t) < 0.0001
[  579s]      left:  4294967296.0
[  579s]      right: 0.0001
[  579s]      stacktrace:
[  579s]        test/erlang_tau_osc_test.exs:42: (test)

from
https://github.com/sonic-pi-net/sonic-pi/blob/v4.3.0/app/server/beam/tau/test/erlang_tau_osc_test.exs#L37
https://github.com/sonic-pi-net/sonic-pi/blob/v4.3.0/app/server/beam/tau/src/osc/osc.erl#L121

Can you check whether this needs to be fixed in sonic-pi or in erlang
and work with the respective upstream?


This bug was found while working on reproducible builds for openSUSE.


You are receiving this mail because: