discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr-lte make error


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] gr-lte make error
Date: Tue, 29 Aug 2017 17:42:31 -0400

In MacPorts, I have the gr-lte port depend on the zeitgeist port for
testing purposes only. This helps out some with the QA, as does the most
recent commits that fix some debug log files that couldn't be written
to.

{{{
The following tests FAILED:
         13 - qa_pbch_demux_vcvc (Failed)
         14 - qa_channel_estimator_vcvc (Failed)
         18 - qa_sss_calculator_vcm (Failed)
         30 - qa_mimo_pss_freq_sync (Failed)
         34 - qa_mimo_remove_cp (Failed)
}}}

The error for all of them is now:
{{{
13:   File
"/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_science_gr-lte/gr-lte/work/gr-lte-3cba8a519bc86d402d634c9539ee5df8e9c1dc1e/python/lte_test/lte_phy.py",
line 149, in get_sss
13:     s0[n] = sX[(n + m0) % 31]
13: IndexError: only integers, slices (`:`), ellipsis (`...`),
numpy.newaxis (`None`) and integer or boolean arrays are valid indices
}}}

The issue is that 'm0' is of type np.float, and must be converted to an
integer value to work as part of an index in an array. I've issued a PR
to upstream ( https://github.com/kit-cel/gr-lte/pull/16 ) that fixes
this issue & after this "make test" comes out clean for me in MacPorts!

Cheers! - MLD

On Tue, Aug 29, 2017, at 04:50 PM, Cinaed Simson wrote:
> Opps - I forgot to run make test.
> 
> 50% of the tests failed. Here's the summary of the report:
> 
> The following tests FAILED:
>         2 - qa_mib_unpack_vbm (Failed)
>         3 - qa_crc_check_vbvb (Failed)
>         5 - qa_bch_viterbi_vfvb (Failed)
>         6 - qa_subblock_deinterleaver_vfvf (Failed)
>         7 - qa_pbch_descrambler_vfvf (Failed)
>        10 - qa_qpsk_soft_demod_vcvf (Failed)
>        11 - qa_layer_demapper_vcvc (Failed)
>        12 - qa_pre_decoder_vcvc (Failed)
>        13 - qa_pbch_demux_vcvc (Failed)
>        14 - qa_channel_estimator_vcvc (Failed)
>        17 - qa_remove_cp_cvc (Failed)
>        18 - qa_sss_calculator_vcm (Failed)
>        19 - qa_pcfich_unpack_vfm (Failed)
>        27 - qa_descrambler_vfvf (Failed)
>        29 - qa_pcfich_demux_vcvc (Failed)
>        30 - qa_mimo_pss_freq_sync (Failed)
>        34 - qa_mimo_remove_cp (Failed)
> 
> The first failure appears to be the result of a missing module:
> 
>   zeitgeist.datamodel
> 
> I randomly selected a couple of other test scripts and they appear to be
> missing same module.



reply via email to

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