[arista] Update swi building recipe#2014
Merged
lguohan merged 1 commit intosonic-net:masterfrom Sep 5, 2018
Merged
Conversation
Contributor
|
NOTE: This is the same change proposed in #1980 |
5 tasks
liat-grozovik
pushed a commit
that referenced
this pull request
Feb 7, 2022
Update submodule sonic-utilities that contains the following commits: [build] allowPartiallySucceededBuilds: true (#2043) [system-health] Remove booting stage in system health service (#2022) [GCU] Mark children of bgp_neighbor as create-only (#2008) [generic_config_updater] Minor update - No logical code change (#2028) [generic-config-updater] Handle failed service restarts (#2020) [debug dump] Missing Dict Key handled in the MatchOptimizer (#2014) [Auto Techsupport] Added Event Driven TS to Command Reference (#1985)
taras-keryk
pushed a commit
to taras-keryk/sonic-buildimage
that referenced
this pull request
Apr 28, 2022
…t#2014) - Why I did The hardcoded delimiter used in the match_optimizer was updated to be assigned dynamically based on the db name provided. Sometimes, the kv-pairs received from match engine may not contain the necessary fields requested and in those cases MatchEngine Optimizer is throwing a KeyError Exception on the missing field. Added Unit tests to cover the scenario Traceback (most recent call last): File "/usr/local/bin/dump", line 8, in <module> sys.exit(dump()) File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/usr/local/lib/python3.9/dist-packages/dump/main.py", line 85, in state collected_info[arg] = obj.execute(params) File "/usr/local/lib/python3.9/dist-packages/dump/plugins/route.py", line 82, in execute self.init_asic_nh() File "/usr/local/lib/python3.9/dist-packages/dump/plugins/route.py", line 142, in init_asic_nh nh_ex.collect() File "/usr/local/lib/python3.9/dist-packages/dump/plugins/route.py", line 211, in collect rif_oid = self.init_asic_next_hop_info(self.rt.nh_id) File "/usr/local/lib/python3.9/dist-packages/dump/plugins/route.py", line 191, in init_asic_next_hop_info ret = self.rt.nhgrp_match_engine.fetch(req) File "/usr/local/lib/python3.9/dist-packages/dump/match_infra.py", line 430, in fetch return self.__mutate_response(ret, fv_requested, ret_just_keys) File "/usr/local/lib/python3.9/dist-packages/dump/match_infra.py", line 389, in __mutate_response new_ret["return_values"][key][field] = key_fv[key][field] KeyError: 'SAI_NEXT_HOP_ATTR_ROUTER_INTERFACE_ID' - How I did it Handled the no-field present case gracefully Signed-off-by: vkarri <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
- What I did
Update swi building recipe