No test suite run at built time nor as autopkgtest
Bug #2055309 reported by
Paul Mars
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libtracefs (Ubuntu) |
Fix Released
|
High
|
Adrien Nader |
Bug Description
Track the addition of a test suite to be run at built time and during autopkgtest.
Related branches
~adrien/ubuntu/+source/libtracefs:mir
- Lukas Märdian (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 288 lines (+202/-4)9 files modified.gitignore (+0/-1)
debian/changelog (+17/-0)
debian/control (+4/-2)
debian/patches/series (+2/-0)
debian/patches/testsuite-return-error-when-tests-failed.patch (+22/-0)
debian/patches/testsuite-use-only-online-cpus.patch (+68/-0)
debian/rules (+6/-0)
debian/tests/autopkgtest-specific.patch (+59/-0)
debian/tests/control (+24/-1)
Changed in libtracefs (Ubuntu): | |
assignee: | nobody → Adrien Nader (adrien-n) |
status: | New → In Progress |
milestone: | none → ubuntu-24.04 |
Changed in libtracefs (Ubuntu): | |
importance: | Undecided → High |
To post a comment you must log in.
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 cunit.sourcefor ge.net/
http://
Memory mapped buffers not supported
Suite: tracefs library utest.c: 1333 - data->done == false utest.c: 1359 - data->done == true utest.c: 1301 - kbuf != NULL utest.c: 1359 - data->done == true utest.c: 1301 - kbuf != NULL utest.c: 1359 - data->done == true utest.c: 1301 - kbuf != NULL utest.c: 1359 - data->done == true utest.c: 1301 - kbuf != NULL iterate_ snapshot_ events API ...passed iterate_ raw_events API ...passed instances_ walk API ...passed utest.c: 2205 - ret == 0 utest.c: 2205 - ret == 0
Test: Test tracefs/debugfs mounting ...passed
Test: trace cpu read ...passed
Test: trace cpu read_buf_percent ...FAILED
1. tracefs-
2. tracefs-
3. tracefs-
4. tracefs-
5. tracefs-
6. tracefs-
7. tracefs-
8. tracefs-
9. tracefs-
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_
Test: tracefs_
Test: Follow events ...passed
Test: Follow events clear ...passed
Test: tracefs_tracers API ...passed
Test: tracefs_local events API ...passed
Test: tracefs_
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-
2. tracefs-
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