Ref deployment integration test suite does not generate reports #1505
-
Hi, I'm experimenting with the integration test feature but I can't get the report generation to work. From c8672e2 :
(.venv) ThibFrgsGmz@ubuntu:~/Documents/fprime/Ref$ fprime-util generate
...
(.venv) ThibFrgsGmz@ubuntu:~/Documents/fprime/Ref$ fprime-util build -j32
(.venv) ThibFrgsGmz@ubuntu:~/Documents/fprime/Ref$ fprime-gds --ip-address 127.0.0.1 --ip-port 50002 -n -g none
(.venv) ThibFrgsGmz@ubuntu:~/Documents/fprime/Ref/build-artifacts/Linux/bin$ sudo ./Ref -p 50002 -a 127.0.0.1
(.venv) ThibFrgsGmz@ubuntu:~/Documents/fprime/Ref$ pytest -s
=========================================================================================== test session starts ===========================================================================================
linux platform -- Python 3.8.10, pytest-6.2.4, py-1.11.0, pluggy-0.13.1
rootdir: /home/ThibFrgsGmz/Documents/fprime
collected 6 items
test/int/ref_integration_test.py received channel 19205 update: 2022-06-16 16:04:28: systemResources.CPU_00 = 100.00 percent
received channel 19206 updated: 2022-06-16 16:04:28: systemResources.CPU_01 = 1.02 percent
received channel 19207 updated: 2022-06-16 16:04:28: systemResources.CPU_02 = 1.02 percent
received channel 19208 updated: 2022-06-16 16:04:28: systemResources.CPU_03 = 2.04 percent
received channel 19209 updated: 2022-06-16 16:04:28: systemResources.CPU_04 = 0.00 percent
.....Sequence of 59 bytes with timebase b 'ANY'.
CRC: 1866831267 (0x6F4595A3)
.
====================================================================================== 6 passed in 98.42s (0:01:38) ======================================================================================= But in the end, I have no output generated in the I was expecting a report in Excel/CSV/Text format, but the contents of the directory remains empty. I notice that the two paths given to gdsName and fprimeName are no longer accurate since the creation of I see that the integration test suite is executed in the CI but I don't really see that the output logs are analyzed. Line 105 in 7fb554d Could you please guide me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
In order to get test reports in XLS format, you need to https://github.com/nasa/fprime/blob/devel/docs/UsersGuide/dev/testAPI/user_guide.md#api-test-log |
Beta Was this translation helpful? Give feedback.
In order to get test reports in XLS format, you need to
pip install openpyxl
. Once that is done, reports are generated at the setup path. In the case of ref, the path is set toRef/test/int/logs/
as it is releative to the.py
integration file.https://github.com/nasa/fprime/blob/devel/docs/UsersGuide/dev/testAPI/user_guide.md#api-test-log