Aktualizacja v2.2.0 -> v2.3.0

Moderator: fracz

User avatar
lesny8
Posts: 870
Joined: Mon Dec 11, 2017 9:43 pm

Thu Feb 14, 2019 11:58 pm

pzygmunt wrote:
Thu Feb 14, 2019 11:31 pm
Wystarczy jak wrzucisz tam pusty plik
Teraz to inaczej to wygląda

Code: Select all

2019-02-14 23:52:56,315 CRIT Supervisor running as root (no user in config file)
2019-02-14 23:52:56,322 INFO supervisord started with pid 1
2019-02-14 23:52:57,328 INFO spawned: 'supla-scheduler' with pid 11
2019-02-14 23:52:57,334 INFO spawned: 'supla-server' with pid 12
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ActionTest
[ RUN      ] ActionTest.time
[       OK ] ActionTest.time (0 ms)
[----------] 1 test from ActionTest (1 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1 ms total)
[  PASSED  ] 1 test.
2019-02-14 23:52:57,377 INFO exited: supla-scheduler (exit status 0; not expected)
[==========] Running 176 tests from 6 test cases.
[----------] Global test environment set-up.
[----------] 5 tests from GoogleHomeClientTest
[ RUN      ] GoogleHomeClientTest.requestSync
ERR[1550188377.392868] MySQL - Failed to connect to database.
ERR[1550188377.393092] MySQL - Failed to connect to database.
ERR[1550188377.393242] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.requestSync (6 ms)
[ RUN      ] GoogleHomeClientTest.onOffRepoerState
ERR[1550188377.394853] MySQL - Failed to connect to database.
ERR[1550188377.395048] MySQL - Failed to connect to database.
ERR[1550188377.395390] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.onOffRepoerState (2 ms)
[ RUN      ] GoogleHomeClientTest.brightnessState
ERR[1550188377.396873] MySQL - Failed to connect to database.
ERR[1550188377.397252] MySQL - Failed to connect to database.
ERR[1550188377.397420] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.brightnessState (3 ms)
[ RUN      ] GoogleHomeClientTest.colorState
ERR[1550188377.399532] MySQL - Failed to connect to database.
ERR[1550188377.399722] MySQL - Failed to connect to database.
ERR[1550188377.400083] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.colorState (2 ms)
[ RUN      ] GoogleHomeClientTest.sendFullReportState
ERR[1550188377.402158] MySQL - Failed to connect to database.
ERR[1550188377.402512] MySQL - Failed to connect to database.
ERR[1550188377.402705] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.sendFullReportState (2 ms)
[----------] 5 tests from GoogleHomeClientTest (15 ms total)

[----------] 1 test from DeviceChannelTest
[ RUN      ] DeviceChannelTest.TemperatureHumidityClass
[       OK ] DeviceChannelTest.TemperatureHumidityClass (0 ms)
[----------] 1 test from DeviceChannelTest (0 ms total)

[----------] 17 tests from ProtoTest
[ RUN      ] ProtoTest.check_size_of_structures_and_types
../src/test/ProtoTest.cpp:36: Failure
Expected equality of these values:
  16
  sizeof(struct timeval)
    Which is: 8
[  FAILED  ] ProtoTest.check_size_of_structures_and_types (1 ms)
[ RUN      ] ProtoTest.init
[       OK ] ProtoTest.init (0 ms)
[ RUN      ] ProtoTest.set_version
[       OK ] ProtoTest.set_version (0 ms)
[ RUN      ] ProtoTest.out_dataexists
[       OK ] ProtoTest.out_dataexists (0 ms)
[ RUN      ] ProtoTest.in_dataexists
[       OK ] ProtoTest.in_dataexists (0 ms)
[ RUN      ] ProtoTest.in_buffer_append
../src/test/ProtoTest.cpp:173: Failure
Expected equality of these values:
  -3
  sproto_in_buffer_append(sproto, data, 131072)
    Which is: '\xFD' (253)
