action #113201
Updated by mkittler over 2 years ago
* Ticket for spike solution: #107032
* PR of spike solution: https://github.com/os-autoinst/os-autoinst/pull/2091
* See parent ticket for further context
## Acceptance criteria
* **AC1**: It is possible to connect to a VMWare virtual machine via VMWare's VNC interface (e.g. by specifying credentials via some test variables, *possibly* also requiring to use a special/new VNC-console-API from test code)
* **AC2**: Documentation for AC1 exists, e.g. under `os-autoinst/doc/backends.md`
* **AC3**: Behavior is tested against real VMWare instance
* **AC4**: Relevant code for AC1 has unit tests
## Suggestions
* See commit message of https://github.com/os-autoinst/os-autoinst/pull/2091 and build your changes on top of that PR
* See https://progress.opensuse.org/issues/100688#note-25 for VMWare credentials for running a test against the real VMWare instance
* e.g. invoke the test like this (password redacted, use URL encoding when inserting the password): `OS_AUTOINST_TEST_AGAINST_REAL_VMWARE_INSTANCE='https://root:…@vh002.qa2.suse.asia/2' OS_AUTOINST_DEWEBSOCKIFY_PORT=5900 prove -vI. t/27-consoles-vmware.t`
* Extend unit tests as suggested in the mentioned commit message
## Out of scope
* Deal with poor performance; there's likely not much we can do
* Implement JPEG compression in our VNC module (it would might help with performance but also cause problems with the pattern matching)