In relation to the latest changes in the way the test folder creation/deletion is handled in integration tests, some tests started to fail, for example test_external_ca:
test_integration/test_external_ca.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../pytest_multihost/host.py:246: in run_command command.wait(raiseonerr=raiseonerr) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pytest_multihost.transport.SSHCommand object at 0x7ff5609eb610> raiseonerr = True def wait(self, raiseonerr=True): """Wait for the remote process to exit Raises an excption if the exit code is not 0, unless raiseonerr is true. """ if self._done: return self.returncode self._end_process() self._done = True if raiseonerr and self.returncode: self.log.error('Exit code: %s', self.returncode) > raise subprocess.CalledProcessError(self.returncode, self.argv) E CalledProcessError: Command 'date | sha256sum > /root/ipatests/noise.txt' returned non-zero exit status 1 ../pytest_multihost/transport.py:159: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- <ipatests.test_integration.config.Config object at 0x7ff560a51cd0> ========================== 1 failed in 32.25 seconds ===========================
It is necessary to either revert the changes or make this process more graceful.
ipa-4-3:
master:
Metadata Update from @ofayans: - Issue assigned to ofayans - Issue set to the milestone: FreeIPA 4.3.1
Login to comment on this ticket.