strace--relative-timestamps-*.test fails on s390

Alexander Gordeev agordeev at linux.ibm.com
Wed Apr 7 13:53:41 UTC 2021


Dear strace developers!

There is a problem with an insufficient timeout on s390 platform.

sleep 1 command is expected to return in 0.2 sec, but for us it
might take up to 0.5 secs, i.e:


      #2: [ ]{5}(1\.[01]|0\.9)[[:digit:]]{5} \+\+\+ exited with 0 \+\+\+
      Actual output:
           0.000000 execve("../sleep", ["../sleep", "1"], 0x3ffea4f4138 /* 46 vars */) = 0
           1.487737 ++      Failed patterns of expected output:+ exited with 0 +++
      strace--relative-timestamps-us.gen.test: failed test: ../../src/strace --relative-timestamps=us -eexecve ../sleep 1 output mismatch
      FAIL strace--relative-timestamps-us.gen.test (exit status: 1)


Would it be possible to increase the timeout for s390 (and possibly -
for other virtualized environments)?

Thanks!


More information about the Strace-devel mailing list