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] Add a packet generator tests to test the generated fields. #829

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

Conversation

VSuryaprasad-HCL
Copy link
Contributor

@VSuryaprasad-HCL VSuryaprasad-HCL commented Dec 9, 2024

Key_word Check:

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

Build result:

/sonic/src/sonic-p4rt/sonic-pins$ bazel build $BAZEL_BUILD_OPTS ...
INFO: Analyzed 621 targets (0 packages loaded, 0 targets configured).
INFO: Found 621 targets...
INFO: Elapsed time: 0.457s, 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 625 targets (0 packages loaded, 2 targets configured).
INFO: Found 418 targets and 208 test targets...
INFO: Elapsed time: 157.848s, Critical Path: 112.22s
INFO: 261 processes: 315 linux-sandbox, 18 local.
INFO: Build completed successfully, 261 total actions
//dvaas:port_id_map_test                                                 PASSED in 2.0s
//dvaas:test_run_validation_golden_test                                  PASSED in 0.1s
//dvaas:test_run_validation_test                                         PASSED in 1.0s
//dvaas:test_run_validation_test_runner                                  PASSED in 0.1s
//dvaas:test_vector_stats_diff_test                                      PASSED in 0.1s
//dvaas:test_vector_stats_test                                           PASSED in 0.2s
//dvaas:test_vector_test                                                 PASSED in 1.5s
//dvaas:user_provided_packet_test_vector_diff_test                       PASSED in 0.2s
//thinkit:mock_control_device_test                                       PASSED in 0.8s
//thinkit:mock_generic_testbed_test                                      PASSED in 0.7s
//thinkit:mock_mirror_testbed_test                                       PASSED in 1.0s
//thinkit:mock_ssh_client_test                                           PASSED in 0.1s
//thinkit:mock_switch_test                                               PASSED in 1.0s
//thinkit:mock_test_environment_test                                     PASSED in 0.1s
//thinkit:switch_test                                                    PASSED in 1.1s
//sai_p4/instantiations/google/tests:p4_constraints_integration_test     PASSED in 1.5s
  Stats over 5 runs: max = 1.5s, min = 1.0s, avg = 1.3s, dev = 0.2s
//sai_p4/instantiations/google/test_tools:table_entry_generator_test     PASSED in 44.1s
  Stats over 50 runs: max = 44.1s, min = 1.2s, avg = 3.5s, dev = 8.3s

Executed 208 out of 208 tests: 208 tests pass.
INFO: Build completed successfully, 261 total actions

@VSuryaprasad-HCL VSuryaprasad-HCL changed the title [Tests]: Add a packet generator tests to test the generated fields. [Thinkit]: Add a packet generator tests to test the generated fields. Dec 9, 2024
@VSuryaprasad-HCL VSuryaprasad-HCL changed the title [Thinkit]: Add a packet generator tests to test the generated fields. [Thinkit] Add a packet generator tests to test the generated fields. Dec 9, 2024
@VSuryaprasad-HCL
Copy link
Contributor Author

Co-authored-by: Srikishen Pondicherry Shanmugam [email protected]

Copy link
Contributor

@bibhuprasad-hcl bibhuprasad-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, Could you please review.
Thanks.

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.

3 participants