I have a patch to run tests in autopkgtest but these tests are failing.
I checked and they are failing without any change on my side.
2 out of 36 tests are failing. I will try to diagnose these failures.
# sudo ./utest/trace-utest
CUnit - A unit testing framework for C - Version 2.1-3
http://cunit.sourceforge.net/
Memory mapped buffers not supported
Suite: tracefs library
Test: Test tracefs/debugfs mounting ...passed
Test: trace cpu read ...passed
Test: trace cpu read_buf_percent ...FAILED
1. tracefs-utest.c:1333 - data->done == false
2. tracefs-utest.c:1359 - data->done == true
3. tracefs-utest.c:1301 - kbuf != NULL
4. tracefs-utest.c:1359 - data->done == true
5. tracefs-utest.c:1301 - kbuf != NULL
6. tracefs-utest.c:1359 - data->done == true
7. tracefs-utest.c:1301 - kbuf != NULL
8. tracefs-utest.c:1359 - data->done == true
9. tracefs-utest.c:1301 - kbuf != NULL
Test: trace cpu pipe ...passed
Test: trace pid events filter ...passed
Test: trace pid function filter ...passed
Test: trace sql ...passed
Test: trace sql trace onmax ...passed
Test: trace sql trace onchange ...passed
Test: trace sql snapshot onmax ...passed
Test: trace sql snapshot onchange ...passed
Test: trace sql save onmax ...passed
Test: trace sql save onchange ...passed
Test: trace sql trace and snapshot onmax ...passed
Test: trace sql trace and snapshot onchange ...passed
Test: tracing file / directory APIs ...passed
Test: instance file / directory APIs ...passed
Test: instance file descriptor ...passed
Test: instance reset ...passed
Test: systems and events APIs ...passed
Test: tracefs_iterate_snapshot_events API ...passed
Test: tracefs_iterate_raw_events API ...passed
Test: Follow events ...passed
Test: Follow events clear ...passed
Test: tracefs_tracers API ...passed
Test: tracefs_local events API ...passed
Test: tracefs_instances_walk API ...passed
Test: tracefs_get_clock API ...passed
Test: tracing on / off ...passed
Test: tracing options ...passed
Test: custom system directory ...passed
Test: ftrace marker ...passed
Test: kprobes ...passed
Test: synthetic events ...passed
Test: eprobes ...passed
Test: uprobes ...FAILED
1. tracefs-utest.c:2205 - ret == 0
2. tracefs-utest.c:2205 - ret == 0
Run Summary: Type Total Ran Passed Failed Inactive
suites 1 1 n/a 0 0
tests 36 36 34 2 0
asserts 32600531 32600531 32600520 11 n/a
Elapsed time = 30.844 seconds
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055309
Title:
No test suite run at built time nor as autopkgtest
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtracefs/+bug/2055309/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs