Bug 1310468

Summary: bz-expire-cookies.pl always triggers a serialization error
Product: [Community] Bugzilla Reporter: Jeff Fearn 🐞 <jfearn>
Component: Bugzilla GeneralAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.4CC: huiwang, jfearn, jmcdonal, mtahir, qgong, wthames
Target Milestone: 5.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-30 22:32:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff Fearn 🐞 2016-02-21 22:56:25 UTC
Description of problem:
It appears that in production this script always triggers a serialization error

Version-Release number of selected component (if applicable):
4.4

How reproducible:
Always

Steps to Reproduce:
1. Look in error list and see error message every day.

Actual results:
Triggers serialization error

Expected results:
Deletes old cookies

Additional info:

Comment 1 Rony Gong 🔥 2016-03-22 09:55:07 UTC
Verified on version 5.0.2.rh2, Failed
It show error when execute this script.
[root@bz-web bugzilla]# perl /usr/share/rh-bugzilla/bin/bz-expire-cookies.pl 
Subroutine Bugzilla::DB::vers_cmp redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
 at /var/www/html/bugzilla//Bugzilla/DB.pm line 27.

Comment 2 Jeff Fearn 🐞 2016-03-29 00:46:04 UTC
(In reply to Rony Gong from comment #1)
> Verified on version 5.0.2.rh2, Failed
> It show error when execute this script.
> [root@bz-web bugzilla]# perl /usr/share/rh-bugzilla/bin/bz-expire-cookies.pl 
> Subroutine Bugzilla::DB::vers_cmp redefined at
> /usr/share/perl5/vendor_perl/Exporter.pm line 66.
>  at /var/www/html/bugzilla//Bugzilla/DB.pm line 27.

This is not related to this script, please open a separate bug for this.

Comment 3 Rony Gong 🔥 2016-03-29 01:04:48 UTC
Will merge this bug fix code to branch-4.4?

Comment 4 Jeff Fearn 🐞 2016-03-29 01:16:39 UTC
(In reply to Rony Gong from comment #3)
> Will merge this bug fix code to branch-4.4?

Not unless it actually causes a problem on 4.4.

Comment 5 Jeff Fearn 🐞 2016-03-29 01:17:56 UTC
(In reply to Jeff Fearn from comment #4)
> (In reply to Rony Gong from comment #3)
> > Will merge this bug fix code to branch-4.4?
> 
> Not unless it actually causes a problem on 4.4.

This is wrong, no, the bug is flagged for 5.0.

Comment 6 Rony Gong 🔥 2016-05-17 07:34:03 UTC
Tested on
QA environment(5.0.2-rh7)
Result: Pass
Steps:
1. Executing the bz-expire-cookies, and can't find any serialization error now.

Comment 7 Jeff Fearn 🐞 2018-03-15 23:57:06 UTC
*** Bug 1297651 has been marked as a duplicate of this bug. ***