| austin = Variant('austinp'), py = '3.15'
|
|
|
| @allpythons()
|
| @variants
|
| def test_fork_wall_time(austin, py):
|
| > result = austin("-i", "2ms", *python(py), target("target34.py"))
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
| test/functional/test_fork.py:52:
|
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| test/utils.py:328: in __call__
|
| result = run(
|
| test/utils.py:221: in run
|
| stdout, stderr = process.communicate(input, timeout=timeout)
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| /opt/hostedtoolcache/Python/3.13.15/x64/lib/python3.13/subprocess.py:1222: in communicate
|
| stdout, stderr = self._communicate(input, endtime, timeout)
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| /opt/hostedtoolcache/Python/3.13.15/x64/lib/python3.13/subprocess.py:2155: in _communicate
|
| self._check_timeout(endtime, orig_timeout, stdout, stderr)
|
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
| self = <Popen: returncode: -9 args: ['src/austinp', '-i', '2ms', 'python3.15', '/ho...>
|
| endtime = 861.76891881, orig_timeout = 60
|
| stdout_seq = [b'MOJ\x04', b'\x01austin\x004.1.0\x00\x01interval\x002000\x00\x01mode\x00wall\x00\x01python\x003.15.0\x00\x02\x9d>\x0...\xc1\x92\xc9?\x05\x9f\x99\x9e\xc1\x92\xc9?\x05\x91\xa0\x9e\xc1\x92\xc9?\x05\xbc\xa4\x9e\xc1\x92\xc9?\x05\x9d\x9b', ...]
|
| stderr_seq = [b"\x1b[1m _ _ \x1b[0m\n\x1b[1m __ _ _ _ __| |_(_)_ _ \x1b[0m\n\x1b[1m/ _` | || (_-< _| | ' \\ ... \x1b[1;36m4.1.0\x1b[0m [gcc 13.3.0]\n", b'\n\xf0\x9f\x90\x8d \x1b[1mPython\x1b[0m version: \x1b[1;33m3.15.0\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', 'python3.15', '/home/runner/work/austin/austin/test/targets/target34.py']' timed out after 60 seconds
|
|
|
| /opt/hostedtoolcache/Python/3.13.15/x64/lib/python3.13/subprocess.py:1269: TimeoutExpired
|