> OK, so I ran 'ctest -V' twice in a row without code changes or building, and got the > same error output below for gr-core-test-all each time: > > test 6 > Start 6: gr-core-test-all > > 6: Test command: /bin/sh > "/src/gnuradio/build/gnuradio-core/src/tests/gr-core-test-all_test.sh" > 6: Test timeout computed to be: 9.99988e+06 > 6: Testing gr_vmcircbuf_createfilemapping_factory... > 6: gr_vmcircbuf_createfilemapping: createfilemapping is not available > 6: ....... gr_vmcircbuf_createfilemapping_factory: Doesn't work > 6: Testing gr_vmcircbuf_sysv_shm_factory... > 6: gr_vmcircbuf_sysv_shm: shmat (2): Invalid argument > 6: ....... gr_vmcircbuf_sysv_shm_factory: Doesn't work > 6: Testing gr_vmcircbuf_mmap_shm_open_factory... > 6: ....... gr_vmcircbuf_mmap_shm_open_factory: OK > 6: Testing gr_vmcircbuf_mmap_tmpfile_factory... > 6: ....... gr_vmcircbuf_mmap_tmpfile_factory: OK > 6: ...........................NOTICE: test from c++ NOTICE > 6: DEBUG: test from c++ DEBUG > 6: INFO: test from c++ INFO > 6: WARN: test from c++ WARN > 6: ERROR: test from c++ ERROR > 6: FATAL: test from c++ FATAL > 6: .....Using Volk machine: generic > 6: > 6: NOTE: This is supposed to produce an error from gr_block_executor > 6: Error: gr_block_executor: propagation_policy 'ONE-TO-ONE' requires > ninputs == noutputs > 6: [generic] [armv7_a] > 6: [generic] [armv7_a] > 6: [generic] > 6: [generic] > 6: [generic] > 6: [generic] [armv7_a] > 6: >>> gr_fir_fff: using armv7_a > 6: >>> gr_fir_ccf: using armv7_a > 6: > ........................................................................F........ > > 6: > 6/222 Test #6: gr-core-test-all .................***Failed 44.44 sec > > So what is the real error here? > > Thanks, > Tim
I'm having similar issues with gnuradio git commit 523a53ac387a699cef4d8e784561cdcaffad39cf as well as 3.7.0. I have run this test multiple times (the very first failure was at shmat (2)). Gnuradio was natively compiled with gcc 4.6.3 for the ARM Coretex-A9 (Xilinx Zynq) processor. Now, surprisingly, when running the unit tests under qemu-user chroot as described here: http://www.gentoo.org/proj/en/base/embedded/handbook/?part=1&chap=5 it seems to work fine. Here is a snapshot of running ctest -V -R gr-runtime on the ARM processor: ========= snip ===== Start 2: gr-runtime-test 2: Test command: /bin/sh "/root/gnuradio/build/gnuradio-runtime/lib/gr-runtime-test_test.sh" 2: Test timeout computed to be: 9.99988e+06 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::buffer::allocate_buffer: failed to allocate buffer of size 4 KB 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::buffer::allocate_buffer: failed to allocate buffer of size 4 KB 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::buffer::allocate_buffer: failed to allocate buffer of size 64 KB 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::buffer::allocate_buffer: failed to allocate buffer of size 64 KB 2: .E.E.E.E....................NOTICE: test from c++ NOTICE 2: DEBUG: test from c++ DEBUG 2: INFO: test from c++ INFO 2: WARN: test from c++ WARN 2: ERROR: test from c++ ERROR 2: FATAL: test from c++ FATAL 2: Testing gr::vmcircbuf_createfilemapping_factory... 2: vmcircbuf_createfilemapping: createfilemapping is not available 2: ....... gr::vmcircbuf_createfilemapping_factory: Doesn't work 2: Testing gr::vmcircbuf_sysv_shm_factory... 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: gr::vmcircbuf_sysv_shm: shmat (3): Invalid argument 2: ....... gr::vmcircbuf_sysv_shm_factory: Doesn't work 2: Testing gr::vmcircbuf_mmap_shm_open_factory... 2: ....... gr::vmcircbuf_mmap_shm_open_factory: OK 2: Testing gr::vmcircbuf_mmap_tmpfile_factory... 2: ....... gr::vmcircbuf_mmap_tmpfile_factory: OK 2: ...... 2: 1/1 Test #2: gr-runtime-test ..................***Failed 25.73 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 25.98 sec The following tests FAILED: 2 - gr-runtime-test (Failed) Errors while running CTest ========= Regards - Stephan -- View this message in context: http://gnuradio.4.n7.nabble.com/gnuradio-on-ARM-gr-vmcircbuf-sysv-shm-shmat-3-Invalid-argument-tp40870p43349.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio