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

[ARMHF] make test is failing when libyang built for arm 32bit arch armhf #1283

Closed
antony-rheneus opened this issue Nov 18, 2020 · 10 comments
Closed

Comments

@antony-rheneus
Copy link

antony-rheneus commented Nov 18, 2020

$ uname -a
Linux 9c9e26b49ab4 4.15.0-76-generic #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020 armv7l GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

Libyang Source Version:
Same issue seen in both git tags tags/v1.0-r4 and tags/v1.0.184

Build Environment: Docker multiarch/debian-debootstrap:armhf-buster

Error:-
cmake ..
make build-deb

ctest --output-on-failure

Test project /sonic/src/libyang/libyang-1.0.73/build
        Start   1: test_libyang
  1/112 Test   #1: test_libyang .....................***Failed    0.10 sec
[==========] Running 43 test(s).
[ RUN      ] test_ly_ctx_new
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:103: error: Failure!
[  FAILED  ] test_ly_ctx_new
[ RUN      ] test_ly_ctx_new_invalid
libyang[0]: Unable to use search directory "INVALID_PATH" (No such file or directory)
[       OK ] test_ly_ctx_new_invalid
[ RUN      ] test_ly_ctx_get_searchdirs
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:142: error: Failure!
[  FAILED  ] test_ly_ctx_get_searchdirs
[ RUN      ] test_ly_ctx_set_searchdir
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:168: error: Failure!
[  FAILED  ] test_ly_ctx_set_searchdir
[ RUN      ] test_ly_ctx_set_searchdir_invalid
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:200: error: Failure!
[  FAILED  ] test_ly_ctx_set_searchdir_invalid
[ RUN      ] test_ly_ctx_info
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_info
[ RUN      ] test_ly_ctx_new_ylmem
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_new_ylmem
[ RUN      ] test_ly_ctx_module_clb
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_module_clb
[ RUN      ] test_ly_ctx_get_module
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_get_module
[ RUN      ] test_ly_ctx_get_module_older
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_get_module_older
[ RUN      ] test_ly_ctx_load_module
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_load_module
[ RUN      ] test_ly_ctx_remove_module
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- Test failed with exception: Segmentation fault(11)
[  FAILED  ] test_ly_ctx_remove_module
[ RUN      ] test_ly_ctx_remove_module2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:619: error: Failure!
[  FAILED  ] test_ly_ctx_remove_module2
[ RUN      ] test_lys_set_enabled
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:646: error: Failure!
[  FAILED  ] test_lys_set_enabled
[ RUN      ] test_lys_set_disabled
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:676: error: Failure!
[  FAILED  ] test_lys_set_disabled
[ RUN      ] test_ly_ctx_clean
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- Test failed with exception: Segmentation fault(11)
[  FAILED  ] test_ly_ctx_clean
[ RUN      ] test_ly_ctx_get_module_by_ns
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_get_module_by_ns
[ RUN      ] test_ly_ctx_get_submodule
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_get_submodule
[ RUN      ] test_ly_ctx_get_submodule2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_get_submodule2
[ RUN      ] test_lys_find_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_find_path
[ RUN      ] test_ly_set_new
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_set_new
[ RUN      ] test_ly_set_add
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_set_add
[ RUN      ] test_ly_set_rm
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_set_rm
[ RUN      ] test_ly_set_rm_index
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_set_rm_index
[ RUN      ] test_ly_set_free
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_ly_set_free
[ RUN      ] test_ly_verb
[       OK ] test_ly_verb
[ RUN      ] test_ly_get_log_clb
[       OK ] test_ly_get_log_clb
[ RUN      ] test_ly_set_log_clb
[       OK ] test_ly_set_log_clb
[ RUN      ] test_ly_log_options
Could not run test: Test setup failed
[  ERROR   ] test_ly_log_options
[ RUN      ] test_ly_path_data2schema
Could not run test: Test setup failed
[  ERROR   ] test_ly_path_data2schema
[ RUN      ] test_ly_get_loaded_plugins
[  ERROR   ] --- plugins
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:1178: error: Failure!
[  FAILED  ] test_ly_get_loaded_plugins
[ RUN      ] test_ly_ctx_internal_modules_count
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:1230: error: Failure!
[  FAILED  ] test_ly_ctx_internal_modules_count
[ RUN      ] test_ly_ctx_set_allimplemented
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_set_allimplemented
[ RUN      ] test_ly_ctx_get_module_set_id
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_get_module_set_id
[ RUN      ] test_ly_ctx_get_module_iter
[       OK ] test_ly_ctx_get_module_iter
[ RUN      ] test_ly_ctx_set_trusted
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_set_trusted
[ RUN      ] test_ly_ctx_get_node
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_get_node
[ RUN      ] test_ly_ctx_find_path
Could not run test: Test setup failed
[  ERROR   ] test_ly_ctx_find_path
[ RUN      ] test_ly_ctx_destroy
[  ERROR   ] --- Test failed with exception: Segmentation fault(11)
[  FAILED  ] test_ly_ctx_destroy
[ RUN      ] test_ly_path_xml2json
Could not run test: Test setup failed
[  ERROR   ] test_ly_path_xml2json
[ RUN      ] test_ly_set_dup
Could not run test: Test setup failed
[  ERROR   ] test_ly_set_dup
[ RUN      ] test_ly_vecode
Could not run test: Test setup failed
[  ERROR   ] test_ly_vecode
[ RUN      ] test_ly_errmsg
Could not run test: Test setup failed
[  ERROR   ] test_ly_errmsg
[==========] 43 test(s) run.
[  PASSED  ] 5 test(s).
[  FAILED  ] 12 test(s), listed below:
[  FAILED  ] test_ly_ctx_new
[  FAILED  ] test_ly_ctx_get_searchdirs
[  FAILED  ] test_ly_ctx_set_searchdir
[  FAILED  ] test_ly_ctx_set_searchdir_invalid
[  FAILED  ] test_ly_ctx_remove_module
[  FAILED  ] test_ly_ctx_remove_module2
[  FAILED  ] test_lys_set_enabled
[  FAILED  ] test_lys_set_disabled
[  FAILED  ] test_ly_ctx_clean
[  FAILED  ] test_ly_get_loaded_plugins
[  FAILED  ] test_ly_ctx_internal_modules_count
[  FAILED  ] test_ly_ctx_destroy

 38 FAILED TEST(S)

        Start   2: test_tree_schema
  2/112 Test   #2: test_tree_schema .................***Failed    0.08 sec
[==========] Running 29 test(s).
[ RUN      ] test_lys_parse_mem
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid arguments (lys_parse_mem_()).
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_tree_schema.c:368: error: Failure!
[  FAILED  ] test_lys_parse_mem
[ RUN      ] test_lys_parse_fd
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid arguments (lys_parse_fd_()).
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_tree_schema.c:411: error: Failure!
[  FAILED  ] test_lys_parse_fd
[ RUN      ] test_lys_parse_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid arguments (lys_parse_path()).
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_tree_schema.c:464: error: Failure!
[  FAILED  ] test_lys_parse_path
[ RUN      ] test_lys_features_list
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_features_list
[ RUN      ] test_lys_features_enable
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_features_enable
[ RUN      ] test_lys_features_disable
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_features_disable
[ RUN      ] test_lys_features_state
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_features_state
[ RUN      ] test_lys_is_disabled
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_is_disabled
[ RUN      ] test_lys_getnext
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_getnext
[ RUN      ] test_lys_parent
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_parent
[ RUN      ] test_lys_set_private
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_set_private
[ RUN      ] test_lys_print_mem_tree
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_mem_tree
[ RUN      ] test_lys_print_mem_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_mem_yang
[ RUN      ] test_lys_print_mem_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_mem_yin
[ RUN      ] test_lys_print_mem_info
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_mem_info
[ RUN      ] test_lys_print_mem_jsons
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_mem_jsons
[ RUN      ] test_lys_print_fd_tree
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_fd_tree
[ RUN      ] test_lys_print_fd_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_fd_yang
[ RUN      ] test_lys_print_fd_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_fd_yin
[ RUN      ] test_lys_print_fd_info
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_fd_info
[ RUN      ] test_lys_print_fd_jsons
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_fd_jsons
[ RUN      ] test_lys_print_file_tree
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_file_tree
[ RUN      ] test_lys_print_file_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_file_yin
[ RUN      ] test_lys_print_file_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_file_yang
[ RUN      ] test_lys_print_file_info
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_file_info
[ RUN      ] test_lys_print_file_jsons
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_print_file_jsons
[ RUN      ] test_lys_find_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_find_path
[ RUN      ] test_lys_xpath_atomize
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_xpath_atomize
[ RUN      ] test_lys_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lys_path
[==========] 29 test(s) run.
[  PASSED  ] 0 test(s).
[  FAILED  ] 3 test(s), listed below:
[  FAILED  ] test_lys_parse_mem
[  FAILED  ] test_lys_parse_fd
[  FAILED  ] test_lys_parse_path

 29 FAILED TEST(S)

        Start   3: test_xml
  3/112 Test   #3: test_xml .........................***Failed    0.06 sec
[==========] Running 14 test(s).
[ RUN      ] test_lyxml_parse_mem
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_parse_mem
[ RUN      ] test_lyxml_free
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_free
[ RUN      ] test_lyxml_parse_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_parse_path
[ RUN      ] test_lyxml_print_file
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_print_file
[ RUN      ] test_lyxml_print_fd
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_print_fd
[ RUN      ] test_lyxml_print_mem
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_print_mem
[ RUN      ] test_lyxml_print_clb
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_print_clb
[ RUN      ] test_lyxml_unlink
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_unlink
[ RUN      ] test_lyxml_get_attr
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_get_attr
[ RUN      ] test_lyxml_get_ns
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_get_ns
[ RUN      ] test_lyxml_dup
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_dup
[ RUN      ] test_lyxml_free_withsiblings
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_free_withsiblings
[ RUN      ] test_lyxml_xmlns_wrong_format
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_xmlns_wrong_format
[ RUN      ] test_lyxml_xmlns_correct_format
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyxml_xmlns_correct_format
[==========] 14 test(s) run.
[  PASSED  ] 0 test(s).

        Start   4: test_dict
  4/112 Test   #4: test_dict ........................***Failed    0.05 sec
[==========] Running 4 test(s).
[ RUN      ] test_lydict_insert
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lydict_insert
[ RUN      ] test_lydict_insert_zc
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lydict_insert_zc
[ RUN      ] test_lydict_remove
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lydict_remove
[ RUN      ] test_similar_strings
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_similar_strings
[==========] 4 test(s) run.
[  PASSED  ] 0 test(s).

        Start   5: test_tree_data
  5/112 Test   #5: test_tree_data ...................***Failed    0.11 sec
