Network Interface is not connected and configured with DHCP in SUT #2
Labels
No Label
priority: critical
priority: high
priority: low
priority: medium
status: abandoned
status: duplicate
status: invalid
status: peer review needed
status: wontfix
tag: content
tag: good first issue
tag: help wanted
test suite
type: bug
type: documentation
type: enhancement
type: maintenance
type: question
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: testing/os-autoinst-distri-rocky-migrated#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
When
POST
ing tests without specifying grub commandline parameters that will activate the network interface in the SUT (eg.GRUB="ip=dhcp bootdev=52:54:00:12:34:56 inst.waitfornet=300"
) the network interface is notCONNECTED
and tests requiring network access will fail.Currently the test fails because it matches the needle
rocky-network_configure-20210813
before it matches the needlerocky-anaconda_network_connected-20210813
and, instead of simply toggling theON/OFF
state of the interface. The test tries toConfigure
the interface with a static IP, as per the intention of matching therocky-network_configure-20210813
. That needles is designed for a different test and intended to be triggered along with properPOST
variables to provide IP information to use for the static network configuration.To Reproduce
Steps to reproduce the behavior:
POST
the example test.POST
another test using the command line...sudo openqa-cli api -X POST isos ISO=Rocky-8.4-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=8.4 PACKAGE_SET=server
and DO NOT provide theGRUB
variable._anaconda_network_enable.pm
test.Expected behavior
The test suite will not fail in the
_anaconda_network_enable.pm
test, the SUT will have aCONNECTED
network interface configured with DHCP and the test suite will continue to the next test in the test suite,_anaconda_kdump_disable.pm
.System / Environment (please complete the following information):
Resolved in #3