Bug 1058709 - FTBFS: perl-DBD-SQLite-1.40-2.fc21: tests fail
Summary: FTBFS: perl-DBD-SQLite-1.40-2.fc21: tests fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-DBD-SQLite
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-28 12:07 UTC by Petr Pisar
Modified: 2014-07-02 13:31 UTC (History)
6 users (show)

Fixed In Version: perl-DBD-SQLite-1.40-3.fc21
Clone Of:
Environment:
Last Closed: 2014-07-02 13:31:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Upstream fix for sort error in t/53_status.t (786 bytes, patch)
2014-01-28 12:21 UTC, Paul Howarth
no flags Details | Diff
Upstream fix for test failures due to error message changes in sqlite 3.8.2 (2.18 KB, patch)
2014-01-28 12:22 UTC, Paul Howarth
no flags Details | Diff

Description Petr Pisar 2014-01-28 12:07:34 UTC
perl-DBD-SQLite-1.40-2.fc21 fails to build in F21 because some tests fail:

+ umask 022
+ cd /home/test/fedora/perl-DBD-SQLite
+ cd DBD-SQLite-1.40
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# $DBI::VERSION=1.631
# Compile Options:
#   DISABLE_DIRSYNC
#   ENABLE_COLUMN_METADATA
#   ENABLE_FTS3
#   ENABLE_RTREE
#   ENABLE_UNLOCK_NOTIFY
#   SECURE_DELETE
#   SYSTEM_MALLOC
#   TEMP_STORE=1
#   THREADSAFE=1
t/01_compile.t .............................. ok
# sqlite_version=3.8.2
t/02_logon.t ................................ ok
t/03_create_table.t ......................... ok
t/04_insert.t ............................... ok
t/05_select.t ............................... ok
t/06_tran.t ................................. ok

#   Failed test '$DBI::errstr ok'
#   at t/07_error.t line 31.
#                   'UNIQUE constraint failed: testerror.a'
#     doesn't match '(?^:column a is not unique)'
# Looks like you failed 1 test of 8.
t/07_error.t ................................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests
t/08_busy.t ................................. ok
t/09_create_function.t ...................... ok
t/10_create_aggregate.t ..................... ok
t/12_unicode.t .............................. ok
t/13_create_collation.t ..................... ok
t/14_progress_handler.t ..................... ok
t/15_ak_dbd.t ............................... ok
t/16_column_info.t .......................... ok
t/17_createdrop.t ........................... ok
t/18_insertfetch.t .......................... ok
t/19_bindparam.t ............................ ok
t/20_blobs.t ................................ ok
t/21_blobtext.t ............................. ok
t/22_listfields.t ........................... ok
t/23_nulls.t ................................ ok
t/24_numrows.t .............................. ok
t/25_chopblanks.t ........................... ok
t/26_commit.t ............................... ok
t/27_metadata.t ............................. ok
t/28_schemachange.t ......................... ok
t/29_cppcomments.t .......................... ok
t/30_auto_rollback.t ........................ ok
t/31_bind_weird_number_param.t .............. ok
t/32_inactive_error.t ....................... ok
t/33_non_latin_path.t ....................... ok
t/34_online_backup.t ........................ ok
t/35_table_info.t ........................... ok
t/36_hooks.t ................................ ok
t/37_regexp.t ............................... ok
t/38_empty_statement.t ...................... ok

#   Failed test at t/39_foreign_keys.t line 52.

#   Failed test at t/39_foreign_keys.t line 65.
# Looks like you failed 2 tests of 17.
t/39_foreign_keys.t .........................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/17 subtests
t/40_multiple_statements.t .................. ok
t/41_placeholders.t ......................... ok
t/42_primary_key_info.t ..................... ok
t/43_fts3.t ................................. ok
t/44_rtree.t ................................ ok
t/45_savepoints.t ........................... ok
t/46_mod_perl.t ............................. skipped: requires APR::Table
t/47_execute.t .............................. ok
t/48_bind_param_is_sticky.t ................. ok
t/49_trace_and_profile.t .................... ok
t/50_foreign_key_info.t ..................... ok
t/51_table_column_metadata.t ................ ok
t/52_db_filename.t .......................... ok

#   Failed test 'num of sort: 0'
#   at t/53_status.t line 49.

