Bug 1310468 - bz-expire-cookies.pl always triggers a serialization error
Summary: bz-expire-cookies.pl always triggers a serialization error
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: 5.0
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
: 1297651 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-21 22:56 UTC by Jeff Fearn 🐞
Modified: 2018-12-09 06:29 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-30 22:32:02 UTC
Embargoed:


Attachments (Terms of Use)

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. ***


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