Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Thinkit] Update gNMI test helper to better get SFEC and collect optics portFix break out config namespace issue.Update tests to use enum for loopback-modeAdd Error message in the Test failure reasonAdded a new API to get configured Device-id of a PINS deviceAdd informative logs to the system shutdown and bring up logs.Increase the cold reboot wait for down time thresold from 60s to 75s.Increasing tolerance for existing LACP packets on the network #1026

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

VSuryaprasad-HCL
Copy link
Contributor

Key_word Check:

~/pins_upstream/sonic-buildimage/src/sonic-p4rt/sonic-pins/tests/sflow$ ~/tools/keyword_checks.sh .
Keyword check Passed.

Build result:

/sonic/src/sonic-p4rt/sonic-pins$ bazel build $BAZEL_BUILD_OPTS ... 
INFO: Analyzed 710 targets (0 packages loaded, 0 targets configured).
INFO: Found 710 targets...
INFO: Elapsed time: 0.307s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action

Test result:

/sonic/src/sonic-p4rt/sonic-pins$ bazel test $BAZEL_BUILD_OPTS --cache_test_results=no ...
INFO: Analyzed 710 targets (0 packages loaded, 2 targets configured).
INFO: Found 488 targets and 222 test targets...
INFO: Elapsed time: 167.310s, Critical Path: 122.26s
INFO: 279 processes: 336 linux-sandbox, 18 local.
INFO: Build completed successfully, 279 total actions
//dvaas:port_id_map_test                                                 PASSED in 1.3s
//dvaas:test_run_validation_golden_test                                  PASSED in 0.1s
//dvaas:test_run_validation_test                                         PASSED in 0.9s
//dvaas:test_run_validation_test_runner                                  PASSED in 0.2s
//dvaas:test_vector_stats_diff_test                                      PASSED in 0.3s
//dvaas:test_vector_stats_test                                           PASSED in 0.2s
//dvaas:test_vector_test                                                 PASSED in 1.4s
//dvaas:user_provided_packet_test_vector_diff_test                       PASSED in 0.4s
//dvaas:user_provided_packet_test_vector_test                            PASSED in 0.1s
//gutil:collections_test                                                 PASSED in 0.8s
//tests/forwarding:hash_statistics_util_test                             PASSED in 1.8s
//tests/lib:p4info_helper_test                                           PASSED in 1.8s
//tests/lib:p4rt_fixed_table_programming_helper_test                     PASSED in 1.4s
//tests/lib:switch_test_setup_helpers_golden_test                        PASSED in 0.1s
//tests/lib:switch_test_setup_helpers_golden_test_runner                 PASSED in 0.1s
//tests/qos:gnmi_parsers_test                                            PASSED in 0.1s
//tests/qos:gnmi_parsers_test_runner                                     PASSED in 0.1s
//tests/sflow:sflow_util_test                                            PASSED in 7.9s
//thinkit:bazel_test_environment_test                                    PASSED in 1.1s
//thinkit:generic_testbed_test                                           PASSED in 1.6s
//thinkit:mock_control_device_test                                       PASSED in 0.9s
//thinkit:mock_generic_testbed_test                                      PASSED in 1.1s
//thinkit:mock_mirror_testbed_test                                       PASSED in 1.2s
//thinkit:mock_ssh_client_test                                           PASSED in 0.0s
//thinkit:mock_switch_test                                               PASSED in 1.3s
//thinkit:mock_test_environment_test                                     PASSED in 0.1s
//thinkit:switch_test                                                    PASSED in 1.3s
//tests/lib:packet_generator_test                                        PASSED in 58.1s
  Stats over 4 runs: max = 58.1s, min = 56.4s, avg = 57.4s, dev = 0.6s
//sai_p4/instantiations/google/tests:p4_constraints_integration_test     PASSED in 1.6s
  Stats over 5 runs: max = 1.6s, min = 1.1s, avg = 1.3s, dev = 0.2s
//sai_p4/instantiations/google/test_tools:table_entry_generator_test     PASSED in 50.4s
  Stats over 50 runs: max = 50.4s, min = 1.2s, avg = 6.3s, dev = 13.1s

Executed 222 out of 222 tests: 222 tests pass.
INFO: Build completed successfully, 279 total actions

@mssonicbld
Copy link

/azp run

Copy link

No pipelines are associated with this pull request.

@mssonicbld
Copy link

/azp run

Copy link

No pipelines are associated with this pull request.

Copy link

@jaanah-hcl jaanah-hcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kishanps Kindly review the PR
Thanks

… to use entities instead of table entries.enclose missed table_entries in entity.Add ACL QoS table to FBR instances.Transition to using entities instead of table entries.Add an option to NOT push P4Info.Support non-mirrored testbeds. Mask bug where control switch interfaces don't come up. Slightly improve naming and scoping.
….Don't craft packets with UDP headers if UDP port is already reserved.Increase BERT test duration when disabling the ports during the test.Skip BERT on certain links.
…e a collateral link down on admin down.Add SCOPED_TRACE for interface names. Move helper functions in factory_reset_test from header into anonymous namespace in source.Add `ConfigureSwitchPair` function that returns status instead of P4RT sessions.Update to clear all entities instead of just table entries. Generalize APIs to dual-switch testbeds with different configs for each switch.
…ollback mirror clone related changes because of test breakage. Rename mirror_with_psamp_encapsulation to mirror_with_ipfix_encapsulation to reflect change in SAI mirror session type to IPFIX. Models IPFIX mirroring encap.
…king breakout speeds for interfaces.gNMI port breakout testsAdd an API for returning expected breakout config in JSON format.Fix break out config namespace issue.Update tests to use enum for loopback-modeAdd helper function to get port set with optics and port set with specified PMD type
…cs portFix break out config namespace issue.Update tests to use enum for loopback-modeAdd Error message in the Test failure reasonAdded a new API to get configured Device-id of a PINS deviceAdd informative logs to the system shutdown and bring up logs.Increase the cold reboot wait for down time thresold from 60s to 75s.Increasing tolerance for existing LACP packets on the network
@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants