Transceiver-9: improving test flow
Currently in zr_laser_bias_test, we are streaming individual laser-current leaves in sample mode. namely - instant/avg/min/max values.
During the verification process, since these are pulled at different times, the avg value is sometimes not between the min and max values causing false test failure.
"The average is not between the maximum and minimum values Avg:232.50 Min:232.60 Max:232.60"
To better suit the test intent, we need to change the test to stream at the container level i.e p1Stream := samplestream.New(t, dut1, component.OpticalChannel().LaserBiasCurrent().State(), 10*time.Second)
and then check the condition: min <= avg <= max for all the values "within" the container streamed at the same timestamp.
Test is passing with these changes.
Pull Request Functional Test Report for #3462 / a8152d93e836394ea6b1d168cc0f05319e23d454
Virtual Devices
| Device | Test | Test Documentation | Job | Raw Log |
|---|---|---|---|---|
| Arista cEOS | TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming. |
|||
| Cisco 8000E | TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming. |
|||
| Cisco XRd | TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming. |
|||
| Juniper ncPTX | TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming. |
|||
| Nokia SR Linux | TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming. |
|||
| Openconfig Lemming | TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming. |
Hardware Devices
| Device | Test | Test Documentation | Raw Log |
|---|---|---|---|
| Arista 7808 | TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming. |
||
| Cisco 8808 | TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming. |
||
| Juniper PTX10008 | TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming. |
||
| Nokia 7250 IXR-10e | TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming. |
Pull Request Test Coverage Report for Build 11100370710
Details
- 0 of 0 changed or added relevant lines in 0 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 55.268%
| Totals | |
|---|---|
| Change from base Build 11097059185: | 0.0% |
| Covered Lines: | 1983 |
| Relevant Lines: | 3588 |