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

[Dvaas]: Adding expected tests output to user-provided test vectors. #747

Merged
merged 6 commits into from
Nov 21, 2024

Conversation

VSuryaprasad-HCL
Copy link
Contributor

Keyword Check:

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

Build result:

sonic/src/sonic-p4rt/sonic-pins$ bazel build $BAZEL_BUILD_OPTS ...
INFO: Analyzed 579 targets (0 packages loaded, 0 targets configured).
INFO: Found 579 targets...
INFO: Elapsed time: 23.757s, Critical Path: 20.22s
INFO: 6 processes: 2 internal, 4 linux-sandbox.
INFO: Build completed successfully, 6 total actions

Test result:

/sonic/src/sonic-p4rt/sonic-pins$ bazel test $BAZEL_BUILD_OPTS --cache_test_results=no ...
INFO: Analyzed 600 targets (0 packages loaded, 0 targets configured).
INFO: Found 403 targets and 197 test targets...
INFO: Elapsed time: 288.219s, Critical Path: 230.95s
INFO: 251 processes: 297 linux-sandbox, 18 local.
INFO: Build completed successfully, 251 total actions
//dvaas:port_id_map_test                                                 PASSED in 1.4s
//dvaas:test_vector_stats_diff_test                                      PASSED in 1.3s
//dvaas:test_vector_stats_test                                           PASSED in 2.3s
//dvaas:test_vector_test                                                 PASSED in 1.8s
//dvaas:user_provided_packet_test_vector_test                            PASSED in 0.6s
//thinkit:bazel_test_environment_test                                    PASSED in 1.3s
//thinkit:generic_testbed_test                                           PASSED in 1.6s
//thinkit:mock_control_device_test                                       PASSED in 0.8s
//thinkit:mock_generic_testbed_test                                      PASSED in 1.2s
//thinkit:mock_mirror_testbed_test                                       PASSED in 2.8s
//thinkit:mock_ssh_client_test                                           PASSED in 0.4s
//thinkit:mock_switch_test                                               PASSED in 2.2s
//thinkit:mock_test_environment_test                                     PASSED in 0.2s
//thinkit:switch_test                                                    PASSED in 1.2s
//sai_p4/instantiations/google/tests:p4_constraints_integration_test     PASSED in 2.8s
  Stats over 5 runs: max = 2.8s, min = 1.1s, avg = 1.8s, dev = 0.8s
//sai_p4/instantiations/google/test_tools:table_entry_generator_test     PASSED in 48.5s
  Stats over 50 runs: max = 48.5s, min = 1.0s, avg = 3.2s, dev = 6.6s

Executed 197 out of 197 tests: 197 tests pass.
INFO: Build completed successfully, 251 total actions

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.

@kishanps kishanps merged commit b1d2d69 into sonic-net:main Nov 21, 2024
2 checks passed
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