Actions
action #93853
closedos-autoinst t/01-test_needle.t fails in OBS on aarch64 in float number comparison
Description
Observation¶
[ 247s] 3: # Failed test 'we find the xterm though'
[ 247s] 3: # at ./01-test_needle.t line 232.
[ 247s] 3: # Structures begin differing at:
[ 247s] 3: # $got->{similarity} = '0.902571599940021'
[ 247s] 3: # $expected->{similarity} = '0.905881691408007'
[ 249s] 3: # Looks like you failed 1 test of 84.
[ 249s] 3: [21:18:27] ./01-test_needle.t .......................
[ 249s] 3: Dubious, test returned 1 (wstat 256, 0x100)
[ 249s] 3: Failed 1/84 subtests
likely since https://github.com/os-autoinst/os-autoinst/pull/1633
Suggestions¶
- Read https://github.com/os-autoinst/os-autoinst/pull/1633
- Fix https://github.com/os-autoinst/os-autoinst/pull/1633/files#diff-d44bd2bb07b082b11eda36faf3119ed23f0959cded4a18b8ea78736e81c53d35R239 because having a float number to be compared verbatim is a bad idea
Updated by okurz over 3 years ago
- Status changed from Workable to Resolved
https://github.com/os-autoinst/os-autoinst/pull/1685 and already merged. https://build.opensuse.org/package/live_build_log/devel:openQA/os-autoinst/openSUSE_Leap_15.2/aarch64 is green as well as every other build in https://build.opensuse.org/package/show/devel:openQA/os-autoinst with exception of SLE_15 unresolvables. But as generic support for base SLE15 has ended I disabled building for SLE15 in devel:openQA, keeping SLE15-SP1 and later.
Actions