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

[Comb] Include correct MAC and IPv4/6 address for peer interface.Create DVaaS traffic helper for NSF test infra.Add support for gnmi_config and p4_info to NsfTestParams.Rename Upgrade to ImageCopy to better reflect its functionality.Make error_margin an optional parameter for ValidateTraffic.Implement reboot and gNMI config push helpers.Create flags to skip NSF Upgrade and traffic to only test NSF Reboot.Implement the ImageCopy reusable helper and reuse it in other helpers and NSF test skeleton.Create a reusable Reboot method to perform reboot on the SUT with the given reboot method. #963

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

Conversation

VSuryaprasad-HCL
Copy link
Contributor

Keyword Check:
~/sonic-buildimage/src/sonic-p4rt/sonic-pins$ ~/tools/keyword_checks.sh .
Keyword check Passed.

Build Result:
/sonic/src/sonic-p4rt/sonic-pins$ bazel build $BAZEL_BUILD_OPTS ...
INFO: Analyzed 686 targets (0 packages loaded, 0 targets configured).
INFO: Found 686 targets...
INFO: Elapsed time: 19.677s, Critical Path: 18.89s
INFO: 7 processes: 1 internal, 6 linux-sandbox.
INFO: Build completed successfully, 7 total actions

Test Result:
/sonic/src/sonic-p4rt/sonic-pins$ bazel test $BAZEL_BUILD_OPTS --cache_test_results=no ...
INFO: Analyzed 686 targets (0 packages loaded, 0 targets configured).
INFO: Found 469 targets and 217 test targets...
INFO: Elapsed time: 193.051s, Critical Path: 117.83s
INFO: 271 processes: 326 linux-sandbox, 18 local.
INFO: Build completed successfully, 271 total actions
//dvaas:port_id_map_test PASSED in 0.8s
//dvaas:test_run_validation_golden_test PASSED in 0.1s
//dvaas:test_run_validation_test PASSED in 0.6s
//dvaas:test_run_validation_test_runner PASSED in 0.0s
//dvaas:test_vector_stats_diff_test PASSED in 0.1s
//dvaas:test_vector_stats_test PASSED in 0.0s
//dvaas:test_vector_test PASSED in 0.6s
//dvaas:user_provided_packet_test_vector_diff_test PASSED in 0.1s
//sai_p4/instantiations/google:sai_nonstandard_platforms_cc_test PASSED in 0.6s
//sai_p4/instantiations/google:sai_p4info_fetcher_test PASSED in 0.8s
//sai_p4/instantiations/google:sai_p4info_test PASSED in 1.3s
//sai_p4/instantiations/google:sai_pd_proto_test PASSED in 0.0s
//sai_p4/instantiations/google:sai_pd_util_test PASSED in 0.6s
//sai_p4/instantiations/google:tor_p4info_up_to_date_test PASSED in 0.1s
//sai_p4/instantiations/google:union_p4info_up_to_date_test PASSED in 0.1s
//sai_p4/instantiations/google:wbb_p4info_up_to_date_test PASSED in 0.1s
//sai_p4/instantiations/google/test_tools:table_entry_generator_helper_test PASSED in 1.3s
//sai_p4/instantiations/google/test_tools:test_entries_test PASSED in 0.9s
//sai_p4/instantiations/google/tests:p4_fuzzer_integration_test PASSED in 3.4s
//sai_p4/tools:p4info_tools_test PASSED in 0.6s
//sai_p4/tools:packetio_tools_test PASSED in 0.9s
//tests:thinkit_gnmi_interface_util_tests PASSED in 1.2s
//tests/lib:p4info_helper_test PASSED in 0.8s
//tests/lib:p4rt_fixed_table_programming_helper_test PASSED in 0.8s
//tests/lib:packet_generator_test PASSED in 27.2s
//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 6.9s
//thinkit:bazel_test_environment_test PASSED in 0.6s
//thinkit:generic_testbed_test PASSED in 0.9s
//thinkit:mock_control_device_test PASSED in 0.7s
//thinkit:mock_generic_testbed_test PASSED in 0.7s
//thinkit:mock_mirror_testbed_test PASSED in 0.7s
//thinkit:mock_ssh_client_test PASSED in 0.0s
//thinkit:mock_switch_test PASSED in 0.8s
//thinkit:mock_test_environment_test PASSED in 0.1s
//thinkit:switch_test PASSED in 0.7s
//sai_p4/instantiations/google/tests:p4_constraints_integration_test PASSED in 1.0s
Stats over 5 runs: max = 1.0s, min = 0.7s, avg = 0.8s, dev = 0.1s
//sai_p4/instantiations/google/test_tools:table_entry_generator_test PASSED in 44.2s
Stats over 50 runs: max = 44.2s, min = 0.8s, avg = 5.5s, dev = 12.8s

Executed 217 out of 217 tests: 217 tests pass.
INFO: Build completed successfully, 271 total actions

@mssonicbld
Copy link

/azp run

Copy link

No pipelines are associated with this pull request.

@VSuryaprasad-HCL VSuryaprasad-HCL force-pushed the tests_integration_branch_5 branch from 54ee9bf to afb69ad Compare January 22, 2025 15:32
@mssonicbld
Copy link

/azp run

Copy link

No pipelines are associated with this pull request.

@VSuryaprasad-HCL VSuryaprasad-HCL changed the title [Comb] Include correct MAC and IPv4/6 address for peer interface.Create DVaaS traffic helper for Pushpins NSF test infra.Add support for gnmi_config and p4_info to NsfTestParams.Rename Upgrade to ImageCopy to better reflect its functionality.Make error_margin an optional parameter for ValidateTraffic.Implement reboot and gNMI config push helpers.Create flags to skip NSF Upgrade and traffic to only test NSF Reboot.Implement the ImageCopy reusable helper and reuse it in other helpers and NSF test skeleton.Create a reusable Reboot method to perform reboot on the SUT with the given reboot method. [Comb] Include correct MAC and IPv4/6 address for peer interface.Create DVaaS traffic helper for NSF test infra.Add support for gnmi_config and p4_info to NsfTestParams.Rename Upgrade to ImageCopy to better reflect its functionality.Make error_margin an optional parameter for ValidateTraffic.Implement reboot and gNMI config push helpers.Create flags to skip NSF Upgrade and traffic to only test NSF Reboot.Implement the ImageCopy reusable helper and reuse it in other helpers and NSF test skeleton.Create a reusable Reboot method to perform reboot on the SUT with the given reboot method. Jan 22, 2025
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

@VSuryaprasad-HCL VSuryaprasad-HCL force-pushed the tests_integration_branch_5 branch from afb69ad to f45419f Compare January 23, 2025 08:00
@mssonicbld
Copy link

/azp run

Copy link

No pipelines are associated with this pull request.

…S traffic helper for NSF test infra.Add support for `gnmi_config` and `p4_info` to NsfTestParams.Rename Upgrade to ImageCopy to better reflect its functionality.Make `error_margin` an optional parameter for `ValidateTraffic`.Implement reboot and gNMI config push helpers.Create flags to skip NSF Upgrade and traffic to only test NSF Reboot.Implement the `ImageCopy` reusable helper and reuse it in other helpers and NSF test skeleton.Create a reusable `Reboot` method to perform reboot on the SUT with the given reboot `method`.
@VSuryaprasad-HCL VSuryaprasad-HCL force-pushed the tests_integration_branch_5 branch from f45419f to 6e2dc83 Compare January 23, 2025 13:42
@mssonicbld
Copy link

/azp run

Copy link

No pipelines are associated with this pull request.

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