Re: [E-devel] efl test suite timeouts in 1.26?

Ross Vandegrift <[email protected]> Thu, 6 Jan 2022 19:32:59 -0800
Newsgroups gmane.comp.window-managers.enlightenment.devel
Message-ID <20220107033259.ygpgxps6snnhiegs@stgulik>
On Tue, Jan 04, 2022 at 08:24:02AM +0000, Carsten Haitzler wrote:
> I don't see the timeouts here... this relies on check as the infra - and check
> does all the stuff before a fork happens to run the actual test... and check is
> a local system dependency... so something either really screwy about your os,
> build env or check?

I played with this some more - it's related to check's forking on debian
unstable.  The issue doesn't happen in debian stable, or if CK_FORK=no.  check
is at 0.15.2 in both though.

> [0/1] Running all tests.
>  1/39 eo-mixins                         OK               0.09s
>  2/39 eo-mixins-dbg                     OK               0.09s
>  3/39 eo-interface                      OK               0.09s
>  4/39 eo-interface-dbg                  OK               0.08s
>  5/39 eo-function-overrides             OK               0.08s
>  6/39 eo-function-overrides-dbg         OK               0.08s
>  7/39 eo-composite-objects              OK               0.08s
>  8/39 eo-composite-objects-dbg          OK               0.08s
>  9/39 eo-children                       OK               0.07s
> ... etc.

Once past the timeouts, I am seeing a few things that could be issues:

$ CK_VERBOSITY=verbose ./src/tests/eet/eet_suite "Eet File"
Running suite(s): Eet
50%: Checks: 4, Failures: 0, Errors: 2
../src/tests/eet/eet_test_file.c:117:P:Eet File:eet_test_file_simple_write:0: Passed
../src/tests/eet/eet_test_file.c:175:E:Eet File:eet_test_file_data:0: (after this point) Received signal 11 (Segmentation fault)
../src/tests/eet/eet_test_file.c:371:P:Eet File:eet_test_file_data_dump:0: Passed
../src/tests/eet/eet_test_file.c:419:E:Eet File:eet_test_file_fp:0: (after this point) Received signal 11 (Segmentation fault)

$ CK_VERBOSITY=vebose ./src/tests/elementary/elementary_suite 2> /dev/null | grep :F:
../src/tests/elementary/suite_helpers.c:604:F:elm_check:elm_test_check_callbacks:1: Assertion '*called == 0' failed: *called == 1, 0 == 0
../src/tests/elementary/elm_test_widget_focus.c:194:F:elm_widget_focus:elm_test_widget_focus_simple_widget:0: Assertion 'flag_focused == ((Eina_Bool)1)' failed: flag_focused == 0, ((Eina_Bool)1) == 1

$ CK_VERBOSITY=verbose ./src/tests/elementary/efl_ui_suite 2> /dev/null | grep :F:
../src/tests/elementary/efl_ui_test_focus.c:454:F:efl_ui_focus:invalid_args_check:0: Assertion 'expect_error_start == ((Eina_Bool)1)' failed: expect_error_start == 0, ((Eina_Bool)1) == 1

Haven't had time to dig further.

Ross