Attaching the debdiffs mentioned above (for tenacious, on top of
1.8.4-0ubuntu2 from -proposed):

1) libtraceevent 1:1.9.0-2 -> 1:1.9.0-2ubuntu1
2) libtracefs 1.8.4-0ubuntu2 -> 1.8.4-0ubuntu3

Test results (autopkgtest null runner as root, POWER9 LPAR, ppc64el, 64K pages,
kernel 7.3.0-10-generic, tenacious userspace with both packages installed):

Before (1.8.4-0ubuntu2, archive libtraceevent):
  Test: trace cpu read ...FAILED
  Test: trace cpu read_buf_percent ...FAILED
  Test: trace cpu pipe ...FAILED
               tests      37      37      34      3        0
  trace-utest          FAIL non-zero exit status 1

After (1.8.4-0ubuntu3 + libtraceevent 1:1.9.0-2ubuntu1):
  trace-utest:
    Run Summary:    Type   Total     Ran  Passed Failed Inactive
                  suites       1       1     n/a      0        0
                   tests      37      37      37      0        0
                 asserts 9688032 9688032 9688032      0      n/a
  trace-utest-valgrind (no more "Invalid read/write"):
    Run Summary:    Type   Total     Ran  Passed Failed Inactive
                   tests      37      37      37      0        0
                 asserts 2648003 2648003 2648003      0      n/a

  autopkgtest [10:03:09]: @@@@@@@@@@@@@@@@@@@@ summary
  build-examples.sh    PASS (superficial)
  trace-utest          PASS
  trace-utest-valgrind PASS

The race in the mmap reader was confirmed with 20 valgrind runs of "trace cpu 
pipe":
4 of 20 lost an event without the libtracefs fix, 0 of 20 with it.
The same set of patches also passes all 3 tests on stonking (2 full runs).

amd64 (libtraceevent kbuffer fix; unit tests + a reproducer under valgrind):
  without fix:
    Test: kbuffer read buffer with missed events, full ...FAILED
    Test: kbuffer read buffer with missed events, stored ...FAILED
    ==2504915== Invalid write of size 8
    ==2504915==  Address 0x4ac3120 is 0 bytes after a block of size 4,096 
alloc'd
  with fix:
               tests     14     14     14      0        0
    ==2504917== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

** Patch added: "debdiff libtraceevent 1:1.9.0-2 -> 1:1.9.0-2ubuntu1 
(tenacious)"
   
https://bugs.launchpad.net/bugs/2172071/+attachment/6018840/+files/debdiff_libtraceevent_tenacious_from_1.9.0-2_to_1.9.0-2ubuntu1.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172071

Title:
  trace-utest and trace-utest-valgrind autopkgtest fail

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtracefs/+bug/2172071/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to