[==========] Running 48 test(s).
[ RUN      ] test_lyd_parse_mem
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_tree_data.c:351: error: Failure!
[  FAILED  ] test_lyd_parse_mem
[ RUN      ] test_lyd_parse_fd
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_tree_data.c:402: error: Failure!
[  FAILED  ] test_lyd_parse_fd
[ RUN      ] test_lyd_parse_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_tree_data.c:442: error: Failure!
[  FAILED  ] test_lyd_parse_path
[ RUN      ] test_lyd_parse_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_tree_data.c:489: error: Failure!
[  FAILED  ] test_lyd_parse_xml
[ RUN      ] test_lyd_new
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_new
[ RUN      ] test_lyd_new_leaf
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_new_leaf
[ RUN      ] test_lyd_change_leaf
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_change_leaf
[ RUN      ] test_lyd_output_new_leaf
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_output_new_leaf
[ RUN      ] test_lyd_new_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_new_path
[ RUN      ] test_lyd_dup
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_dup
[ RUN      ] test_lyd_insert
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_insert
[ RUN      ] test_lyd_insert_sibling
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_insert_sibling
[ RUN      ] test_lyd_insert_before
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_insert_before
[ RUN      ] test_lyd_insert_after
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_insert_after
[ RUN      ] test_lyd_schema_sort
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_schema_sort
[ RUN      ] test_lyd_find_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_find_path
[ RUN      ] test_lyd_find_instance
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_find_instance
[ RUN      ] test_lyd_find_sibling
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_find_sibling
[ RUN      ] test_lyd_validate
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_validate
[ RUN      ] test_lyd_unlink
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_unlink
[ RUN      ] test_lyd_free
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_free
[ RUN      ] test_lyd_free_withsiblings
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_free_withsiblings
[ RUN      ] test_lyd_insert_attr
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_insert_attr
[ RUN      ] test_lyd_free_attr
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_free_attr
[ RUN      ] test_lyd_print_mem_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_mem_xml
[ RUN      ] test_lyd_print_mem_xml_format
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_mem_xml_format
[ RUN      ] test_lyd_print_mem_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_mem_json
[ RUN      ] test_lyd_print_fd_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_fd_xml
[ RUN      ] test_lyd_print_fd_xml_format
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_fd_xml_format
[ RUN      ] test_lyd_print_fd_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_fd_json
[ RUN      ] test_lyd_print_file_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_file_xml
[ RUN      ] test_lyd_print_file_xml_format
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_file_xml_format
[ RUN      ] test_lyd_print_file_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_file_json
[ RUN      ] test_lyd_print_clb_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_clb_xml
[ RUN      ] test_lyd_print_clb_xml_format
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_clb_xml_format
[ RUN      ] test_lyd_print_clb_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_clb_json
[ RUN      ] test_lyd_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_path
[ RUN      ] test_lyd_leaf_type
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_leaf_type
[ RUN      ] test_lyd_validation_dflt_empty_containers
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_validation_dflt_empty_containers
[ RUN      ] test_lyd_diff
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_diff
[ RUN      ] test_lyd_free_diff
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_free_diff
[ RUN      ] test_lyd_new_output
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_new_output
[ RUN      ] test_lyd_dup_withsiblings
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_dup_withsiblings
[ RUN      ] test_lyd_dup_to_ctx
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_dup_to_ctx
[ RUN      ] test_lyd_new_anydata
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_new_anydata
[ RUN      ] test_lyd_new_output_anydata
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_new_output_anydata
[ RUN      ] test_lyd_first_sibling
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_first_sibling
[ RUN      ] test_lyd_print_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_lyd_print_path
[==========] 48 test(s) run.
[  PASSED  ] 0 test(s).
[  FAILED  ] 4 test(s), listed below:
[  FAILED  ] test_lyd_parse_mem
[  FAILED  ] test_lyd_parse_fd
[  FAILED  ] test_lyd_parse_path
[  FAILED  ] test_lyd_parse_xml

 48 FAILED TEST(S)

        Start   6: test_tree_data_dup
  6/112 Test   #6: test_tree_data_dup ...............***Failed    0.05 sec
[==========] Running 3 test(s).
[ RUN      ] test_dup_to_ctx
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_dup_to_ctx
[ RUN      ] test_dup_to_ctx_bits
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_dup_to_ctx_bits
[ RUN      ] test_dup_to_ctx_leafrefs
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_dup_to_ctx_leafrefs
[==========] 3 test(s) run.
[  PASSED  ] 0 test(s).

        Start   7: test_tree_data_merge
  7/112 Test   #7: test_tree_data_merge .............***Failed    0.06 sec
[==========] Running 13 test(s).
[ RUN      ] test_merge
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge
[ RUN      ] test_merge2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge2
[ RUN      ] test_merge3
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge3
[ RUN      ] test_merge4
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge4
[ RUN      ] test_merge5
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge5
[ RUN      ] test_merge6
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge6
[ RUN      ] test_merge_dflt1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_dflt1
[ RUN      ] test_merge_dflt2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_dflt2
[ RUN      ] test_merge_to_trgctx1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_to_trgctx1
[ RUN      ] test_merge_to_trgctx2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_to_trgctx2
[ RUN      ] test_merge_to_ctx
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_to_ctx
[ RUN      ] test_merge_to_ctx_with_missing_schema
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_to_ctx_with_missing_schema
[ RUN      ] test_merge_leafrefs
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_leafrefs
[==========] 13 test(s) run.
[  PASSED  ] 0 test(s).

        Start   8: test_xpath
  8/112 Test   #8: test_xpath .......................***Failed    0.05 sec
[==========] Running 4 test(s).
[ RUN      ] test_invalid
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_invalid
[ RUN      ] test_simple
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_simple
[ RUN      ] test_advanced
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_advanced
[ RUN      ] test_functions_operators
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_functions_operators
[==========] 4 test(s) run.
[  PASSED  ] 0 test(s).

        Start   9: test_xpath_1.1
  9/112 Test   #9: test_xpath_1.1 ...................***Failed    0.06 sec
[==========] Running 14 test(s).
[ RUN      ] test_func_re_match
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_re_match
[ RUN      ] test_func_deref
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_deref
[ RUN      ] test_func_derived_from1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_derived_from1
[ RUN      ] test_func_derived_from2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_derived_from2
[ RUN      ] test_func_derived_from3
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_derived_from3
[ RUN      ] test_func_derived_from4
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_derived_from4
[ RUN      ] test_func_derived_from_or_self1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_derived_from_or_self1
[ RUN      ] test_func_derived_from_or_self2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_derived_from_or_self2
[ RUN      ] test_func_derived_from_or_self3
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_derived_from_or_self3
[ RUN      ] test_func_derived_from_or_self4
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_derived_from_or_self4
[ RUN      ] test_func_enum_value1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_enum_value1
[ RUN      ] test_func_enum_value2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_enum_value2
[ RUN      ] test_func_bit_is_set1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_bit_is_set1
[ RUN      ] test_func_bit_is_set2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_func_bit_is_set2
[==========] 14 test(s) run.
[  PASSED  ] 0 test(s).

        Start  10: test_diff
 10/112 Test  #10: test_diff ........................***Failed    0.06 sec
[==========] Running 12 test(s).
[ RUN      ] test_same
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_same
[ RUN      ] test_empty1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_empty1
[ RUN      ] test_empty2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_empty2
[ RUN      ] test_empty3
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_empty3
[ RUN      ] test_diff1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_diff1
[ RUN      ] test_diff2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_diff2
[ RUN      ] test_move1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_move1
[ RUN      ] test_move2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_move2
[ RUN      ] test_move3
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_move3
[ RUN      ] test_mix1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_mix1
[ RUN      ] test_mix2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_mix2
[ RUN      ] test_wd1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_wd1
[==========] 12 test(s) run.
[  PASSED  ] 0 test(s).

        Start  11: test_data_initialization
 11/112 Test  #11: test_data_initialization .........***Failed    0.05 sec
[==========] Running 5 test(s).
[ RUN      ] test_ctx_new_destroy
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_data_initialization.c:136: error: Failure!
[  FAILED  ] test_ctx_new_destroy
[ RUN      ] test_container_name
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_container_name
[ RUN      ] test_leaf_name
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_leaf_name
[ RUN      ] test_leaf_list_parameters
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_leaf_list_parameters
[ RUN      ] test_yanglibrary
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_yanglibrary
[==========] 5 test(s) run.
[  PASSED  ] 0 test(s).
[  FAILED  ] 1 test(s), listed below:
[  FAILED  ] test_ctx_new_destroy

 5 FAILED TEST(S)

        Start  12: test_leafref_remove
 12/112 Test  #12: test_leafref_remove ..............***Failed    0.07 sec
[==========] Running 3 test(s).
[ RUN      ] test_leafref_free
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_leafref_free
[ RUN      ] test_leafref_unlink
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_leafref_unlink
[ RUN      ] test_leafref_unlink2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_leafref_unlink2
[==========] 3 test(s) run.
[  PASSED  ] 0 test(s).

        Start  13: test_instid_remove
 13/112 Test  #13: test_instid_remove ...............***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] test_instid_unlink
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_instid_unlink
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  14: test_keys
 14/112 Test  #14: test_keys ........................***Failed    0.05 sec
[==========] Running 6 test(s).
[ RUN      ] test_keys_correct
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_keys_correct
[ RUN      ] test_keys_correct2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_keys_correct2
[ RUN      ] test_keys_missing
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_keys_missing
[ RUN      ] test_keys_missing2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_keys_missing2
[ RUN      ] test_keys_inorder
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_keys_inorder
[ RUN      ] test_keys_inorder2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_keys_inorder2
[==========] 6 test(s) run.
[  PASSED  ] 0 test(s).

        Start  15: test_autodel
 15/112 Test  #15: test_autodel .....................***Failed    0.05 sec
[==========] Running 4 test(s).
[ RUN      ] test_atob
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_atob
[ RUN      ] test_btoa
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_btoa
[ RUN      ] test_insert_fail
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_insert_fail
[ RUN      ] test_insert_correct
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_insert_correct
[==========] 4 test(s) run.
[  PASSED  ] 0 test(s).

        Start  16: test_when
 16/112 Test  #16: test_when ........................***Failed    0.06 sec
[==========] Running 8 test(s).
[ RUN      ] test_parse
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse
[ RUN      ] test_netconf_autodel
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_netconf_autodel
[ RUN      ] test_parse_noautodel
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse_noautodel
[ RUN      ] test_insert
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_insert
[ RUN      ] test_insert_noautodel
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_insert_noautodel
[ RUN      ] test_value_prefix
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_value_prefix
[ RUN      ] test_augment_choice
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_augment_choice
[ RUN      ] test_action
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_action
[==========] 8 test(s) run.
[  PASSED  ] 0 test(s).

        Start  17: test_when_1.1
 17/112 Test  #17: test_when_1.1 ....................***Failed    0.05 sec
[==========] Running 8 test(s).
[ RUN      ] test_unlink_uses
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unlink_uses
[ RUN      ] test_unlink_choice
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unlink_choice
[ RUN      ] test_unlink_case
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unlink_case
[ RUN      ] test_unlink_augment
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unlink_augment
[ RUN      ] test_dummy
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_dummy
[ RUN      ] test_dependency_noautodel
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_dependency_noautodel
[ RUN      ] test_dependency_circular
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_dependency_circular
[ RUN      ] test_unlink_all
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unlink_all
[==========] 8 test(s) run.
[  PASSED  ] 0 test(s).

        Start  18: test_must_1.1
 18/112 Test  #18: test_must_1.1 ....................***Failed    0.05 sec
[==========] Running 4 test(s).
[ RUN      ] test_dependency_rpc
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_dependency_rpc
[ RUN      ] test_dependency_action
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_dependency_action
[ RUN      ] test_inout
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_inout
[ RUN      ] test_notif
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_notif
[==========] 4 test(s) run.
[  PASSED  ] 0 test(s).

        Start  19: test_defaults
 19/112 Test  #19: test_defaults ....................***Failed    0.07 sec
[==========] Running 18 test(s).
[ RUN      ] test_empty
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_empty
[ RUN      ] test_empty_tag
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_empty_tag
[ RUN      ] test_status
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_status
[ RUN      ] test_trim1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_trim1
[ RUN      ] test_trim2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_trim2
[ RUN      ] test_df1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_df1
[ RUN      ] test_df2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_df2
[ RUN      ] test_df3
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_df3
[ RUN      ] test_df4
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_df4
[ RUN      ] test_rpc_input_default
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_rpc_input_default
[ RUN      ] test_rpc_output_default
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_rpc_output_default
[ RUN      ] test_rpc_augment
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_rpc_augment
[ RUN      ] test_notif_default
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_notif_default
[ RUN      ] test_val_diff
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_val_diff
[ RUN      ] test_feature
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_feature
[ RUN      ] test_leaflist_in10
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_leaflist_in10
[ RUN      ] test_leaflist_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_leaflist_yang
[ RUN      ] test_leaflist_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_leaflist_yin
[==========] 18 test(s) run.
[  PASSED  ] 0 test(s).

        Start  20: test_emptycont
 20/112 Test  #20: test_emptycont ...................***Failed    0.05 sec