#   Failed test 'num of sort: 0'
#   at t/53_status.t line 49.
# Looks like you failed 2 tests of 16.
t/53_status.t ...............................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/16 subtests
t/54_literal_txn.t .......................... ok
t/cookbook_variance.t ....................... ok
t/rt_15186_prepcached.t ..................... ok
t/rt_21406_auto_finish.t .................... ok
t/rt_25371_asymmetric_unicode.t ............. ok
t/rt_25460_numeric_aggregate.t .............. ok
t/rt_25924_user_defined_func_unicode.t ...... ok
t/rt_26775_distinct.t ....................... ok
t/rt_27553_prepared_cache_and_analyze.t ..... ok
t/rt_29058_group_by.t ....................... ok
t/rt_29629_sqlite_where_length.t ............ ok
t/rt_31324_full_names.t ..................... ok
t/rt_32889_prepare_cached_reexecute.t ....... ok
t/rt_36836_duplicate_key.t .................. ok

#   Failed test 'DBD::SQLite::db do failed: UNIQUE constraint failed: nums.num at t/rt_36838_unique_and_bus_error.t line 19.
# '
#   at t/rt_36838_unique_and_bus_error.t line 20.
# Looks like you failed 1 test of 4.
t/rt_36838_unique_and_bus_error.t ...........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
t/rt_40594_nullable.t ....................... ok
t/rt_48393_debug_panic_with_commit.t ........ skipped: set $ENV{TEST_DBD_SQLITE_WITH_DEBUGGER} to enable this test
t/rt_50503_fts3.t ........................... ok
t/rt_52573_manual_exclusive_lock.t .......... ok
t/rt_53235_icu_compatibility.t .............. skipped: requires SQLite ICU plugin to be enabled
t/rt_62370_diconnected_handles_operation.t .. ok
t/rt_64177_ping_wipes_out_the_errstr.t ...... ok
t/rt_67581_bind_params_mismatch.t ........... ok
t/rt_71311_bind_col_and_unicode.t ........... ok
t/rt_73159_fts_tokenizer_segfault.t ......... ok
t/rt_73787_exponential_buffer_overflow.t .... ok
t/rt_77724_primary_key_with_a_whitespace.t .. ok
t/rt_78833_utf8_flag_for_column_names.t ..... ok
t/rt_81536_multi_column_primary_key_info.t .. ok

Test Summary Report
-------------------
t/07_error.t                              (Wstat: 256 Tests: 8 Failed: 1)
  Failed test:  7
  Non-zero exit status: 1
t/39_foreign_keys.t                       (Wstat: 512 Tests: 17 Failed: 2)
  Failed tests:  10, 13
  Non-zero exit status: 2
t/53_status.t                             (Wstat: 512 Tests: 16 Failed: 2)
  Failed tests:  10, 16
  Non-zero exit status: 2
t/rt_36838_unique_and_bus_error.t         (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=81, Tests=1861, 31 wallclock secs ( 0.78 usr  0.75 sys +  6.65 cusr  4.41 csys = 12.59 CPU)
Result: FAIL

Comment 1 Paul Howarth 2014-01-28 12:21:39 UTC
Created attachment 856551 [details]
Upstream fix for sort error in t/53_status.t

Comment 2 Paul Howarth 2014-01-28 12:22:54 UTC
Created attachment 856553 [details]
Upstream fix for test failures due to error message changes in sqlite 3.8.2

Comment 3 Paul Howarth 2014-01-28 12:23:33 UTC
Attached patches fixed my local build.

Comment 4 Petr Pisar 2014-01-29 09:30:03 UTC
Thank you for the finding the fixes.

Comment 5 Petr Pisar 2014-01-29 10:10:13 UTC
This is needed for F≥19.

Comment 6 Fedora Update System 2014-01-29 10:21:09 UTC
perl-DBD-SQLite-1.40-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-DBD-SQLite-1.40-3.fc20

Comment 7 Fedora Update System 2014-01-29 10:23:19 UTC
perl-DBD-SQLite-1.37-5.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/perl-DBD-SQLite-1.37-5.fc19

Comment 8 Fedora Update System 2014-02-07 03:04:42 UTC
perl-DBD-SQLite-1.40-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-02-07 03:14:24 UTC
perl-DBD-SQLite-1.37-5.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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