Closed Bug 1786725 Opened 3 years ago Closed 2 years ago

Multiple Bugzilla::DB-related test failures on 5.2 branch

Categories

(Bugzilla :: Bugzilla-General, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: justdave, Assigned: dylan)

References

(Regression)

Details

(Keywords: regression)

Running tests on the 5.2 branch gets this right at the top:

Use of uninitialized value $dbd in concatenation (.) or string at t/001compile.t line 90.
Use of uninitialized value $dbd in concatenation (.) or string at t/001compile.t line 90.
t/001compile.t ....... ok

#   Failed test 'Bugzilla/DB.pm DOES NOT use strict --WARNING'
#   at t/002goodperl.t line 117.

#   Failed test 'Bugzilla/DB.pm DOES NOT use warnings --WARNING'
#   at t/002goodperl.t line 124.

#   Failed test 'Bugzilla/DB/QuoteIdentifier.pm DOES NOT use strict --WARNING'
#   at t/002goodperl.t line 117.

#   Failed test 'Bugzilla/DB/QuoteIdentifier.pm DOES NOT use warnings --WARNING'
#   at t/002goodperl.t line 124.

#   Failed test 'Bugzilla/DB/Sqlite.pm DOES NOT use strict --WARNING'
#   at t/002goodperl.t line 117.

#   Failed test 'Bugzilla/DB/Sqlite.pm DOES NOT use warnings --WARNING'
#   at t/002goodperl.t line 124.

#   Failed test 'Bugzilla/DB/Pg.pm DOES NOT use strict --WARNING'
#   at t/002goodperl.t line 117.

#   Failed test 'Bugzilla/DB/Pg.pm DOES NOT use warnings --WARNING'
#   at t/002goodperl.t line 124.

#   Failed test 'Bugzilla/DB/Mysql.pm DOES NOT use strict --WARNING'
#   at t/002goodperl.t line 117.

#   Failed test 'Bugzilla/DB/Mysql.pm DOES NOT use warnings --WARNING'
#   at t/002goodperl.t line 124.

#   Failed test 'Bugzilla/DB/Schema.pm DOES NOT use strict --WARNING'
#   at t/002goodperl.t line 117.

#   Failed test 'Bugzilla/DB/Schema.pm DOES NOT use warnings --WARNING'
#   at t/002goodperl.t line 124.

#   Failed test 'Bugzilla/DB/Schema/Sqlite.pm DOES NOT use strict --WARNING'
#   at t/002goodperl.t line 117.

#   Failed test 'Bugzilla/DB/Schema/Sqlite.pm DOES NOT use warnings --WARNING'
#   at t/002goodperl.t line 124.

#   Failed test 'Bugzilla/DB/Schema/Pg.pm DOES NOT use strict --WARNING'
#   at t/002goodperl.t line 117.

#   Failed test 'Bugzilla/DB/Schema/Pg.pm DOES NOT use warnings --WARNING'
#   at t/002goodperl.t line 124.

#   Failed test 'Bugzilla/DB/Schema/Mysql.pm DOES NOT use strict --WARNING'
#   at t/002goodperl.t line 117.

#   Failed test 'Bugzilla/DB/Schema/Mysql.pm DOES NOT use warnings --WARNING'
#   at t/002goodperl.t line 124.

#   Failed test 'Bugzilla/DB/Schema/Oracle.pm DOES NOT use strict --WARNING'
#   at t/002goodperl.t line 117.

#   Failed test 'Bugzilla/DB/Schema/Oracle.pm DOES NOT use warnings --WARNING'
#   at t/002goodperl.t line 124.
# Looks like you failed 20 tests of 1392.
t/002goodperl.t ...... 
Dubious, test returned 20 (wstat 5120, 0x1400)
Failed 20/1392 subtests 

Assigning this to Dylan since he committed the patches that caused it (which are all tied to bug 1592129 apparently)
This is a blocker for the 5.2 release.

This was fixed in https://github.com/bugzilla/bugzilla/commit/dcb2cd97c2d0e99306fd2bb66e8c7b29f73ab13a last November and the bug never got resolved.

Status: NEW → RESOLVED
Closed: 2 years ago
Keywords: regression
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.