[BUG] openQA guests receive hostname of openQA host system #78

Open
opened 2022-03-24 05:47:49 +00:00 by akatch · 0 comments
akatch commented 2022-03-24 05:47:49 +00:00 (Migrated from github.com)

openQA guests receive the hostname of the openQA host system, causing certain needles to not match. The needles expect the guest to have the hostname localhost.

To Reproduce
Execute the following tests:

openqa-cli api -X POST isos ISO=Rocky-8.5-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=8.5 BUILD=dvd-iso_workstation_$(date +%Y%m%d.%H%M%S).0 TEST=install_package_set_workstation

The _console_login test will fail and the needle captures will show the hostname of the openQA host system rather than localhost

Expected behavior
openQA guest SUTs should always receive the hostname localhost.

Screenshots
@tcooper's environment
@akatch's environment

Desktop

  • Fedora 35

Reported in #77

openQA guests receive the hostname of the openQA host system, causing certain needles to not match. The needles expect the guest to have the hostname `localhost`. **To Reproduce** Execute the following tests: ``` openqa-cli api -X POST isos ISO=Rocky-8.5-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=8.5 BUILD=dvd-iso_workstation_$(date +%Y%m%d.%H%M%S).0 TEST=install_package_set_workstation ``` The `_console_login` test will fail and the needle captures will show the hostname of the openQA host system rather than `localhost` **Expected behavior** openQA guest SUTs should always receive the hostname `localhost`. **Screenshots** ![@tcooper's environment](https://user-images.githubusercontent.com/542846/157708896-fefa6f3d-fcc9-48a6-a89d-42b8308c0884.png) ![@akatch's environment](https://i.ibb.co/ZJ35Lbr/rocky-root-logged-in-biosfont-20220306.png) **Desktop** - Fedora 35 Reported in #77
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: testing/os-autoinst-distri-rocky-migrated#78
No description provided.