[==========] Running 3 test(s).
[ RUN      ] test_parse
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse
[ RUN      ] test_parse_noautodel
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse_noautodel
[ RUN      ] test_parse_autodel
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse_autodel
[==========] 3 test(s) run.
[  PASSED  ] 0 test(s).

        Start  21: test_unique
 21/112 Test  #21: test_unique ......................***Failed    0.05 sec
[==========] Running 4 test(s).
[ RUN      ] test_un_correct
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_un_correct
[ RUN      ] test_un_defaults
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_un_defaults
[ RUN      ] test_un_empty
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_un_empty
[ RUN      ] test_schema_inpath
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_schema_inpath
[==========] 4 test(s) run.
[  PASSED  ] 0 test(s).

        Start  22: test_mandatory
 22/112 Test  #22: test_mandatory ...................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] test_mandatory
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_mandatory
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  23: test_json
 23/112 Test  #23: test_json ........................***Failed    0.05 sec
[==========] Running 4 test(s).
[ RUN      ] test_parse_if
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_json.c:512: error: Failure!Test failed with exception: Segmentation fault(11)Test teardown failed
[  ERROR   ] test_parse_if
[ RUN      ] test_parse_numbers
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_json.c:530: error: Failure!Test failed with exception: Segmentation fault(11)Test teardown failed
[  ERROR   ] test_parse_numbers
[ RUN      ] test_parse_error_numbers
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_json.c:584: error: Failure!Test failed with exception: Segmentation fault(11)Test teardown failed
[  ERROR   ] test_parse_error_numbers
[ RUN      ] test_parse_string
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_json.c:614: error: Failure!Test failed with exception: Segmentation fault(11)Test teardown failed
[  ERROR   ] test_parse_string
[==========] 4 test(s) run.
[  PASSED  ] 0 test(s).

        Start  24: test_parse_print
 24/112 Test  #24: test_parse_print .................***Failed    0.09 sec
[==========] Running 36 test(s).
[ RUN      ] test_parse_print_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:869: error: Failure!
[  FAILED  ] test_parse_print_yin
[ RUN      ] test_parse_print_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:921: error: Failure!
[  FAILED  ] test_parse_print_yang
[ RUN      ] test_parse_print_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse_print_xml
[ RUN      ] test_parse_print_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse_print_json
[ RUN      ] test_parse_print_keyless
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse_print_keyless
[ RUN      ] test_parse_print_lyb
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse_print_lyb
[ RUN      ] test_parse_print_oookeys_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse_print_oookeys_xml
[ RUN      ] test_parse_print_oookeys_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_parse_print_oookeys_json
[ RUN      ] test_parse_noncharacters_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:1655: error: Failure!
[  FAILED  ] test_parse_noncharacters_xml
[ RUN      ] test_parse_print_yin_error_prefix
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:119: error: Failure!
[  FAILED  ] test_parse_print_yin_error_prefix
[ RUN      ] test_parse_print_yin_error_contact
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:140: error: Failure!
[  FAILED  ] test_parse_print_yin_error_contact
[ RUN      ] test_parse_print_yin_error_organization
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:161: error: Failure!
[  FAILED  ] test_parse_print_yin_error_organization
[ RUN      ] test_parse_print_yin_error_description
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:182: error: Failure!
[  FAILED  ] test_parse_print_yin_error_description
[ RUN      ] test_parse_print_yin_error_reference
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:203: error: Failure!
[  FAILED  ] test_parse_print_yin_error_reference
[ RUN      ] test_parse_print_yin_error_yang_version
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:224: error: Failure!
[  FAILED  ] test_parse_print_yin_error_yang_version
[ RUN      ] test_parse_print_yin_error_namespace
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:242: error: Failure!
[  FAILED  ] test_parse_print_yin_error_namespace
[ RUN      ] test_parse_print_yin_error_when
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:263: error: Failure!
[  FAILED  ] test_parse_print_yin_error_when
[ RUN      ] test_parse_print_yin_error_container
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:290: error: Failure!
[  FAILED  ] test_parse_print_yin_error_container
[ RUN      ] test_parse_print_yin_error_leaflist
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:308: error: Failure!
[  FAILED  ] test_parse_print_yin_error_leaflist
[ RUN      ] test_parse_print_yin_error_leaf
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:335: error: Failure!
[  FAILED  ] test_parse_print_yin_error_leaf
[ RUN      ] test_parse_print_yin_error_list
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:359: error: Failure!
[  FAILED  ] test_parse_print_yin_error_list
[ RUN      ] test_parse_print_yin_error_choice
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:398: error: Failure!
[  FAILED  ] test_parse_print_yin_error_choice
[ RUN      ] test_parse_print_yin_error_uses
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:440: error: Failure!
[  FAILED  ] test_parse_print_yin_error_uses
[ RUN      ] test_parse_print_yin_error_anydata
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:467: error: Failure!
[  FAILED  ] test_parse_print_yin_error_anydata
[ RUN      ] test_parse_print_yin_error_rpc
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:494: error: Failure!
[  FAILED  ] test_parse_print_yin_error_rpc
[ RUN      ] test_parse_print_yin_error_action
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:518: error: Failure!
[  FAILED  ] test_parse_print_yin_error_action
[ RUN      ] test_parse_print_yin_error_notification
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:533: error: Failure!
[  FAILED  ] test_parse_print_yin_error_notification
[ RUN      ] test_parse_print_yin_error_augment
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:560: error: Failure!
[  FAILED  ] test_parse_print_yin_error_augment
[ RUN      ] test_parse_print_yin_error_grouping
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:578: error: Failure!
[  FAILED  ] test_parse_print_yin_error_grouping
[ RUN      ] test_parse_print_yin_error_revision
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:596: error: Failure!
[  FAILED  ] test_parse_print_yin_error_revision
[ RUN      ] test_parse_print_yin_error_extension
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:629: error: Failure!
[  FAILED  ] test_parse_print_yin_error_extension
[ RUN      ] test_parse_print_yin_error_import
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:653: error: Failure!
[  FAILED  ] test_parse_print_yin_error_import
[ RUN      ] test_parse_print_yin_error_include
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:686: error: Failure!
[  FAILED  ] test_parse_print_yin_error_include
[ RUN      ] test_parse_print_yin_error_identity
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:722: error: Failure!
[  FAILED  ] test_parse_print_yin_error_identity
[ RUN      ] test_parse_print_yin_error_feature
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:740: error: Failure!
[  FAILED  ] test_parse_print_yin_error_feature
[ RUN      ] test_parse_print_yin_error_deviation
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
[  ERROR   ] --- 0 == 0
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/data/test_parse_print.c:755: error: Failure!
[  FAILED  ] test_parse_print_yin_error_deviation
[==========] 36 test(s) run.
[  PASSED  ] 0 test(s).
[  FAILED  ] 30 test(s), listed below:
[  FAILED  ] test_parse_print_yin
[  FAILED  ] test_parse_print_yang
[  FAILED  ] test_parse_noncharacters_xml
[  FAILED  ] test_parse_print_yin_error_prefix
[  FAILED  ] test_parse_print_yin_error_contact
[  FAILED  ] test_parse_print_yin_error_organization
[  FAILED  ] test_parse_print_yin_error_description
[  FAILED  ] test_parse_print_yin_error_reference
[  FAILED  ] test_parse_print_yin_error_yang_version
[  FAILED  ] test_parse_print_yin_error_namespace
[  FAILED  ] test_parse_print_yin_error_when
[  FAILED  ] test_parse_print_yin_error_container
[  FAILED  ] test_parse_print_yin_error_leaflist
[  FAILED  ] test_parse_print_yin_error_leaf
[  FAILED  ] test_parse_print_yin_error_list
[  FAILED  ] test_parse_print_yin_error_choice
[  FAILED  ] test_parse_print_yin_error_uses
[  FAILED  ] test_parse_print_yin_error_anydata
[  FAILED  ] test_parse_print_yin_error_rpc
[  FAILED  ] test_parse_print_yin_error_action
[  FAILED  ] test_parse_print_yin_error_notification
[  FAILED  ] test_parse_print_yin_error_augment
[  FAILED  ] test_parse_print_yin_error_grouping
[  FAILED  ] test_parse_print_yin_error_revision
[  FAILED  ] test_parse_print_yin_error_extension
[  FAILED  ] test_parse_print_yin_error_import
[  FAILED  ] test_parse_print_yin_error_include
[  FAILED  ] test_parse_print_yin_error_identity
[  FAILED  ] test_parse_print_yin_error_feature
[  FAILED  ] test_parse_print_yin_error_deviation

 36 FAILED TEST(S)

        Start  25: test_values
 25/112 Test  #25: test_values ......................***Failed    0.06 sec
[==========] Running 9 test(s).
[ RUN      ] test_default_int
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_default_int
[ RUN      ] test_default_int_trusted
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_default_int_trusted
[ RUN      ] test_xmltojson_identityref
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_xmltojson_identityref
[ RUN      ] test_xmltojson_identityref2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_xmltojson_identityref2
[ RUN      ] test_xmltojson_instanceid
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_xmltojson_instanceid
[ RUN      ] test_canonical
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_canonical
[ RUN      ] test_validate_value
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_validate_value
[ RUN      ] test_xmltojson_anydata
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_xmltojson_anydata
[ RUN      ] test_xmltojson_extension
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_xmltojson_extension
[==========] 9 test(s) run.
[  PASSED  ] 0 test(s).

        Start  26: test_metadata
 26/112 Test  #26: test_metadata ....................***Failed    0.11 sec
[==========] Running 45 test(s).
[ RUN      ] test_leafref_type
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_leafref_type
[ RUN      ] test_unknown_metadata_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unknown_metadata_xml
[ RUN      ] test_unknown_metadata_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unknown_metadata_json
[ RUN      ] test_nc_filter1_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_filter1_xml
[ RUN      ] test_nc_filter2_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_filter2_xml
[ RUN      ] test_nc_filter3_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_filter3_xml
[ RUN      ] test_nc_filter4_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_filter4_xml
[ RUN      ] test_nc_filter5_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_filter5_xml
[ RUN      ] test_nc_filter6_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_filter6_xml
[ RUN      ] test_nc_filter7_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_filter7_xml
[ RUN      ] test_nc_editconfig1_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig1_xml
[ RUN      ] test_nc_editconfig1_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig1_json
[ RUN      ] test_nc_editconfig2_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig2_xml
[ RUN      ] test_nc_editconfig2_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig2_json
[ RUN      ] test_nc_editconfig3_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig3_xml
[ RUN      ] test_nc_editconfig3_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig3_json
[ RUN      ] test_nc_editconfig4_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig4_xml
[ RUN      ] test_nc_editconfig4_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig4_json
[ RUN      ] test_nc_editconfig5_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig5_xml
[ RUN      ] test_nc_editconfig5_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig5_json
[ RUN      ] test_nc_editconfig6_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig6_xml
[ RUN      ] test_nc_editconfig6_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig6_json
[ RUN      ] test_nc_editconfig7_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig7_xml
[ RUN      ] test_nc_editconfig7_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig7_json
[ RUN      ] test_nc_editconfig8_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig8_xml
[ RUN      ] test_nc_editconfig8_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig8_json
[ RUN      ] test_nc_editconfig9_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig9_xml
[ RUN      ] test_nc_editconfig9_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig9_json
[ RUN      ] test_nc_editconfig10_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig10_xml
[ RUN      ] test_nc_editconfig10_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig10_json
[ RUN      ] test_nc_editconfig11_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig11_xml
[ RUN      ] test_nc_editconfig11_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig11_json
[ RUN      ] test_nc_editconfig12_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig12_xml
[ RUN      ] test_nc_editconfig12_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig12_json
[ RUN      ] test_nc_editconfig13_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig13_xml
[ RUN      ] test_nc_editconfig13_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig13_json
[ RUN      ] test_nc_editconfig14_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig14_xml
[ RUN      ] test_nc_editconfig14_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig14_json
[ RUN      ] test_nc_editconfig15_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig15_xml
[ RUN      ] test_nc_editconfig15_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig15_json
[ RUN      ] test_nc_editconfig16_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig16_xml
[ RUN      ] test_nc_editconfig16_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig16_json
[ RUN      ] test_nc_editconfig17_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig17_xml
[ RUN      ] test_nc_editconfig17_json
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig17_json
[ RUN      ] test_nc_editconfig18_xml
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_nc_editconfig18_xml
[==========] 45 test(s) run.
[  PASSED  ] 0 test(s).

        Start  27: test_yangtypes_xpath
 27/112 Test  #27: test_yangtypes_xpath .............***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] test_acm_yangtypes_xpath
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_acm_yangtypes_xpath
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  28: test_yang_data
 28/112 Test  #28: test_yang_data ...................***Failed    0.06 sec
