Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739502 - sci-libs/libsigrok: failing test tests/main
Summary: sci-libs/libsigrok: failing test tests/main
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
: 850364 (view as bug list)
Depends on:
Blocks: 730490
  Show dependency tree
 
Reported: 2020-08-29 15:48 UTC by Thomas Deutschmann (RETIRED)
Modified: 2023-02-26 18:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-29 15:48:39 UTC
> =======================================
>    libsigrok 0.5.2: ./test-suite.log
> =======================================
> 
> # TOTAL: 1
> # PASS:  0
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: tests/main
> ================
> 
> Running suite(s): mastersuite
>  core
>  driver-all
>  input-all
>  input-binary
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 81 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 81 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 243 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 243 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 729 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 729 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 2187 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 2187 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 6561 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 6561 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 19683 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 19683 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 59049 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 59049 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 177147 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 177147 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 531441 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 531441 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 81 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 243 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 729 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 2187 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 6561 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 19683 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 59049 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 177147 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 531441 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 70 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 80 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: input: Found 90 unprocessed bytes at free time.
> sr: session: sr_session_dev_add: sdi was NULL
> sr: session: sr_session_dev_add: sdi was NULL
>  output-all
>  transform-all
>  session
> sr: session: sr_session_destroy: session was NULL
>  strutil
> Old locale = C
> New locale = de_DE.UTF-8
>  version
>  device
>  trigger
> sr: trigger: Invalid trigger match for a logic channel.
> sr: trigger: Invalid trigger match for a logic channel.
> sr: trigger: Invalid trigger match for an analog channel.
> sr: trigger: Invalid trigger match for an analog channel.
> sr: trigger: Unsupported channel type: -1.
> sr: trigger: Unsupported channel type: 270.
>  analog
> 98%: Checks: 76, Failures: 1, Errors: 0
> tests/core.c:45:P:init_exit:test_init_exit:0: Passed
> tests/core.c:66:P:init_exit:test_init_exit_2:0: Passed
> tests/core.c:86:P:init_exit:test_init_exit_2_reverse:0: Passed
> tests/core.c:111:P:init_exit:test_init_exit_3:0: Passed
> tests/core.c:135:P:init_exit:test_init_exit_3_reverse:0: Passed
> tests/core.c:148:P:init_exit:test_init_null:0: Passed
> tests/core.c:161:P:init_exit:test_exit_null:0: Passed
> tests/driver_all.c:32:P:config:test_driver_available:0: Passed
> tests/lib.c:88:P:config:test_driver_init_all:0: Passed
> tests/input_all.c:32:P:basic:test_input_available:0: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_low:0: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_high:0: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_high_loop:1: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_high_loop:2: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_high_loop:3: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_high_loop:4: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_high_loop:5: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_high_loop:6: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_high_loop:7: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_high_loop:8: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_all_high_loop:9: Passed
> tests/input_binary.c:216:P:basic:test_input_binary_hello_world:0: Passed
> tests/output_all.c:32:P:basic:test_output_available:0: Passed
> tests/output_all.c:45:P:basic:test_output_id:0: Passed
> tests/output_all.c:58:P:basic:test_output_name:0: Passed
> tests/output_all.c:71:P:basic:test_output_desc:0: Passed
> tests/output_all.c:84:P:basic:test_output_find:0: Passed
> tests/output_all.c:95:P:basic:test_output_options:0: Passed
> tests/transform_all.c:32:P:basic:test_transform_available:0: Passed
> tests/transform_all.c:45:P:basic:test_transform_id:0: Passed
> tests/transform_all.c:58:P:basic:test_transform_name:0: Passed
> tests/transform_all.c:71:P:basic:test_transform_desc:0: Passed
> tests/transform_all.c:85:P:basic:test_transform_find:0: Passed
> tests/transform_all.c:95:P:basic:test_transform_options:0: Passed
> tests/session.c:36:P:new_destroy:test_session_new:0: Passed
> tests/session.c:50:P:new_destroy:test_session_new_bogus:0: Passed
> tests/session.c:89:P:new_destroy:test_session_new_multiple:0: Passed
> tests/session.c:104:P:new_destroy:test_session_destroy:0: Passed
> tests/session.c:117:P:new_destroy:test_session_destroy_bogus:0: Passed
> tests/session.c:137:P:trigger:test_session_trigger_set_get:0: Passed
> tests/session.c:155:P:trigger:test_session_trigger_set_get_null:0: Passed
> tests/session.c:174:P:trigger:test_session_trigger_set_null:0: Passed
> tests/session.c:184:P:trigger:test_session_trigger_get_null:0: Passed
> tests/strutil.c:88:P:sr_samplerate_string:test_locale:0: Passed
> tests/strutil.c:99:P:sr_samplerate_string:test_hz:0: Passed
> tests/strutil.c:99:P:sr_samplerate_string:test_khz:0: Passed
> tests/strutil.c:99:F:sr_samplerate_string:test_mhz:0: Invalid result for '1.034567 MHz': 1.034566 MHz.
> tests/strutil.c:99:P:sr_samplerate_string:test_ghz:0: Passed
> tests/strutil.c:110:P:sr_samplerate_string:test_hz_period:0: Passed
> tests/strutil.c:110:P:sr_samplerate_string:test_ghz_period:0: Passed
> tests/strutil.c:143:P:sr_samplerate_string:test_volt:0: Passed
> tests/strutil.c:123:P:sr_samplerate_string:test_integral:0: Passed
> tests/strutil.c:134:P:sr_samplerate_string:test_fractional:0: Passed
> tests/strutil.c:123:P:sr_samplerate_string:test_exponent:0: Passed
> tests/version.c:55:P:version:test_version_numbers:0: Passed
> tests/version.c:93:P:version:test_version_strings:0: Passed
> tests/device.c:36:P:sr_dev_inst_user_new:test_user_new:0: Passed
> tests/device.c:60:P:sr_dev_inst_channel_add:test_channel_add:0: Passed
> tests/trigger.c:46:P:new_free:test_trigger_new_free:0: Passed
> tests/trigger.c:66:P:new_free:test_trigger_new_free_null:0: Passed
> tests/trigger.c:76:P:new_free:test_trigger_free_null:0: Passed
> tests/trigger.c:100:P:stage:test_trigger_stage_add:0: Passed
> tests/trigger.c:114:P:stage:test_trigger_stage_add_null:0: Passed
> tests/trigger.c:164:P:match:test_trigger_match_add:0: Passed
> tests/trigger.c:242:P:match:test_trigger_match_add_bogus:0: Passed
> tests/analog.c:83:P:analog_to_float:test_analog_to_float:0: Passed
> tests/analog.c:121:P:analog_to_float:test_analog_to_float_null:0: Passed
> tests/analog.c:169:P:analog_to_float:test_analog_si_prefix:0: Passed
> tests/analog.c:187:P:analog_to_float:test_analog_si_prefix_null:0: Passed
> tests/analog.c:212:P:analog_to_float:test_analog_unit_to_string:0: Passed
> tests/analog.c:241:P:analog_to_float:test_analog_unit_to_string_null:0: Passed
> tests/analog.c:254:P:analog_to_float:test_set_rational:0: Passed
> tests/analog.c:259:P:analog_to_float:test_set_rational_null:0: Passed
> tests/analog.c:290:P:analog_to_float:test_cmp_rational:0: Passed
> tests/analog.c:328:P:analog_to_float:test_mult_rational:0: Passed
> tests/analog.c:374:P:analog_to_float:test_div_rational:0: Passed
> FAIL tests/main (exit status: 1)


