Discussion:
[Discuss-gnuradio] Install: qa_volk_test_all fails
madengr
2014-11-25 03:53:53 UTC
Permalink
Run volk_profile then rerun the tests.

Lou
On Ubuntu 14.04LTS 32bit, I tried installing using gnuradio-3.7.5
The build completed, but several of the build tests fail
98 % tests passed,4 test failed out of 193
1 - qa_volk_test_all (Failed)
31 - qa_udp_source_sink (Failed)
181-qa_trellis (Failed)
187-qa_codec2_vocoder (Failed)
Errors while runnnig CTest
I hope you can help me! Thankyou!
--
View this message in context: http://gnuradio.4.n7.nabble.com/Install-qa-volk-test-all-fails-tp51420p51422.html
Sent from the GnuRadio mailing list archive at Nabble.com.
Cocacola93
2014-11-25 12:45:20 UTC
Permalink
***@nujmee:~/gnuradio/build$ Run volk_profile
Run: command not found





--
View this message in context: http://gnuradio.4.n7.nabble.com/Install-qa-volk-test-all-fails-tp51420p51429.html
Sent from the GnuRadio mailing list archive at Nabble.com.
madengr
2014-11-25 13:21:13 UTC
Permalink
I assume this is your first install and VOLK has not been profiled already,
in which case you need to do a:

sudo make install
sudo ldconfig
volk_profile
make test
Post by Cocacola93
Run: command not found
--
View this message in context: http://gnuradio.4.n7.nabble.com/Install-qa-volk-test-all-fails-tp51420p51430.html
Sent from the GnuRadio mailing list archive at Nabble.com.
madengr
2014-11-25 13:46:44 UTC
Permalink
No, do not type:
Run volk_profile

Type this:
volk_profile

Try my other suggestion if the above does not work. My guess is the VOLK
tests won't work since this is your first time installing gnuradio, and you
have not run the volk_profile. In which case you need to bootstrap by
installing it first, run volk_profile, then you can run the tests.

If that does not work, I'm not sure what to do and maybe someone else has an
idea.

By the way, the "udp source sink" fails for me too.

Lou
Post by Cocacola93
Run: command not found
--
View this message in context: http://gnuradio.4.n7.nabble.com/Install-qa-volk-test-all-fails-tp51420p51431.html
Sent from the GnuRadio mailing list archive at Nabble.com.
Cocacola93
2014-11-25 15:56:46 UTC
Permalink
I try volk_profile

but

98% tests passed, 4 tests failed out of 193

Total Test time (real) = 258.68 sec

The following tests FAILED:
1 - qa_volk_test_all (Failed)
31 - qa_udp_source_sink (Failed)
181 - qa_trellis (Failed)
187 - qa_codec2_vocoder (Failed)
Errors while running CTest
make: *** [test] Error 8

Thank you for instructions.



--
View this message in context: http://gnuradio.4.n7.nabble.com/Install-qa-volk-test-all-fails-tp51420p51434.html
Sent from the GnuRadio mailing list archive at Nabble.com.
West, Nathan
2014-11-25 16:54:48 UTC
Permalink
Post by Cocacola93
I try volk_profile
but
98% tests passed, 4 tests failed out of 193
Total Test time (real) = 258.68 sec
1 - qa_volk_test_all (Failed)
31 - qa_udp_source_sink (Failed)
181 - qa_trellis (Failed)
187 - qa_codec2_vocoder (Failed)
Errors while running CTest
make: *** [test] Error 8
Thank you for instructions.
A) Since you don't have much experience I recommend using a binary
distribution of GNU Radio provided by your distribution. See the
official recommendation here:
https://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR

B) Inside your build direction can you run the following commands and
send the output? If it's long copy it to a website like fpaste.org

ctest -V -R volk | grep -C 5 offset
cat /proc/cpuinfo | grep 'model name'
West, Nathan
2014-11-25 16:58:18 UTC
Permalink
On Tue, Nov 25, 2014 at 10:50 AM, West, Nathan
Post by madengr
Try my other suggestion if the above does not work. My guess is the VOLK
tests won't work since this is your first time installing gnuradio, and you
have not run the volk_profile. In which case you need to bootstrap by
installing it first, run volk_profile, then you can run the tests.
Lou
Forgot to hit reply-all the first time.

I'm not sure where this suggestion is coming from, but installing VOLK
has nothing to do with the QA. There is no bootstrapping VOLK, in fact
the there's something like a 99% overlap between code executed when
runing 'make test' on VOLK and volk_profile.

If you have experience where make test fails on VOLK, but passes
after installing I would like to hear about it because it's the sign of a bug.

Nathan
madengr
2014-11-25 17:47:33 UTC
Permalink
Sorry, the boostrapping was a guess on my part, as I recall having a similar
issue a while back and seeing this:

http://lists.gnu.org/archive/html/discuss-gnuradio/2013-07/msg00486.html

Lou
Post by West, Nathan
On Tue, Nov 25, 2014 at 10:50 AM, West, Nathan
<
Forgot to hit reply-all the first time.
I'm not sure where this suggestion is coming from, but installing VOLK
has nothing to do with the QA. There is no bootstrapping VOLK, in fact
the there's something like a 99% overlap between code executed when
runing 'make test' on VOLK and volk_profile.
If you have experience where make test fails on VOLK, but passes
after installing I would like to hear about it because it's the sign of a bug.
Nathan
_______________________________________________
Discuss-gnuradio mailing list
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
View this message in context: http://gnuradio.4.n7.nabble.com/Install-qa-volk-test-all-fails-tp51420p51442.html
Sent from the GnuRadio mailing list archive at Nabble.com.
West, Nathan
2014-11-25 18:31:41 UTC
Permalink
Post by madengr
Sorry, the boostrapping was a guess on my part, as I recall having a similar
http://lists.gnu.org/archive/html/discuss-gnuradio/2013-07/msg00486.html
Lou
Post by West, Nathan
On Tue, Nov 25, 2014 at 10:50 AM, West, Nathan
<
Forgot to hit reply-all the first time.
I'm not sure where this suggestion is coming from, but installing VOLK
has nothing to do with the QA. There is no bootstrapping VOLK, in fact
the there's something like a 99% overlap between code executed when
runing 'make test' on VOLK and volk_profile.
If you have experience where make test fails on VOLK, but passes
after installing I would like to hear about it because it's the sign of a bug.
Nathan
Ah, yes. That was to test a bug. If you ever have to run volk_profile
to make QA pass then there's a bug and it should be reported. The
normal operating procedure should be to install, then run volk_profile
and be done.

Nathan

Marcus Müller
2014-11-25 14:04:50 UTC
Permalink
Cocacola93,
found
running a command means executing the same; instead of doing "Run
volk_profile", you should just have typed "volk_profile".

I don't mean to discourage you, but it might be wise to first spend
some time getting to grips with your linux machine before trying to do
GNU Radio, or even openBTS, as these are fairly complex systems; if
left alone with all the problems you'll encounter on the way to
getting everything to run, it seems that you haven't already acquired
a lot of experience in understanding helpful instructions.

Greetings,
Marcus
Cocacola93
2014-11-25 16:09:52 UTC
Permalink
Thank you for instructions
I haven't already acquired a lot of experience
I need more advice



--
View this message in context: http://gnuradio.4.n7.nabble.com/Install-qa-volk-test-all-fails-tp51420p51435.html
Sent from the GnuRadio mailing list archive at Nabble.com.
Loading...