42ity / fty-sensor-gpio

Agent to manage GPIO sensors and devices
Other
0 stars 9 forks source link

Random fail (timeout) in selftest #72

Closed jimklimov closed 3 weeks ago

jimklimov commented 6 years ago

Killed after 10 minutes, e.g.

Running fty-sensor-gpio selftests...
 * libgpio: OK
 * fty_sensor_gpio_assets: I: 18-06-04 19:49:36 gpio-assets_assets: Started
I: 18-06-04 19:49:36 My address is 'gpio-assets'
I: 18-06-04 19:49:36 client address='gpio-assets' - registering
I: 18-06-04 19:49:37 My address is 'fty_sensor_gpio_assets_generator'
I: 18-06-04 19:49:37 client address='fty_sensor_gpio_assets_generator' - registering
I: 18-06-04 19:49:45 client address='fty_sensor_gpio_assets_generator' - closed connection
I: 18-06-04 19:49:45 client address='fty_sensor_gpio_assets_generator' - de-registering
I: 18-06-04 19:49:45 client address='gpio-assets' - closed connection
I: 18-06-04 19:49:45 client address='gpio-assets' - de-registering
OK
 * fty_sensor_gpio_server: I: 18-06-04 19:49:46 fty-sensor-gpio_server: Started
I: 18-06-04 19:49:46 My address is 'fty_sensor_gpio_client'
I: 18-06-04 19:49:46 client address='fty_sensor_gpio_client' - registering
I: 18-06-04 19:49:46 My address is 'fty_sensor_gpio_metrics_listener'
I: 18-06-04 19:49:46 client address='fty_sensor_gpio_metrics_listener' - registering
I: 18-06-04 19:49:46 My address is 'fty-sensor-gpio'
I: 18-06-04 19:49:46 client address='fty-sensor-gpio' - registering
E: 18-06-04 19:49:46 Failed to read value!
E: 18-06-04 19:49:46 Can't read GPx sensor #2 status
Cancelling nested steps due to timeout
Sending interrupt signal to process
lt-fty_sensor_gpio_selftest: src/fty_sensor_gpio_server.cc:1302: void fty_sensor_gpio_server_test(bool): Assertion `recv' failed.
Makefile:1829: recipe for target 'check-local' failed
make[2]: *** [check-local] Aborted
make[2]: Leaving directory '/tmp/jenkins/workspace/fty-sensor-gpio_PR-71-merge-AQIFTUV3XIX5T46V6EHGMCTFCQ6ZULBCXNLU4ACX4I5WFPJ2FAPQ/tmp/test-check-withDRAFT'
Makefile:1620: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/tmp/jenkins/workspace/fty-sensor-gpio_PR-71-merge-AQIFTUV3XIX5T46V6EHGMCTFCQ6ZULBCXNLU4ACX4I5WFPJ2FAPQ/tmp/test-check-withDRAFT'
Makefile:1177: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
Terminated