Re: [Discuss-gnuradio] make test error
Thank you! I had find error on my QA code, it's just a writing error... Owen Zhang -原始邮件- 发件人: "Tom Rondeau" 发送时间: 2014年9月11日 星期四 收件人: zhangwen 抄送: "GnuRadio Receiver" 主题: Re: [Discuss-gnuradio] make test error On Wed, Sep 10, 2014 at 10:40 PM, zhangwen wrote: hi, When I follow Gnuradio using "make test" and "ctest" to test my new how-to block, it returns RuntimeError: square_ff(6): insufficient connected output ports (1 needed, 0 connected) As the following messages, I think there may be something wrong with the test program "qa_square_ff.py" lab@lab-ThinkPad-Edge-E430:~/newblock/gr-howto/build$ ctest -V -R square UpdateCTestConfiguration from :/home/lab/newblock/gr-howto/build/DartConfiguration.tcl UpdateCTestConfiguration from :/home/lab/newblock/gr-howto/build/DartConfiguration.tcl Test project /home/lab/newblock/gr-howto/build Constructing a list of tests Done constructing a list of tests Checking test dependency graph... Checking test dependency graph end test 2 Start 2: qa_square_ff 2: Test command: /bin/sh "/home/lab/newblock/gr-howto/build/python/qa_square_ff_test.sh" 2: Test timeout computed to be: 9.99988e+06 2: E 2: == 2: ERROR: test_001_t (__main__.qa_square_ff) 2: -- 2: Traceback (most recent call last): 2: File "/home/lab/newblock/gr-howto/python/qa_square_ff.py", line 43, in test_001_t 2: self.tb.run () 2: File "/usr/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 109, in run 2: self.start(max_noutput_items) 2: File "/usr/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 103, in start 2: top_block_start_unlocked(self._tb, max_noutput_items) 2: File "/usr/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 4585, in top_block_start_unlocked 2: return _runtime_swig.top_block_start_unlocked(*args, **kwargs) 2: RuntimeError: square_ff(6): insufficient connected output ports (1 needed, 0 connected) 2: 2: -- 2: Ran 1 test in 0.000s 2: 2: FAILED (errors=1) 1/1 Test #2: qa_square_ff .***Failed0.17 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 0.17 sec The following tests FAILED: 2 - qa_square_ff (Failed) Errors while running CTest lab@lab-ThinkPad-Edge-E430:~/newblock/gr-howto/build$ make test Running tests... Test project /home/lab/newblock/gr-howto/build Start 1: test_howto 1/2 Test #1: test_howto ... Passed0.00 sec Start 2: qa_square_ff 2/2 Test #2: qa_square_ff .***Failed0.18 sec 50% tests passed, 1 tests failed out of 2 Total Test time (real) = 0.19 sec The following tests FAILED: 2 - qa_square_ff (Failed) Errors while running CTest make: *** [test] 错误 8 Follow the error. It's telling you that you haven't properly connected all of the ports for the block. Take a look at your QA code and make sure that the flowgraph is set up correctly. Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make test error
On Wed, Sep 10, 2014 at 10:40 PM, zhangwen wrote: > > hi, > When I follow Gnuradio using "make test" and "ctest" to test my new how-to > block, it returns RuntimeError: square_ff(6): insufficient connected output > ports (1 needed, 0 connected) > > As the following messages, I think there may be something wrong with the > test program "qa_square_ff.py" > > lab@lab-ThinkPad-Edge-E430:~/newblock/gr-howto/build$ ctest -V -R square > UpdateCTestConfiguration from > :/home/lab/newblock/gr-howto/build/DartConfiguration.tcl > UpdateCTestConfiguration from > :/home/lab/newblock/gr-howto/build/DartConfiguration.tcl > Test project /home/lab/newblock/gr-howto/build > Constructing a list of tests > Done constructing a list of tests > Checking test dependency graph... > Checking test dependency graph end > test 2 > Start 2: qa_square_ff > > 2: Test command: /bin/sh > "/home/lab/newblock/gr-howto/build/python/qa_square_ff_test.sh" > 2: Test timeout computed to be: 9.99988e+06 > 2: E > 2: == > 2: ERROR: test_001_t (__main__.qa_square_ff) > 2: -- > 2: Traceback (most recent call last): > 2: File "/home/lab/newblock/gr-howto/python/qa_square_ff.py", line 43, > in test_001_t > 2: self.tb.run () > 2: File "/usr/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", > line 109, in run > 2: self.start(max_noutput_items) > 2: File "/usr/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", > line 103, in start > 2: top_block_start_unlocked(self._tb, max_noutput_items) > 2: File "/usr/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", > line 4585, in top_block_start_unlocked > 2: return _runtime_swig.top_block_start_unlocked(*args, **kwargs) > 2: RuntimeError: square_ff(6): insufficient connected output ports (1 > needed, 0 connected) > 2: > 2: -- > 2: Ran 1 test in 0.000s > 2: > 2: FAILED (errors=1) > 1/1 Test #2: qa_square_ff .***Failed0.17 sec > > 0% tests passed, 1 tests failed out of 1 > > Total Test time (real) = 0.17 sec > > The following tests FAILED: > 2 - qa_square_ff (Failed) > Errors while running CTest > > > lab@lab-ThinkPad-Edge-E430:~/newblock/gr-howto/build$ make test > Running tests... > Test project /home/lab/newblock/gr-howto/build > Start 1: test_howto > 1/2 Test #1: test_howto ... Passed0.00 sec > Start 2: qa_square_ff > 2/2 Test #2: qa_square_ff .***Failed0.18 sec > > 50% tests passed, 1 tests failed out of 2 > > Total Test time (real) = 0.19 sec > > The following tests FAILED: > 2 - qa_square_ff (Failed) > Errors while running CTest > make: *** [test] 错误 8 > > Follow the error. It's telling you that you haven't properly connected all of the ports for the block. Take a look at your QA code and make sure that the flowgraph is set up correctly. Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make test error
Hi Matt - If GNU Radio builds and runs as expected, then there is a very good chance that the issue with VOLK has already been reported and it's more a matter of folks finding time to fix the issue than anything else. If you still wonder, I have already provided the command line to execute to provide more information either to this list or as a bug report. Have fun playing with GNU Radio! - MLD On Sep 3, 2013, at 3:28 PM, Matt D wrote: > just for the record gnuradio builds and runs as expected despite this > error. > > On Sep 3, 2013, at 1:57 PM, Matt D wrote: >> i am using v3.6.3.1. i don't use the the git i build from the tarball. >> On ubuntu 12.10. i saw some similar complaints from 3.6.2 builds but i >> have been unable to locate the solution. >> >> make test gave me this error: >> >> Running tests... >> Test project /home/matt/src/gnuradio/build >> Start 1: qa_volk_test_all >> 1/180 Test #1: qa_volk_test_all .***Failed1.07 >> sec ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make test error
On 09/03/2013 02:02 PM, Michael Dickens wrote: > Getting this back onto the list: > > On Sep 3, 2013, at 1:57 PM, Matt D wrote: >> i am using v3.6.3.1. i don't use the the git i build from the tarball. >> On ubuntu 12.10. i saw some similar complaints from 3.6.2 builds but i >> have been unable to locate the solution. > >>make test gave me this error: > >>Running tests... >>Test project /home/matt/src/gnuradio/build >> Start 1: qa_volk_test_all >> 1/180 Test #1: qa_volk_test_all .***Failed1.07 >>sec >> >>just for the record gnuradio builds and runs as expected despite this >>error. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make test error
Getting this back onto the list: On Sep 3, 2013, at 1:57 PM, Matt D wrote: > i am using v3.6.3.1. i don't use the the git i build from the tarball. > On ubuntu 12.10. i saw some similar complaints from 3.6.2 builds but i > have been unable to locate the solution. > Thanks! What does "ctest -V -R volk" return? Is your issue found in the GR issue tracker: < http://gnuradio.org/redmine/projects/gnuradio/issues >? - MLD ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make test error
'master' also just built & tested for me without issue on Fedora 17. All components except shd, comedi, and fcd. Cheers, Ben On Thu, Jan 31, 2013 at 2:17 PM, Jared Lewis wrote: > I just cleaned and rebuilt master and all tests pass for me on Ubuntu > 12.04. > > Output of gnuradio-config-info shows that I am on master. > jared@jared:~/gnuradio/build$ gnuradio-core/src/lib/gnuradio-config-info > -v > v3.6.3-35-g4435082f > > Start 120: qa_ctcss_squelch > 120/180 Test #120: qa_ctcss_squelch . Passed0.17 sec > > > Jared > > > > On Fri, Feb 1, 2013 at 10:49 AM, Ben Reynwar wrote: > >> Should anyone feel like fixing it, the issue can be found here: >> >> http://gnuradio.org/redmine/issues/511 >> >> >> On Thu, Jan 31, 2013 at 2:35 PM, Josh Blum wrote: >> > >> > >> > On 01/31/2013 07:38 AM, adream wrote: >> >> hello everyone, I try to install gnuradio by source code, the version >> is >> >> 3.6.3. >> >> my operation system is Ubuntu 12.04. >> >> and I get this error while running make test >> >> >> >> The following tests FAILED: >> >> 120 - qa_ctcss_squelch (Failed) >> >> Errors while running CTest >> >> >> >> thanks for any reply. >> >> >> > >> > I think this is a known issue. If that is your only test failure, I >> > think your GR build is good to use :-) >> > >> > -josh >> > >> >> >> >> >> >> ___ >> >> Discuss-gnuradio mailing list >> >> Discuss-gnuradio@gnu.org >> >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> >> > >> > ___ >> > Discuss-gnuradio mailing list >> > Discuss-gnuradio@gnu.org >> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> ___ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > > > -- > This email, including any attachments, is only for the intended recipient. > It is subject to copyright, is confidential and may be the subject of legal > or other privilege, none of which is waived or lost by reason of this > transmission. > If you are not an intended recipient, you may not use, disseminate, > distribute or reproduce such email, any attachments, or any part thereof. > If you have received a message in error, please notify the sender > immediately and erase all copies of the message and any attachments. > Unfortunately, we cannot warrant that the email has not been altered or > corrupted during transmission nor can we guarantee that any email or any > attachments are free from computer viruses or other conditions which may > damage or interfere with recipient data, hardware or software. The > recipient relies upon its own procedures and assumes all risk of use and of > opening any attachments. > -- > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make test error
qa_ctcss_squelch is failing for me on master for Ubuntu 12.10 and in OS X 10.7.5. On Thu, Jan 31, 2013 at 3:17 PM, Jared Lewis wrote: > I just cleaned and rebuilt master and all tests pass for me on Ubuntu 12.04. > > Output of gnuradio-config-info shows that I am on master. > jared@jared:~/gnuradio/build$ gnuradio-core/src/lib/gnuradio-config-info -v > v3.6.3-35-g4435082f > > Start 120: qa_ctcss_squelch > 120/180 Test #120: qa_ctcss_squelch . Passed0.17 sec > > > Jared > > > > On Fri, Feb 1, 2013 at 10:49 AM, Ben Reynwar wrote: >> >> Should anyone feel like fixing it, the issue can be found here: >> >> http://gnuradio.org/redmine/issues/511 >> >> >> On Thu, Jan 31, 2013 at 2:35 PM, Josh Blum wrote: >> > >> > >> > On 01/31/2013 07:38 AM, adream wrote: >> >> hello everyone, I try to install gnuradio by source code, the version >> >> is >> >> 3.6.3. >> >> my operation system is Ubuntu 12.04. >> >> and I get this error while running make test >> >> >> >> The following tests FAILED: >> >> 120 - qa_ctcss_squelch (Failed) >> >> Errors while running CTest >> >> >> >> thanks for any reply. >> >> >> > >> > I think this is a known issue. If that is your only test failure, I >> > think your GR build is good to use :-) >> > >> > -josh >> > >> >> >> >> >> >> ___ >> >> Discuss-gnuradio mailing list >> >> Discuss-gnuradio@gnu.org >> >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> >> > >> > ___ >> > Discuss-gnuradio mailing list >> > Discuss-gnuradio@gnu.org >> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> ___ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > > This email, including any attachments, is only for the intended recipient. > It is subject to copyright, is confidential and may be the subject of legal > or other privilege, none of which is waived or lost by reason of this > transmission. > If you are not an intended recipient, you may not use, disseminate, > distribute or reproduce such email, any attachments, or any part thereof. If > you have received a message in error, please notify the sender immediately > and erase all copies of the message and any attachments. > Unfortunately, we cannot warrant that the email has not been altered or > corrupted during transmission nor can we guarantee that any email or any > attachments are free from computer viruses or other conditions which may > damage or interfere with recipient data, hardware or software. The recipient > relies upon its own procedures and assumes all risk of use and of opening > any attachments. > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make test error
I just cleaned and rebuilt master and all tests pass for me on Ubuntu 12.04. Output of gnuradio-config-info shows that I am on master. jared@jared:~/gnuradio/build$ gnuradio-core/src/lib/gnuradio-config-info -v v3.6.3-35-g4435082f Start 120: qa_ctcss_squelch 120/180 Test #120: qa_ctcss_squelch . Passed0.17 sec Jared On Fri, Feb 1, 2013 at 10:49 AM, Ben Reynwar wrote: > Should anyone feel like fixing it, the issue can be found here: > > http://gnuradio.org/redmine/issues/511 > > > On Thu, Jan 31, 2013 at 2:35 PM, Josh Blum wrote: > > > > > > On 01/31/2013 07:38 AM, adream wrote: > >> hello everyone, I try to install gnuradio by source code, the version is > >> 3.6.3. > >> my operation system is Ubuntu 12.04. > >> and I get this error while running make test > >> > >> The following tests FAILED: > >> 120 - qa_ctcss_squelch (Failed) > >> Errors while running CTest > >> > >> thanks for any reply. > >> > > > > I think this is a known issue. If that is your only test failure, I > > think your GR build is good to use :-) > > > > -josh > > > >> > >> > >> ___ > >> Discuss-gnuradio mailing list > >> Discuss-gnuradio@gnu.org > >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > >> > > > > ___ > > Discuss-gnuradio mailing list > > Discuss-gnuradio@gnu.org > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > -- -- This email, including any attachments, is only for the intended recipient. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If you are not an intended recipient, you may not use, disseminate, distribute or reproduce such email, any attachments, or any part thereof. If you have received a message in error, please notify the sender immediately and erase all copies of the message and any attachments. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission nor can we guarantee that any email or any attachments are free from computer viruses or other conditions which may damage or interfere with recipient data, hardware or software. The recipient relies upon its own procedures and assumes all risk of use and of opening any attachments. -- ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make test error
Should anyone feel like fixing it, the issue can be found here: http://gnuradio.org/redmine/issues/511 On Thu, Jan 31, 2013 at 2:35 PM, Josh Blum wrote: > > > On 01/31/2013 07:38 AM, adream wrote: >> hello everyone, I try to install gnuradio by source code, the version is >> 3.6.3. >> my operation system is Ubuntu 12.04. >> and I get this error while running make test >> >> The following tests FAILED: >> 120 - qa_ctcss_squelch (Failed) >> Errors while running CTest >> >> thanks for any reply. >> > > I think this is a known issue. If that is your only test failure, I > think your GR build is good to use :-) > > -josh > >> >> >> ___ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make test error
On 01/31/2013 07:38 AM, adream wrote: > hello everyone, I try to install gnuradio by source code, the version is > 3.6.3. > my operation system is Ubuntu 12.04. > and I get this error while running make test > > The following tests FAILED: > 120 - qa_ctcss_squelch (Failed) > Errors while running CTest > > thanks for any reply. > I think this is a known issue. If that is your only test failure, I think your GR build is good to use :-) -josh > > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio