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

Segmentation fault while running Python deviation tests on Mac #890

Open
ygorelik opened this issue Mar 12, 2019 · 0 comments
Open

Segmentation fault while running Python deviation tests on Mac #890

ygorelik opened this issue Mar 12, 2019 · 0 comments
Labels
Mac Issues that appear specifically on Mac platform python

Comments

@ygorelik
Copy link
Collaborator

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 ygorelik added python Mac Issues that appear specifically on Mac platform labels Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mac Issues that appear specifically on Mac platform python
Projects
None yet
Development

No branches or pull requests

1 participant