discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unit tests for OOT crashes after adding new block


From: Marcin Puchlik
Subject: Unit tests for OOT crashes after adding new block
Date: Wed, 13 Oct 2021 12:18:37 +0200

Hi,
I am following OOT tutorial and after adding a new block to the existing OOT module, running the make test I have following output:

UpdateCTestConfiguration  from :/home/ubuntu/gr-howto/build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/home/ubuntu/gr-howto/build/DartConfiguration.tcl
Test project /home/ubuntu/gr-howto/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: qa_square_ff

1: Test command: /usr/bin/sh "/home/ubuntu/gr-howto/build/python/qa_square_ff_test.sh"
1: Test timeout computed to be: 10000000
1: Traceback (most recent call last):
1:   File "/home/ubuntu/gr-howto/build/swig/howto_swig.py", line 14, in swig_import_helper
1:     return importlib.import_module(mname)
1:   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
1:     return _bootstrap._gcd_import(name[level:], package, level)
1:   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
1:   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
1:   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
1:   File "<frozen importlib._bootstrap>", line 657, in _load_unlocked
1:   File "<frozen importlib._bootstrap>", line 556, in module_from_spec
1:   File "<frozen importlib._bootstrap_external>", line 1166, in create_module
1:   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
1: ImportError: /home/ubuntu/gr-howto/build/swig/_howto_swig.so: undefined symbol: _ZN2gr5howto10square2_ff4makeEv
1:
1: During handling of the above exception, another exception occurred:
1:
1: Traceback (most recent call last):
1:   File "/home/ubuntu/gr-howto/python/qa_square_ff.py", line 24, in <module>
1:     import howto_swig as howto
1:   File "/home/ubuntu/gr-howto/build/swig/howto_swig.py", line 17, in <module>
1:     _howto_swig = swig_import_helper()
1:   File "/home/ubuntu/gr-howto/build/swig/howto_swig.py", line 16, in swig_import_helper
1:     return importlib.import_module('_howto_swig')
1:   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
1:     return _bootstrap._gcd_import(name[level:], package, level)
1: ImportError: /home/ubuntu/gr-howto/build/swig/_howto_swig.so: undefined symbol: _ZN2gr5howto10square2_ff4makeEv
1/1 Test #1: qa_square_ff .....................***Failed    0.36 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.36 sec

The following tests FAILED:
 1 - qa_square_ff (Failed)
Errors while running CTest


Is there a problem with SWIG?

Additional informations:
- GNU Radio version: 3.8.4.0
- GNU Radio installed through PyBOMBS
- System: Ubuntu 20.04.2 LTS focal

Thanks in advance,
Marcin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]