[==========] Running 5 test(s).
[ RUN      ] test_new_path
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_new_path
[ RUN      ] test_new_yangdata
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_new_yangdata
[ RUN      ] test_path_yangdata
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_path_yangdata
[ RUN      ] test_validate_yangdata
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_validate_yangdata
[ RUN      ] test_mem_yangdata
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_mem_yangdata
[==========] 5 test(s) run.
[  PASSED  ] 0 test(s).

        Start  29: test_yang_data_ns
 29/112 Test  #29: test_yang_data_ns ................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] test_anydata_ns
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_anydata_ns
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  30: test_unknown_element
 30/112 Test  #30: test_unknown_element .............***Failed    0.06 sec
[==========] Running 5 test(s).
[ RUN      ] test_ok_strict
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_ok_strict
[ RUN      ] test_unknown_namespace_xml_strict
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unknown_namespace_xml_strict
[ RUN      ] test_unknown_namespace_xml_nonstrict
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unknown_namespace_xml_nonstrict
[ RUN      ] test_unknown_nested_element_xml_strict
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unknown_nested_element_xml_strict
[ RUN      ] test_unknown_nested_element_xml_nonstrict
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_unknown_nested_element_xml_nonstrict
[==========] 5 test(s) run.
[  PASSED  ] 0 test(s).

        Start  31: test_user_types
 31/112 Test  #31: test_user_types ..................***Failed    0.04 sec
[==========] Running 2 test(s).
[ RUN      ] test_yang_types
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_yang_types
[ RUN      ] test_inet_types
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_inet_types
[==========] 2 test(s) run.
[  PASSED  ] 0 test(s).

        Start  32: test_print_transform
 32/112 Test  #32: test_print_transform .............***Failed    0.05 sec
[==========] Running 2 test(s).
[ RUN      ] test_modules
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_modules
[ RUN      ] test_modules_2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_modules_2
[==========] 2 test(s) run.
[  PASSED  ] 0 test(s).

        Start  33: test_ietf
 33/112 Test  #33: test_ietf ........................***Failed    0.05 sec
[==========] Running 8 test(s).
[ RUN      ] test_modules
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_modules
[ RUN      ] test_modules
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_modules
[ RUN      ] compare_modules
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
[       OK ] compare_modules
[ RUN      ] compare_modules
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
[       OK ] compare_modules
[ RUN      ] test_modules
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_modules
[ RUN      ] test_modules
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_modules
[ RUN      ] compare_modules
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
[       OK ] compare_modules
[ RUN      ] compare_modules
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
Compare "" module ... ok
[       OK ] compare_modules
[==========] 8 test(s) run.
[  PASSED  ] 4 test(s).

        Start  34: test_augment
 34/112 Test  #34: test_augment .....................***Failed    0.07 sec
[==========] Running 23 test(s).
[ RUN      ] test_target_include_submodule
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_target_include_submodule
[ RUN      ] test_leafref
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_leafref
[ RUN      ] test_target_augment
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_target_augment
[ RUN      ] test_unres_augment
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_unres_augment
[ RUN      ] test_import_augment_target
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_import_augment_target
[ RUN      ] test_leafref_w_feature1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_leafref_w_feature1
[ RUN      ] test_leafref_w_feature2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_leafref_w_feature2
[ RUN      ] test_leafref_w_feature3
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_leafref_w_feature3
[ RUN      ] test_imp_aug
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_imp_aug
[ RUN      ] test_import_augment_leafref_implemented
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_import_augment_leafref_implemented
[ RUN      ] test_import_augment_leafref_imported
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_import_augment_leafref_imported
[ RUN      ] test_target_include_submodule
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_target_include_submodule
[ RUN      ] test_leafref
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_leafref
[ RUN      ] test_target_augment
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_target_augment
[ RUN      ] test_unres_augment
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_unres_augment
[ RUN      ] test_import_augment_target
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_import_augment_target
[ RUN      ] test_leafref_w_feature1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_leafref_w_feature1
[ RUN      ] test_leafref_w_feature2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_leafref_w_feature2
[ RUN      ] test_leafref_w_feature3
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_leafref_w_feature3
[ RUN      ] test_imp_aug
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_imp_aug
[ RUN      ] test_import_augment_leafref_implemented
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_import_augment_leafref_implemented
[ RUN      ] test_import_augment_leafref_imported
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_import_augment_leafref_imported
[ RUN      ] compare_output
[  ERROR   ] --- yang_modules[i]
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/schema/test_augment.c:449: error: Failure!
Compare "a" modules print by yang_print ... [  FAILED  ] compare_output
[==========] 23 test(s) run.
[  PASSED  ] 0 test(s).
[  FAILED  ] 1 test(s), listed below:
[  FAILED  ] compare_output

 23 FAILED TEST(S)

        Start  35: test_deviation
 35/112 Test  #35: test_deviation ...................***Failed    0.04 sec
[==========] Running 2 test(s).
[ RUN      ] test_deviation
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_deviation
[ RUN      ] test_augment_deviation
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_augment_deviation
[==========] 2 test(s) run.
[  PASSED  ] 0 test(s).

        Start  36: test_refine
 36/112 Test  #36: test_refine ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] test_refine
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_refine
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  37: test_typedef
 37/112 Test  #37: test_typedef .....................***Failed    0.07 sec
[==========] Running 23 test(s).
[ RUN      ] test_typedef_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_yin
[ RUN      ] test_typedef_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_yang
[ RUN      ] test_typedef_11in10
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11in10
[ RUN      ] test_typedef_11_enums_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_enums_yin
[ RUN      ] test_typedef_11_enums_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_enums_yang
[ RUN      ] test_typedef_11_bits_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_bits_yin
[ RUN      ] test_typedef_11_bits_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_bits_yang
[ RUN      ] test_typedef_11_iff_ident_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_iff_ident_yin
[ RUN      ] test_typedef_11_iff_ident_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_iff_ident_yang
[ RUN      ] test_typedef_11_iff_enums_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_iff_enums_yin
[ RUN      ] test_typedef_11_iff_enums_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_iff_enums_yang
[ RUN      ] test_typedef_11_iff_bits_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_iff_bits_yin
[ RUN      ] test_typedef_11_iff_bits_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_iff_bits_yang
[ RUN      ] test_typedef_11_pattern_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_pattern_yin
[ RUN      ] test_typedef_11_pattern_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_pattern_yang
[ RUN      ] test_typedef_11_multidents_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_multidents_yin
[ RUN      ] test_typedef_11_multidents_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_multidents_yang
[ RUN      ] test_typedef_11_union_leafref_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_union_leafref_yin
[ RUN      ] test_typedef_11_union_leafref_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_union_leafref_yang
[ RUN      ] test_typedef_11_union_empty_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_union_empty_yin
[ RUN      ] test_typedef_11_union_empty_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_11_union_empty_yang
[ RUN      ] test_typedef_patterns_optimizations_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_patterns_optimizations_yin
[ RUN      ] test_typedef_patterns_optimizations_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_typedef_patterns_optimizations_yang
[==========] 23 test(s) run.
[  PASSED  ] 0 test(s).

        Start  38: test_import
 38/112 Test  #38: test_import ......................***Failed    0.05 sec
[==========] Running 4 test(s).
[ RUN      ] test_mult_revisions
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_mult_revisions
[ RUN      ] test_circular_import
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_circular_import
[ RUN      ] test_autoimplement_augment_import
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_autoimplement_augment_import
[ RUN      ] test_autoimplement_leafref_import
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_autoimplement_leafref_import
[==========] 4 test(s) run.
[  PASSED  ] 0 test(s).

        Start  39: test_include
 39/112 Test  #39: test_include .....................***Failed    0.05 sec
[==========] Running 2 test(s).
[ RUN      ] test_mult_revisions
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_mult_revisions
[ RUN      ] test_circular_include
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_circular_include
[==========] 2 test(s) run.
[  PASSED  ] 0 test(s).

        Start  40: test_feature
 40/112 Test  #40: test_feature .....................***Failed    0.06 sec
