-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathresults.json
1 lines (1 loc) · 2.53 KB
/
results.json
1
{"results": [{"testsuites": {"testsuite": {"@name": "pytest", "@errors": "0", "@failures": "1", "@skipped": "0", "@tests": "1", "@time": "602.465", "@timestamp": "2023-02-03T13:16:33.737451", "@hostname": "c68f579bb0cd", "testcase": {"@classname": "terraform_test", "@name": "test_maas_terraform_provider", "@time": "602.190", "failure": {"@message": "subprocess.TimeoutExpired: Command '['terraform', 'apply', '-auto-approve', '-input=false']' timed out after 600 seconds", "#text": "def test_maas_terraform_provider():\n tester = MAASTerraformEndToEnd()\n log = logging.getLogger()\n try:\n> tester.setup(log)\n\nterraform_test.py:135: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nterraform_test.py:66: in setup\n self._run_and_check_tf(cmd, log)\nterraform_test.py:46: in _run_and_check_tf\n ret_code = proc.wait(timeout=self._tf_timeout)\n/usr/lib/python3.10/subprocess.py:1207: in wait\n return self._wait(timeout=timeout)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <Popen: returncode: None args: ['terraform', 'apply', '-auto-approve', '-inp...>\ntimeout = 600\n\n def _wait(self, timeout):\n \"\"\"Internal implementation of wait() on POSIX.\"\"\"\n if self.returncode is not None:\n return self.returncode\n \n if timeout is not None:\n endtime = _time() + timeout\n # Enter a busy loop if we have a timeout. This busy loop was\n # cribbed from Lib/threading.py in Thread.wait() at r71065.\n delay = 0.0005 # 500 us -> initial delay of 1 ms\n while True:\n if self._waitpid_lock.acquire(False):\n try:\n if self.returncode is not None:\n break # Another thread waited.\n (pid, sts) = self._try_wait(os.WNOHANG)\n assert pid == self.pid or pid == 0\n if pid == self.pid:\n self._handle_exitstatus(sts)\n break\n finally:\n self._waitpid_lock.release()\n remaining = self._remaining_time(endtime)\n if remaining <= 0:\n> raise TimeoutExpired(self.args, timeout)\nE subprocess.TimeoutExpired: Command '['terraform', 'apply', '-auto-approve', '-input=false']' timed out after 600 seconds\n\n/usr/lib/python3.10/subprocess.py:1933: TimeoutExpired"}}}}}]}