[genivi-dlt] DLT Daemon v2.18.0 Release

Lipka, Christoph (ADITG/ESA) clipka at de.adit-jv.com
Fri Dec 21 05:03:30 EST 2018


Hello all,

We just released a new version of DLT Daemon.
In case you face any issues, please let us know.

The following tests have been executed:

Unit Tests
----------------
add -DWITH_DLT_UNIT_TESTS=ON

gtest_dlt_common
Steps:  cd build/tests; ./gtest_dlt_common
Result: [PASSED] 159 tests.

gtest_dlt_daemon_common
Steps:  cd build/tests; ./gtest_dlt_daemon_common
Result: [PASSED] 61 tests.

gtest_dlt_user
Steps:  dlt-daemon -d; cd build/tests; ./gtest_dlt_user
Result: [PASSED] 113 tests.

gtest_dlt_daemon_gateway
Steps:  tests/g_test_dlt_daemon_gateway.sh; cd build/tests; ./ gtest_dlt_daemon_gateway
Result: [PASSED] 46 tests.

gtest_dlt_daemon_event_handler
Steps:  cd build/tests; ./ gtest_dlt_daemon_event_handler
Result: [PASSED] 25 tests.

gtest_dlt_daemon_offline_log
Steps:  tests/gtest_dlt_daemon_logstorage.sh cd build/tests; ./gtest_dlt_daemon_offline_log
Result: [PASSED] 111 tests.

SmokeTests
-------------------
make sure no dlt-daemon is running

start_logstorage_test.sh
Steps: tests/start_logstorage_test.sh
Result: Test Passed.

start_multinode_test.sh
Steps: tests/start_multinode_test.sh
Result: Test Passed.

Automated Test
-----------------------
dlt-101 -DLT Client User Test Application

Steps: 
1. Starting dlt-daemon.
2. Starting first dlt-test-client localhost.
3. Then starting dlt-test-user.

Result:
18 Test Passed.
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
Start dlt-daemon. Receive Logs with dlt-receive. Send logs with dlt-example-user "Hello world"  and dlt-test-user.
Test Passed.

dlt-02 - Basic log test with GUI
Start dlt-daemon. Connect dlt_viewer to dlt-daemon. Send logs with dlt-example-user "Hello world" and dlt-test-user.
Test Passed.

dlt-03 - Receive of Log Info.
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.
Test Passed.

dlt-04 - Change log level and default log level 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).
Test Passed.

dlt-05 - Filter in GUI
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.
Test Passed.

dlt-06 - Store Config
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.
Test Passed.

dlt-08 - Register/Unregister many contexts 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.
Test Passed.

dlt-09 - Multiple threads logging data
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.
Test Passed.

dlt-10 - Logging much data
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.
Test Passed.

dlt-11 - Periodic keep-alive messages
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.
Test Passed.

dlt-12 - Non-verbose mode plugin support.
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.
Test Passed.

dlt-13 - Local buffering in DLT application 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 .
Test Passed.

dlt-14 - Local buffering in DLT daemon
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 .
Test Passed.

dlt-15 - Filetransfer test
cd to dlt-daemon/tests.
Execute ./start_filetransfer_test.sh
Verify that "Files are equal. Transfer succuess." is written to console.
Test Passed

dlt-16 - System logger test
cd to dlt-daemon/tests.
Execute ./start_system_logger_test.sh
Verify that "System Logger tests successfull." is written on console.
Test Passed

dlt-17 Systemd journal test

make sure vim and systemd-devel is installed cd to dlt-daemon/tests.
Execute ./start_systemd_journal_test.sh
Verify that "Systemd Journal tests successfull." is written on console.
Test Passed

Best regards
Manikandan Chockalingam
Christoph Lipka



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