[genivi-dlt] DLT Daemon v2.16.0 Release

Lipka, Christoph (ADITJ/SWG) clipka at jp.adit-jv.com
Mon Oct 24 04:23:51 EDT 2016


Hello all,

I just pushed the patches I proposed last week, updated documentation and release notes and created the v.2.16.0 tag. In case you face any issues, please let me know.

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;
cd build/tests;
./gtest_dlt_daemon_gateway

[PASSED] 42 tests.

 

gtest_dlt_daemon_event_handler

 

 

[PASSED] 23 tests.

FAILED tests:
t_dlt_connection_send_normal,
t_dlt_connection_send_multiple.normal_2
Corresponding tests need rework.

 

 

 

 

 

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
1. Starting dlt-daemon.
2. Starting first dlt-test-client localhost.
3. Then starting dlt-test-user.

 

 

18 Test Passed.

 

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
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 ascgit003.dlt-daemon/tests.
Execute ./start_filetransfer_test.sh
Verify that "Files are equal. Transfer succuess." is written to console.

 

 

Failed

File not equal: Error on transmission
Need further investigations.

dlt-16 - System logger test
cd to ascgit003.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
cd to ascgit003.dlt-daemon/tests.
Execute ./start_systemd_journal_test.sh
Verify that "Systemd Journal tests successfull." is written on console.

make sure vim and systemd-devel is installed
make sure DLT Viewer is _not_ connected

 

Test Passed

Test does not terminate, but journal
messages can be seen in dlt-viewer
Need some further investigation/rework



Best regards

Christoph Lipka
Advanced Driver Information Technology
Software Group (ADITJ/SWG)
1-1 Showa-cho, Kariya-shi
Aichi-ken 448-8661, Japan
Tel. +81-(0)566 61-5124
Fax +81-(0)566 25-4774
clipka at jp.adit-jv.com<mailto:clipka at jp.adit-jv.com>

ADIT is joint venture company of DENSO Corporation and Bosch GmbH

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20161024/a70d42cd/attachment.html>


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