Bugzilla – Bug 1208969
sonic-pi fails ErlangTauOSCTest in year 2038
Last modified: 2023-03-15 18:01:31 UTC
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.