Project

General

Profile

Actions

action #80576

closed

[learning] perl warning in openqa-livehandler "Use of uninitialized value $ret in exit at /usr/share/openqa/script/openqa-livehandler line 31.", similar for openqa-websockets

Added by okurz over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2020-11-29
Due date:
2020-12-16
% Done:

0%

Estimated time:

Description

Observation

Observed in system journal on o3:

Nov 29 03:00:21 ariel systemd[1]: Stopping Handler for live view in openQA's web UI...
Nov 29 03:00:21 ariel openqa-livehandler-daemon[2089]: Use of uninitialized value $ret in exit at /usr/share/openqa/script/openqa-livehandler line 31.
Nov 29 03:00:21 ariel openqa-livehandler-daemon[2089]: Web application available at http://127.0.0.1:9528
Nov 29 03:00:21 ariel openqa-livehandler-daemon[2089]: Web application available at http://[::1]:9528
Nov 29 03:00:21 ariel systemd[1]: Stopping The openQA web UI...
Nov 29 03:00:21 ariel systemd[1]: Stopping The openQA daemon for various background tasks like cleanup and saving needles...
Nov 29 03:00:21 ariel systemd[1]: Stopped Enqueues an audit event cleanup task for the openQA database every day..
Nov 29 03:00:21 ariel systemd[1]: Stopping Enqueues an audit event cleanup task for the openQA database every day..
Nov 29 03:00:21 ariel systemd[1]: Started Enqueues an audit event cleanup task for the openQA database every day..
Nov 29 03:00:21 ariel systemd[1]: Stopped Handler for live view in openQA's web UI.
Nov 29 03:00:21 ariel systemd[1]: Started Handler for live view in openQA's web UI.
Nov 29 03:00:21 ariel systemd[1]: Stopped The openQA web UI.
Nov 29 03:00:21 ariel systemd[1]: Stopped Enqueues an asset cleanup task for openQA every hour..
Nov 29 03:00:21 ariel systemd[1]: Stopping Enqueues an asset cleanup task for openQA every hour..
Nov 29 03:00:21 ariel systemd[1]: Started Enqueues an asset cleanup task for openQA every hour..
Nov 29 03:00:21 ariel systemd[1]: Stopping The openQA WebSockets server...
Nov 29 03:00:21 ariel systemd[1]: Stopped Enqueues a result/screenshots/logs cleanup task for openQA every day..
Nov 29 03:00:21 ariel systemd[1]: Stopping Enqueues a result/screenshots/logs cleanup task for openQA every day..
Nov 29 03:00:21 ariel systemd[1]: Started Enqueues a result/screenshots/logs cleanup task for openQA every day..
Nov 29 03:00:21 ariel systemd[1]: Stopped Enqueues a bug cleanup task for the openQA database every week..
Nov 29 03:00:21 ariel systemd[1]: Stopping Enqueues a bug cleanup task for the openQA database every week..
Nov 29 03:00:21 ariel systemd[1]: Started Enqueues a bug cleanup task for the openQA database every week..
Nov 29 03:00:21 ariel openqa-websockets-daemon[2092]: Use of uninitialized value $ret in exit at /usr/share/openqa/script/openqa-websockets line 31.
Nov 29 03:00:21 ariel openqa-websockets-daemon[2092]: Web application available at http://127.0.0.1:9527
Nov 29 03:00:21 ariel openqa-websockets-daemon[2092]: Web application available at http://[::1]:9527
Nov 29 03:00:21 ariel systemd[1]: Stopped The openQA WebSockets server.
Nov 29 03:00:21 ariel systemd[1]: Stopping The openQA Scheduler...
Nov 29 03:00:21 ariel openqa-scheduler-daemon[2091]: Web application available at http://127.0.0.1:9529
Nov 29 03:00:21 ariel openqa-scheduler-daemon[2091]: Web application available at http://[::1]:9529
Nov 29 03:00:21 ariel systemd[1]: Stopped The openQA Scheduler.
Nov 29 03:00:21 ariel systemd[1]: Started The openQA Scheduler.
Nov 29 03:00:21 ariel systemd[1]: Started The openQA WebSockets server.
Nov 29 03:00:21 ariel systemd[1]: Started The openQA web UI.

Expected result

No perl warning about uninitialized value

Suggestions

Look into script/openqa-websockets line 31 and script/openqa-livehandler line 31. Maybe we can simply define a sensible default

Actions

Also available in: Atom PDF