[==========] Running 9 test(s).
[ RUN      ] test_fullset
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: ctx
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/schema/test_feature.c:41: error: Failure!Test setup failed
[  ERROR   ] test_fullset
[ RUN      ] test_fullset
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: ctx
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/schema/test_feature.c:53: error: Failure!Test setup failed
[  ERROR   ] test_fullset
[ RUN      ] test_circle1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: ctx
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/schema/test_feature.c:53: error: Failure!Test setup failed
[  ERROR   ] test_circle1
[ RUN      ] test_circle2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: ctx
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/schema/test_feature.c:53: error: Failure!Test setup failed
[  ERROR   ] test_circle2
[ RUN      ] test_inval_expr1
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: ctx
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/schema/test_feature.c:53: error: Failure!Test setup failed
[  ERROR   ] test_inval_expr1
[ RUN      ] test_inval_expr2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: ctx
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/schema/test_feature.c:53: error: Failure!Test setup failed
[  ERROR   ] test_inval_expr2
[ RUN      ] test_inval_expr3
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: ctx
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/schema/test_feature.c:53: error: Failure!Test setup failed
[  ERROR   ] test_inval_expr3
[ RUN      ] test_inval_expr4
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: ctx
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/schema/test_feature.c:53: error: Failure!Test setup failed
[  ERROR   ] test_inval_expr4
[ RUN      ] test_inval_expr5
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: ctx
[   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/schema/test_feature.c:53: error: Failure!Test setup failed
[  ERROR   ] test_inval_expr5
[==========] 9 test(s) run.
[  PASSED  ] 0 test(s).

        Start  41: test_conformance
 41/112 Test  #41: test_conformance .................***Failed    0.06 sec
[==========] Running 9 test(s).
[ RUN      ] test_implemented1_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_implemented1_yin
[ RUN      ] test_implemented1_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_implemented1_yang
[ RUN      ] test_implemented2_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_implemented2_yin
[ RUN      ] test_implemented2_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_implemented2_yang
[ RUN      ] test_implemented_info_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_implemented_info_yin
[ RUN      ] test_implemented_info_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_implemented_info_yang
[ RUN      ] test_revision_date_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_revision_date_yin
[ RUN      ] test_revision_date_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_revision_date_yang
[ RUN      ] test_issue_already_implemented
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_issue_already_implemented
[==========] 9 test(s) run.
[  PASSED  ] 0 test(s).

        Start  42: test_leaflist
 42/112 Test  #42: test_leaflist ....................***Failed    0.05 sec
[==========] Running 2 test(s).
[ RUN      ] test_multdfltvalues_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_multdfltvalues_yin
[ RUN      ] test_multdfltvalues_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_multdfltvalues_yang
[==========] 2 test(s) run.
[  PASSED  ] 0 test(s).

        Start  43: test_status
 43/112 Test  #43: test_status ......................***Failed    0.05 sec
[==========] Running 2 test(s).
[ RUN      ] test_status_yin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_status_yin
[ RUN      ] test_status_yang
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_status_yang
[==========] 2 test(s) run.
[  PASSED  ] 0 test(s).

        Start  44: test_printer
 44/112 Test  #44: test_printer .....................***Failed    0.05 sec
[==========] Running 10 test(s).
[ RUN      ] test_tree
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_tree
[ RUN      ] test_tree_rfc
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_tree_rfc
[ RUN      ] test_tree_rfc_subtree
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_tree_rfc_subtree
[ RUN      ] test_tree_rfc_line_length
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_tree_rfc_line_length
[ RUN      ] test_parse_yin_with_unique
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_parse_yin_with_unique
[ RUN      ] test_parse_yang_with_unique
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_parse_yang_with_unique
[ RUN      ] test_parse_yin_with_submodule_types
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_parse_yin_with_submodule_types
[ RUN      ] test_parse_yang_with_submodule_types
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_parse_yang_with_submodule_types
[ RUN      ] test_parse_yin_with_submodule_grouping_idref_default
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_parse_yin_with_submodule_grouping_idref_default
[ RUN      ] test_parse_yang_with_submodule_grouping_idref_default
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Could not run test: Test setup failed
[  ERROR   ] test_parse_yang_with_submodule_grouping_idref_default
[==========] 10 test(s) run.
[  PASSED  ] 0 test(s).

        Start  45: test_invalid
 45/112 Test  #45: test_invalid .....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] test_case_act_notif
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_case_act_notif
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  46: test_sec6_1_1
 46/112 Test  #46: test_sec6_1_1 ....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_NAME
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_NAME
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  47: test_sec6_2
 47/112 Test  #47: test_sec6_2 ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_NAME
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_NAME
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  48: test_sec5_1
 48/112 Test  #48: test_sec5_1 ......................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_IMPORT_INCLUDE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_IMPORT_INCLUDE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  49: test_sec5_5
 49/112 Test  #49: test_sec5_5 ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_TYPEDEF_GROUPING
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_TYPEDEF_GROUPING
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  50: test_sec6_1_3
 50/112 Test  #50: test_sec6_1_3 ....................***Failed    0.04 sec
[==========] Running 4 test(s).
[ RUN      ] TEST_QUOTING
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_QUOTING
[ RUN      ] TEST_ESCAPE_CHARACTER_IN_DOUBLE_QUOTING
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_ESCAPE_CHARACTER_IN_DOUBLE_QUOTING
[ RUN      ] TEST_DOUBLE_QUOTING
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_DOUBLE_QUOTING
[ RUN      ] TEST_ILLEGAL_STRING
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_ILLEGAL_STRING
[==========] 4 test(s) run.
[  PASSED  ] 0 test(s).

        Start  51: test_sec6_2_1
 51/112 Test  #51: test_sec6_2_1 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_NAME
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_NAME
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  52: test_sec7_1
 52/112 Test  #52: test_sec7_1 ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_MODULE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_MODULE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  53: test_sec7_2
 53/112 Test  #53: test_sec7_2 ......................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_MODULE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_MODULE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  54: test_sec7_3
 54/112 Test  #54: test_sec7_3 ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_MODULE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_MODULE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  55: test_sec7_3_1
 55/112 Test  #55: test_sec7_3_1 ....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_MODULE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_MODULE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  56: test_sec7_3_4
 56/112 Test  #56: test_sec7_3_4 ....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_MODULE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_MODULE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  57: test_sec7_5_2
 57/112 Test  #57: test_sec7_5_2 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_MODULE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_MODULE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  58: test_sec7_5_4
 58/112 Test  #58: test_sec7_5_4 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_MODULE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_MODULE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  59: test_sec7_5_5
 59/112 Test  #59: test_sec7_5_5 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_CONTAINER_PRESENCE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_CONTAINER_PRESENCE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  60: test_sec7_6_2
 60/112 Test  #60: test_sec7_6_2 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LEAF
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LEAF
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  61: test_sec7_6_3
 61/112 Test  #61: test_sec7_6_3 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LEAF
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LEAF
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  62: test_sec7_6_4
 62/112 Test  #62: test_sec7_6_4 ....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LEAF_DEFAULT
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LEAF_DEFAULT
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  63: test_sec7_6_5
 63/112 Test  #63: test_sec7_6_5 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LEAF_MANDATORY
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LEAF_MANDATORY
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  64: test_sec7_7_2
 64/112 Test  #64: test_sec7_7_2 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LEAF_MANDATORY
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LEAF_MANDATORY
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  65: test_sec7_7_3
 65/112 Test  #65: test_sec7_7_3 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LEAFLIST_MINELEMENTS
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LEAFLIST_MINELEMENTS
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  66: test_sec7_7_4
 66/112 Test  #66: test_sec7_7_4 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LEAFLIST_MINELEMENTS
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LEAFLIST_MINELEMENTS
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  67: test_sec7_7_5
 67/112 Test  #67: test_sec7_7_5 ....................***Failed    0.06 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LEAFLIST_ORDERED
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LEAFLIST_ORDERED
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  68: test_sec7_8_1
 68/112 Test  #68: test_sec7_8_1 ....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LIST
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LIST
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  69: test_sec7_8_2
 69/112 Test  #69: test_sec7_8_2 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LIST_KEYS
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LIST_KEYS
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  70: test_sec7_8_3
 70/112 Test  #70: test_sec7_8_3 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LIST_UNIQUE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LIST_UNIQUE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  71: test_sec7_9_1
 71/112 Test  #71: test_sec7_9_1 ....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_CHOICE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_CHOICE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  72: test_sec7_9_2
 72/112 Test  #72: test_sec7_9_2 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_CHOICE_CASE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_CHOICE_CASE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  73: test_sec7_9_3
 73/112 Test  #73: test_sec7_9_3 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LEAF_DEFAULT
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LEAF_DEFAULT
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  74: test_sec7_9_4
 74/112 Test  #74: test_sec7_9_4 ....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_CHOICE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_CHOICE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  75: test_sec7_10
 75/112 Test  #75: test_sec7_10 .....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_ANYXML
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_ANYXML
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  76: test_sec7_11
 76/112 Test  #76: test_sec7_11 .....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_GROUPING
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_GROUPING
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  77: test_sec7_12_1
 77/112 Test  #77: test_sec7_12_1 ...................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_USES
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_USES
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  78: test_sec7_12_2
 78/112 Test  #78: test_sec7_12_2 ...................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_USES_REFINE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_USES_REFINE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  79: test_sec7_13_1
 79/112 Test  #79: test_sec7_13_1 ...................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_RPC
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_RPC
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  80: test_sec7_13_2
 80/112 Test  #80: test_sec7_13_2 ...................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_RPC_INPUT
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_RPC_INPUT
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  81: test_sec7_13_3
 81/112 Test  #81: test_sec7_13_3 ...................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_RPC_OUTPUT
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_RPC_OUTPUT
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  82: test_sec7_14
 82/112 Test  #82: test_sec7_14 .....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_NOTIFICATION
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_NOTIFICATION
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  83: test_sec7_15
 83/112 Test  #83: test_sec7_15 .....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_AUGMENT
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_AUGMENT
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  84: test_sec7_15_1
 84/112 Test  #84: test_sec7_15_1 ...................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_ACTION
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_ACTION
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  85: test_sec7_16_1
 85/112 Test  #85: test_sec7_16_1 ...................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_IDENTITY
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_IDENTITY
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  86: test_sec7_16_2
 86/112 Test  #86: test_sec7_16_2 ...................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_IDENTITY_BASE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_IDENTITY_BASE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  87: test_sec7_18_1
 87/112 Test  #87: test_sec7_18_1 ...................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_FEATURE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_FEATURE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  88: test_sec7_18_2
 88/112 Test  #88: test_sec7_18_2 ...................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_IFFEATURE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_IFFEATURE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  89: test_sec7_18_3_1
 89/112 Test  #89: test_sec7_18_3_1 .................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_DEVIATION
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_DEVIATION
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  90: test_sec7_18_3_2
 90/112 Test  #90: test_sec7_18_3_2 .................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_DEVIATION
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_DEVIATION
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  91: test_sec7_19_1
 91/112 Test  #91: test_sec7_19_1 ...................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_CONFIG
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_CONFIG
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  92: test_sec7_19_2
 92/112 Test  #92: test_sec7_19_2 ...................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_STATUS
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_STATUS
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  93: test_sec7_19_5
 93/112 Test  #93: test_sec7_19_5 ...................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_WHEN
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_WHEN
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  94: test_sec9_2
 94/112 Test  #94: test_sec9_2 ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_RANGE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_RANGE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  95: test_sec9_3
 95/112 Test  #95: test_sec9_3 ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_DECIMAL64
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_DECIMAL64
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  96: test_sec9_4_4
 96/112 Test  #96: test_sec9_4_4 ....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_STRING_LENGTH
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_STRING_LENGTH
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  97: test_sec9_4_6
 97/112 Test  #97: test_sec9_4_6 ....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_STRING_PATTERN
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_STRING_PATTERN
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  98: test_sec9_5
 98/112 Test  #98: test_sec9_5 ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_BOOLEAN
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_BOOLEAN
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start  99: test_sec9_6
 99/112 Test  #99: test_sec9_6 ......................***Failed    0.06 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_ENUM
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_ENUM
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start 100: test_sec9_7
100/112 Test #100: test_sec9_7 ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_BITS
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_BITS
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start 101: test_sec9_8
101/112 Test #101: test_sec9_8 ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_BINARY
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_BINARY
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start 102: test_sec9_9
102/112 Test #102: test_sec9_9 ......................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_LEAFREF
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_LEAFREF
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start 103: test_sec9_10
103/112 Test #103: test_sec9_10 .....................***Failed    0.04 sec
[==========] Running 2 test(s).
[ RUN      ] TEST_IDENTITYREF
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_IDENTITYREF
[ RUN      ] TEST_IDENTITYREF2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_IDENTITYREF2
[==========] 2 test(s) run.
[  PASSED  ] 0 test(s).

        Start 104: test_sec9_11
104/112 Test #104: test_sec9_11 .....................***Failed    0.04 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_EMPTY
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_EMPTY
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start 105: test_sec9_12
105/112 Test #105: test_sec9_12 .....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_UNION
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_UNION
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start 106: test_sec9_13
106/112 Test #106: test_sec9_13 .....................***Failed    0.05 sec
[==========] Running 1 test(s).
[ RUN      ] TEST_INSTANCE
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] TEST_INSTANCE
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).

        Start 107: test_lyb
107/112 Test #107: test_lyb .........................***Failed    0.06 sec
[==========] Running 14 test(s).
[ RUN      ] test_ietf_interfaces
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_ietf_interfaces
[ RUN      ] test_origin
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_origin
[ RUN      ] test_statements
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_statements
[ RUN      ] test_types
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_types
[ RUN      ] test_annotations
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_annotations
[ RUN      ] test_similar_annot_names
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_similar_annot_names
[ RUN      ] test_many_child_annot
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_many_child_annot
[ RUN      ] test_union
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_union
[ RUN      ] test_union2
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_union2
[ RUN      ] test_collisions
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_collisions
[ RUN      ] test_anydata
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_anydata
[ RUN      ] test_submodule_feature
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_submodule_feature
[ RUN      ] test_coliding_augments
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_coliding_augments
[ RUN      ] test_leafrefs
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_leafrefs
[==========] 14 test(s) run.
[  PASSED  ] 0 test(s).

        Start 108: test_hash_table
