UHD make test failed

Hi all,

I used to use build-gnuradio script to build gnuradio and uhd. Usually
everything is fine, but today when I run the script, it always stops
with
“UHD build apparently failed”. So I am trying to build from the source.
When
I run make test, it shows following errors:

lrg@FKCL:~/gnuradio/uhd/host/build$ make test

Running tests…

Test project /home/lrg/gnuradio/uhd/host/build

  Start  1: addr_test

1/15 Test #1: addr_test … Passed 0.01 sec

  Start  2: buffer_test

2/15 Test #2: buffer_test … Passed 0.03 sec

  Start  3: byteswap_test

3/15 Test #3: byteswap_test … Passed 0.02 sec

  Start  4: convert_test

4/15 Test #4: convert_test … Passed 0.21 sec

 Start  5: dict_test

5/15 Test #5: dict_test … Passed 0.01 sec

  Start  6: error_test

6/15 Test #6: error_test … Passed 0.01 sec

  Start  7: gain_group_test

7/15 Test #7: gain_group_test … Passed 0.01 sec

  Start  8: msg_test

8/15 Test #8: msg_test … Passed 0.01 sec

  Start  9: property_test

9/15 Test #9: property_test … Passed 0.01 sec

  Start 10: ranges_test

10/15 Test #10: ranges_test … Passed 0.01 sec

  Start 11: sph_recv_test

11/15 Test #11: sph_recv_test … Passed 0.06 sec

  Start 12: sph_send_test

12/15 Test #12: sph_send_test … Passed 0.01 sec

  Start 13: subdev_spec_test

13/15 Test #13: subdev_spec_test … Passed 0.01 sec

  Start 14: time_spec_test

14/15 Test #14: time_spec_test …***Failed 0.00 sec

  Start 15: vrt_test

15/15 Test #15: vrt_test …***Failed 0.00 sec

87% tests passed, 2 tests failed out of 15

Total Test time (real) = 0.46 sec

The following tests FAILED:

          14 - time_spec_test (Failed)

          15 - vrt_test (Failed)

Errors while running CTest

make: *** [test] Error 8

How should I fix this problem?

Thanks in advance.

Ting Wu

14/15 Test #14: time_spec_test …***Failed 0.00 sec

  Start 15: vrt_test

15/15 Test #15: vrt_test …***Failed 0.00 sec

Its possible this is related to a recent fix.
Can you tell me the following:

  • Version of uhd?
  • CPU 32 or 64 bit?
  • OS version?

You can run these tests from the build directory,
send the output verbose please:

  • tests/time_spec_test
  • tests/vrt_test

Thanks!
-josh

Hi,
I am passing through the same error, this is the output from the tests
that you ordered to Ting WU
pacote: ettus-uhd-git 20101013-0
UHD - uhd-images_003.005.003-159-g0159006c.zip
CPU: 64 bits
OS: Arch Linux 3.10.10-1-ARCH

./tests/time_spec_test
*** No errors detected
./tests/vrt_test
linux; GNU C++ version 4.8.1 20130725 (prerelease); Boost_105400;
UHD_003.005.003-163-gfeabc1c7

Running 7 test cases…

packet_buff[0] = 0x1
packet_buff[1] = 0xff7f0000
packet_buff[2] = 0x305381c0
packet_buff[3] = 0xff7f0000
packet_buff[4] = 0x514

packet_buff[0] = 0x1001000d
packet_buff[1] = 0x6b8b4567
packet_buff[2] = 0x305381c0
packet_buff[3] = 0xff7f0000
packet_buff[4] = 0x514

packet_buff[0] = 0x20017
packet_buff[1] = 0x6b8b4567
packet_buff[2] = 0x305381c0
packet_buff[3] = 0xff7f0000
packet_buff[4] = 0x514

packet_buff[0] = 0xd30025
packet_buff[1] = 0x643c9869
packet_buff[2] = 0x0
packet_buff[3] = 0x66334873
packet_buff[4] = 0x514

packet_buff[0] = 0x10d40031
packet_buff[1] = 0x74b0dc51
packet_buff[2] = 0x2ae8944a
packet_buff[3] = 0x0
packet_buff[4] = 0x625558ec

packet_buff[0] = 0x56524c50
packet_buff[1] = 0x300032
packet_buff[2] = 0x1413002f
packet_buff[3] = 0x0
packet_buff[4] = 0x0

packet_buff[0] = 0x20070074
packet_buff[1] = 0x0
packet_buff[2] = 0x0
packet_buff[3] = 0x507ed7ab
packet_buff[4] = 0x0
/tmp/yaourt-tmp-root/aur-ettus-uhd-git/src/uhd/host/tests/vrt_test.cpp(58):
error in “test_with_chdr”: check if_packet_info_in.num_payload_words32
== if_packet_info_out.num_payload_words32 failed [24 != 25]
/tmp/yaourt-tmp-root/aur-ettus-uhd-git/src/uhd/host/tests/vrt_test.cpp(75):
error in “test_with_chdr”: check if_packet_info_in.has_tlr ==
if_packet_info_out.has_tlr failed [true != false]

Josh B. wrote in post #1106236:

14/15 Test #14: time_spec_test …***Failed 0.00 sec

  Start 15: vrt_test

15/15 Test #15: vrt_test …***Failed 0.00 sec

Its possible this is related to a recent fix.
Can you tell me the following:

  • Version of uhd?
  • CPU 32 or 64 bit?
  • OS version?

You can run these tests from the build directory,
send the output verbose please:

  • tests/time_spec_test
  • tests/vrt_test

Thanks!
-josh