Portage 3.0.4 (python 3.7.8-final-0, default/linux/x86/17.0, gcc-9.3.0, glibc-2.31-r6, 5.4.60-gentoo-x86-kmod i686)
=================================================================
System uname: Linux-5.4.60-gentoo-x86-kmod-i686-with-gentoo-2.6
KiB Mem:     3106040 total,   1176648 free
KiB Swap:    8875836 total,   8875060 free
Timestamp of repository gentoo: Sat, 29 Aug 2020 12:35:28 +0000
Head commit of repository gentoo: 12379b5f47de6706ec7688be6d482aa64aa377aa

sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
ccache version 3.7.11 [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/ccache:          3.7.11::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"



sci-libs/libsigrok-0.3.0 is passing all tests.
Comment 1 Andreas Sturmlechner gentoo-dev 2020-08-30 19:12:02 UTC
I've got full confidence in embedded proj to fix that.
Comment 2 Sven Wegener gentoo-dev 2020-11-16 22:28:41 UTC
This is a float rounding issue: https://sigrok.org/bugzilla/show_bug.cgi?id=1475
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2021-02-19 19:27:20 UTC
Still happening with -r1.
Comment 4 Sven Wegener gentoo-dev 2023-02-26 18:55:55 UTC
*** Bug 850364 has been marked as a duplicate of this bug. ***