108/112 Test #108: test_hash_table ..................   Passed    0.03 sec
        Start 109: test_state_lists
109/112 Test #109: test_state_lists .................***Failed    0.06 sec
[==========] Running 9 test(s).
[ RUN      ] test_hash
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_hash
[ RUN      ] test_merge_same
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_same
[ RUN      ] test_merge_equal_leaflist
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_equal_leaflist
[ RUN      ] test_merge_equal_list
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_equal_list
[ RUN      ] test_merge_nonequal_list
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_merge_nonequal_list
[ RUN      ] test_diff_same
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_diff_same
[ RUN      ] test_diff_equal_leaflist
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_diff_equal_leaflist
[ RUN      ] test_diff_equal_list
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_diff_equal_list
[ RUN      ] test_diff_nonequal_list
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
Failed to create context.
Could not run test: Test setup failed
[  ERROR   ] test_diff_nonequal_list
[==========] 9 test(s) run.
[  PASSED  ] 0 test(s).

        Start 110: cpp_test_libyang
110/112 Test #110: cpp_test_libyang .................***Failed    0.09 sec
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Unable to use search directory "INVALID_PATH" (No such file or directory)
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
�[1;31m{ summary} 1 tests failed (4.17%)�[0m
�[0;32m{ running}�[0m test_ly_ctx_new
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_new_invalid
�[0;32m{      ok}�[0m test_ly_ctx_new_invalid
�[0;32m{ running}�[0m test_ly_ctx_get_searchdirs
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_set_searchdir
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_set_searchdir_invalid
�[1;31m{  failed} test_ly_ctx_set_searchdir_invalid�[0m
           �[1;31mAssertion failed: strstr(e.what(), new_yang_folder) != NULL�[0m
           �[1;31m/sonic/src/libyang/libyang-1.0.73/swig/cpp/tests/test_libyang.cpp:126�[0m
�[0;32m{ running}�[0m test_ly_ctx_info
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_load_module_invalid
�[1;31m{  failed} test_ly_ctx_load_module_invalid�[0m
           �[1;31mAssertion failed: strstr(e.what(), "invalid") != NULL�[0m
           �[1;31m/sonic/src/libyang/libyang-1.0.73/swig/cpp/tests/test_libyang.cpp:157�[0m
�[0;32m{ running}�[0m test_ly_ctx_load_get_module
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_get_module_older
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_get_module_by_ns
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_clean
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_module_path
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_module_path_invalid
�[1;31m{  failed} test_ly_ctx_parse_module_path_invalid�[0m
           �[1;31mAssertion failed: strstr(e.what(), "INVALID_YANG_FILE") != NULL�[0m
           �[1;31m/sonic/src/libyang/libyang-1.0.73/swig/cpp/tests/test_libyang.cpp:321�[0m
�[0;32m{ running}�[0m test_ly_ctx_get_submodule
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_get_submodule2
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_find_path
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_set
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_new_ylpath
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_new_ylmem
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_get_module_iter
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_get_disabled_module_iter
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_data_instantiables
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_get_node
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_module_impl_callback

        Start 111: cpp_test_tree_data
111/112 Test #111: cpp_test_tree_data ...............***Failed    0.08 sec
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
�[1;31m{ summary} 1 tests failed (4.00%)�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_data_mem
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_data_fd
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_data_path
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_data_path_invalid
�[1;31m{  failed} test_ly_ctx_parse_data_path_invalid�[0m
           �[1;31mAssertion failed: strstr(e.what(), "INVALID_PATH") != NULL�[0m
           �[1;31m/sonic/src/libyang/libyang-1.0.73/swig/cpp/tests/test_tree_data.cpp:216�[0m
�[0;32m{ running}�[0m test_ly_data_node
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_new_path
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_insert
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_insert_sibling
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_insert_before
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_insert_after
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_schema_sort
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_find_path
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_find_instance
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_validate_ctx
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_unlink
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_print_mem_xml
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_print_mem_xml_format
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_print_mem_json
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_path
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_leaf
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_anydata
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_dup
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_dup_to_ctx
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_validate_node
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_data_node_validate_value
�[1;31m{  failed} No Context�[0m

        Start 112: cpp_test_tree_schema
112/112 Test #112: cpp_test_tree_schema .............***Failed    0.08 sec
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
�[0;32m{ running}�[0m test_ly_ctx_parse_module_mem
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_module_mem_invalid
�[0;33m{    info} �[0mActual values: Module parsing failed. != No Context
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
�[1;31m{  failed} test_ly_ctx_parse_module_mem_invalid�[0m
           �[1;31mAssertion failed: "Module parsing failed." == e.what()�[0m
           �[1;31m/sonic/src/libyang/libyang-1.0.73/swig/cpp/tests/test_tree_schema.cpp:321�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_module_fd
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_module_fd_invalid
�[0;33m{    info} �[0mActual values: Module parsing failed. != No Context
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
�[1;31m{  failed} test_ly_ctx_parse_module_fd_invalid�[0m
           �[1;31mAssertion failed: "Module parsing failed." == e.what()�[0m
           �[1;31m/sonic/src/libyang/libyang-1.0.73/swig/cpp/tests/test_tree_schema.cpp:369�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_module_path
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_ctx_parse_module_path_invalid
�[0;33m{    info} �[0mActual values: Module parsing failed. != No Context
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
libyang[1]: Failed to open libyang user types plugins directory "/usr/local/lib/libyang1/user_types" (No such file or directory).
libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
libyang[0]: Module "yang" parsing failed.
�[1;31m{ summary} 1 tests failed (7.14%)�[0m
�[1;31m{  failed} test_ly_ctx_parse_module_path_invalid�[0m
           �[1;31mAssertion failed: "Module parsing failed." == e.what()�[0m
           �[1;31m/sonic/src/libyang/libyang-1.0.73/swig/cpp/tests/test_tree_schema.cpp:410�[0m
�[0;32m{ running}�[0m test_ly_module_print_mem_tree
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_module_print_mem_yang
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_module_print_mem_yin
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_schema_node_find_path
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_schema_node_path
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_module_data_instatiables
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_ly_schema_child_instatiables
�[1;31m{  failed} No Context�[0m
�[0;32m{ running}�[0m test_iffeature
�[1;31m{  failed} No Context�[0m


1% tests passed, 111 tests failed out of 112

Total Test time (real) =   6.17 sec

The following tests FAILED:
	  1 - test_libyang (Failed)
	  2 - test_tree_schema (Failed)
	  3 - test_xml (Failed)
	  4 - test_dict (Failed)
	  5 - test_tree_data (Failed)
	  6 - test_tree_data_dup (Failed)
	  7 - test_tree_data_merge (Failed)
	  8 - test_xpath (Failed)
	  9 - test_xpath_1.1 (Failed)
	 10 - test_diff (Failed)
	 11 - test_data_initialization (Failed)
	 12 - test_leafref_remove (Failed)
	 13 - test_instid_remove (Failed)
	 14 - test_keys (Failed)
	 15 - test_autodel (Failed)
	 16 - test_when (Failed)
	 17 - test_when_1.1 (Failed)
	 18 - test_must_1.1 (Failed)
	 19 - test_defaults (Failed)
	 20 - test_emptycont (Failed)
	 21 - test_unique (Failed)
	 22 - test_mandatory (Failed)
	 23 - test_json (Failed)
	 24 - test_parse_print (Failed)
	 25 - test_values (Failed)
	 26 - test_metadata (Failed)
	 27 - test_yangtypes_xpath (Failed)
	 28 - test_yang_data (Failed)
	 29 - test_yang_data_ns (Failed)
	 30 - test_unknown_element (Failed)
	 31 - test_user_types (Failed)
	 32 - test_print_transform (Failed)
	 33 - test_ietf (Failed)
	 34 - test_augment (Failed)
	 35 - test_deviation (Failed)
	 36 - test_refine (Failed)
	 37 - test_typedef (Failed)
	 38 - test_import (Failed)
	 39 - test_include (Failed)
	 40 - test_feature (Failed)
	 41 - test_conformance (Failed)
	 42 - test_leaflist (Failed)
	 43 - test_status (Failed)
	 44 - test_printer (Failed)
	 45 - test_invalid (Failed)
	 46 - test_sec6_1_1 (Failed)
	 47 - test_sec6_2 (Failed)
	 48 - test_sec5_1 (Failed)
	 49 - test_sec5_5 (Failed)
	 50 - test_sec6_1_3 (Failed)
	 51 - test_sec6_2_1 (Failed)
	 52 - test_sec7_1 (Failed)
	 53 - test_sec7_2 (Failed)
	 54 - test_sec7_3 (Failed)
	 55 - test_sec7_3_1 (Failed)
	 56 - test_sec7_3_4 (Failed)
	 57 - test_sec7_5_2 (Failed)
	 58 - test_sec7_5_4 (Failed)
	 59 - test_sec7_5_5 (Failed)
	 60 - test_sec7_6_2 (Failed)
	 61 - test_sec7_6_3 (Failed)
	 62 - test_sec7_6_4 (Failed)
	 63 - test_sec7_6_5 (Failed)
	 64 - test_sec7_7_2 (Failed)
	 65 - test_sec7_7_3 (Failed)
	 66 - test_sec7_7_4 (Failed)
	 67 - test_sec7_7_5 (Failed)
	 68 - test_sec7_8_1 (Failed)
	 69 - test_sec7_8_2 (Failed)
	 70 - test_sec7_8_3 (Failed)
	 71 - test_sec7_9_1 (Failed)
	 72 - test_sec7_9_2 (Failed)
	 73 - test_sec7_9_3 (Failed)
	 74 - test_sec7_9_4 (Failed)
	 75 - test_sec7_10 (Failed)
	 76 - test_sec7_11 (Failed)
	 77 - test_sec7_12_1 (Failed)
	 78 - test_sec7_12_2 (Failed)
	 79 - test_sec7_13_1 (Failed)
	 80 - test_sec7_13_2 (Failed)
	 81 - test_sec7_13_3 (Failed)
	 82 - test_sec7_14 (Failed)
	 83 - test_sec7_15 (Failed)
	 84 - test_sec7_15_1 (Failed)
	 85 - test_sec7_16_1 (Failed)
	 86 - test_sec7_16_2 (Failed)
	 87 - test_sec7_18_1 (Failed)
	 88 - test_sec7_18_2 (Failed)
	 89 - test_sec7_18_3_1 (Failed)
	 90 - test_sec7_18_3_2 (Failed)
	 91 - test_sec7_19_1 (Failed)
	 92 - test_sec7_19_2 (Failed)
	 93 - test_sec7_19_5 (Failed)
	 94 - test_sec9_2 (Failed)
	 95 - test_sec9_3 (Failed)
	 96 - test_sec9_4_4 (Failed)
	 97 - test_sec9_4_6 (Failed)
	 98 - test_sec9_5 (Failed)
	 99 - test_sec9_6 (Failed)
	100 - test_sec9_7 (Failed)
	101 - test_sec9_8 (Failed)
	102 - test_sec9_9 (Failed)
	103 - test_sec9_10 (Failed)
	104 - test_sec9_11 (Failed)
	105 - test_sec9_12 (Failed)
	106 - test_sec9_13 (Failed)
	107 - test_lyb (Failed)
	109 - test_state_lists (Failed)
	110 - cpp_test_libyang (Failed)
	111 - cpp_test_tree_data (Failed)
	112 - cpp_test_tree_schema (Failed)
Errors while running CTest
make[1]: *** [debian/rules:19: override_dh_auto_test] Error 8
@antony-rheneus
Copy link
Author

antony-rheneus commented Nov 18, 2020

new context creation is failing at "urn:ietf:params:xml:ns:yang:yin:1" Stmt not exepcted here,

$ git diff src/resolve.c
diff --git a/src/resolve.c b/src/resolve.c
index 90a6481d..209f8421 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -5033,7 +5033,8 @@ resolve_extension(struct unres_ext *info, struct lys_ext_instance **ext, struct
                 } else if (!strcmp(yin->ns->value, LY_NSYIN)) {
                     /* standard YANG statements are not expected here */
                     LOGVAL(ctx, LYE_INCHILDSTMT, vlog_type, vlog_node, yin->name, info->data.yin->name);
-                    return -1;
+                   LOGERR(ctx, LY_EINVAL, "(%s:%d) Std YANG stmt NOT expected here\"%s\"", __func__, __LINE__, yin->ns->value);
+                   return -1;
                 } else if (yin->ns == info->data.yin->ns &&
                         (e->flags & LYS_YINELEM) && ly_strequal(yin->name, e->argument, 1)) {

@rkrejci
Copy link
Collaborator

rkrejci commented Nov 18, 2020

Please do not run the tests via ctest, but use make test. I see many "libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)" errors caused but missing plugins (see FAQ)

@antony-rheneus
Copy link
Author

Yes, I checked the FAQ before raising issue on setting plugins path.
make test is also failing

I used ctest to check the LIBRARY paths are proper or not, as per verbos log, the paths are properly set Even I manually set those paths too..

$ ctest -VV --output-on-failure
UpdateCTestConfiguration  from :/sonic/src/libyang/libyang-1.0.73/build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/sonic/src/libyang/libyang-1.0.73/build/DartConfiguration.tcl
Test project /sonic/src/libyang/libyang-1.0.73/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
        Start   1: test_libyang

1: Test command: /sonic/src/libyang/libyang-1.0.73/build/tests/test_libyang
1: Environment variables:
1:  LIBYANG_EXTENSIONS_PLUGINS_DIR=/sonic/src/libyang/libyang-1.0.73/build/src/extensions
1:  LIBYANG_USER_TYPES_PLUGINS_DIR=/sonic/src/libyang/libyang-1.0.73/build/src/user_types
1:  MALLOC_CHECK_=3
1: Test timeout computed to be: 10000000
1: [==========] Running 43 test(s).
1: [ RUN      ] test_ly_ctx_new
1: libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
1: libyang[0]: Module "yang" parsing failed.
1: [  ERROR   ] --- 0 == 0
1: [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:103: error: Failure!
1: [  FAILED  ] test_ly_ctx_new
1: [ RUN      ] test_ly_ctx_new_invalid
1: libyang[0]: Unable to use search directory "INVALID_PATH" (No such file or directory)
1: [       OK ] test_ly_ctx_new_invalid
1: [ RUN      ] test_ly_ctx_get_searchdirs
1: libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
1: libyang[0]: Module "yang" parsing failed.
1: [  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:142: error: Failure!
1: [  FAILED  ] test_ly_ctx_get_searchdirs
1: [ RUN      ] test_ly_ctx_set_searchdir
1: libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
1: libyang[0]: Module "yang" parsing failed.
1: [  ERROR   ] --- [   LINE   ] --- /sonic/src/libyang/libyang-1.0.73/tests/api/test_libyang.c:168: error: Failure!
1: [  FAILED  ] test_ly_ctx_set_searchdir
1: [ RUN      ] test_ly_ctx_set_searchdir_invalid
1: libyang[0]: Invalid keyword "type" as a child to "annotation". (path: /)
1: libyang[0]: Module "yang" parsing failed.

make test output

$ make test
Running tests...
Test project /sonic/src/libyang/libyang-1.0.73/build
        Start   1: test_libyang
  1/112 Test   #1: test_libyang .....................***Failed    0.10 sec
        Start   2: test_tree_schema
  2/112 Test   #2: test_tree_schema .................***Failed    0.08 sec
        Start   3: test_xml
  3/112 Test   #3: test_xml .........................***Failed    0.09 sec
        Start   4: test_dict
  4/112 Test   #4: test_dict ........................***Failed    0.07 sec
        Start   5: test_tree_data
  5/112 Test   #5: test_tree_data ...................***Failed    0.10 sec
        Start   6: test_tree_data_dup
  6/112 Test   #6: test_tree_data_dup ...............***Failed    0.05 sec
        Start   7: test_tree_data_merge
  7/112 Test   #7: test_tree_data_merge .............***Failed    0.07 sec
        Start   8: test_xpath
  8/112 Test   #8: test_xpath .......................***Failed    0.04 sec
        Start   9: test_xpath_1.1
  9/112 Test   #9: test_xpath_1.1 ...................***Failed    0.06 sec
        Start  10: test_diff
 10/112 Test  #10: test_diff ........................***Failed    0.06 sec
        Start  11: test_data_initialization
 11/112 Test  #11: test_data_initialization .........***Failed    0.05 sec
        Start  12: test_leafref_remove
 12/112 Test  #12: test_leafref_remove ..............***Failed    0.04 sec
        Start  13: test_instid_remove
 13/112 Test  #13: test_instid_remove ...............***Failed    0.04 sec
        Start  14: test_keys
 14/112 Test  #14: test_keys ........................***Failed    0.05 sec
        Start  15: test_autodel
 15/112 Test  #15: test_autodel .....................***Failed    0.04 sec
        Start  16: test_when
 16/112 Test  #16: test_when ........................***Failed    0.05 sec
        Start  17: test_when_1.1
 17/112 Test  #17: test_when_1.1 ....................***Failed    0.06 sec
        Start  18: test_must_1.1
 18/112 Test  #18: test_must_1.1 ....................***Failed    0.05 sec
        Start  19: test_defaults
 19/112 Test  #19: test_defaults ....................***Failed    0.07 sec
        Start  20: test_emptycont
 20/112 Test  #20: test_emptycont ...................***Failed    0.05 sec
        Start  21: test_unique
 21/112 Test  #21: test_unique ......................***Failed    0.05 sec
        Start  22: test_mandatory
 22/112 Test  #22: test_mandatory ...................***Failed    0.04 sec
        Start  23: test_json
 23/112 Test  #23: test_json ........................***Failed    0.05 sec
        Start  24: test_parse_print
 24/112 Test  #24: test_parse_print .................***Failed    0.08 sec
        Start  25: test_values
 25/112 Test  #25: test_values ......................***Failed    0.06 sec
        Start  26: test_metadata
 26/112 Test  #26: test_metadata ....................***Failed    0.10 sec
        Start  27: test_yangtypes_xpath
 27/112 Test  #27: test_yangtypes_xpath .............***Failed    0.05 sec
        Start  28: test_yang_data
 28/112 Test  #28: test_yang_data ...................***Failed    0.05 sec
        Start  29: test_yang_data_ns
 29/112 Test  #29: test_yang_data_ns ................***Failed    0.05 sec
        Start  30: test_unknown_element
 30/112 Test  #30: test_unknown_element .............***Failed    0.05 sec
        Start  31: test_user_types
 31/112 Test  #31: test_user_types ..................***Failed    0.05 sec
        Start  32: test_print_transform
 32/112 Test  #32: test_print_transform .............***Failed    0.06 sec
        Start  33: test_ietf
 33/112 Test  #33: test_ietf ........................***Failed    0.05 sec
        Start  34: test_augment
 34/112 Test  #34: test_augment .....................***Failed    0.07 sec
        Start  35: test_deviation
 35/112 Test  #35: test_deviation ...................***Failed    0.04 sec
        Start  36: test_refine
 36/112 Test  #36: test_refine ......................***Failed    0.04 sec
        Start  37: test_typedef
 37/112 Test  #37: test_typedef .....................***Failed    0.07 sec
        Start  38: test_import
 38/112 Test  #38: test_import ......................***Failed    0.05 sec
        Start  39: test_include
 39/112 Test  #39: test_include .....................***Failed    0.05 sec
        Start  40: test_feature
 40/112 Test  #40: test_feature .....................***Failed    0.06 sec
        Start  41: test_conformance
 41/112 Test  #41: test_conformance .................***Failed    0.06 sec
        Start  42: test_leaflist
 42/112 Test  #42: test_leaflist ....................***Failed    0.05 sec
        Start  43: test_status
 43/112 Test  #43: test_status ......................***Failed    0.05 sec
        Start  44: test_printer
 44/112 Test  #44: test_printer .....................***Failed    0.06 sec
        Start  45: test_invalid
 45/112 Test  #45: test_invalid .....................***Failed    0.04 sec
        Start  46: test_sec6_1_1
 46/112 Test  #46: test_sec6_1_1 ....................***Failed    0.05 sec
        Start  47: test_sec6_2
 47/112 Test  #47: test_sec6_2 ......................***Failed    0.04 sec
        Start  48: test_sec5_1
 48/112 Test  #48: test_sec5_1 ......................***Failed    0.05 sec
        Start  49: test_sec5_5
 49/112 Test  #49: test_sec5_5 ......................***Failed    0.04 sec
        Start  50: test_sec6_1_3
 50/112 Test  #50: test_sec6_1_3 ....................***Failed    0.05 sec
        Start  51: test_sec6_2_1
 51/112 Test  #51: test_sec6_2_1 ....................***Failed    0.04 sec
        Start  52: test_sec7_1
 52/112 Test  #52: test_sec7_1 ......................***Failed    0.05 sec
        Start  53: test_sec7_2
 53/112 Test  #53: test_sec7_2 ......................***Failed    0.05 sec
        Start  54: test_sec7_3
 54/112 Test  #54: test_sec7_3 ......................***Failed    0.04 sec
        Start  55: test_sec7_3_1
 55/112 Test  #55: test_sec7_3_1 ....................***Failed    0.05 sec
        Start  56: test_sec7_3_4
 56/112 Test  #56: test_sec7_3_4 ....................***Failed    0.05 sec
        Start  57: test_sec7_5_2
 57/112 Test  #57: test_sec7_5_2 ....................***Failed    0.05 sec
        Start  58: test_sec7_5_4
 58/112 Test  #58: test_sec7_5_4 ....................***Failed    0.05 sec
        Start  59: test_sec7_5_5
 59/112 Test  #59: test_sec7_5_5 ....................***Failed    0.05 sec
        Start  60: test_sec7_6_2
 60/112 Test  #60: test_sec7_6_2 ....................***Failed    0.05 sec
        Start  61: test_sec7_6_3
 61/112 Test  #61: test_sec7_6_3 ....................***Failed    0.05 sec
        Start  62: test_sec7_6_4
 62/112 Test  #62: test_sec7_6_4 ....................***Failed    0.04 sec
        Start  63: test_sec7_6_5
 63/112 Test  #63: test_sec7_6_5 ....................***Failed    0.04 sec
        Start  64: test_sec7_7_2
 64/112 Test  #64: test_sec7_7_2 ....................***Failed    0.04 sec
        Start  65: test_sec7_7_3
 65/112 Test  #65: test_sec7_7_3 ....................***Failed    0.05 sec
        Start  66: test_sec7_7_4
 66/112 Test  #66: test_sec7_7_4 ....................***Failed    0.05 sec
        Start  67: test_sec7_7_5
 67/112 Test  #67: test_sec7_7_5 ....................***Failed    0.04 sec
        Start  68: test_sec7_8_1
 68/112 Test  #68: test_sec7_8_1 ....................***Failed    0.06 sec
        Start  69: test_sec7_8_2
 69/112 Test  #69: test_sec7_8_2 ....................***Failed    0.07 sec
        Start  70: test_sec7_8_3
 70/112 Test  #70: test_sec7_8_3 ....................***Failed    0.04 sec
        Start  71: test_sec7_9_1
 71/112 Test  #71: test_sec7_9_1 ....................***Failed    0.05 sec
        Start  72: test_sec7_9_2
 72/112 Test  #72: test_sec7_9_2 ....................***Failed    0.05 sec
        Start  73: test_sec7_9_3
 73/112 Test  #73: test_sec7_9_3 ....................***Failed    0.05 sec
        Start  74: test_sec7_9_4
 74/112 Test  #74: test_sec7_9_4 ....................***Failed    0.04 sec
        Start  75: test_sec7_10
 75/112 Test  #75: test_sec7_10 .....................***Failed    0.04 sec
        Start  76: test_sec7_11
 76/112 Test  #76: test_sec7_11 .....................***Failed    0.05 sec
        Start  77: test_sec7_12_1
 77/112 Test  #77: test_sec7_12_1 ...................***Failed    0.04 sec
        Start  78: test_sec7_12_2
 78/112 Test  #78: test_sec7_12_2 ...................***Failed    0.05 sec
        Start  79: test_sec7_13_1
 79/112 Test  #79: test_sec7_13_1 ...................***Failed    0.05 sec
        Start  80: test_sec7_13_2
 80/112 Test  #80: test_sec7_13_2 ...................***Failed    0.04 sec
        Start  81: test_sec7_13_3
 81/112 Test  #81: test_sec7_13_3 ...................***Failed    0.04 sec
        Start  82: test_sec7_14
 82/112 Test  #82: test_sec7_14 .....................***Failed    0.05 sec
        Start  83: test_sec7_15
 83/112 Test  #83: test_sec7_15 .....................***Failed    0.04 sec
        Start  84: test_sec7_15_1
 84/112 Test  #84: test_sec7_15_1 ...................***Failed    0.04 sec
        Start  85: test_sec7_16_1
 85/112 Test  #85: test_sec7_16_1 ...................***Failed    0.05 sec
        Start  86: test_sec7_16_2
 86/112 Test  #86: test_sec7_16_2 ...................***Failed    0.04 sec
        Start  87: test_sec7_18_1
 87/112 Test  #87: test_sec7_18_1 ...................***Failed    0.05 sec
        Start  88: test_sec7_18_2
 88/112 Test  #88: test_sec7_18_2 ...................***Failed    0.05 sec
        Start  89: test_sec7_18_3_1
 89/112 Test  #89: test_sec7_18_3_1 .................***Failed    0.05 sec
        Start  90: test_sec7_18_3_2
 90/112 Test  #90: test_sec7_18_3_2 .................***Failed    0.04 sec
        Start  91: test_sec7_19_1
 91/112 Test  #91: test_sec7_19_1 ...................***Failed    0.05 sec
        Start  92: test_sec7_19_2
 92/112 Test  #92: test_sec7_19_2 ...................***Failed    0.05 sec
        Start  93: test_sec7_19_5
 93/112 Test  #93: test_sec7_19_5 ...................***Failed    0.04 sec
        Start  94: test_sec9_2
 94/112 Test  #94: test_sec9_2 ......................***Failed    0.04 sec
        Start  95: test_sec9_3
 95/112 Test  #95: test_sec9_3 ......................***Failed    0.05 sec
        Start  96: test_sec9_4_4
 96/112 Test  #96: test_sec9_4_4 ....................***Failed    0.05 sec
        Start  97: test_sec9_4_6
 97/112 Test  #97: test_sec9_4_6 ....................***Failed    0.05 sec
        Start  98: test_sec9_5
 98/112 Test  #98: test_sec9_5 ......................***Failed    0.04 sec
        Start  99: test_sec9_6
 99/112 Test  #99: test_sec9_6 ......................***Failed    0.05 sec
        Start 100: test_sec9_7
100/112 Test #100: test_sec9_7 ......................***Failed    0.05 sec
        Start 101: test_sec9_8
101/112 Test #101: test_sec9_8 ......................***Failed    0.05 sec
        Start 102: test_sec9_9
102/112 Test #102: test_sec9_9 ......................***Failed    0.05 sec
        Start 103: test_sec9_10
103/112 Test #103: test_sec9_10 .....................***Failed    0.05 sec
        Start 104: test_sec9_11
104/112 Test #104: test_sec9_11 .....................***Failed    0.04 sec
        Start 105: test_sec9_12
105/112 Test #105: test_sec9_12 .....................***Failed    0.04 sec
        Start 106: test_sec9_13
106/112 Test #106: test_sec9_13 .....................***Failed    0.05 sec
        Start 107: test_lyb
107/112 Test #107: test_lyb .........................***Failed    0.06 sec
        Start 108: test_hash_table
108/112 Test #108: test_hash_table ..................   Passed    0.03 sec
        Start 109: test_state_lists
109/112 Test #109: test_state_lists .................***Failed    0.06 sec
        Start 110: cpp_test_libyang
110/112 Test #110: cpp_test_libyang .................***Failed    0.09 sec
        Start 111: cpp_test_tree_data
111/112 Test #111: cpp_test_tree_data ...............***Failed    0.10 sec
        Start 112: cpp_test_tree_schema
112/112 Test #112: cpp_test_tree_schema .............***Failed    0.08 sec

1% tests passed, 111 tests failed out of 112

Total Test time (real) =   6.18 sec

The following tests FAILED:
          1 - test_libyang (Failed)
          2 - test_tree_schema (Failed)
          3 - test_xml (Failed)
          4 - test_dict (Failed)
          5 - test_tree_data (Failed)
          6 - test_tree_data_dup (Failed)
          7 - test_tree_data_merge (Failed)
          8 - test_xpath (Failed)
          9 - test_xpath_1.1 (Failed)
         10 - test_diff (Failed)
         11 - test_data_initialization (Failed)
         12 - test_leafref_remove (Failed)
         13 - test_instid_remove (Failed)
         14 - test_keys (Failed)
         15 - test_autodel (Failed)
         16 - test_when (Failed)
         17 - test_when_1.1 (Failed)
         18 - test_must_1.1 (Failed)
         19 - test_defaults (Failed)
         20 - test_emptycont (Failed)
         21 - test_unique (Failed)
         22 - test_mandatory (Failed)
         23 - test_json (Failed)
         24 - test_parse_print (Failed)
         25 - test_values (Failed)
         26 - test_metadata (Failed)
         27 - test_yangtypes_xpath (Failed)
         28 - test_yang_data (Failed)
         29 - test_yang_data_ns (Failed)
         30 - test_unknown_element (Failed)
         31 - test_user_types (Failed)
         32 - test_print_transform (Failed)
         33 - test_ietf (Failed)
         34 - test_augment (Failed)
         35 - test_deviation (Failed)
         36 - test_refine (Failed)
         37 - test_typedef (Failed)
         38 - test_import (Failed)
         39 - test_include (Failed)
         40 - test_feature (Failed)
         41 - test_conformance (Failed)
         42 - test_leaflist (Failed)
         43 - test_status (Failed)
         44 - test_printer (Failed)
         45 - test_invalid (Failed)
         46 - test_sec6_1_1 (Failed)
         47 - test_sec6_2 (Failed)
         48 - test_sec5_1 (Failed)
         49 - test_sec5_5 (Failed)
         50 - test_sec6_1_3 (Failed)
         51 - test_sec6_2_1 (Failed)
         52 - test_sec7_1 (Failed)
         53 - test_sec7_2 (Failed)
         54 - test_sec7_3 (Failed)
         55 - test_sec7_3_1 (Failed)
         56 - test_sec7_3_4 (Failed)
         57 - test_sec7_5_2 (Failed)
         58 - test_sec7_5_4 (Failed)
         59 - test_sec7_5_5 (Failed)
         60 - test_sec7_6_2 (Failed)
         61 - test_sec7_6_3 (Failed)
         62 - test_sec7_6_4 (Failed)
         63 - test_sec7_6_5 (Failed)
         64 - test_sec7_7_2 (Failed)
         65 - test_sec7_7_3 (Failed)
         66 - test_sec7_7_4 (Failed)
         67 - test_sec7_7_5 (Failed)
         68 - test_sec7_8_1 (Failed)
         69 - test_sec7_8_2 (Failed)
         70 - test_sec7_8_3 (Failed)
         71 - test_sec7_9_1 (Failed)
         72 - test_sec7_9_2 (Failed)
         73 - test_sec7_9_3 (Failed)
         74 - test_sec7_9_4 (Failed)
         75 - test_sec7_10 (Failed)
         76 - test_sec7_11 (Failed)
         77 - test_sec7_12_1 (Failed)
         78 - test_sec7_12_2 (Failed)
         79 - test_sec7_13_1 (Failed)
         80 - test_sec7_13_2 (Failed)
         81 - test_sec7_13_3 (Failed)
         82 - test_sec7_14 (Failed)
         83 - test_sec7_15 (Failed)
         84 - test_sec7_15_1 (Failed)
         85 - test_sec7_16_1 (Failed)
         86 - test_sec7_16_2 (Failed)
         87 - test_sec7_18_1 (Failed)
         88 - test_sec7_18_2 (Failed)
         89 - test_sec7_18_3_1 (Failed)
         90 - test_sec7_18_3_2 (Failed)
         91 - test_sec7_19_1 (Failed)
         92 - test_sec7_19_2 (Failed)
         93 - test_sec7_19_5 (Failed)
         94 - test_sec9_2 (Failed)
         95 - test_sec9_3 (Failed)
         96 - test_sec9_4_4 (Failed)
         97 - test_sec9_4_6 (Failed)
         98 - test_sec9_5 (Failed)
         99 - test_sec9_6 (Failed)
        100 - test_sec9_7 (Failed)
        101 - test_sec9_8 (Failed)
        102 - test_sec9_9 (Failed)
        103 - test_sec9_10 (Failed)
        104 - test_sec9_11 (Failed)
        105 - test_sec9_12 (Failed)
        106 - test_sec9_13 (Failed)
        107 - test_lyb (Failed)
        109 - test_state_lists (Failed)
        110 - cpp_test_libyang (Failed)
        111 - cpp_test_tree_data (Failed)
        112 - cpp_test_tree_schema (Failed)
Errors while running CTest
make: *** [Makefile:107: test] Error 8

@michalvasko
Copy link
Member

That is a bit strange, but please try using a more recent version, 1.0.74 is quite old.

@antony-rheneus
Copy link
Author

I have tried tags/v1.0.184, with that too I see same issue.

@antony-rheneus
Copy link
Author

new context creation is failing at "urn:ietf:params:xml:ns:yang:yin:1" Stmt not exepcted here,

$ git diff src/resolve.c
diff --git a/src/resolve.c b/src/resolve.c
index 90a6481d..209f8421 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -5033,7 +5033,8 @@ resolve_extension(struct unres_ext *info, struct lys_ext_instance **ext, struct
                 } else if (!strcmp(yin->ns->value, LY_NSYIN)) {
                     /* standard YANG statements are not expected here */
                     LOGVAL(ctx, LYE_INCHILDSTMT, vlog_type, vlog_node, yin->name, info->data.yin->name);
-                    return -1;
+                   LOGERR(ctx, LY_EINVAL, "(%s:%d) Std YANG stmt NOT expected here\"%s\"", __func__, __LINE__, yin->ns->value);
+                   return -1;
                 } else if (yin->ns == info->data.yin->ns &&
                         (e->flags & LYS_YINELEM) && ly_strequal(yin->name, e->argument, 1)) {

Does this give any hint to debug further?

@antony-rheneus
Copy link
Author

$ cmake --version cmake version 3.13.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).

@michalvasko
Copy link
Member

I would say the problem is specific to your platform so I am not sure how can it be reproduced to fix it.

@antony-rheneus
Copy link
Author

antony-rheneus commented Nov 20, 2020

I would say the problem is specific to your platform so I am not sure how can it be reproduced to fix it.

Issue is seen only in Debian buster with cmake 3.13.4 ARMHF (32 bit).
It was not seen in Debian buster with cmake 3.13.4 ARM64 (64bit)

@michalvasko
Copy link
Member

Right, then we are not able to help you. You can try debugging it yourself if you really want but the problem will likely not be easy to discover.

@michalvasko michalvasko closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2022
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

No branches or pull requests

3 participants