Skip to content

create ethernet functions test suite #136

@omnium21

Description

@omnium21

There is currently a basic ethernet test in automated/linux/ethernet that shows the IP address and pings the default router.

Linaro Member Services requires a more functional ethernet test.

Required functional tests:

  • transfer a large amount of data over the network (eg. 1GB file) to another machine and make sure there is no data corruption (eg. md5sum matches at both ends)
    • and in reverse: from another machine to the DUT
  • test that the data is passed without error
  • generate test metrics for bandwidth / throughput
  • test that the link doesn't train and no data is transferred when the cable is detached
  • test that data transfer (eg. ping) fails when cable unplugged
  • test link detection when cable plugged in
  • use ping or fping to test with small and large packet sizes (default is 56, or 64 incl ICMP data)
    • eg. 1..15, 32768, 64501..65000

Run the functional tests in the following ethernet port configurations:

  • speed 10/100/1000/auto
  • full/half duplex
  • alternative MTU sizes, eg 1508 (default=1500)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions