Bug 1297589 - Whine cron jobs cause lots of errors
Summary: Whine cron jobs cause lots of errors
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Email Notifications
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 5.0
Assignee: PnT DevOps Devs
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-11 23:34 UTC by Will Thames
Modified: 2018-12-09 06:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-04 01:34:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Will Thames 2016-01-11 23:34:19 UTC
Description of problem:

Too many errors from whine cron job

Actual result:

A typical email to bugzilla-error-list from the whine cron job contains

Subject: Cron <bz_whine@bzwebserver> cd /var/www/html/bugzilla; umask 0007; perl -T ./whine.pl 2>&1

Use of uninitialized value $value in string eq at Bugzilla/Search.pm line 1968.
Use of uninitialized value $field in hash element at Bugzilla/Search.pm line 1950.
Use of uninitialized value $value in string eq at Bugzilla/Search.pm line 1968.
Use of uninitialized value $operator in pattern match (m//) at Bugzilla/Search.pm line 1968.
Use of uninitialized value $value in string eq at Bugzilla/Search.pm line 1968.
Use of uninitialized value $value in string eq at Bugzilla/Search.pm line 1968.
Use of uninitialized value $value in string eq at Bugzilla/Search.pm line 1968.
Use of uninitialized value $field in hash element at Bugzilla/Search.pm line 1950.
Use of uninitialized value $value in string eq at Bugzilla/Search.pm line 1968.
Use of uninitialized value $operator in pattern match (m//) at Bugzilla/Search.pm line 1968.
Use of uninitialized value $value in string eq at Bugzilla/Search.pm line 1968.
Use of uninitialized value $value in string eq at Bugzilla/Search.pm line 1968.
Use of uninitialized value $value in string eq at Bugzilla/Search.pm line 1968.
Use of uninitialized value $value in string eq at Bugzilla/Search.pm line 1968.
Use of uninitialized value $operator in pattern match (m//) at Bugzilla/Search.pm line 1968.

There may be fewer or more lines than this (if there are no lines, no email is sent). 

Expected result:

No errors occur and so no emails are sent.

Comment 1 Jeff Fearn 🐞 2016-04-06 03:28:29 UTC
This appears to have been fixed upstream for 5.0.

Comment 2 Rony Gong 🔥 2016-04-21 06:42:16 UTC
QA environment with version(5.0.2-rh4, DB: pgsql)
Result: Pass
Can't grep out this kind of error in 5.0


Note You need to log in before you can comment on or make changes to this bug.