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

Revert "CRM init config for SRV6 Nexthop and MY_SID resource" #9506

Merged
merged 1 commit into from
Dec 12, 2021

Conversation

qiluo-msft
Copy link
Collaborator

Reverts #9238

We met test issue https://dev.azure.com/mssonic/be1b070f-be15-4154-aade-b1d3bfb17054/_apis/build/builds/58353/logs/33

2021-12-10T17:56:58.2382264Z + sudo LANG=C DOCKER_HOST= chroot ./fsroot-vs /usr/local/bin/generate_shutdown_order.py
2021-12-10T17:56:58.2382658Z sonic_yang(3):All Keys are not parsed in CRM
2021-12-10T17:56:58.2383548Z dict_keys(['srv6_my_sid_entry_threshold_type', 'srv6_my_sid_entry_low_threshold', 'srv6_my_sid_entry_high_threshold', 'srv6_nexthop_threshold_type', 'srv6_nexthop_low_threshold', 'srv6_nexthop_high_threshold'])
2021-12-10T17:56:58.2384117Z sonic_yang(3):exceptionList:[]
2021-12-10T17:56:58.2384485Z sonic_yang(3):Data Loading Failed:All Keys are not parsed in CRM
2021-12-10T17:56:58.2385395Z dict_keys(['srv6_my_sid_entry_threshold_type', 'srv6_my_sid_entry_low_threshold', 'srv6_my_sid_entry_high_threshold', 'srv6_nexthop_threshold_type', 'srv6_nexthop_low_threshold', 'srv6_nexthop_high_threshold'])
2021-12-10T17:56:58.2386099Z Data Loading Failed
2021-12-10T17:56:58.2386356Z All Keys are not parsed in CRM
2021-12-10T17:56:58.2387245Z dict_keys(['srv6_my_sid_entry_threshold_type', 'srv6_my_sid_entry_low_threshold', 'srv6_my_sid_entry_high_threshold', 'srv6_nexthop_threshold_type', 'srv6_nexthop_low_threshold', 'srv6_nexthop_high_threshold'])
2021-12-10T17:56:58.2387821Z Traceback (most recent call last):
2021-12-10T17:56:58.2388414Z   File "/usr/local/lib/python3.9/dist-packages/sonic_yang_ext.py", line 1057, in loadData
2021-12-10T17:56:58.2388959Z     self._xlateConfigDB(xlateFile=xlateFile)
2021-12-10T17:56:58.2389521Z   File "/usr/local/lib/python3.9/dist-packages/sonic_yang_ext.py", line 690, in _xlateConfigDB
2021-12-10T17:56:58.2389885Z     self._xlateConfigDBtoYang(jIn, yangJ)
2021-12-10T17:56:58.2390881Z   File "/usr/local/lib/python3.9/dist-packages/sonic_yang_ext.py", line 677, in _xlateConfigDBtoYang
2021-12-10T17:56:58.2394966Z     self._xlateContainer(cmap['container'], yangJ[key][subkey], \
2021-12-10T17:56:58.2396102Z   File "/usr/local/lib/python3.9/dist-packages/sonic_yang_ext.py", line 634, in _xlateContainer
2021-12-10T17:56:58.2396601Z     self._xlateContainerInContainer(ccontainer, yang, configC, table)
2021-12-10T17:56:58.2397285Z   File "/usr/local/lib/python3.9/dist-packages/sonic_yang_ext.py", line 597, in _xlateContainerInContainer
2021-12-10T17:56:58.2397952Z     self._xlateContainer(ccontainer, yang[ccontainer['@name']], \
2021-12-10T17:56:58.2398600Z   File "/usr/local/lib/python3.9/dist-packages/sonic_yang_ext.py", line 657, in _xlateContainer
2021-12-10T17:56:58.2399075Z     raise(Exception("All Keys are not parsed in {}\n{}".format(table, \
2021-12-10T17:56:58.2399443Z Exception: All Keys are not parsed in CRM
2021-12-10T17:56:58.2400361Z dict_keys(['srv6_my_sid_entry_threshold_type', 'srv6_my_sid_entry_low_threshold', 'srv6_my_sid_entry_high_threshold', 'srv6_nexthop_threshold_type', 'srv6_nexthop_low_threshold', 'srv6_nexthop_high_threshold'])
2021-12-10T17:56:58.2401097Z 
2021-12-10T17:56:58.2401484Z During handling of the above exception, another exception occurred:
2021-12-10T17:56:58.2401719Z 
2021-12-10T17:56:58.2401976Z Traceback (most recent call last):
2021-12-10T17:56:58.2402694Z   File "/usr/local/lib/python3.9/dist-packages/config/config_mgmt.py", line 61, in __init__
2021-12-10T17:56:58.2403081Z     self.__init_sonic_yang()
2021-12-10T17:56:58.2403707Z   File "/usr/local/lib/python3.9/dist-packages/config/config_mgmt.py", line 80, in __init_sonic_yang
2021-12-10T17:56:58.2404125Z     self.sy.loadData(self.configdbJsonIn)
2021-12-10T17:56:58.2404719Z   File "/usr/local/lib/python3.9/dist-packages/sonic_yang_ext.py", line 1067, in loadData
2021-12-10T17:56:58.2405179Z     raise SonicYangException("Data Loading Failed\n{}".format(str(e)))
2021-12-10T17:56:58.2405577Z sonic_yang_ext.SonicYangException: Data Loading Failed
2021-12-10T17:56:58.2405934Z All Keys are not parsed in CRM
2021-12-10T17:56:58.2406811Z dict_keys(['srv6_my_sid_entry_threshold_type', 'srv6_my_sid_entry_low_threshold', 'srv6_my_sid_entry_high_threshold', 'srv6_nexthop_threshold_type', 'srv6_nexthop_low_threshold', 'srv6_nexthop_high_threshold'])
2021-12-10T17:56:58.2407410Z 
2021-12-10T17:56:58.2407906Z During handling of the above exception, another exception occurred:
2021-12-10T17:56:58.2408286Z 
2021-12-10T17:56:58.2408539Z Traceback (most recent call last):
2021-12-10T17:56:58.2408894Z   File "/usr/local/bin/generate_shutdown_order.py", line 15, in <module>
2021-12-10T17:56:58.2409404Z     main()
2021-12-10T17:56:58.2409714Z   File "/usr/local/bin/generate_shutdown_order.py", line 8, in main
2021-12-10T17:56:58.2410087Z     manager = PackageManager.get_manager()
2021-12-10T17:56:58.2410732Z   File "/usr/local/lib/python3.9/dist-packages/sonic_package_manager/manager.py", line 1012, in get_manager
2021-12-10T17:56:58.2411360Z     cfg_mgmt = config_mgmt.ConfigMgmt(source=INIT_CFG_JSON)
2021-12-10T17:56:58.2411964Z   File "/usr/local/lib/python3.9/dist-packages/config/config_mgmt.py", line 65, in __init__
2021-12-10T17:56:58.2412953Z     raise Exception('ConfigMgmt Class creation failed')
2021-12-10T17:56:58.2413492Z Exception: ConfigMgmt Class creation failed
2021-12-10T17:56:58.2413763Z + clean_proc
2021-12-10T17:56:58.2414008Z + sudo umount /proc
2021-12-10T17:56:58.2414235Z + clean_sys
2021-12-10T17:56:58.2415560Z + sudo chroot ./fsroot-vs umount /sys/fs/cgroup/blkio /sys/fs/cgroup/cpu /sys/fs/cgroup/cpu,cpuacct /sys/fs/cgroup/cpuacct /sys/fs/cgroup/cpuset /sys/fs/cgroup/devices /sys/fs/cgroup/freezer /sys/fs/cgroup/hugetlb /sys/fs/cgroup/memory /sys/fs/cgroup/net_cls /sys/fs/cgroup/net_cls,net_prio /sys/fs/cgroup/net_prio /sys/fs/cgroup/perf_event /sys/fs/cgroup/pids /sys/fs/cgroup/rdma /sys/fs/cgroup/systemd /sys/fs/cgroup /sys
2021-12-10T17:56:58.2416494Z umount: /sys/fs/cgroup/cpu: no mount point specified.
2021-12-10T17:56:58.2417276Z umount: /sys/fs/cgroup/cpu,cpuacct: no mount point specified.
2021-12-10T17:56:58.2417688Z umount: /sys/fs/cgroup/cpuacct: no mount point specified.
2021-12-10T17:56:58.2418212Z umount: /sys/fs/cgroup/net_cls: no mount point specified.
2021-12-10T17:56:58.2418619Z umount: /sys/fs/cgroup/net_cls,net_prio: no mount point specified.
2021-12-10T17:56:58.2419008Z umount: /sys/fs/cgroup/net_prio: no mount point specified.
2021-12-10T17:56:58.2419377Z umount: /sys/fs/cgroup/systemd: no mount point specified.
2021-12-10T17:56:58.2419869Z + true
2021-12-10T17:56:58.2420073Z + true
2021-12-10T17:56:58.2420552Z + sudo LANG=C chroot ./fsroot-vs umount /proc
2021-12-10T17:56:58.2420985Z + true
2021-12-10T17:56:58.2421676Z [  FAIL LOG END  ] [ target/sonic-vs.img.gz ]
2021-12-10T17:56:58.2422213Z make: *** [slave.mk:989: target/sonic-vs.img.gz] Error 1
2021-12-10T17:57:00.2326960Z make[1]: *** [Makefile.work:304: target/sonic-vs.img.gz] Error 2
2021-12-10T17:57:00.2328324Z make[1]: Leaving directory '/agent/_work/2/s'
2021-12-10T17:57:00.2330988Z make: *** [Makefile:33: target/sonic-vs.img.gz] Error 2

@qiluo-msft qiluo-msft requested a review from lguohan as a code owner December 11, 2021 01:46
@qiluo-msft qiluo-msft requested a review from prsunny December 11, 2021 01:48
@qiluo-msft
Copy link
Collaborator Author

@kperumalbfn @reshmaintel Could you help check?

@qiluo-msft qiluo-msft merged commit cf4011d into master Dec 12, 2021
@qiluo-msft qiluo-msft deleted the revert-9238-sbld_srv6 branch December 12, 2021 20:16
@qiluo-msft qiluo-msft added the Request for 202111 Branch For PRs being requested for 202111 branch label Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants