gnssXtraTest failure?

legato-18.06.3

Nov 11 16:55:23 swi-mdm9x28-wp user.info Legato: INFO | gnssXtraTest[2070]/gnssXtraTest T=main | xtraTest.c _gnssXtraTest_COMPONENT_INIT() 236 | ======== Begin Positioning Xtra QMI implementation Test ========
Nov 11 16:55:23 swi-mdm9x28-wp user.info Legato: INFO | posDaemon[889]/le_pa_gnss T=main | pa_gnss_qmi.c pa_gnss_Start() 3320 | EngineState ON
Nov 11 16:55:23 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | Connecting to xtra1.gpsonextra.net (65.39.128.135:80)
Nov 11 16:55:24 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | ^Mxtra.bin
Nov 11 16:55:24 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | 100%
Nov 11 16:55:24 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] |
Nov 11 16:55:24 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | 39736
Nov 11 16:55:24 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | 0:00:00 ETA
Nov 11 16:55:24 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] |
Nov 11 16:55:24 swi-mdm9x28-wp user.info Legato: INFO | gnssXtraTest[2070]/gnssXtraTest T=main | xtraTest.c DownloadXtraFile() 91 | Download XTRA1 done
Nov 11 16:55:24 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | Connecting to xtra1.gpsonextra.net (72.51.26.219:80)
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | ^Mxtra2.bin
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | 19%
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] |
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | 12132
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | 0:00:04 ETA
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | ^Mxtra2.bin
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | 100%
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | |*******************************|
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | 60831
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] | 0:00:00 ETA
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | gnssXtraTest[2070] |
Nov 11 16:55:25 swi-mdm9x28-wp user.info Legato: INFO | gnssXtraTest[2070]/gnssXtraTest T=main | xtraTest.c DownloadXtraFile() 116 | Download XTRA2 done
Nov 11 16:55:25 swi-mdm9x28-wp user.info Legato: INFO | gnssXtraTest[2070]/gnssXtraTest T=main | xtraTest.c TestGetWrongExtendedEphemeris() 161 | Test using an unexisting XTRA file
Nov 11 16:55:25 swi-mdm9x28-wp user.err Legato: =ERR= | posDaemon[889]/le_pa_gnss T=main | pa_gnss_qmi.c pa_gnss_LoadExtendedEphemerisFile() 3615 | Bad extended ephemeris file descriptor
Nov 11 16:55:25 swi-mdm9x28-wp user.info Legato: INFO | gnssXtraTest[2070]/gnssXtraTest T=main | xtraTest.c TestGetWrongExtendedEphemeris() 176 | Open file /tmp/xtra.bin with fd.9
Nov 11 16:55:25 swi-mdm9x28-wp user.info Legato: INFO | gnssXtraTest[2070]/gnssXtraTest T=main | xtraTest.c TestGetWrongExtendedEphemeris() 178 | Test using an inconsistent XTRA file
Nov 11 16:55:25 swi-mdm9x28-wp user.debug Legato: DBUG | gnssXtraTest[2070]/framework T=main | LE_FILENAME unixSocket_SendMsg() 441 | Sending fd 9.
Nov 11 16:55:25 swi-mdm9x28-wp user.warn Legato: -WRN- | posDaemon[889]/le_pa_gnss T=unknown | pa_gnss_qmi.c XTRAInjectionHandler() 1612 | There was an error (1)
Nov 11 16:55:25 swi-mdm9x28-wp user.debug Legato: DBUG | gnssXtraTest[2070]/gnssXtraTest T=main | xtraTest.c TestGetWrongExtendedEphemeris() 185 | Received LE_FORMAT_ERROR
Nov 11 16:55:25 swi-mdm9x28-wp user.info Legato: INFO | gnssXtraTest[2070]/gnssXtraTest T=main | xtraTest.c TestGetExtendedEphemerisValidity() 212 | Open file /tmp/xtra2.bin with fd.9
Nov 11 16:55:25 swi-mdm9x28-wp user.debug Legato: DBUG | gnssXtraTest[2070]/framework T=main | LE_FILENAME unixSocket_SendMsg() 441 | Sending fd 9.
Nov 11 16:55:27 swi-mdm9x28-wp user.info Legato: INFO | gnssXtraTest[2070]/gnssXtraTest T=main | xtraTest.c TestGetExtendedEphemerisValidity() 219 | XTRA2 file weekNum 2027
Nov 11 16:55:27 swi-mdm9x28-wp user.info Legato: INFO | gnssXtraTest[2070]/gnssXtraTest T=main | xtraTest.c _gnssXtraTest_COMPONENT_INIT() 258 | ======== Completed Positioning Xtra QMI implementation Test ========

Hi,

That “xtraTest” application provided in Legato framework is used to test Xtra file injection, including error cases (file missing, inconsistent file, …). Those errors are expected, as shown in traces: “Test using an unexisting XTRA file”, “Test using an inconsistent XTRA file”, …
Test is completed so no issue found.

Hope it helps !