[  FAILED  ] ProtoTest.in_buffer_append (1 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test1
[       OK ] ProtoTest.pop_in_sdp_test1 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test2
../src/test/ProtoTest.cpp:233: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test2 (1 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test3
../src/test/ProtoTest.cpp:258: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test3 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test4
[       OK ] ProtoTest.pop_in_sdp_test4 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test5
../src/test/ProtoTest.cpp:302: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test5 (1 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test6
../src/test/ProtoTest.cpp:328: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test6 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test7
../src/test/ProtoTest.cpp:351: Failure
Expected equality of these values:
  -1
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFF' (255)
[  FAILED  ] ProtoTest.pop_in_sdp_test7 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test1
[       OK ] ProtoTest.out_buffer_append_test1 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test2
[       OK ] ProtoTest.out_buffer_append_test2 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test3
../src/test/ProtoTest.cpp:390: Failure
Expected equality of these values:
  -4
  sproto_out_buffer_append(sproto, &sdp)
    Which is: '\xFC' (252)
[  FAILED  ] ProtoTest.out_buffer_append_test3 (1 ms)
[ RUN      ] ProtoTest.pop_out_data
[       OK ] ProtoTest.pop_out_data (0 ms)
[----------] 17 tests from ProtoTest (5 ms total)

[----------] 1 test from SafeArrayTest
[ RUN      ] SafeArrayTest.all
[       OK ] SafeArrayTest.all (0 ms)
[----------] 1 test from SafeArrayTest (0 ms total)

[----------] 139 tests from SrpcTest
[ RUN      ] SrpcTest.init
[       OK ] SrpcTest.init (0 ms)
[ RUN      ] SrpcTest.set_proto
[       OK ] SrpcTest.set_proto (0 ms)
[ RUN      ] SrpcTest.call_allowed_v1
[       OK ] SrpcTest.call_allowed_v1 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v2
[       OK ] SrpcTest.call_allowed_v2 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v3
[       OK ] SrpcTest.call_allowed_v3 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v5
[       OK ] SrpcTest.call_allowed_v5 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v6
[       OK ] SrpcTest.call_allowed_v6 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v7
[       OK ] SrpcTest.call_allowed_v7 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v8
[       OK ] SrpcTest.call_allowed_v8 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v9
[       OK ] SrpcTest.call_allowed_v9 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v10
[       OK ] SrpcTest.call_allowed_v10 (0 ms)
[ RUN      ] SrpcTest.call_not_allowed
[       OK ] SrpcTest.call_not_allowed (10 ms)
[ RUN      ] SrpcTest.iterate_read_error_when_zero
[       OK ] SrpcTest.iterate_read_error_when_zero (0 ms)
[ RUN      ] SrpcTest.iterate_incorrect_data
DEBUG[1550188377.421026] sproto_pop_in_sdp error: 254
[       OK ] SrpcTest.iterate_incorrect_data (1 ms)
[ RUN      ] SrpcTest.iterate_incorrect_version
[       OK ] SrpcTest.iterate_incorrect_version (0 ms)
[ RUN      ] SrpcTest.iterate_input_queue_size
DEBUG[1550188377.422020] ssrpc_in_queue_push error
[       OK ] SrpcTest.iterate_input_queue_size (1 ms)
[ RUN      ] SrpcTest.iterate_buffer_overflow
DEBUG[1550188377.422273] sproto_in_buffer_append: 253, datasize: 131072
[       OK ] SrpcTest.iterate_buffer_overflow (0 ms)
[ RUN      ] SrpcTest.iterate_no_data
[       OK ] SrpcTest.iterate_no_data (0 ms)
[ RUN      ] SrpcTest.iterate_out_queue_pop
[       OK ] SrpcTest.iterate_out_queue_pop (0 ms)
[ RUN      ] SrpcTest.call_getversion
[       OK ] SrpcTest.call_getversion (0 ms)
[ RUN      ] SrpcTest.call_getversion_reasult
[       OK ] SrpcTest.call_getversion_reasult (1 ms)
[ RUN      ] SrpcTest.call_ping_server
../src/test/SrpcTest.cpp:494: Failure
Expected equality of these values:
  ExpectedSize
    Which is: 39
  data_write_size
    Which is: 31
../src/test/SrpcTest.cpp:579: Failure
Value of: cr_rd.data.dcs_ping == NULL
  Actual: true
Expected: false
[  FAILED  ] SrpcTest.call_ping_server (0 ms)
[ RUN      ] SrpcTest.call_ping_server_result
../src/test/SrpcTest.cpp:494: Failure
Expected equality of these values:
  ExpectedSize
    Which is: 39
  data_write_size
    Which is: 31
../src/test/SrpcTest.cpp:600: Failure
Value of: cr_rd.data.sdc_ping_result == NULL
  Actual: true
Expected: false
[  FAILED  ] SrpcTest.call_ping_server_result (1 ms)
[ RUN      ] SrpcTest.call_set_activity_timeout
[       OK ] SrpcTest.call_set_activity_timeout (0 ms)
[ RUN      ] SrpcTest.call_set_activity_timeout_result
[       OK ] SrpcTest.call_set_activity_timeout_result (0 ms)
[ RUN      ] SrpcTest.call_get_registration_enabled
[       OK ] SrpcTest.call_get_registration_enabled (0 ms)
[ RUN      ] SrpcTest.call_get_registration_enabled_result
[       OK ] SrpcTest.call_get_registration_enabled_result (0 ms)
[ RUN      ] SrpcTest.call_registerdevice
[       OK ] SrpcTest.call_registerdevice (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_one_channel
[       OK ] SrpcTest.call_registerdevice_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_without_channels
[       OK ] SrpcTest.call_registerdevice_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_wrong_size
[       OK ] SrpcTest.call_registerdevice_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b
[       OK ] SrpcTest.call_registerdevice_b (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_one_channel
[       OK ] SrpcTest.call_registerdevice_b_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_without_channels
[       OK ] SrpcTest.call_registerdevice_b_without_channels (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_wrong_size
[       OK ] SrpcTest.call_registerdevice_b_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c
[       OK ] SrpcTest.call_registerdevice_c (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_one_channel
[       OK ] SrpcTest.call_registerdevice_c_one_channel (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_without_channels
[       OK ] SrpcTest.call_registerdevice_c_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_wrong_size
[       OK ] SrpcTest.call_registerdevice_c_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d
[       OK ] SrpcTest.call_registerdevice_d (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_one_channel
[       OK ] SrpcTest.call_registerdevice_d_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_without_channels
[       OK ] SrpcTest.call_registerdevice_d_without_channels (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_wrong_size
[       OK ] SrpcTest.call_registerdevice_d_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e
[       OK ] SrpcTest.call_registerdevice_e (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_one_channel
[       OK ] SrpcTest.call_registerdevice_e_one_channel (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_without_channels
[       OK ] SrpcTest.call_registerdevice_e_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_wrong_size
[       OK ] SrpcTest.call_registerdevice_e_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_result
[       OK ] SrpcTest.call_registerdevice_result (1 ms)
[ RUN      ] SrpcTest.call_channel_value_changed
[       OK ] SrpcTest.call_channel_value_changed (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_zero_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_over_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_small_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_small_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_full_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_sd_set_channel_value
[       OK ] SrpcTest.call_sd_set_channel_value (0 ms)
[ RUN      ] SrpcTest.call_ds_set_channel_value_result
[       OK ] SrpcTest.call_ds_set_channel_value_result (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url
[       OK ] SrpcTest.call_get_firmware_update_url (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url_result_exists
[       OK ] SrpcTest.call_get_firmware_update_url_result_exists (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url_result_not_exists
[       OK ] SrpcTest.call_get_firmware_update_url_result_not_exists (0 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_over_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_over_size (0 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_zero_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_zero_size (0 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_full_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_full_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_over_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_over_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_zero_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_zero_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_full_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_full_size (0 ms)
[ RUN      ] SrpcTest.call_registerclient
[       OK ] SrpcTest.call_registerclient (0 ms)
[ RUN      ] SrpcTest.call_registerclient_b
[       OK ] SrpcTest.call_registerclient_b (1 ms)
[ RUN      ] SrpcTest.call_registerclient_c
[       OK ] SrpcTest.call_registerclient_c (0 ms)
[ RUN      ] SrpcTest.call_registerclient_result
[       OK ] SrpcTest.call_registerclient_result (0 ms)
[ RUN      ] SrpcTest.call_registerclient_result_b
[       OK ] SrpcTest.call_registerclient_result_b (0 ms)
[ RUN      ] SrpcTest.call_location_update_with_over_size
[       OK ] SrpcTest.call_location_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_location_update_with_full_size
[       OK ] SrpcTest.call_location_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_location_update_without_caption
[       OK ] SrpcTest.call_location_update_without_caption (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_over_size
[       OK ] SrpcTest.call_locationpack_update_with_over_size (1 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_zero_size
[       OK ] SrpcTest.call_locationpack_update_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_caption_over_size
[       OK ] SrpcTest.call_locationpack_update_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_full_size
[       OK ] SrpcTest.call_locationpack_update_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channel_update_with_over_size
[       OK ] SrpcTest.call_channel_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_with_minimum_size
[       OK ] SrpcTest.call_channel_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_with_full_size
[       OK ] SrpcTest.call_channel_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_over_size
[       OK ] SrpcTest.call_channel_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_minimum_size
[       OK ] SrpcTest.call_channel_update_b_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_full_size
[       OK ] SrpcTest.call_channel_update_b_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_over_size
[       OK ] SrpcTest.call_channel_update_c_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_minimum_size
[       OK ] SrpcTest.call_channel_update_c_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_full_size
[       OK ] SrpcTest.call_channel_update_c_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_over_size
[       OK ] SrpcTest.call_channelpack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_full_size
[       OK ] SrpcTest.call_channelpack_update_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_over_size
[       OK ] SrpcTest.call_channelpack_update_c_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_c_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_c_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_full_size
[       OK ] SrpcTest.call_channelpack_update_c_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_over_size
[       OK ] SrpcTest.call_channelpack_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_b_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_b_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_full_size
[       OK ] SrpcTest.call_channelpack_update_b_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channel_value_update
[       OK ] SrpcTest.call_channel_value_update (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_caption_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_full_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_zero_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_caption_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_full_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_over_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_full_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_minimum_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_over_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_full_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_minimum_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_over_count
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_over_count (1 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_count
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_count (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_over_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_full_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_get_next
[       OK ] SrpcTest.call_get_next (0 ms)
[ RUN      ] SrpcTest.call_event_with_zero_size
[       OK ] SrpcTest.call_event_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_event_with_full_size
[       OK ] SrpcTest.call_event_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_event_with_over_size
[       OK ] SrpcTest.call_event_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_cs_set_channel_value
[       OK ] SrpcTest.call_cs_set_channel_value (0 ms)
[ RUN      ] SrpcTest.call_cs_set_channel_value_b
[       OK ] SrpcTest.call_cs_set_channel_value_b (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request
[       OK ] SrpcTest.call_oauth_token_request (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_zero_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_over_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_full_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_superuser_authorization_request
[       OK ] SrpcTest.call_superuser_authorization_request (0 ms)
[ RUN      ] SrpcTest.call_superuser_authorization_result
[       OK ] SrpcTest.call_superuser_authorization_result (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_over_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_over_size (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_zero_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_zero_size (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_full_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_full_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_over_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_over_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_zero_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_zero_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_full_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_full_size (0 ms)
[ RUN      ] SrpcTest.evtool_electricity_meter_value_to_extended
[       OK ] SrpcTest.evtool_electricity_meter_value_to_extended (0 ms)
[ RUN      ] SrpcTest.evtool_input_counter_value_to_extended
[       OK ] SrpcTest.evtool_input_counter_value_to_extended (1 ms)
[----------] 139 tests from SrpcTest (55 ms total)

[----------] 13 tests from ToolsTest
[ RUN      ] ToolsTest.st_file_exists
[       OK ] ToolsTest.st_file_exists (0 ms)
[ RUN      ] ToolsTest.pid_file
[       OK ] ToolsTest.pid_file (1 ms)
[ RUN      ] ToolsTest.st_bin2hex
[       OK ] ToolsTest.st_bin2hex (0 ms)
[ RUN      ] ToolsTest.st_guid2hex
[       OK ] ToolsTest.st_guid2hex (0 ms)
[ RUN      ] ToolsTest.st_authkey2hex
[       OK ] ToolsTest.st_authkey2hex (0 ms)
[ RUN      ] ToolsTest.st_str2hex
[       OK ] ToolsTest.st_str2hex (0 ms)
[ RUN      ] ToolsTest.st_read_randkey_from_file
[       OK ] ToolsTest.st_read_randkey_from_file (0 ms)
[ RUN      ] ToolsTest.st_read_guid_from_file
[       OK ] ToolsTest.st_read_guid_from_file (1 ms)
[ RUN      ] ToolsTest.st_read_authkey_from_file
[       OK ] ToolsTest.st_read_authkey_from_file (0 ms)
[ RUN      ] ToolsTest.st_bcrypt
[       OK ] ToolsTest.st_bcrypt (101 ms)
[ RUN      ] ToolsTest.st_base64
[       OK ] ToolsTest.st_base64 (0 ms)
[ RUN      ] ToolsTest.st_hsv2rgb
[       OK ] ToolsTest.st_hsv2rgb (0 ms)
[ RUN      ] ToolsTest.st_rgb2hsv
[       OK ] ToolsTest.st_rgb2hsv (0 ms)
[----------] 13 tests from ToolsTest (103 ms total)

[----------] Global test environment tear-down
[==========] 176 tests from 6 test cases ran. (178 ms total)
[  PASSED  ] 166 tests.
[  FAILED  ] 10 tests, listed below:
[  FAILED  ] ProtoTest.check_size_of_structures_and_types
[  FAILED  ] ProtoTest.in_buffer_append
[  FAILED  ] ProtoTest.pop_in_sdp_test2
[  FAILED  ] ProtoTest.pop_in_sdp_test3
[  FAILED  ] ProtoTest.pop_in_sdp_test5
[  FAILED  ] ProtoTest.pop_in_sdp_test6
[  FAILED  ] ProtoTest.pop_in_sdp_test7
[  FAILED  ] ProtoTest.out_buffer_append_test3
[  FAILED  ] SrpcTest.call_ping_server
[  FAILED  ] SrpcTest.call_ping_server_result

10 FAILED TESTS
2019-02-14 23:52:57,569 INFO exited: supla-server (exit status 1; not expected)
2019-02-14 23:52:58,575 INFO spawned: 'supla-scheduler' with pid 14
2019-02-14 23:52:58,584 INFO spawned: 'supla-server' with pid 15
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ActionTest
[ RUN      ] ActionTest.time
[       OK ] ActionTest.time (0 ms)
[----------] 1 test from ActionTest (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1 ms total)
[  PASSED  ] 1 test.
2019-02-14 23:52:58,627 INFO exited: supla-scheduler (exit status 0; not expected)
[==========] Running 176 tests from 6 test cases.
[----------] Global test environment set-up.
[----------] 5 tests from GoogleHomeClientTest
[ RUN      ] GoogleHomeClientTest.requestSync
ERR[1550188378.657950] MySQL - Failed to connect to database.
ERR[1550188378.658167] MySQL - Failed to connect to database.
ERR[1550188378.658322] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.requestSync (5 ms)
[ RUN      ] GoogleHomeClientTest.onOffRepoerState
ERR[1550188378.659595] MySQL - Failed to connect to database.
ERR[1550188378.659777] MySQL - Failed to connect to database.
ERR[1550188378.659935] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.onOffRepoerState (1 ms)
[ RUN      ] GoogleHomeClientTest.brightnessState
ERR[1550188378.661354] MySQL - Failed to connect to database.
ERR[1550188378.661542] MySQL - Failed to connect to database.
ERR[1550188378.661739] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.brightnessState (2 ms)
[ RUN      ] GoogleHomeClientTest.colorState
ERR[1550188378.663713] MySQL - Failed to connect to database.
ERR[1550188378.663911] MySQL - Failed to connect to database.
ERR[1550188378.664070] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.colorState (2 ms)
[ RUN      ] GoogleHomeClientTest.sendFullReportState
ERR[1550188378.666012] MySQL - Failed to connect to database.
ERR[1550188378.666198] MySQL - Failed to connect to database.
ERR[1550188378.666351] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.sendFullReportState (2 ms)
[----------] 5 tests from GoogleHomeClientTest (13 ms total)

[----------] 1 test from DeviceChannelTest
[ RUN      ] DeviceChannelTest.TemperatureHumidityClass
[       OK ] DeviceChannelTest.TemperatureHumidityClass (0 ms)
[----------] 1 test from DeviceChannelTest (0 ms total)

[----------] 17 tests from ProtoTest
[ RUN      ] ProtoTest.check_size_of_structures_and_types
../src/test/ProtoTest.cpp:36: Failure
Expected equality of these values:
  16
  sizeof(struct timeval)
    Which is: 8
[  FAILED  ] ProtoTest.check_size_of_structures_and_types (0 ms)
[ RUN      ] ProtoTest.init
[       OK ] ProtoTest.init (0 ms)
[ RUN      ] ProtoTest.set_version
[       OK ] ProtoTest.set_version (0 ms)
[ RUN      ] ProtoTest.out_dataexists
[       OK ] ProtoTest.out_dataexists (1 ms)
[ RUN      ] ProtoTest.in_dataexists
[       OK ] ProtoTest.in_dataexists (0 ms)
[ RUN      ] ProtoTest.in_buffer_append
../src/test/ProtoTest.cpp:173: Failure
Expected equality of these values:
  -3
  sproto_in_buffer_append(sproto, data, 131072)
    Which is: '\xFD' (253)
[  FAILED  ] ProtoTest.in_buffer_append (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test1
[       OK ] ProtoTest.pop_in_sdp_test1 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test2
../src/test/ProtoTest.cpp:233: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test2 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test3
../src/test/ProtoTest.cpp:258: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test3 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test4
[       OK ] ProtoTest.pop_in_sdp_test4 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test5
../src/test/ProtoTest.cpp:302: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test5 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test6
../src/test/ProtoTest.cpp:328: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test6 (1 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test7
../src/test/ProtoTest.cpp:351: Failure
Expected equality of these values:
  -1
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFF' (255)
[  FAILED  ] ProtoTest.pop_in_sdp_test7 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test1
[       OK ] ProtoTest.out_buffer_append_test1 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test2
[       OK ] ProtoTest.out_buffer_append_test2 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test3
../src/test/ProtoTest.cpp:390: Failure
Expected equality of these values:
  -4
  sproto_out_buffer_append(sproto, &sdp)
    Which is: '\xFC' (252)
[  FAILED  ] ProtoTest.out_buffer_append_test3 (0 ms)
[ RUN      ] ProtoTest.pop_out_data
[       OK ] ProtoTest.pop_out_data (0 ms)
[----------] 17 tests from ProtoTest (2 ms total)

[----------] 1 test from SafeArrayTest
[ RUN      ] SafeArrayTest.all
[       OK ] SafeArrayTest.all (0 ms)
[----------] 1 test from SafeArrayTest (0 ms total)

[----------] 139 tests from SrpcTest
[ RUN      ] SrpcTest.init
[       OK ] SrpcTest.init (0 ms)
[ RUN      ] SrpcTest.set_proto
[       OK ] SrpcTest.set_proto (0 ms)
[ RUN      ] SrpcTest.call_allowed_v1
[       OK ] SrpcTest.call_allowed_v1 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v2
[       OK ] SrpcTest.call_allowed_v2 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v3
[       OK ] SrpcTest.call_allowed_v3 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v5
[       OK ] SrpcTest.call_allowed_v5 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v6
[       OK ] SrpcTest.call_allowed_v6 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v7
[       OK ] SrpcTest.call_allowed_v7 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v8
[       OK ] SrpcTest.call_allowed_v8 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v9
[       OK ] SrpcTest.call_allowed_v9 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v10
[       OK ] SrpcTest.call_allowed_v10 (0 ms)
[ RUN      ] SrpcTest.call_not_allowed
[       OK ] SrpcTest.call_not_allowed (5 ms)
[ RUN      ] SrpcTest.iterate_read_error_when_zero
[       OK ] SrpcTest.iterate_read_error_when_zero (0 ms)
[ RUN      ] SrpcTest.iterate_incorrect_data
DEBUG[1550188378.676026] sproto_pop_in_sdp error: 254
[       OK ] SrpcTest.iterate_incorrect_data (1 ms)
[ RUN      ] SrpcTest.iterate_incorrect_version
[       OK ] SrpcTest.iterate_incorrect_version (0 ms)
[ RUN      ] SrpcTest.iterate_input_queue_size
DEBUG[1550188378.676435] ssrpc_in_queue_push error
[       OK ] SrpcTest.iterate_input_queue_size (0 ms)
[ RUN      ] SrpcTest.iterate_buffer_overflow
DEBUG[1550188378.676571] sproto_in_buffer_append: 253, datasize: 131072
[       OK ] SrpcTest.iterate_buffer_overflow (0 ms)
[ RUN      ] SrpcTest.iterate_no_data
[       OK ] SrpcTest.iterate_no_data (0 ms)
[ RUN      ] SrpcTest.iterate_out_queue_pop
[       OK ] SrpcTest.iterate_out_queue_pop (0 ms)
[ RUN      ] SrpcTest.call_getversion
[       OK ] SrpcTest.call_getversion (0 ms)
[ RUN      ] SrpcTest.call_getversion_reasult
[       OK ] SrpcTest.call_getversion_reasult (0 ms)
[ RUN      ] SrpcTest.call_ping_server
../src/test/SrpcTest.cpp:494: Failure
Expected equality of these values:
  ExpectedSize
    Which is: 39
  data_write_size
    Which is: 31
../src/test/SrpcTest.cpp:579: Failure
Value of: cr_rd.data.dcs_ping == NULL
  Actual: true
Expected: false
[  FAILED  ] SrpcTest.call_ping_server (1 ms)
[ RUN      ] SrpcTest.call_ping_server_result
../src/test/SrpcTest.cpp:494: Failure
Expected equality of these values:
  ExpectedSize
    Which is: 39
  data_write_size
    Which is: 31
../src/test/SrpcTest.cpp:600: Failure
Value of: cr_rd.data.sdc_ping_result == NULL
  Actual: true
Expected: false
[  FAILED  ] SrpcTest.call_ping_server_result (0 ms)
[ RUN      ] SrpcTest.call_set_activity_timeout
[       OK ] SrpcTest.call_set_activity_timeout (0 ms)
[ RUN      ] SrpcTest.call_set_activity_timeout_result
[       OK ] SrpcTest.call_set_activity_timeout_result (0 ms)
[ RUN      ] SrpcTest.call_get_registration_enabled
[       OK ] SrpcTest.call_get_registration_enabled (0 ms)
[ RUN      ] SrpcTest.call_get_registration_enabled_result
[       OK ] SrpcTest.call_get_registration_enabled_result (0 ms)
[ RUN      ] SrpcTest.call_registerdevice
[       OK ] SrpcTest.call_registerdevice (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_one_channel
[       OK ] SrpcTest.call_registerdevice_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_without_channels
[       OK ] SrpcTest.call_registerdevice_without_channels (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_wrong_size
[       OK ] SrpcTest.call_registerdevice_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b
[       OK ] SrpcTest.call_registerdevice_b (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_one_channel
[       OK ] SrpcTest.call_registerdevice_b_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_without_channels
[       OK ] SrpcTest.call_registerdevice_b_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_wrong_size
[       OK ] SrpcTest.call_registerdevice_b_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c
[       OK ] SrpcTest.call_registerdevice_c (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_one_channel
[       OK ] SrpcTest.call_registerdevice_c_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_without_channels
[       OK ] SrpcTest.call_registerdevice_c_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_wrong_size
[       OK ] SrpcTest.call_registerdevice_c_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d
[       OK ] SrpcTest.call_registerdevice_d (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_one_channel
[       OK ] SrpcTest.call_registerdevice_d_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_without_channels
[       OK ] SrpcTest.call_registerdevice_d_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_wrong_size
[       OK ] SrpcTest.call_registerdevice_d_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e
[       OK ] SrpcTest.call_registerdevice_e (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_one_channel
[       OK ] SrpcTest.call_registerdevice_e_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_without_channels
[       OK ] SrpcTest.call_registerdevice_e_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_wrong_size
[       OK ] SrpcTest.call_registerdevice_e_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_result
[       OK ] SrpcTest.call_registerdevice_result (0 ms)
[ RUN      ] SrpcTest.call_channel_value_changed
[       OK ] SrpcTest.call_channel_value_changed (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_zero_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_over_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_small_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_small_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_full_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_sd_set_channel_value
[       OK ] SrpcTest.call_sd_set_channel_value (0 ms)
[ RUN      ] SrpcTest.call_ds_set_channel_value_result
[       OK ] SrpcTest.call_ds_set_channel_value_result (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url
[       OK ] SrpcTest.call_get_firmware_update_url (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url_result_exists
[       OK ] SrpcTest.call_get_firmware_update_url_result_exists (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url_result_not_exists
[       OK ] SrpcTest.call_get_firmware_update_url_result_not_exists (0 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_over_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_over_size (0 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_zero_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_zero_size (0 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_full_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_full_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_over_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_over_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_zero_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_zero_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_full_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_full_size (0 ms)
[ RUN      ] SrpcTest.call_registerclient
[       OK ] SrpcTest.call_registerclient (0 ms)
[ RUN      ] SrpcTest.call_registerclient_b
[       OK ] SrpcTest.call_registerclient_b (0 ms)
[ RUN      ] SrpcTest.call_registerclient_c
[       OK ] SrpcTest.call_registerclient_c (0 ms)
[ RUN      ] SrpcTest.call_registerclient_result
[       OK ] SrpcTest.call_registerclient_result (0 ms)
[ RUN      ] SrpcTest.call_registerclient_result_b
[       OK ] SrpcTest.call_registerclient_result_b (1 ms)
[ RUN      ] SrpcTest.call_location_update_with_over_size
[       OK ] SrpcTest.call_location_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_location_update_with_full_size
[       OK ] SrpcTest.call_location_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_location_update_without_caption
[       OK ] SrpcTest.call_location_update_without_caption (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_over_size
[       OK ] SrpcTest.call_locationpack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_zero_size
[       OK ] SrpcTest.call_locationpack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_caption_over_size
[       OK ] SrpcTest.call_locationpack_update_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_full_size
[       OK ] SrpcTest.call_locationpack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_with_over_size
[       OK ] SrpcTest.call_channel_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_with_minimum_size
[       OK ] SrpcTest.call_channel_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_with_full_size
[       OK ] SrpcTest.call_channel_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_over_size
[       OK ] SrpcTest.call_channel_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_minimum_size
[       OK ] SrpcTest.call_channel_update_b_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_full_size
[       OK ] SrpcTest.call_channel_update_b_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_over_size
[       OK ] SrpcTest.call_channel_update_c_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_minimum_size
[       OK ] SrpcTest.call_channel_update_c_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_full_size
[       OK ] SrpcTest.call_channel_update_c_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_over_size
[       OK ] SrpcTest.call_channelpack_update_with_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_full_size
[       OK ] SrpcTest.call_channelpack_update_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_over_size
[       OK ] SrpcTest.call_channelpack_update_c_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_c_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_c_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_full_size
[       OK ] SrpcTest.call_channelpack_update_c_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_over_size
[       OK ] SrpcTest.call_channelpack_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_b_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_b_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_full_size
[       OK ] SrpcTest.call_channelpack_update_b_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_value_update
[       OK ] SrpcTest.call_channel_value_update (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_caption_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_full_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_zero_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_caption_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_full_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_over_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_full_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_minimum_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_over_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_full_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_minimum_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_over_count
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_over_count (1 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_count
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_count (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_over_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_full_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_get_next
[       OK ] SrpcTest.call_get_next (0 ms)
[ RUN      ] SrpcTest.call_event_with_zero_size
[       OK ] SrpcTest.call_event_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_event_with_full_size
[       OK ] SrpcTest.call_event_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_event_with_over_size
[       OK ] SrpcTest.call_event_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_cs_set_channel_value
[       OK ] SrpcTest.call_cs_set_channel_value (0 ms)
[ RUN      ] SrpcTest.call_cs_set_channel_value_b
[       OK ] SrpcTest.call_cs_set_channel_value_b (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request
[       OK ] SrpcTest.call_oauth_token_request (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_zero_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_over_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_full_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_superuser_authorization_request
[       OK ] SrpcTest.call_superuser_authorization_request (1 ms)
[ RUN      ] SrpcTest.call_superuser_authorization_result
[       OK ] SrpcTest.call_superuser_authorization_result (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_over_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_over_size (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_zero_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_zero_size (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_full_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_full_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_over_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_over_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_zero_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_zero_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_full_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_full_size (0 ms)
[ RUN      ] SrpcTest.evtool_electricity_meter_value_to_extended
[       OK ] SrpcTest.evtool_electricity_meter_value_to_extended (0 ms)
[ RUN      ] SrpcTest.evtool_input_counter_value_to_extended
[       OK ] SrpcTest.evtool_input_counter_value_to_extended (0 ms)
[----------] 139 tests from SrpcTest (24 ms total)

[----------] 13 tests from ToolsTest
[ RUN      ] ToolsTest.st_file_exists
[       OK ] ToolsTest.st_file_exists (0 ms)
[ RUN      ] ToolsTest.pid_file
[       OK ] ToolsTest.pid_file (1 ms)
[ RUN      ] ToolsTest.st_bin2hex
[       OK ] ToolsTest.st_bin2hex (0 ms)
[ RUN      ] ToolsTest.st_guid2hex
[       OK ] ToolsTest.st_guid2hex (0 ms)
[ RUN      ] ToolsTest.st_authkey2hex
[       OK ] ToolsTest.st_authkey2hex (0 ms)
[ RUN      ] ToolsTest.st_str2hex
[       OK ] ToolsTest.st_str2hex (0 ms)
[ RUN      ] ToolsTest.st_read_randkey_from_file
[       OK ] ToolsTest.st_read_randkey_from_file (0 ms)
[ RUN      ] ToolsTest.st_read_guid_from_file
[       OK ] ToolsTest.st_read_guid_from_file (1 ms)
[ RUN      ] ToolsTest.st_read_authkey_from_file
[       OK ] ToolsTest.st_read_authkey_from_file (0 ms)
[ RUN      ] ToolsTest.st_bcrypt
[       OK ] ToolsTest.st_bcrypt (102 ms)
[ RUN      ] ToolsTest.st_base64
[       OK ] ToolsTest.st_base64 (0 ms)
[ RUN      ] ToolsTest.st_hsv2rgb
[       OK ] ToolsTest.st_hsv2rgb (0 ms)
[ RUN      ] ToolsTest.st_rgb2hsv
[       OK ] ToolsTest.st_rgb2hsv (0 ms)
[----------] 13 tests from ToolsTest (104 ms total)

[----------] Global test environment tear-down
[==========] 176 tests from 6 test cases ran. (144 ms total)
[  PASSED  ] 166 tests.
[  FAILED  ] 10 tests, listed below:
[  FAILED  ] ProtoTest.check_size_of_structures_and_types
[  FAILED  ] ProtoTest.in_buffer_append
[  FAILED  ] ProtoTest.pop_in_sdp_test2
[  FAILED  ] ProtoTest.pop_in_sdp_test3
[  FAILED  ] ProtoTest.pop_in_sdp_test5
[  FAILED  ] ProtoTest.pop_in_sdp_test6
[  FAILED  ] ProtoTest.pop_in_sdp_test7
[  FAILED  ] ProtoTest.out_buffer_append_test3
[  FAILED  ] SrpcTest.call_ping_server
[  FAILED  ] SrpcTest.call_ping_server_result

10 FAILED TESTS
2019-02-14 23:52:58,799 INFO exited: supla-server (exit status 1; not expected)
2019-02-14 23:53:00,807 INFO spawned: 'supla-scheduler' with pid 17
2019-02-14 23:53:00,814 INFO spawned: 'supla-server' with pid 18
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ActionTest
[ RUN      ] ActionTest.time
[       OK ] ActionTest.time (0 ms)
[----------] 1 test from ActionTest (0 ms total)
User avatar
lesny8
Posts: 870
Joined: Mon Dec 11, 2017 9:43 pm

Fri Feb 15, 2019 12:00 am

Druga część (ograniczenie posta do 6000 znaków)

Code: Select all

 
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[  PASSED  ] 1 test.
2019-02-14 23:53:00,858 INFO exited: supla-scheduler (exit status 0; not expected)
[==========] Running 176 tests from 6 test cases.
[----------] Global test environment set-up.
[----------] 5 tests from GoogleHomeClientTest
[ RUN      ] GoogleHomeClientTest.requestSync
ERR[1550188380.871604] MySQL - Failed to connect to database.
ERR[1550188380.871832] MySQL - Failed to connect to database.
ERR[1550188380.871988] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.requestSync (5 ms)
[ RUN      ] GoogleHomeClientTest.onOffRepoerState
ERR[1550188380.873136] MySQL - Failed to connect to database.
ERR[1550188380.873318] MySQL - Failed to connect to database.
ERR[1550188380.873469] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.onOffRepoerState (2 ms)
[ RUN      ] GoogleHomeClientTest.brightnessState
ERR[1550188380.874777] MySQL - Failed to connect to database.
ERR[1550188380.874960] MySQL - Failed to connect to database.
ERR[1550188380.875114] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.brightnessState (2 ms)
[ RUN      ] GoogleHomeClientTest.colorState
ERR[1550188380.877023] MySQL - Failed to connect to database.
ERR[1550188380.877209] MySQL - Failed to connect to database.
ERR[1550188380.877361] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.colorState (2 ms)
[ RUN      ] GoogleHomeClientTest.sendFullReportState
ERR[1550188380.879441] MySQL - Failed to connect to database.
ERR[1550188380.879625] MySQL - Failed to connect to database.
ERR[1550188380.879776] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.sendFullReportState (1 ms)
[----------] 5 tests from GoogleHomeClientTest (13 ms total)

[----------] 1 test from DeviceChannelTest
[ RUN      ] DeviceChannelTest.TemperatureHumidityClass
[       OK ] DeviceChannelTest.TemperatureHumidityClass (0 ms)
[----------] 1 test from DeviceChannelTest (0 ms total)

[----------] 17 tests from ProtoTest
[ RUN      ] ProtoTest.check_size_of_structures_and_types
../src/test/ProtoTest.cpp:36: Failure
Expected equality of these values:
  16
  sizeof(struct timeval)
    Which is: 8
[  FAILED  ] ProtoTest.check_size_of_structures_and_types (1 ms)
[ RUN      ] ProtoTest.init
[       OK ] ProtoTest.init (0 ms)
[ RUN      ] ProtoTest.set_version
[       OK ] ProtoTest.set_version (0 ms)
[ RUN      ] ProtoTest.out_dataexists
[       OK ] ProtoTest.out_dataexists (0 ms)
[ RUN      ] ProtoTest.in_dataexists
[       OK ] ProtoTest.in_dataexists (0 ms)
[ RUN      ] ProtoTest.in_buffer_append
../src/test/ProtoTest.cpp:173: Failure
Expected equality of these values:
  -3
  sproto_in_buffer_append(sproto, data, 131072)
    Which is: '\xFD' (253)
[  FAILED  ] ProtoTest.in_buffer_append (1 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test1
[       OK ] ProtoTest.pop_in_sdp_test1 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test2
../src/test/ProtoTest.cpp:233: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test2 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test3
../src/test/ProtoTest.cpp:258: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test3 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test4
[       OK ] ProtoTest.pop_in_sdp_test4 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test5
../src/test/ProtoTest.cpp:302: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test5 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test6
../src/test/ProtoTest.cpp:328: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test6 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test7
../src/test/ProtoTest.cpp:351: Failure
Expected equality of these values:
  -1
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFF' (255)
[  FAILED  ] ProtoTest.pop_in_sdp_test7 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test1
[       OK ] ProtoTest.out_buffer_append_test1 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test2
[       OK ] ProtoTest.out_buffer_append_test2 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test3
../src/test/ProtoTest.cpp:390: Failure
Expected equality of these values:
  -4
  sproto_out_buffer_append(sproto, &sdp)
    Which is: '\xFC' (252)
[  FAILED  ] ProtoTest.out_buffer_append_test3 (0 ms)
[ RUN      ] ProtoTest.pop_out_data
[       OK ] ProtoTest.pop_out_data (0 ms)
[----------] 17 tests from ProtoTest (3 ms total)

[----------] 1 test from SafeArrayTest
[ RUN      ] SafeArrayTest.all
[       OK ] SafeArrayTest.all (0 ms)
[----------] 1 test from SafeArrayTest (0 ms total)

[----------] 139 tests from SrpcTest
[ RUN      ] SrpcTest.init
[       OK ] SrpcTest.init (0 ms)
[ RUN      ] SrpcTest.set_proto
[       OK ] SrpcTest.set_proto (0 ms)
[ RUN      ] SrpcTest.call_allowed_v1
[       OK ] SrpcTest.call_allowed_v1 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v2
[       OK ] SrpcTest.call_allowed_v2 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v3
[       OK ] SrpcTest.call_allowed_v3 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v5
[       OK ] SrpcTest.call_allowed_v5 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v6
[       OK ] SrpcTest.call_allowed_v6 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v7
[       OK ] SrpcTest.call_allowed_v7 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v8
[       OK ] SrpcTest.call_allowed_v8 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v9
[       OK ] SrpcTest.call_allowed_v9 (1 ms)
[ RUN      ] SrpcTest.call_allowed_v10
[       OK ] SrpcTest.call_allowed_v10 (0 ms)
[ RUN      ] SrpcTest.call_not_allowed
[       OK ] SrpcTest.call_not_allowed (10 ms)
[ RUN      ] SrpcTest.iterate_read_error_when_zero
[       OK ] SrpcTest.iterate_read_error_when_zero (0 ms)
[ RUN      ] SrpcTest.iterate_incorrect_data
DEBUG[1550188380.896132] sproto_pop_in_sdp error: 254
[       OK ] SrpcTest.iterate_incorrect_data (0 ms)
[ RUN      ] SrpcTest.iterate_incorrect_version
[       OK ] SrpcTest.iterate_incorrect_version (0 ms)
[ RUN      ] SrpcTest.iterate_input_queue_size
DEBUG[1550188380.897117] ssrpc_in_queue_push error
[       OK ] SrpcTest.iterate_input_queue_size (1 ms)
[ RUN      ] SrpcTest.iterate_buffer_overflow
DEBUG[1550188380.897305] sproto_in_buffer_append: 253, datasize: 131072
[       OK ] SrpcTest.iterate_buffer_overflow (0 ms)
[ RUN      ] SrpcTest.iterate_no_data
[       OK ] SrpcTest.iterate_no_data (0 ms)
[ RUN      ] SrpcTest.iterate_out_queue_pop
[       OK ] SrpcTest.iterate_out_queue_pop (0 ms)
[ RUN      ] SrpcTest.call_getversion
[       OK ] SrpcTest.call_getversion (0 ms)
[ RUN      ] SrpcTest.call_getversion_reasult
[       OK ] SrpcTest.call_getversion_reasult (0 ms)
[ RUN      ] SrpcTest.call_ping_server
../src/test/SrpcTest.cpp:494: Failure
Expected equality of these values:
  ExpectedSize
    Which is: 39
  data_write_size
    Which is: 31
../src/test/SrpcTest.cpp:579: Failure
Value of: cr_rd.data.dcs_ping == NULL
  Actual: true
Expected: false
[  FAILED  ] SrpcTest.call_ping_server (0 ms)
[ RUN      ] SrpcTest.call_ping_server_result
../src/test/SrpcTest.cpp:494: Failure
Expected equality of these values:
  ExpectedSize
    Which is: 39
  data_write_size
    Which is: 31
../src/test/SrpcTest.cpp:600: Failure
Value of: cr_rd.data.sdc_ping_result == NULL
  Actual: true
Expected: false
[  FAILED  ] SrpcTest.call_ping_server_result (1 ms)
[ RUN      ] SrpcTest.call_set_activity_timeout
[       OK ] SrpcTest.call_set_activity_timeout (0 ms)
[ RUN      ] SrpcTest.call_set_activity_timeout_result
[       OK ] SrpcTest.call_set_activity_timeout_result (0 ms)
[ RUN      ] SrpcTest.call_get_registration_enabled
[       OK ] SrpcTest.call_get_registration_enabled (0 ms)
[ RUN      ] SrpcTest.call_get_registration_enabled_result
[       OK ] SrpcTest.call_get_registration_enabled_result (0 ms)
[ RUN      ] SrpcTest.call_registerdevice
[       OK ] SrpcTest.call_registerdevice (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_one_channel
[       OK ] SrpcTest.call_registerdevice_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_without_channels
[       OK ] SrpcTest.call_registerdevice_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_wrong_size
[       OK ] SrpcTest.call_registerdevice_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b
[       OK ] SrpcTest.call_registerdevice_b (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_one_channel
[       OK ] SrpcTest.call_registerdevice_b_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_without_channels
[       OK ] SrpcTest.call_registerdevice_b_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_wrong_size
[       OK ] SrpcTest.call_registerdevice_b_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c
[       OK ] SrpcTest.call_registerdevice_c (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_one_channel
[       OK ] SrpcTest.call_registerdevice_c_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_without_channels
[       OK ] SrpcTest.call_registerdevice_c_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_wrong_size
[       OK ] SrpcTest.call_registerdevice_c_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d
[       OK ] SrpcTest.call_registerdevice_d (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_one_channel
[       OK ] SrpcTest.call_registerdevice_d_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_without_channels
[       OK ] SrpcTest.call_registerdevice_d_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_wrong_size
[       OK ] SrpcTest.call_registerdevice_d_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e
[       OK ] SrpcTest.call_registerdevice_e (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_one_channel
[       OK ] SrpcTest.call_registerdevice_e_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_without_channels
[       OK ] SrpcTest.call_registerdevice_e_without_channels (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_wrong_size
[       OK ] SrpcTest.call_registerdevice_e_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_result
[       OK ] SrpcTest.call_registerdevice_result (0 ms)
[ RUN      ] SrpcTest.call_channel_value_changed
[       OK ] SrpcTest.call_channel_value_changed (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_zero_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_over_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_small_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_small_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_full_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_sd_set_channel_value
[       OK ] SrpcTest.call_sd_set_channel_value (0 ms)
[ RUN      ] SrpcTest.call_ds_set_channel_value_result
[       OK ] SrpcTest.call_ds_set_channel_value_result (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url
[       OK ] SrpcTest.call_get_firmware_update_url (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url_result_exists
[       OK ] SrpcTest.call_get_firmware_update_url_result_exists (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url_result_not_exists
[       OK ] SrpcTest.call_get_firmware_update_url_result_not_exists (1 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_over_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_over_size (0 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_zero_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_zero_size (0 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_full_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_full_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_over_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_over_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_zero_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_zero_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_full_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_full_size (0 ms)
[ RUN      ] SrpcTest.call_registerclient
[       OK ] SrpcTest.call_registerclient (0 ms)
[ RUN      ] SrpcTest.call_registerclient_b
[       OK ] SrpcTest.call_registerclient_b (0 ms)
[ RUN      ] SrpcTest.call_registerclient_c
[       OK ] SrpcTest.call_registerclient_c (0 ms)
[ RUN      ] SrpcTest.call_registerclient_result
[       OK ] SrpcTest.call_registerclient_result (0 ms)
[ RUN      ] SrpcTest.call_registerclient_result_b
[       OK ] SrpcTest.call_registerclient_result_b (0 ms)
[ RUN      ] SrpcTest.call_location_update_with_over_size
[       OK ] SrpcTest.call_location_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_location_update_with_full_size
[       OK ] SrpcTest.call_location_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_location_update_without_caption
[       OK ] SrpcTest.call_location_update_without_caption (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_over_size
[       OK ] SrpcTest.call_locationpack_update_with_over_size (1 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_zero_size
[       OK ] SrpcTest.call_locationpack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_caption_over_size
[       OK ] SrpcTest.call_locationpack_update_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_full_size
[       OK ] SrpcTest.call_locationpack_update_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channel_update_with_over_size
[       OK ] SrpcTest.call_channel_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_with_minimum_size
[       OK ] SrpcTest.call_channel_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_with_full_size
[       OK ] SrpcTest.call_channel_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_over_size
[       OK ] SrpcTest.call_channel_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_minimum_size
[       OK ] SrpcTest.call_channel_update_b_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_full_size
[       OK ] SrpcTest.call_channel_update_b_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_over_size
[       OK ] SrpcTest.call_channel_update_c_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_minimum_size
[       OK ] SrpcTest.call_channel_update_c_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_full_size
[       OK ] SrpcTest.call_channel_update_c_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_over_size
[       OK ] SrpcTest.call_channelpack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_full_size
[       OK ] SrpcTest.call_channelpack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_over_size
[       OK ] SrpcTest.call_channelpack_update_c_with_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_c_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_c_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_full_size
[       OK ] SrpcTest.call_channelpack_update_c_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_over_size
[       OK ] SrpcTest.call_channelpack_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_b_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_b_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_full_size
[       OK ] SrpcTest.call_channelpack_update_b_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_value_update
[       OK ] SrpcTest.call_channel_value_update (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_caption_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_full_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_zero_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_caption_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_full_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_over_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_full_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_minimum_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_over_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_full_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_minimum_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_over_count
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_over_count (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_count
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_count (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_over_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_full_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_get_next
[       OK ] SrpcTest.call_get_next (1 ms)
[ RUN      ] SrpcTest.call_event_with_zero_size
[       OK ] SrpcTest.call_event_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_event_with_full_size
[       OK ] SrpcTest.call_event_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_event_with_over_size
[       OK ] SrpcTest.call_event_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_cs_set_channel_value
[       OK ] SrpcTest.call_cs_set_channel_value (0 ms)
[ RUN      ] SrpcTest.call_cs_set_channel_value_b
[       OK ] SrpcTest.call_cs_set_channel_value_b (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request
[       OK ] SrpcTest.call_oauth_token_request (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_zero_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_over_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_full_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_superuser_authorization_request
[       OK ] SrpcTest.call_superuser_authorization_request (0 ms)
[ RUN      ] SrpcTest.call_superuser_authorization_result
[       OK ] SrpcTest.call_superuser_authorization_result (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_over_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_over_size (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_zero_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_zero_size (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_full_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_full_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_over_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_over_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_zero_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_zero_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_full_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_full_size (0 ms)
[ RUN      ] SrpcTest.evtool_electricity_meter_value_to_extended
[       OK ] SrpcTest.evtool_electricity_meter_value_to_extended (0 ms)
[ RUN      ] SrpcTest.evtool_input_counter_value_to_extended
[       OK ] SrpcTest.evtool_input_counter_value_to_extended (0 ms)
[----------] 139 tests from SrpcTest (30 ms total)

[----------] 13 tests from ToolsTest
[ RUN      ] ToolsTest.st_file_exists
[       OK ] ToolsTest.st_file_exists (0 ms)
[ RUN      ] ToolsTest.pid_file
[       OK ] ToolsTest.pid_file (0 ms)
[ RUN      ] ToolsTest.st_bin2hex
[       OK ] ToolsTest.st_bin2hex (0 ms)
[ RUN      ] ToolsTest.st_guid2hex
[       OK ] ToolsTest.st_guid2hex (0 ms)
[ RUN      ] ToolsTest.st_authkey2hex
[       OK ] ToolsTest.st_authkey2hex (0 ms)
[ RUN      ] ToolsTest.st_str2hex
[       OK ] ToolsTest.st_str2hex (0 ms)
[ RUN      ] ToolsTest.st_read_randkey_from_file
[       OK ] ToolsTest.st_read_randkey_from_file (0 ms)
[ RUN      ] ToolsTest.st_read_guid_from_file
[       OK ] ToolsTest.st_read_guid_from_file (0 ms)
[ RUN      ] ToolsTest.st_read_authkey_from_file
[       OK ] ToolsTest.st_read_authkey_from_file (0 ms)
[ RUN      ] ToolsTest.st_bcrypt
[       OK ] ToolsTest.st_bcrypt (102 ms)
[ RUN      ] ToolsTest.st_base64
[       OK ] ToolsTest.st_base64 (0 ms)
[ RUN      ] ToolsTest.st_hsv2rgb
[       OK ] ToolsTest.st_hsv2rgb (0 ms)
[ RUN      ] ToolsTest.st_rgb2hsv
[       OK ] ToolsTest.st_rgb2hsv (0 ms)
[----------] 13 tests from ToolsTest (103 ms total)

[----------] Global test environment tear-down
[==========] 176 tests from 6 test cases ran. (150 ms total)
[  PASSED  ] 166 tests.
[  FAILED  ] 10 tests, listed below:
[  FAILED  ] ProtoTest.check_size_of_structures_and_types
[  FAILED  ] ProtoTest.in_buffer_append
[  FAILED  ] ProtoTest.pop_in_sdp_test2
[  FAILED  ] ProtoTest.pop_in_sdp_test3
[  FAILED  ] ProtoTest.pop_in_sdp_test5
[  FAILED  ] ProtoTest.pop_in_sdp_test6
[  FAILED  ] ProtoTest.pop_in_sdp_test7
[  FAILED  ] ProtoTest.out_buffer_append_test3
[  FAILED  ] SrpcTest.call_ping_server
[  FAILED  ] SrpcTest.call_ping_server_result

10 FAILED TESTS
2019-02-14 23:53:01,020 INFO exited: supla-server (exit status 1; not expected)
2019-02-14 23:53:04,028 INFO spawned: 'supla-scheduler' with pid 20
2019-02-14 23:53:04,032 INFO spawned: 'supla-server' with pid 21
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ActionTest
[ RUN      ] ActionTest.time
[       OK ] ActionTest.time (0 ms)
[----------] 1 test from ActionTest (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1 ms total)
[  PASSED  ] 1 test.
2019-02-14 23:53:04,058 INFO exited: supla-scheduler (exit status 0; not expected)
[==========] Running 176 tests from 6 test cases.
[----------] Global test environment set-up.
[----------] 5 tests from GoogleHomeClientTest
[ RUN      ] GoogleHomeClientTest.requestSync
2019-02-14 23:53:04,065 INFO gave up: supla-scheduler entered FATAL state, too many start retries too quickly
ERR[1550188384.67647] MySQL - Failed to connect to database.
ERR[1550188384.67766] MySQL - Failed to connect to database.
ERR[1550188384.67841] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.requestSync (3 ms)
[ RUN      ] GoogleHomeClientTest.onOffRepoerState
ERR[1550188384.68707] MySQL - Failed to connect to database.
ERR[1550188384.68911] MySQL - Failed to connect to database.
ERR[1550188384.68998] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.onOffRepoerState (1 ms)
[ RUN      ] GoogleHomeClientTest.brightnessState
ERR[1550188384.69943] MySQL - Failed to connect to database.
ERR[1550188384.70082] MySQL - Failed to connect to database.
ERR[1550188384.70192] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.brightnessState (2 ms)
[ RUN      ] GoogleHomeClientTest.colorState
ERR[1550188384.71363] MySQL - Failed to connect to database.
ERR[1550188384.71458] MySQL - Failed to connect to database.
ERR[1550188384.71534] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.colorState (1 ms)
[ RUN      ] GoogleHomeClientTest.sendFullReportState
ERR[1550188384.72748] MySQL - Failed to connect to database.
ERR[1550188384.72843] MySQL - Failed to connect to database.
ERR[1550188384.72919] MySQL - Failed to connect to database.
[       OK ] GoogleHomeClientTest.sendFullReportState (1 ms)
[----------] 5 tests from GoogleHomeClientTest (8 ms total)

[----------] 1 test from DeviceChannelTest
[ RUN      ] DeviceChannelTest.TemperatureHumidityClass
[       OK ] DeviceChannelTest.TemperatureHumidityClass (0 ms)
[----------] 1 test from DeviceChannelTest (0 ms total)

[----------] 17 tests from ProtoTest
[ RUN      ] ProtoTest.check_size_of_structures_and_types
../src/test/ProtoTest.cpp:36: Failure
Expected equality of these values:
  16
  sizeof(struct timeval)
    Which is: 8
[  FAILED  ] ProtoTest.check_size_of_structures_and_types (0 ms)
[ RUN      ] ProtoTest.init
[       OK ] ProtoTest.init (0 ms)
[ RUN      ] ProtoTest.set_version
[       OK ] ProtoTest.set_version (0 ms)
[ RUN      ] ProtoTest.out_dataexists
[       OK ] ProtoTest.out_dataexists (0 ms)
[ RUN      ] ProtoTest.in_dataexists
[       OK ] ProtoTest.in_dataexists (0 ms)
[ RUN      ] ProtoTest.in_buffer_append
../src/test/ProtoTest.cpp:173: Failure
Expected equality of these values:
  -3
  sproto_in_buffer_append(sproto, data, 131072)
    Which is: '\xFD' (253)
[  FAILED  ] ProtoTest.in_buffer_append (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test1
[       OK ] ProtoTest.pop_in_sdp_test1 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test2
../src/test/ProtoTest.cpp:233: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test2 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test3
../src/test/ProtoTest.cpp:258: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test3 (1 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test4
[       OK ] ProtoTest.pop_in_sdp_test4 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test5
../src/test/ProtoTest.cpp:302: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test5 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test6
../src/test/ProtoTest.cpp:328: Failure
Expected equality of these values:
  -2
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFE' (254)
[  FAILED  ] ProtoTest.pop_in_sdp_test6 (0 ms)
[ RUN      ] ProtoTest.pop_in_sdp_test7
../src/test/ProtoTest.cpp:351: Failure
Expected equality of these values:
  -1
  sproto_pop_in_sdp(sproto, &sdp_rcv)
    Which is: '\xFF' (255)
[  FAILED  ] ProtoTest.pop_in_sdp_test7 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test1
[       OK ] ProtoTest.out_buffer_append_test1 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test2
[       OK ] ProtoTest.out_buffer_append_test2 (0 ms)
[ RUN      ] ProtoTest.out_buffer_append_test3
../src/test/ProtoTest.cpp:390: Failure
Expected equality of these values:
  -4
  sproto_out_buffer_append(sproto, &sdp)
    Which is: '\xFC' (252)
[  FAILED  ] ProtoTest.out_buffer_append_test3 (0 ms)
[ RUN      ] ProtoTest.pop_out_data
[       OK ] ProtoTest.pop_out_data (1 ms)
[----------] 17 tests from ProtoTest (3 ms total)

[----------] 1 test from SafeArrayTest
[ RUN      ] SafeArrayTest.all
[       OK ] SafeArrayTest.all (0 ms)
[----------] 1 test from SafeArrayTest (0 ms total)

[----------] 139 tests from SrpcTest
[ RUN      ] SrpcTest.init
[       OK ] SrpcTest.init (0 ms)
[ RUN      ] SrpcTest.set_proto
[       OK ] SrpcTest.set_proto (0 ms)
[ RUN      ] SrpcTest.call_allowed_v1
[       OK ] SrpcTest.call_allowed_v1 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v2
[       OK ] SrpcTest.call_allowed_v2 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v3
[       OK ] SrpcTest.call_allowed_v3 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v5
[       OK ] SrpcTest.call_allowed_v5 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v6
[       OK ] SrpcTest.call_allowed_v6 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v7
[       OK ] SrpcTest.call_allowed_v7 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v8
[       OK ] SrpcTest.call_allowed_v8 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v9
[       OK ] SrpcTest.call_allowed_v9 (0 ms)
[ RUN      ] SrpcTest.call_allowed_v10
[       OK ] SrpcTest.call_allowed_v10 (0 ms)
[ RUN      ] SrpcTest.call_not_allowed
[       OK ] SrpcTest.call_not_allowed (6 ms)
[ RUN      ] SrpcTest.iterate_read_error_when_zero
[       OK ] SrpcTest.iterate_read_error_when_zero (0 ms)
[ RUN      ] SrpcTest.iterate_incorrect_data
DEBUG[1550188384.82696] sproto_pop_in_sdp error: 254
[       OK ] SrpcTest.iterate_incorrect_data (0 ms)
[ RUN      ] SrpcTest.iterate_incorrect_version
[       OK ] SrpcTest.iterate_incorrect_version (0 ms)
[ RUN      ] SrpcTest.iterate_input_queue_size
DEBUG[1550188384.83212] ssrpc_in_queue_push error
[       OK ] SrpcTest.iterate_input_queue_size (1 ms)
[ RUN      ] SrpcTest.iterate_buffer_overflow
DEBUG[1550188384.83414] sproto_in_buffer_append: 253, datasize: 131072
[       OK ] SrpcTest.iterate_buffer_overflow (0 ms)
[ RUN      ] SrpcTest.iterate_no_data
[       OK ] SrpcTest.iterate_no_data (0 ms)
[ RUN      ] SrpcTest.iterate_out_queue_pop
[       OK ] SrpcTest.iterate_out_queue_pop (0 ms)
[ RUN      ] SrpcTest.call_getversion
[       OK ] SrpcTest.call_getversion (0 ms)
[ RUN      ] SrpcTest.call_getversion_reasult
[       OK ] SrpcTest.call_getversion_reasult (0 ms)
[ RUN      ] SrpcTest.call_ping_server
../src/test/SrpcTest.cpp:494: Failure
Expected equality of these values:
  ExpectedSize
    Which is: 39
  data_write_size
    Which is: 31
../src/test/SrpcTest.cpp:579: Failure
Value of: cr_rd.data.dcs_ping == NULL
  Actual: true
Expected: false
[  FAILED  ] SrpcTest.call_ping_server (1 ms)
[ RUN      ] SrpcTest.call_ping_server_result
../src/test/SrpcTest.cpp:494: Failure
Expected equality of these values:
  ExpectedSize
    Which is: 39
  data_write_size
    Which is: 31
../src/test/SrpcTest.cpp:600: Failure
Value of: cr_rd.data.sdc_ping_result == NULL
  Actual: true
Expected: false
[  FAILED  ] SrpcTest.call_ping_server_result (0 ms)
[ RUN      ] SrpcTest.call_set_activity_timeout
[       OK ] SrpcTest.call_set_activity_timeout (0 ms)
[ RUN      ] SrpcTest.call_set_activity_timeout_result
[       OK ] SrpcTest.call_set_activity_timeout_result (0 ms)
[ RUN      ] SrpcTest.call_get_registration_enabled
[       OK ] SrpcTest.call_get_registration_enabled (0 ms)
[ RUN      ] SrpcTest.call_get_registration_enabled_result
[       OK ] SrpcTest.call_get_registration_enabled_result (0 ms)
[ RUN      ] SrpcTest.call_registerdevice
[       OK ] SrpcTest.call_registerdevice (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_one_channel
[       OK ] SrpcTest.call_registerdevice_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_without_channels
[       OK ] SrpcTest.call_registerdevice_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_wrong_size
[       OK ] SrpcTest.call_registerdevice_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b
[       OK ] SrpcTest.call_registerdevice_b (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_one_channel
[       OK ] SrpcTest.call_registerdevice_b_one_channel (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_without_channels
[       OK ] SrpcTest.call_registerdevice_b_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_b_wrong_size
[       OK ] SrpcTest.call_registerdevice_b_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c
[       OK ] SrpcTest.call_registerdevice_c (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_one_channel
[       OK ] SrpcTest.call_registerdevice_c_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_without_channels
[       OK ] SrpcTest.call_registerdevice_c_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_c_wrong_size
[       OK ] SrpcTest.call_registerdevice_c_wrong_size (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_d
[       OK ] SrpcTest.call_registerdevice_d (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_one_channel
[       OK ] SrpcTest.call_registerdevice_d_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_without_channels
[       OK ] SrpcTest.call_registerdevice_d_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_d_wrong_size
[       OK ] SrpcTest.call_registerdevice_d_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e
[       OK ] SrpcTest.call_registerdevice_e (1 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_one_channel
[       OK ] SrpcTest.call_registerdevice_e_one_channel (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_without_channels
[       OK ] SrpcTest.call_registerdevice_e_without_channels (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_e_wrong_size
[       OK ] SrpcTest.call_registerdevice_e_wrong_size (0 ms)
[ RUN      ] SrpcTest.call_registerdevice_result
[       OK ] SrpcTest.call_registerdevice_result (0 ms)
[ RUN      ] SrpcTest.call_channel_value_changed
[       OK ] SrpcTest.call_channel_value_changed (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_zero_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_over_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_small_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_small_size (0 ms)
[ RUN      ] SrpcTest.call_channel_extendedvalue_changed_with_full_size
[       OK ] SrpcTest.call_channel_extendedvalue_changed_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_sd_set_channel_value
[       OK ] SrpcTest.call_sd_set_channel_value (0 ms)
[ RUN      ] SrpcTest.call_ds_set_channel_value_result
[       OK ] SrpcTest.call_ds_set_channel_value_result (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url
[       OK ] SrpcTest.call_get_firmware_update_url (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url_result_exists
[       OK ] SrpcTest.call_get_firmware_update_url_result_exists (0 ms)
[ RUN      ] SrpcTest.call_get_firmware_update_url_result_not_exists
[       OK ] SrpcTest.call_get_firmware_update_url_result_not_exists (0 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_over_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_over_size (0 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_zero_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_zero_size (1 ms)
[ RUN      ] SrpcTest.call_sd_device_calcfg_request_full_size
[       OK ] SrpcTest.call_sd_device_calcfg_request_full_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_over_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_over_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_zero_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_zero_size (0 ms)
[ RUN      ] SrpcTest.call_ds_device_calcfg_result_full_size
[       OK ] SrpcTest.call_ds_device_calcfg_result_full_size (0 ms)
[ RUN      ] SrpcTest.call_registerclient
[       OK ] SrpcTest.call_registerclient (0 ms)
[ RUN      ] SrpcTest.call_registerclient_b
[       OK ] SrpcTest.call_registerclient_b (0 ms)
[ RUN      ] SrpcTest.call_registerclient_c
[       OK ] SrpcTest.call_registerclient_c (0 ms)
[ RUN      ] SrpcTest.call_registerclient_result
[       OK ] SrpcTest.call_registerclient_result (0 ms)
[ RUN      ] SrpcTest.call_registerclient_result_b
[       OK ] SrpcTest.call_registerclient_result_b (0 ms)
[ RUN      ] SrpcTest.call_location_update_with_over_size
[       OK ] SrpcTest.call_location_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_location_update_with_full_size
[       OK ] SrpcTest.call_location_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_location_update_without_caption
[       OK ] SrpcTest.call_location_update_without_caption (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_over_size
[       OK ] SrpcTest.call_locationpack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_zero_size
[       OK ] SrpcTest.call_locationpack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_caption_over_size
[       OK ] SrpcTest.call_locationpack_update_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_locationpack_update_with_full_size
[       OK ] SrpcTest.call_locationpack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_with_over_size
[       OK ] SrpcTest.call_channel_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_with_minimum_size
[       OK ] SrpcTest.call_channel_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_with_full_size
[       OK ] SrpcTest.call_channel_update_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_over_size
[       OK ] SrpcTest.call_channel_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_minimum_size
[       OK ] SrpcTest.call_channel_update_b_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_b_with_full_size
[       OK ] SrpcTest.call_channel_update_b_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_over_size
[       OK ] SrpcTest.call_channel_update_c_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_minimum_size
[       OK ] SrpcTest.call_channel_update_c_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channel_update_c_with_full_size
[       OK ] SrpcTest.call_channel_update_c_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_over_size
[       OK ] SrpcTest.call_channelpack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_with_full_size
[       OK ] SrpcTest.call_channelpack_update_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_over_size
[       OK ] SrpcTest.call_channelpack_update_c_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_c_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_c_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_c_with_full_size
[       OK ] SrpcTest.call_channelpack_update_c_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_over_size
[       OK ] SrpcTest.call_channelpack_update_b_with_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_zero_size
[       OK ] SrpcTest.call_channelpack_update_b_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_caption_over_size
[       OK ] SrpcTest.call_channelpack_update_b_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelpack_update_b_with_full_size
[       OK ] SrpcTest.call_channelpack_update_b_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_channel_value_update
[       OK ] SrpcTest.call_channel_value_update (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_caption_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_caption_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_with_full_size
[       OK ] SrpcTest.call_channelgroup_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_zero_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_caption_over_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_caption_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelgroup_pack_update_b_with_full_size
[       OK ] SrpcTest.call_channelgroup_pack_update_b_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_over_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_full_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelgroup_relation_pack_update_with_minimum_size
[       OK ] SrpcTest.call_channelgroup_relation_pack_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_over_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_over_size (1 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_full_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_channelvalue_pack_update_with_minimum_size
[       OK ] SrpcTest.call_channelvalue_pack_update_with_minimum_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_over_count
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_over_count (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_count
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_count (1 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_over_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_channelextendedvalue_pack_update_with_full_size
[       OK ] SrpcTest.call_channelextendedvalue_pack_update_with_full_size (1 ms)
[ RUN      ] SrpcTest.call_get_next
[       OK ] SrpcTest.call_get_next (0 ms)
[ RUN      ] SrpcTest.call_event_with_zero_size
[       OK ] SrpcTest.call_event_with_zero_size (0 ms)
[ RUN      ] SrpcTest.call_event_with_full_size
[       OK ] SrpcTest.call_event_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_event_with_over_size
[       OK ] SrpcTest.call_event_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_cs_set_channel_value
[       OK ] SrpcTest.call_cs_set_channel_value (0 ms)
[ RUN      ] SrpcTest.call_cs_set_channel_value_b
[       OK ] SrpcTest.call_cs_set_channel_value_b (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request
[       OK ] SrpcTest.call_oauth_token_request (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_zero_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_zero_size (1 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_over_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_over_size (0 ms)
[ RUN      ] SrpcTest.call_oauth_token_request_result_with_full_size
[       OK ] SrpcTest.call_oauth_token_request_result_with_full_size (0 ms)
[ RUN      ] SrpcTest.call_superuser_authorization_request
[       OK ] SrpcTest.call_superuser_authorization_request (0 ms)
[ RUN      ] SrpcTest.call_superuser_authorization_result
[       OK ] SrpcTest.call_superuser_authorization_result (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_over_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_over_size (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_zero_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_zero_size (0 ms)
[ RUN      ] SrpcTest.call_cs_device_calcfg_request_full_size
[       OK ] SrpcTest.call_cs_device_calcfg_request_full_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_over_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_over_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_zero_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_zero_size (0 ms)
[ RUN      ] SrpcTest.call_sc_device_calcfg_result_full_size
[       OK ] SrpcTest.call_sc_device_calcfg_result_full_size (0 ms)
[ RUN      ] SrpcTest.evtool_electricity_meter_value_to_extended
[       OK ] SrpcTest.evtool_electricity_meter_value_to_extended (0 ms)
[ RUN      ] SrpcTest.evtool_input_counter_value_to_extended
[       OK ] SrpcTest.evtool_input_counter_value_to_extended (0 ms)
[----------] 139 tests from SrpcTest (30 ms total)

[----------] 13 tests from ToolsTest
[ RUN      ] ToolsTest.st_file_exists
[       OK ] ToolsTest.st_file_exists (0 ms)
[ RUN      ] ToolsTest.pid_file
[       OK ] ToolsTest.pid_file (0 ms)
[ RUN      ] ToolsTest.st_bin2hex
[       OK ] ToolsTest.st_bin2hex (0 ms)
[ RUN      ] ToolsTest.st_guid2hex
[       OK ] ToolsTest.st_guid2hex (0 ms)
[ RUN      ] ToolsTest.st_authkey2hex
[       OK ] ToolsTest.st_authkey2hex (0 ms)
[ RUN      ] ToolsTest.st_str2hex
[       OK ] ToolsTest.st_str2hex (0 ms)
[ RUN      ] ToolsTest.st_read_randkey_from_file
[       OK ] ToolsTest.st_read_randkey_from_file (0 ms)
[ RUN      ] ToolsTest.st_read_guid_from_file
[       OK ] ToolsTest.st_read_guid_from_file (1 ms)
[ RUN      ] ToolsTest.st_read_authkey_from_file
[       OK ] ToolsTest.st_read_authkey_from_file (0 ms)
[ RUN      ] ToolsTest.st_bcrypt
[       OK ] ToolsTest.st_bcrypt (101 ms)
[ RUN      ] ToolsTest.st_base64
[       OK ] ToolsTest.st_base64 (0 ms)
[ RUN      ] ToolsTest.st_hsv2rgb
[       OK ] ToolsTest.st_hsv2rgb (0 ms)
[ RUN      ] ToolsTest.st_rgb2hsv
[       OK ] ToolsTest.st_rgb2hsv (0 ms)
[----------] 13 tests from ToolsTest (104 ms total)

[----------] Global test environment tear-down
[==========] 176 tests from 6 test cases ran. (145 ms total)
[  PASSED  ] 166 tests.
[  FAILED  ] 10 tests, listed below:
[  FAILED  ] ProtoTest.check_size_of_structures_and_types
[  FAILED  ] ProtoTest.in_buffer_append
[  FAILED  ] ProtoTest.pop_in_sdp_test2
[  FAILED  ] ProtoTest.pop_in_sdp_test3
[  FAILED  ] ProtoTest.pop_in_sdp_test5
[  FAILED  ] ProtoTest.pop_in_sdp_test6
[  FAILED  ] ProtoTest.pop_in_sdp_test7
[  FAILED  ] ProtoTest.out_buffer_append_test3
[  FAILED  ] SrpcTest.call_ping_server
[  FAILED  ] SrpcTest.call_ping_server_result

10 FAILED TESTS
2019-02-14 23:53:04,212 INFO exited: supla-server (exit status 1; not expected)
2019-02-14 23:53:05,214 INFO gave up: supla-server entered FATAL state, too many start retries too quickly
pzygmunt wrote:
Thu Feb 14, 2019 10:28 pm
Może na tym armie jakieś typy danych mają inny rozmiar.
Chyba dobrze podejrzewałeś

Code: Select all

[  FAILED  ] ProtoTest.check_size_of_structures_and_types
User avatar
pzygmunt
Posts: 7077
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Fri Feb 15, 2019 9:46 am

OK. Już wszystko jasne.
1. timeval na arm-ie ma inny rozmiar.
2. char na arm-ie domyślnie jest unsigned w odróżnieniu od x86/64

Możesz zbudować kontener z release-a i powinno być OK.
kris.sg
Posts: 125
Joined: Mon Aug 07, 2017 8:08 pm
Location: Przezchlebie

Fri Feb 15, 2019 9:50 am

Można prosić o instrukcję dla "zwykłego Kowalskiego"
User avatar
lesny8
Posts: 870
Joined: Mon Dec 11, 2017 9:43 pm

Fri Feb 15, 2019 11:21 am

pzygmunt wrote:
Fri Feb 15, 2019 9:46 am
OK. Już wszystko jasne.
1. timeval na arm-ie ma inny rozmiar.
2. char na arm-ie domyślnie jest unsigned w odróżnieniu od x86/64

Możesz zbudować kontener z release-a i powinno być OK.
Super,że się wyjaśniło teraz tylko przetestować zmiany :D

Zbudowałem, ale dalej leci to samo, bo widziałem version increment na githubie dla servera i schendulera ale release nie wydany dla v2.3.1 i jak w dockerfile zmienię na v2.3.1, to nie pobiera paczki. Mam porzeźbić i zrobić clone, czy wydasz release w tej wersji?
kris.sg wrote:
Fri Feb 15, 2019 9:50 am
Można prosić o instrukcję dla "zwykłego Kowalskiego"
Jeszcze chwila cierpliwości, instrukcja będzie taka jak do tej pory nic się nie zmieni.
Last edited by lesny8 on Fri Feb 15, 2019 11:56 am, edited 1 time in total.
User avatar
pzygmunt
Posts: 7077
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Fri Feb 15, 2019 11:47 am

Zaczekajmy, aż Wojtek opublikuje nowe obrazy.
User avatar
lesny8
Posts: 870
Joined: Mon Dec 11, 2017 9:43 pm

Fri Feb 15, 2019 11:49 am

Zrobiłem update na swoim forku i wydałem u siebie release v2.3.1, żeby nie kopać za dużo w dockerfile.
Zbudowałem obrazy i uruchomiłem kontenery.
Nic nie zrywa, jest pięknie :D
Logi z servera

Code: Select all

2019-02-15 11:39:52,246 CRIT Supervisor running as root (no user in config file)
2019-02-15 11:39:52,253 INFO supervisord started with pid 1
2019-02-15 11:39:53,259 INFO spawned: 'supla-scheduler' with pid 11
2019-02-15 11:39:53,266 INFO spawned: 'supla-server' with pid 12
INFO[1550230793.304968] Scheduler version 2.3.1
INFO[1550230793.305261] Started at Fri Feb 15 11:39:53 2019
INFO[1550230793.313593] Server version 2.3.1 [Protocol v10]
INFO[1550230793.313896] Started at Fri Feb 15 11:39:53 2019
INFO[1550230793.340856] SSL version: OpenSSL 1.0.1t  3 May 2016
2019-02-15 11:39:54,345 INFO success: supla-scheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-02-15 11:39:54,345 INFO success: supla-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
INFO[1550230817.187788] Connection accepted: 192.168.100.211:24569 ClientSD: 12 Secure: 1
INFO[1550230817.352918] Cipher: AES128-SHA, ClientSD: 12
INFO[1550230817.950059] Device registered. ID: 69, ClientSD: 12 Protocol Version: 10
INFO[1550230824.403233] Connection accepted: 80.53.80.203:47629 ClientSD: 15 Secure: 1
INFO[1550230824.634982] Cipher: AES256-GCM-SHA384, ClientSD: 15
INFO[1550230825.410236] Client registered. ClientSD: 15 Protocol Version: 10
INFO[1550230834.341176] Connection accepted: 192.168.100.245:23954 ClientSD: 18 Secure: 1
INFO[1550230834.459258] Connection accepted: 192.168.100.246:46050 ClientSD: 21 Secure: 1
INFO[1550230834.533677] Cipher: AES128-SHA, ClientSD: 18
INFO[1550230834.642750] Cipher: AES128-SHA, ClientSD: 21
INFO[1550230834.653982] Connection accepted: 192.168.100.44:5016 ClientSD: 24 Secure: 1
INFO[1550230834.775240] Cipher: AES128-SHA, ClientSD: 24
INFO[1550230834.888987] Connection accepted: 192.168.100.249:19494 ClientSD: 27 Secure: 1
INFO[1550230835.9367] Cipher: AES128-SHA, ClientSD: 27
INFO[1550230835.390459] Device registered. ID: 13, ClientSD: 18 Protocol Version: 7
INFO[1550230837.522826] Connection accepted: 192.168.100.242:30374 ClientSD: 32 Secure: 1
INFO[1550230837.771344] Cipher: AES128-SHA, ClientSD: 32
INFO[1550230838.470819] Connection accepted: 192.168.100.241:43546 ClientSD: 36 Secure: 1
INFO[1550230838.648341] Cipher: AES128-SHA, ClientSD: 36
INFO[1550230839.103651] Connection accepted: 192.168.100.247:48777 ClientSD: 40 Secure: 1
INFO[1550230839.111642] Connection accepted: 192.168.100.251:3529 ClientSD: 44 Secure: 1
INFO[1550230839.285744] Cipher: AES128-SHA, ClientSD: 40
INFO[1550230839.289781] Cipher: AES128-SHA, ClientSD: 44
INFO[1550230839.336149] Device registered. ID: 8, ClientSD: 21 Protocol Version: 7
INFO[1550230839.343231] Device registered. ID: 4, ClientSD: 27 Protocol Version: 7
INFO[1550230839.350455] Device registered. ID: 11, ClientSD: 24 Protocol Version: 7
INFO[1550230840.790825] Connection accepted: 192.168.100.243:1801 ClientSD: 47 Secure: 1
INFO[1550230840.936722] Cipher: AES128-SHA, ClientSD: 47
INFO[1550230841.7435] Device registered. ID: 5, ClientSD: 32 Protocol Version: 8
INFO[1550230841.22505] Device registered. ID: 9, ClientSD: 36 Protocol Version: 8
INFO[1550230841.35237] Device registered. ID: 10, ClientSD: 44 Protocol Version: 8
INFO[1550230841.47407] Device registered. ID: 2, ClientSD: 40 Protocol Version: 9
INFO[1550230841.260542] Connection accepted: 192.168.100.252:18779 ClientSD: 49 Secure: 1
INFO[1550230841.404990] Cipher: AES128-SHA, ClientSD: 49
INFO[1550230842.469879] Connection accepted: 192.168.100.237:18130 ClientSD: 41 Secure: 1
INFO[1550230842.653228] Cipher: AES128-SHA, ClientSD: 41
INFO[1550230842.808942] Connection accepted: 192.168.100.226:24831 ClientSD: 53 Secure: 1
INFO[1550230842.927014] Cipher: AES128-SHA, ClientSD: 53
INFO[1550230843.78217] Device registered. ID: 6, ClientSD: 47 Protocol Version: 7
INFO[1550230843.104138] Device registered. ID: 1, ClientSD: 41 Protocol Version: 8
INFO[1550230843.110315] Device registered. ID: 7, ClientSD: 49 Protocol Version: 7
INFO[1550230843.117313] Device registered. ID: 3, ClientSD: 53 Protocol Version: 9
INFO[1550231209.470215] Connection accepted: 80.53.80.203:47630 ClientSD: 57 Secure: 1
INFO[1550231209.685141] Cipher: AES256-GCM-SHA384, ClientSD: 57
INFO[1550231210.779582] Client registered. ClientSD: 57 Protocol Version: 10
Edit:
Czas muszę sobie przestawić bo godzinę do tyłu jestem na raspbianie ;)
kris.sg
Posts: 125
Joined: Mon Aug 07, 2017 8:08 pm
Location: Przezchlebie

Fri Feb 15, 2019 12:02 pm

ciesze się, że udało się rozwiązać problem, dzięki chłopaki.
czekam cierpliwie na update :)

Edit:
Aktualizacja zrobiona i wszystko działa jak należy :)
Jeszcze raz dzięki
Last edited by kris.sg on Fri Feb 15, 2019 2:08 pm, edited 1 time in total.
User avatar
fracz
Posts: 1603
Joined: Fri Oct 28, 2016 10:56 pm
Location: Rybna

Fri Feb 15, 2019 2:05 pm

Gotowe. Aktualizacja jak zawsze.
User avatar
lesny8
Posts: 870
Joined: Mon Dec 11, 2017 9:43 pm

Fri Feb 15, 2019 2:34 pm

Przepiąłem się na master, zaktualizowałem i ponownie potwierdzam, działa super.
Teraz można się bawić na całego :mrgreen:
Post Reply