-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Labels
Description
Your setup
Formula commit hash / release tag
As provided in the CI.
Versions reports (master & minion)
As provided in the CI.
Pillar / config used
As provided in the CI.
Bug details
Describe the bug
Windows testing (and probably support) has been broken from around W42 of 2021 (failing in every weekly testing until now):
- https://saltstack-formulas.zulipchat.com/#narrow/stream/239693-CI/topic/myii-ci.2F2021-W42a/search/failure
- https://saltstack-formulas.zulipchat.com/#narrow/stream/239693-CI/topic/myii-ci.2F2022-W12a/search/failure
Sample of the failed states:
----------
ID: openvpn_create_dh_512
Function: cmd.run
Name: "C:\Program Files\OpenVPN\bin\openssl" dhparam -out "C:\Program Files\OpenVPN\config/dh512.pem" 512
Result: False
Comment: Command ""C:\Program Files\OpenVPN\bin\openssl" dhparam -out "C:\Program Files\OpenVPN\config/dh512.pem" 512" run
Started: 10:46:38.345913
Duration: 13427.013 ms
Changes:
----------
pid:
7140
retcode:
1
stderr:
'"C:\Program Files\OpenVPN\bin\openssl"' is not recognized as an internal or external command,
operable program or batch file.
----------
...
----------
ID: openvpn_service
Function: service.running
Name: OpenVPNService
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "C:\Program Files\Salt Project\Salt\bin\lib\site-packages\salt-3004-py3.8.egg\salt\utils\win_service.py", line 122, in info
handle_svc = win32service.OpenService(
pywintypes.error: (1060, 'OpenService', 'The specified service does not exist as an installed service.')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Salt Project\Salt\bin\lib\site-packages\salt-3004-py3.8.egg\salt\state.py", line 2179, in call
ret = self.states[cdata["full"]](
File "C:\Program Files\Salt Project\Salt\bin\lib\site-packages\salt-3004-py3.8.egg\salt\loader\lazy.py", line 149, in __call__
return self.loader.run(run_func, *args, **kwargs)
File "C:\Program Files\Salt Project\Salt\bin\lib\site-packages\salt-3004-py3.8.egg\salt\loader\lazy.py", line 1201, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "C:\Program Files\Salt Project\Salt\bin\lib\site-packages\salt-3004-py3.8.egg\salt\loader\lazy.py", line 1216, in _run_as
return _func_or_method(*args, **kwargs)
File "C:\Program Files\Salt Project\Salt\bin\lib\site-packages\salt-3004-py3.8.egg\salt\loader\lazy.py", line 1249, in wrapper
return f(*args, **kwargs)
File "C:\Program Files\Salt Project\Salt\bin\Lib\site-packages\salt-3004-py3.8.egg\salt\states\service.py", line 1018, in mod_watch
if __salt__["service.status"](name, sig, **status_kwargs):
File "C:\Program Files\Salt Project\Salt\bin\lib\site-packages\salt-3004-py3.8.egg\salt\loader\lazy.py", line 149, in __call__
return self.loader.run(run_func, *args, **kwargs)
File "C:\Program Files\Salt Project\Salt\bin\lib\site-packages\salt-3004-py3.8.egg\salt\loader\lazy.py", line 1201, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "C:\Program Files\Salt Project\Salt\bin\lib\site-packages\salt-3004-py3.8.egg\salt\loader\lazy.py", line 1216, in _run_as
return _func_or_method(*args, **kwargs)
File "C:\Program Files\Salt Project\Salt\bin\Lib\site-packages\salt-3004-py3.8.egg\salt\modules\win_service.py", line 511, in status
results[service] = info(service)["Status"] in ["Running", "Stop Pending"]
File "C:\Program Files\Salt Project\Salt\bin\Lib\site-packages\salt-3004-py3.8.egg\salt\modules\win_service.py", line 304, in info
return salt.utils.win_service.info(name=name)
File "C:\Program Files\Salt Project\Salt\bin\lib\site-packages\salt-3004-py3.8.egg\salt\utils\win_service.py", line 131, in info
raise CommandExecutionError("Failed To Open {}: {}".format(name, exc.strerror))
salt.exceptions.CommandExecutionError: Failed To Open OpenVPNService: The specified service does not exist as an installed service.Steps to reproduce the bug
Run Kitchen testing.
Expected behaviour
CI to pass again, as before.