ydk-gen icon indicating copy to clipboard operation
ydk-gen copied to clipboard

Segmentation fault while running Python deviation tests on Mac

Open ygorelik opened this issue 5 years ago • 0 comments

Expected Behavior

All sanity tests expected to run on all supported platforms

Current Behavior

When running Python deviation tests (test_sanity_deviation.py) on Mac OS, the YDK produces Segmentation fault

Steps to Reproduce

On Mac OS platform run sanity deviation tests repeating scenario of tests.sh.

Logs

*** Sat Mar  9 04:59:25 PST 2019: tests.sh | Executing: python sdk/python/core/tests/test_sanity_deviation.py 
test_boolean (__main__.SanityTest) ... skipped 'no exception raised during validation'
test_decimal64 (__main__.SanityTest) ... ok
test_int16 (__main__.SanityTest) ... ok
test_int32 (__main__.SanityTest) ... ok
test_int64 (__main__.SanityTest) ... ok
test_int8 (__main__.SanityTest) ... ok
test_leaflist_max_elements (__main__.SanityTest)
This sanity test only tests deviation for max-elements. If min-elements is set ... skipped 'no exception raised during validation'
test_leafref (__main__.SanityTest) ... ok
test_not_supported_container (__main__.SanityTest) ... ok
test_not_supported_leaf (__main__.SanityTest) ... ok
test_not_supported_list (__main__.SanityTest) ... ok
test_string (__main__.SanityTest) ... ok
test_uint16 (__main__.SanityTest) ... ok
test_uint32 (__main__.SanityTest) ... ok
test_uint8 (__main__.SanityTest) ... ok

----------------------------------------------------------------------
Ran 15 tests in 8.748s

OK (skipped=2)
./scripts/tests.sh: line 50: 49024 Segmentation fault: 11  ${PYTHON_BIN} $@
*** Sat Mar  9 04:59:35 PST 2019: tests.sh | Exiting 'python sdk/python/core/tests/test_sanity_deviation.py' with status=139 

System Information

YDK-0.8.2, Mac OS, Python3

ygorelik avatar Mar 12 '19 21:03 ygorelik