[genivi-dlt] DLT Daemon v2.17.0 Release

Manikandan Chockalingam (RBEI/ECF3) Manikandan.Chockalingam at in.bosch.com
Fri Sep 15 04:19:35 EDT 2017


Hello all,

I have updated release notes and created the v.2.17.0 tag. In case you face any issues, please let me know. BTW, Sorry for the delay in the release.

The following tests have been executed:

Unit tests

Comment

How execute

Result

Known limitations

gtest_dlt_common

add -DWITH_DLT_UNIT_TESTS=ON

cd build/tests; ./gtest_dlt_common

[PASSED] 159 tests.



gtest_dlt_daemon_common



cd build/tests; ./gtest_dlt_daemon_common

[PASSED] 54 tests.



gtest_dlt_user



dlt-daemon -d; cd build/tests; ./gtest_dlt_user

[PASSED] 113 tests.



gtest_dlt_daemon_gateway



tests/g_test_dlt_daemon_gateway.sh;

[PASSED] 42 tests.



cd build/tests;

./gtest_dlt_daemon_gateway

gtest_dlt_daemon_event_handler





[PASSED] 23 tests.
















Smoketests









Logstorage smoketest

make sure no dlt-daemon is running

tests/start_logstorage_test.sh

Test Passed.



Multinode smoketests

make sure no dlt-daemon is running

tests/start_multinode_test.sh

Test Passed.













Automated tests









dlt-101 - DLT Client User Test Application





18 Test Passed.



1. Starting dlt-daemon.

2. Starting first dlt-test-client localhost.

3. Then starting dlt-test-user.

Macro Interface Tests









Test1m - (Macro IF) Test all log levels









Test2m - (Macro IF) Test all variable types (verbose)









Test3m - (Macro IF) Test all variable types (non-verbose)









Test4m - (Macro IF) Test different message sizes









Test5m - (Macro IF) Test high-level API









Test6m - (Macro IF) Test local printing









Test7m - (Macro IF) Test network trace









Test8m - (Macro IF) Test truncated network trace









Test9m - (Macro IF) Test segmented network trace









Function Interface Tests









Test1f - (Function IF) Test all log levels









Test2f - (Function IF) Test all variable types (verbose)









Test3f - (Function IF) Test all variable types (non-verbose)









Test4f - (Function IF) Test different message sizes









Test5f - (Function IF) Test high-level API









Test6f - (Function IF) Test local printing









Test7f - (Function IF) Test network trace









Test8f - (Function IF) Test truncated network trace









Test9f - (Function IF) Test segmented network trace



















Manual tests









dlt-01 - Basic log test





Test Passed.



Start dlt-daemon. Receive Logs with dlt-receive. Send logs with dlt-example-user "Hello world"  and dlt-test-user.

dlt-02 - Basic log test with GUI





Test Passed.



Start dlt-daemon. Connect dlt_viewer to dlt-daemon. Send logs with dlt-example-user "Hello world" and dlt-test-user.

dlt-03 - Receive of Log Info.





Test Passed.



Start dlt-daemon. Connect dlt_viewer (QT) to dlt-daemon. Send continous logs with dlt-example-user -n 10000 "Hello world" and in parallel dlt-test-user -n 10000 . Call "RMB -> DLT Get Log Info" on connected ECU in dlt_viewer.

dlt-04 - Change log level and default log level





Test Passed.



Start dlt-daemon. Connect dlt_viewer (QT) to dlt-daemon. Send continous logs with dlt-example-user -n 10000 "Hello world". Call "RMB -> DLT Get Log Info" on connected ECU in dlt_viewer. Change log level LOG/TEST to different values (via Double-click to TEST). Change default log level via Double-click to ECU online).

dlt-05 - Filter in GUI





Test Passed.



Start dlt-daemon. Connect dlt_viewer (QT) to dlt-daemon. Send continous logs with dlt-example-user -n 10000 "Hello world" and in parallel dlt-test-user -n 10000 . Add and delete filter in dlt_viewer.

dlt-06 - Store Config





Test Passed.



Start dlt-daemon. Connect dlt_viewer (QT)to dlt-daemon. Send continous logs with dlt-example-user -n 10000 "Hello world". Set log level LOG/TEST to off. RMB -> Store config. Stop dlt-example-user. Restart dlt-daemon. RMB -> Get Log Info. Restart dlt-example-user. Delete config with RMB -> Reset to Factory Default.











dlt-08 - Register/Unregister many contexts





Test Passed.



Start dlt-daemon. Connect dlt_viewer (QT) to dlt-daemon. Register many contexts with dlt-test-stress -1 . Call "RMB -> DLT Get Log Info" on connected ECU in dlt_viewer. Verify that highest available context is 2999. Press "Enter" in window with started dlt-test-stress -1 . Call "RMB -> ECU Delete all contexts", then "RMB -> DLT Get Log Info". Verfify, that no contexts are available.

dlt-09 - Multiple threads logging data





Test Passed.



Start dlt-daemon. Connect dlt_viewer (QT) to dlt-daemon. Clear log file. Start multiple threads logging data with dlt-test-stress -2 . Verify that the highest index is 64.

dlt-10 - Logging much data





Test Passed.



Start dlt-daemon. Connect dlt_viewer (QT) to dlt-daemon. Clear log file. Start logging data with dlt-test-stress -3 . Verify that the highest index is 511.











dlt-11 - Periodic keep-alive messages





Test Passed.



Start dlt-daemon. Connect dlt_viewer (QT ) to dlt-daemon. Request from dlt-daemon periodic keep-alive messages. To do this, double-click on on ECU in the dlt_viewer. Check "Timing packets from ECU" and "Update data in DLT if online". Verify, that each second a control time message is received.

dlt-12 - Non-verbose mode plugin support





Test Passed.



Start dlt-daemon. Connect dlt_viewer (QT) to dlt-daemon. Clear log file. Start dlt-example-user -n 1 -g "Hi". Load in Non-verbose mode plugin the XML file "dlt/src/examples/dlt-example-non-verbose-1.xml". Verify that messages with index 0 to 4 were replaced by the message description from XML file.

dlt-13 - Local buffering in DLT application





Test Passed.



Start dlt_viewer (QT) and try to connect to dlt-daemon (which is not running at this point). Start dlt-example-user -n 1000 "Hi". After one second, start dlt-daemon. Verify that all messages are shown in dlt_viewer, starting in the payload with 0, Hi .

dlt-14 - Local buffering in DLT daemon





Test Passed.



Start dlt-daemon. Start dlt-example-user -n 1000 "Hi". After one second start and connect dlt_viewer (QT). Verify that all messages are shown in dlt_viewer, starting in the payload with 0, Hi .











dlt-15 - Filetransfer test





Test passed



cd to ascgit003.dlt-daemon/tests.

Execute ./start_filetransfer_test.sh

Verify that "Files are equal. Transfer succuess." is written to console.

dlt-16 - System logger test





Test Passed



cd to ascgit003.dlt-daemon/tests.

Execute ./start_system_logger_test.sh

Verify that "System Logger tests successfull." is written on console.

dlt-17 Systemd journal test

make sure vim and systemd-devel is installed



Test Passed

Test does not terminate, but journal

cd to ascgit003.dlt-daemon/tests.

make sure DLT Viewer is _not_ connected

messages can be seen in dlt-viewer

Execute ./start_systemd_journal_test.sh



Need some further investigation/rework

Verify that "Systemd Journal tests successfull." is written on console.







Best regards

Manikandan Chockalingam



More information about the genivi-diagnostic-log-and-trace mailing list