Dasharo Compatibility: NET controller after coldboot/warmboot/reboot/suspend
Test cases common documentation
Test setup
- Proceed with the Generic test setup: firmware.
- Proceed with the Generic test setup: OS installer.
- Proceed with the Generic test setup: OS installation.
- Proceed with the Generic test setup: OS boot from disk.
- The
Thunderbolt docking station
connected to the Thunderbolt port.
NET001.001 NET controller after coldboot (Ubuntu)
Test description
This test aims to verify that the network controller works and the platform is able to connect to the network after coldboot.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
=Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Plug in a Ethernet cable with internet connection to the platform.
- Wait for internet connection to initialize.
-
Open a terminal window and execute following command to list available network interfaces:
ip a
-
Determine the name of the ethernet controller. It typically is
ethX
orenpXsY
, whereX
andY
are numbers. -
Then, execute following command to check if the network interface is working correctly:
cat /sys/class/net/<interface_name>/operstate
-
Perform coldboot.
- Boot into the system.
- Log into the system by using the proper login and password.
- Open a terminal window and execute the command mentioned in point 8.
Expected result
-
The
ip a
command should return information about available NET interfaces. The list should contain the ethernet network interface, which is typically identified asethX
orenpXsY
, whereX
andY
are numbers. Example output:1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp46s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether d4:93:90:16:92:f8 brd ff:ff:ff:ff:ff:ff inet 192.168.4.85/24 brd 192.168.4.255 scope global dynamic noprefixroute enp46s0 valid_lft 40276sec preferred_lft 40276sec inet6 fe80::8317:79e3:81ec:a1f4/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 14:18:c3:7d:77:06 brd ff:ff:ff:ff:ff:ff
-
The
cat /sys/class/net/<interface_name>/operstate
command should return information indicating if the network interface works correctly (up
) or not (down
). Example output:up
NET002.001 NET controller after warmboot (Ubuntu)
Test description
This test aims to verify that the network controller works and the platform is able to connect to the network after warmboot.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
=Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Plug in a Ethernet cable with internet connection to the platform.
- Wait for internet connection to initialize.
-
Open a terminal window and execute following command to list available network interfaces:
ip a
-
Determine the name of the ethernet controller. It typically is
ethX
orenpXsY
, whereX
andY
are numbers. -
Then, execute following command to check if the network interface is working correctly:
cat /sys/class/net/<interface_name>/operstate
-
Perform warmboot.
- Boot into the system.
- Log into the system by using the proper login and password.
- Open a terminal window and execute the command mentioned in point 8.
Expected result
-
The
ip a
command should return information about available NET interfaces. The list should contain the ethernet network interface, which is typically identified asethX
orenpXsY
, whereX
andY
are numbers. Example output:1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp46s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether d4:93:90:16:92:f8 brd ff:ff:ff:ff:ff:ff inet 192.168.4.85/24 brd 192.168.4.255 scope global dynamic noprefixroute enp46s0 valid_lft 40276sec preferred_lft 40276sec inet6 fe80::8317:79e3:81ec:a1f4/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 14:18:c3:7d:77:06 brd ff:ff:ff:ff:ff:ff
-
The
cat /sys/class/net/<interface_name>/operstate
command should return information indicating if the network interface works correctly (up
) or not (down
). Example output:up
NET003.001 NET controller after reboot (Ubuntu)
Test description
This test aims to verify that the network controller works and the platform is able to connect to the network after coldboot.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
=Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Plug in a Ethernet cable with internet connection to the platform.
- Wait for internet connection to initialize.
-
Open a terminal window and execute following command to list available network interfaces:
ip a
-
Determine the name of the ethernet controller. It typically is
ethX
orenpXsY
, whereX
andY
are numbers. -
Then, execute following command to check if the network interface is working correctly:
cat /sys/class/net/<interface_name>/operstate
-
Reboot the system.
- Boot into the system.
- Log into the system by using the proper login and password.
- Open a terminal window and execute the command mentioned in point 8.
Expected result
-
The
ip a
command should return information about available NET interfaces. The list should contain the ethernet network interface, which is typically identified asethX
orenpXsY
, whereX
andY
are numbers. Example output:1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp46s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether d4:93:90:16:92:f8 brd ff:ff:ff:ff:ff:ff inet 192.168.4.85/24 brd 192.168.4.255 scope global dynamic noprefixroute enp46s0 valid_lft 40276sec preferred_lft 40276sec inet6 fe80::8317:79e3:81ec:a1f4/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 14:18:c3:7d:77:06 brd ff:ff:ff:ff:ff:ff
-
The
cat /sys/class/net/<interface_name>/operstate
command should return information indicating if the network interface works correctly (up
) or not (down
). Example output:up
NET004.001 NET controller after suspend (Ubuntu)
Test description
This test aims to verify that the network controller works and the platform is able to connect to the network after suspend.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
=Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Plug in a Ethernet cable with internet connection to the platform.
- Wait for internet connection to initialize.
-
Open a terminal window and execute following command to list available network interfaces:
ip a
-
Determine the name of the ethernet controller. It typically is
ethX
orenpXsY
, whereX
andY
are numbers. -
Then, execute following command to check if the network interface is working correctly:
cat /sys/class/net/<interface_name>/operstate
-
Execute following command to suspend the system and automatically wake it up after 10 seconds:
sudo fwts s3 --s3-sleep-delay=10
-
After the system wakes up, log into the system and execute the command mentioned in point 8.
Expected result
-
The
ip a
command should return information about available NET interfaces. The list should contain the ethernet network interface, which is typically identified asethX
orenpXsY
, whereX
andY
are numbers. Example output:1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp46s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether d4:93:90:16:92:f8 brd ff:ff:ff:ff:ff:ff inet 192.168.4.85/24 brd 192.168.4.255 scope global dynamic noprefixroute enp46s0 valid_lft 40276sec preferred_lft 40276sec inet6 fe80::8317:79e3:81ec:a1f4/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 14:18:c3:7d:77:06 brd ff:ff:ff:ff:ff:ff
-
The
cat /sys/class/net/<interface_name>/operstate
command should return information indicating if the network interface works correctly (up
) or not (down
). Example output:up