Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/device_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Overall device result FAIL
|---|---|---|---|---|---|
|Required|1|0|0|0|0|
|Recommended|1|0|0|0|1|
|Other|6|2|21|1|2|
|Other|6|2|21|2|2|

|Result|Test|Category|Expectation|Notes|
|---|---|---|---|---|
Expand All @@ -69,6 +69,7 @@ Overall device result FAIL
|pass|communication.network.min_send|Other|Other|ARP packets received. Data packets were sent at a frequency of less than 5 minutes|
|info|communication.network.type|Other|Other|Broadcast packets received. Unicast packets received.|
|pass|connection.base.target_ping|Connectivity|Required|target reached|
|info|connection.network.mac_address|Other|Other|Device MAC address is 9a:02:57:1e:8f:01|
|fail|connection.network.mac_oui|Other|Other|Manufacturer prefix not found!|
|skip|connection.switch.port_duplex|Other|Other|No local IP has been set, check system config|
|skip|connection.switch.port_link|Other|Other|No local IP has been set, check system config|
Expand Down Expand Up @@ -599,6 +600,15 @@ Mac OUI Test
--------------------
RESULT fail connection.network.mac_oui Manufacturer prefix not found!

--------------------
connection.network.mac_address
--------------------
Reports device MAC address
--------------------
Device MAC address is 9a:02:57:1e:8f:01
--------------------
RESULT info connection.network.mac_address Device MAC address is 9a:02:57:1e:8f:01

--------------------
dns.network.hostname_resolution
--------------------
Expand Down
12 changes: 12 additions & 0 deletions subset/network/run_macoui_test
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,15 @@ write_out_result $REPORT \
"$TEST_DESCRIPTION" \
"$TEST_RESULT" \
"$RESULT_AND_SUMMARY"

# Write result for connection.network.mac_address
TEST_NAME="connection.network.mac_address"
TEST_DESCRIPTION="Reports device MAC address"
TEST_RESULT="Device MAC address is ${TARGET_MAC}"
RESULT_AND_SUMMARY="RESULT info ${TEST_NAME} ${TEST_RESULT}"

write_out_result $REPORT \
"$TEST_NAME" \
"$TEST_DESCRIPTION" \
"$TEST_RESULT" \
"$RESULT_AND_SUMMARY"
3 changes: 3 additions & 0 deletions testing/test_aux.out
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,21 @@ RESULT info communication.network.type Broadcast packets received. Unicast packe
RESULT pass ntp.network.ntp_support Using NTPv4.
RESULT pass ntp.network.ntp_update Device clock synchronized.
RESULT fail connection.network.mac_oui Manufacturer prefix not found!
RESULT info connection.network.mac_address Device MAC address is 9a:02:57:1e:8f:01
RESULT skip dns.network.hostname_resolution Device did not send any DNS requests
RESULT pass communication.network.min_send ARP packets received. Data packets were sent at a frequency of less than 5 minutes
RESULT info communication.network.type Broadcast packets received. Unicast packets received.
RESULT fail ntp.network.ntp_support Not using NTPv4.
RESULT fail ntp.network.ntp_update Device clock not synchronized with local NTP server.
RESULT pass connection.network.mac_oui Manufacturer: Google found for address 3c:5a:b4:1e:8f:0b
RESULT info connection.network.mac_address Device MAC address is 3c:5a:b4:1e:8f:0b
RESULT fail dns.network.hostname_resolution Device sent DNS requests to servers other than the DHCP provided server
RESULT pass communication.network.min_send ARP packets received. Data packets were sent at a frequency of less than 5 minutes
RESULT info communication.network.type Broadcast packets received. Unicast packets received.
RESULT skip ntp.network.ntp_support No NTP packets received.
RESULT skip ntp.network.ntp_update Not enough NTP packets received.
RESULT pass connection.network.mac_oui Manufacturer: Google found for address 3c:5a:b4:1e:8f:0a
RESULT info connection.network.mac_address Device MAC address is 3c:5a:b4:1e:8f:0a
RESULT pass dns.network.hostname_resolution Device sends DNS requests and resolves host names
dhcp requests 1 1 1 1
3c5ab41e8f0a: []
Expand Down
1 change: 0 additions & 1 deletion testing/test_aux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ done

# Add the RESULT lines from all aux test report files.
capture_test_results bacext
capture_test_results macoui
capture_test_results tls
capture_test_results password
capture_test_results discover
Expand Down