kyua tests are failing due to missing atf #160

Closed
opened 2017-12-07 16:16:29 +00:00 by Earnestly · 1 comment
Earnestly commented 2017-12-07 16:16:29 +00:00 (Migrated from github.com)

Currently building from commit 7ab4dffaf1

Initially I didn't have kyua available but it seems to be mandated for the build regardless. After providing kyua 0.14 I decided to put it to use.

% meson build
[...]
% ninja -C build
[...]
% ninja -C build test
ninja: Entering directory `build'
[0/1] Running all tests.
1/1 kyua                                    FAIL     0.83 s

OK:         0
FAIL:       1
SKIP:       0
TIMEOUT:    0


The output from the failed tests:

1/1 kyua                                    FAIL     0.83 s

--- command ---
/usr/bin/kyua --config=none test --kyuafile=/home/earnest/build/pkgbuilds/pkgconf-git/src/pkgconf/build/Kyuafile --build-root=/home/earnest/build/pkgbuilds/pkgconf-git/src/pkgconf/build
--- stdout ---
tests/basic:__test_cases_list__  ->  broken: Test program did not exit cleanly  [0.001s]
tests/requires:__test_cases_list__  ->  broken: Test program did not exit cleanly  [0.001s]
tests/regress:__test_cases_list__  ->  broken: Test program did not exit cleanly  [0.001s]
tests/parser:__test_cases_list__  ->  broken: Test program did not exit cleanly  [0.000s]
tests/sysroot:__test_cases_list__  ->  broken: Test program did not exit cleanly  [0.001s]
tests/conflicts:__test_cases_list__  ->  broken: Test program did not exit cleanly  [0.001s]
tests/version:__test_cases_list__  ->  broken: Test program did not exit cleanly  [0.000s]
tests/framework:__test_cases_list__  ->  broken: Test program did not exit cleanly  [0.001s]
tests/provides:__test_cases_list__  ->  broken: Test program did not exit cleanly  [0.001s]

Results file id is home_earnest_build_pkgbuilds_pkgconf-git_src_pkgconf_build.20171207-160906-381102
Results saved to /home/earnest/.kyua/store/results.home_earnest_build_pkgbuilds_pkgconf-git_src_pkgconf_build.20171207-160906-381102.db

0/9 passed (9 failed)
-------

Full log written to /home/earnest/build/pkgbuilds/pkgconf-git/src/pkgconf/build/meson-logs/testlog.txt
FAILED: meson-test 
/usr/bin/python /usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.

It turned out that the failure was due to not having "atf"

After packaging and installing that it seems to be successful:

% ninja -C build test
ninja: Entering directory `build'
[0/1] Running all tests.
1/1 kyua                                    OK       6.37 s

OK:         1
FAIL:       0
SKIP:       0
TIMEOUT:    0

Full log written to /home/earnest/build/pkgbuilds/pkgconf-git/src/pkgconf/build/meson-logs/testlog.txt

Perhaps pkgconf's meson should also require atf and perhaps also make the test suite optional?

Thanks

Currently building from commit https://github.com/pkgconf/pkgconf/commit/7ab4dffaf1b858411f86fbe834632c41ee8933c6 Initially I didn't have kyua available but it seems to be mandated for the build regardless. After providing kyua 0.14 I decided to put it to use. ``` % meson build [...] % ninja -C build [...] % ninja -C build test ninja: Entering directory `build' [0/1] Running all tests. 1/1 kyua FAIL 0.83 s OK: 0 FAIL: 1 SKIP: 0 TIMEOUT: 0 The output from the failed tests: 1/1 kyua FAIL 0.83 s --- command --- /usr/bin/kyua --config=none test --kyuafile=/home/earnest/build/pkgbuilds/pkgconf-git/src/pkgconf/build/Kyuafile --build-root=/home/earnest/build/pkgbuilds/pkgconf-git/src/pkgconf/build --- stdout --- tests/basic:__test_cases_list__ -> broken: Test program did not exit cleanly [0.001s] tests/requires:__test_cases_list__ -> broken: Test program did not exit cleanly [0.001s] tests/regress:__test_cases_list__ -> broken: Test program did not exit cleanly [0.001s] tests/parser:__test_cases_list__ -> broken: Test program did not exit cleanly [0.000s] tests/sysroot:__test_cases_list__ -> broken: Test program did not exit cleanly [0.001s] tests/conflicts:__test_cases_list__ -> broken: Test program did not exit cleanly [0.001s] tests/version:__test_cases_list__ -> broken: Test program did not exit cleanly [0.000s] tests/framework:__test_cases_list__ -> broken: Test program did not exit cleanly [0.001s] tests/provides:__test_cases_list__ -> broken: Test program did not exit cleanly [0.001s] Results file id is home_earnest_build_pkgbuilds_pkgconf-git_src_pkgconf_build.20171207-160906-381102 Results saved to /home/earnest/.kyua/store/results.home_earnest_build_pkgbuilds_pkgconf-git_src_pkgconf_build.20171207-160906-381102.db 0/9 passed (9 failed) ------- Full log written to /home/earnest/build/pkgbuilds/pkgconf-git/src/pkgconf/build/meson-logs/testlog.txt FAILED: meson-test /usr/bin/python /usr/bin/meson test --no-rebuild --print-errorlogs ninja: build stopped: subcommand failed. ``` It turned out that the failure was due to not having "[atf](https://github.com/jmmv/atf)" After packaging and installing that it seems to be successful: ``` % ninja -C build test ninja: Entering directory `build' [0/1] Running all tests. 1/1 kyua OK 6.37 s OK: 1 FAIL: 0 SKIP: 0 TIMEOUT: 0 Full log written to /home/earnest/build/pkgbuilds/pkgconf-git/src/pkgconf/build/meson-logs/testlog.txt ``` Perhaps pkgconf's meson should also require atf and perhaps also make the test suite optional? Thanks
Earnestly commented 2017-12-07 19:17:08 +00:00 (Migrated from github.com)

Thanks o/

Thanks o/
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#160
There is no content yet.