Package: src:epsilon
Version: 0.7.1-1
Severity: serious
Tags: sid buster patch

epsilon ftbfs and fails autopkg tests on the buster kernel (4.19). This is not
seen on the buildds and autopkg testers, because these run stable kernels.  The
failure is caused by three additional fields in /proc/diskstats. Patch attached.
--- a/epsilon/scripts/benchmark.py
+++ b/epsilon/scripts/benchmark.py
@@ -46,6 +46,10 @@ def parseDiskStatLine(L):
     appropriate record type (either L{partitionstat} or L{diskstat}).
     """
     parts = L.split()
+    # https://www.kernel.org/doc/Documentation/ABI/testing/procfs-diskstats
+    # ignore new diskstat values
+    if len(parts) == 18:
+        parts = parts[:-4]
     device = parts[2]
     if len(parts) == 7:
         factory = partitionstat

Reply via email to