| austin = 'austinp', py = '3.11', heap = ('-h', '0'), mojo = False
|
|
|
| @pytest.mark.parametrize("heap", [tuple(), ("-h", "0"), ("-h", "64")])
|
| @allpythons()
|
| @variants
|
| @mojo
|
| def test_fork_wall_time(austin, py, heap, mojo):
|
| > result = austin("-i", "2ms", *heap, *python(py), target("target34.py"), mojo=mojo)
|
|
|
| test/functional/test_fork.py:50:
|
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| test/utils.py:257: in __call__
|
| result = run(
|
| test/utils.py:194: in run
|
| stdout, stderr = process.communicate(input, timeout=timeout)
|
| /opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/subprocess.py:1154: in communicate
|
| stdout, stderr = self._communicate(input, endtime, timeout)
|
| /opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/subprocess.py:2022: in _communicate
|
| self._check_timeout(endtime, orig_timeout, stdout, stderr)
|
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
| self = <Popen: returncode: -9 args: ['src/austinp', '-i', '2ms', '-h', '0', 'python...>
|
| endtime = 568.1504152570001, orig_timeout = 60
|
| stdout_seq = [b'# map: 5614196fb000-5614196fc000 /opt/hostedtoolcache/Python/3.11.11/x64/bin/python3.11\n# map: 5614196fc000-561419...55;/home/runner/work/austin/austin/test/targets/target34.py:<module>:37;/opt/hostedtoolcache/Python/3.11.11/x64/', ...]
|
| stderr_seq = [b"\x1b[1m _ _ \x1b[0m\n\x1b[1m __ _ _ _ __| |_(_)_ _ \x1b[0m\n\x1b[1m/ _` | || (_-< _| | ' \\ ...\x1b[36;1m3.7.0\x1b[0m [gcc 13.3.0]\n", b'\n\xf0\x9f\x90\x8d \x1b[1mPython\x1b[0m version: \x1b[33;1m3.11.11\x1b[0m\n']
|
| skip_check_and_raise = False
|
|
|
| def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq,
|
| skip_check_and_raise=False):
|
| """Convenience for checking if a timeout has expired."""
|
| if endtime is None:
|
| return
|
| if skip_check_and_raise or _time() > endtime:
|
| > raise TimeoutExpired(
|
| self.args, orig_timeout,
|
| output=b''.join(stdout_seq) if stdout_seq else None,
|
| stderr=b''.join(stderr_seq) if stderr_seq else None)
|
| E subprocess.TimeoutExpired: Command '['src/austinp', '-i', '2ms', '-h', '0', 'python3.11', '/home/runner/work/austin/austin/test/targets/target34.py']' timed out after 60 seconds
|
|
|
| /opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/subprocess.py:1198: TimeoutExpired
|