diff options
author | Ross Burton <ross@burtonini.com> | 2022-01-18 18:07:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-19 10:41:01 +0000 |
commit | 674fd536bc1c2308d557652ae100b1a1eee103b9 (patch) | |
tree | 05de589ad15f9e06f65dae669500c0e484aaffe3 /meta/lib/oeqa | |
parent | c4c77bd8442efa08b248b1858d55a3ef0045df5f (diff) | |
download | poky-674fd536bc1c2308d557652ae100b1a1eee103b9.tar.gz |
oeqa/runtime/stap: increase buffer size
We're seeing random failures in the SystemTap tests in qemuarm on kernel
5.10. This might be related to the buffer between user and kernel space
being too small, so explicitly set the size.
If this cures the problem it should be considered a workaround and not
the solution.
[ YOCTO #14673 ]
(From OE-Core rev: 04c622387ea78920fdb9754fa977883cd6d621a4)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/stap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/stap.py b/meta/lib/oeqa/runtime/cases/stap.py index ac0125edb2..615c290ce6 100644 --- a/meta/lib/oeqa/runtime/cases/stap.py +++ b/meta/lib/oeqa/runtime/cases/stap.py | |||
@@ -18,7 +18,7 @@ class StapTest(OERuntimeTestCase): | |||
18 | status, output = self.target.run(cmd, 900) | 18 | status, output = self.target.run(cmd, 900) |
19 | self.assertEqual(status, 0, msg='\n'.join([cmd, output])) | 19 | self.assertEqual(status, 0, msg='\n'.join([cmd, output])) |
20 | 20 | ||
21 | cmd = 'stap -v --disable-cache -DSTP_NO_VERREL_CHECK -e \'probe oneshot { print("Hello, "); println("world!") }\'' | 21 | cmd = 'stap -v --disable-cache -DSTP_NO_VERREL_CHECK -s1 -e \'probe oneshot { print("Hello, "); println("world!") }\'' |
22 | status, output = self.target.run(cmd, 900) | 22 | status, output = self.target.run(cmd, 900) |
23 | self.assertEqual(status, 0, msg='\n'.join([cmd, output])) | 23 | self.assertEqual(status, 0, msg='\n'.join([cmd, output])) |
24 | self.assertIn('Hello, world!', output, msg='\n'.join([cmd, output])) | 24 | self.assertIn('Hello, world!', output, msg='\n'.join([cmd, output])) |