Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 92322
Status: resolved
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: Failure under heavily parallelized tests (not investigated yet)
I am just adding the relevant log as a placeholder here, before I lose it. This is not a high priority, so if time is scarce feel free to ignore this ticket until I get to it :) (Running under -j32) ... PERL_DL_NONLAZY=1 /home/travis/perl5/perlbrew/perls/5.10.0/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: # ENABLE_COLUMN_METADATA # ENABLE_FTS3 # ENABLE_FTS3_PARENTHESIS # ENABLE_FTS4 # ENABLE_RTREE # ENABLE_STAT3 # SYSTEM_MALLOC # THREADSAFE=1 [23:28:35] t/01_compile.t ................................... ok 42 ms [23:28:35] t/17_createdrop.t ................................ ok 25 ms [23:28:35] t/03_create_table.t .............................. ok 46 ms [23:28:35] t/06_tran.t ...................................... ok 51 ms [23:28:35] t/07_error.t ..................................... ok 56 ms [23:28:35] t/04_insert.t .................................... ok 72 ms [23:28:35] t/31_bind_weird_number_param.t ................... ok 59 ms [23:28:35] t/18_insertfetch.t ............................... ok 82 ms [23:28:35] t/16_column_info.t ............................... ok 91 ms [23:28:35] t/05_select.t .................................... ok 108 ms [23:28:35] t/23_nulls.t ..................................... ok 96 ms [23:28:35] t/22_listfields.t ................................ ok 110 ms [23:28:35] t/20_blobs.t ..................................... ok 90 ms [23:28:35] t/30_auto_rollback.t ............................. ok 74 ms [23:28:35] t/13_create_collation.t .......................... ok 147 ms # sqlite_version=3.8.2 [23:28:35] t/02_logon.t ..................................... ok 174 ms [23:28:35] t/32_inactive_error.t ............................ ok 144 ms [23:28:35] t/12_unicode.t ................................... ok 170 ms [23:28:35] t/38_empty_statement.t ........................... ok 50 ms [23:28:35] t/34_online_backup.t ............................. ok 102 ms [23:28:35] t/14_progress_handler.t .......................... ok 195 ms [23:28:35] t/46_mod_perl.t .................................. skipped: requires APR::Table [23:28:35] t/25_chopblanks.t ................................ ok 199 ms [23:28:35] t/39_foreign_keys.t .............................. ok 83 ms [23:28:35] t/35_table_info.t ................................ ok 125 ms [23:28:35] t/24_numrows.t ................................... ok 228 ms [23:28:35] t/10_create_aggregate.t .......................... ok 253 ms [23:28:35] t/45_savepoints.t ................................ ok 53 ms [23:28:35] t/15_ak_dbd.t .................................... ok 275 ms [23:28:35] t/37_regexp.t .................................... ok 155 ms [23:28:35] t/54_literal_txn.t ............................... ok 31 ms [23:28:35] t/52_db_filename.t ............................... ok 63 ms [23:28:35] t/44_rtree.t ..................................... ok 99 ms [23:28:35] t/40_multiple_statements.t ....................... ok 157 ms [23:28:35] t/09_create_function.t ........................... ok 324 ms [23:28:35] t/48_bind_param_is_sticky.t ...................... ok 105 ms [23:28:35] t/41_placeholders.t .............................. ok 175 ms [23:28:35] t/49_trace_and_profile.t ......................... ok 121 ms # Failed test 'opened a correct readwrite database for uri' # at t/57_uri_filename.t line 126. Can't call method "disconnect" on an undefined value at t/57_uri_filename.t line 127. # Looks like you planned 17 tests but ran 9. # Looks like you failed 1 test of 9 run. # Looks like your test exited with 2 just after 9. [23:28:35] t/57_uri_filename.t .............................. Dubious, test returned 2 (wstat 512, 0x200) Failed 9/17 subtests [23:28:35] t/53_status.t .................................... ok 106 ms [23:28:35] t/29_cppcomments.t ............................... ok 302 ms [23:28:35] t/43_fts3.t ...................................... ok 201 ms [23:28:35] t/19_bindparam.t ................................. ok 372 ms [23:28:35] t/36_hooks.t ..................................... ok 299 ms [23:28:36] t/58_see_if_its_a_number_and_explicit_binding.t .. ok 109 ms # Failed test 'failed to open a nonexistent dbfile for readonly' # at t/56_open_flags.t line 25. # Failed test 'failed to open a nonexistent dbfile for readwrite (without create)' # at t/56_open_flags.t line 37. # Looks like you failed 2 tests of 8. [23:28:36] t/56_open_flags.t ................................ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/8 subtests [23:28:36] t/rt_15186_prepcached.t .......................... ok 127 ms [23:28:36] t/rt_21406_auto_finish.t ......................... ok 111 ms [23:28:36] t/rt_27553_prepared_cache_and_analyze.t .......... ok 78 ms [23:28:36] t/rt_25460_numeric_aggregate.t ................... ok 110 ms [23:28:36] t/rt_36836_duplicate_key.t ....................... ok 53 ms [23:28:36] t/rt_36838_unique_and_bus_error.t ................ ok 53 ms [23:28:36] t/rt_48393_debug_panic_with_commit.t ............. skipped: set $ENV{TEST_DBD_SQLITE_WITH_DEBUGGER} to enable this test [23:28:36] t/rt_53235_icu_compatibility.t ................... skipped: requires SQLite ICU plugin to be enabled [23:28:36] t/rt_40594_nullable.t ............................ ok 39 ms [23:28:36] t/cookbook_variance.t ............................ ok 191 ms [23:28:36] t/rt_31324_full_names.t .......................... ok 86 ms [23:28:36] t/rt_50503_fts3.t ................................ ok 41 ms [23:28:36] t/rt_26775_distinct.t ............................ ok 149 ms [23:28:36] t/rt_29058_group_by.t ............................ ok 138 ms [23:28:36] t/26_commit.t .................................... ok 502 ms [23:28:36] t/42_primary_key_info.t .......................... ok 363 ms [23:28:36] t/rt_25371_asymmetric_unicode.t .................. ok 193 ms [23:28:36] t/rt_73159_fts_tokenizer_segfault.t .............. ok 21 ms [23:28:36] t/rt_73787_exponential_buffer_overflow.t ......... ok 30 ms [23:28:36] t/51_table_column_metadata.t ..................... ok 309 ms [23:28:36] t/rt_29629_sqlite_where_length.t ................. ok 168 ms [23:28:36] t/rt_25924_user_defined_func_unicode.t ........... ok 191 ms [23:28:36] t/rt_76395_int_overflow.t ........................ ok 34 ms [23:28:36] t/rt_77724_primary_key_with_a_whitespace.t ....... ok 20 ms [23:28:36] t/rt_64177_ping_wipes_out_the_errstr.t ........... ok 41 ms [23:28:36] t/50_foreign_key_info.t .......................... ok 305 ms [23:28:36] t/rt_88228_sqlite_3_8_0_crash.t .................. ok 15 ms [23:28:36] t/55_statistics_info.t ........................... ok 293 ms [23:28:36] t/27_metadata.t .................................. ok 568 ms [23:28:36] t/rt_32889_prepare_cached_reexecute.t ............ ok 156 ms [23:28:36] t/rt_81536_multi_column_primary_key_info.t ....... ok 34 ms [23:28:36] t/21_blobtext.t .................................. ok 574 ms [23:28:36] t/33_non_latin_path.t ............................ ok 482 ms [23:28:36] t/rt_67581_bind_params_mismatch.t ................ ok 87 ms [23:28:36] t/rt_71311_bind_col_and_unicode.t ................ ok 77 ms [23:28:36] t/rt_78833_utf8_flag_for_column_names.t .......... ok 60 ms [23:28:36] t/rt_62370_diconnected_handles_operation.t ....... ok 153 ms [23:28:36] t/rt_52573_manual_exclusive_lock.t ............... ok 190 ms [23:28:36] t/47_execute.t ................................... ok 641 ms [23:28:37] t/28_schemachange.t .............................. ok 2088 ms [23:28:40] t/08_busy.t ...................................... ok 4693 ms [23:28:40] Test Summary Report ------------------- t/57_uri_filename.t (Wstat: 512 Tests: 9 Failed: 1) Failed test: 9 Non-zero exit status: 2 Parse errors: Bad plan. You planned 17 tests but ran 9. t/56_open_flags.t (Wstat: 512 Tests: 8 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=87, Tests=1939, 5 wallclock secs ( 0.56 usr 0.24 sys + 6.07 cusr 1.58 csys = 8.45 CPU) Result: FAIL Failed 2/87 test programs. 3/1939 subtests failed. make: *** [test_dynamic] Error 255
Thanks for the report. This must have happened because those tests used the same dbfile (without pid suffix). Shipped DBD-SQLite 1.41_05 with a fix. HTH. On Tue Jan 21 18:09:30 2014, RIBASUSHI wrote: Show quoted text
> I am just adding the relevant log as a placeholder here, before I lose > it. This is not a high priority, so if time is scarce feel free to > ignore this ticket until I get to it :) > > (Running under -j32) > ... > PERL_DL_NONLAZY=1 /home/travis/perl5/perlbrew/perls/5.10.0/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: > # ENABLE_COLUMN_METADATA > # ENABLE_FTS3 > # ENABLE_FTS3_PARENTHESIS > # ENABLE_FTS4 > # ENABLE_RTREE > # ENABLE_STAT3 > # SYSTEM_MALLOC > # THREADSAFE=1 > [23:28:35] t/01_compile.t ................................... ok > 42 ms > [23:28:35] t/17_createdrop.t ................................ ok > 25 ms > [23:28:35] t/03_create_table.t .............................. ok > 46 ms > [23:28:35] t/06_tran.t ...................................... ok > 51 ms > [23:28:35] t/07_error.t ..................................... ok > 56 ms > [23:28:35] t/04_insert.t .................................... ok > 72 ms > [23:28:35] t/31_bind_weird_number_param.t ................... ok > 59 ms > [23:28:35] t/18_insertfetch.t ............................... ok > 82 ms > [23:28:35] t/16_column_info.t ............................... ok > 91 ms > [23:28:35] t/05_select.t .................................... ok > 108 ms > [23:28:35] t/23_nulls.t ..................................... ok > 96 ms > [23:28:35] t/22_listfields.t ................................ ok > 110 ms > [23:28:35] t/20_blobs.t ..................................... ok > 90 ms > [23:28:35] t/30_auto_rollback.t ............................. ok > 74 ms > [23:28:35] t/13_create_collation.t .......................... ok > 147 ms > # sqlite_version=3.8.2 > [23:28:35] t/02_logon.t ..................................... ok > 174 ms > [23:28:35] t/32_inactive_error.t ............................ ok > 144 ms > [23:28:35] t/12_unicode.t ................................... ok > 170 ms > [23:28:35] t/38_empty_statement.t ........................... ok > 50 ms > [23:28:35] t/34_online_backup.t ............................. ok > 102 ms > [23:28:35] t/14_progress_handler.t .......................... ok > 195 ms > [23:28:35] t/46_mod_perl.t .................................. skipped: > requires APR::Table > [23:28:35] t/25_chopblanks.t ................................ ok > 199 ms > [23:28:35] t/39_foreign_keys.t .............................. ok > 83 ms > [23:28:35] t/35_table_info.t ................................ ok > 125 ms > [23:28:35] t/24_numrows.t ................................... ok > 228 ms > [23:28:35] t/10_create_aggregate.t .......................... ok > 253 ms > [23:28:35] t/45_savepoints.t ................................ ok > 53 ms > [23:28:35] t/15_ak_dbd.t .................................... ok > 275 ms > [23:28:35] t/37_regexp.t .................................... ok > 155 ms > [23:28:35] t/54_literal_txn.t ............................... ok > 31 ms > [23:28:35] t/52_db_filename.t ............................... ok > 63 ms > [23:28:35] t/44_rtree.t ..................................... ok > 99 ms > [23:28:35] t/40_multiple_statements.t ....................... ok > 157 ms > [23:28:35] t/09_create_function.t ........................... ok > 324 ms > [23:28:35] t/48_bind_param_is_sticky.t ...................... ok > 105 ms > [23:28:35] t/41_placeholders.t .............................. ok > 175 ms > [23:28:35] t/49_trace_and_profile.t ......................... ok > 121 ms > > # Failed test 'opened a correct readwrite database for uri' > # at t/57_uri_filename.t line 126. > Can't call method "disconnect" on an undefined value at > t/57_uri_filename.t line 127. > # Looks like you planned 17 tests but ran 9. > # Looks like you failed 1 test of 9 run. > # Looks like your test exited with 2 just after 9. > [23:28:35] t/57_uri_filename.t .............................. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 9/17 subtests > [23:28:35] t/53_status.t .................................... ok > 106 ms > [23:28:35] t/29_cppcomments.t ............................... ok > 302 ms > [23:28:35] t/43_fts3.t ...................................... ok > 201 ms > [23:28:35] t/19_bindparam.t ................................. ok > 372 ms > [23:28:35] t/36_hooks.t ..................................... ok > 299 ms > [23:28:36] t/58_see_if_its_a_number_and_explicit_binding.t .. ok > 109 ms > > # Failed test 'failed to open a nonexistent dbfile for readonly' > # at t/56_open_flags.t line 25. > > # Failed test 'failed to open a nonexistent dbfile for readwrite > (without create)' > # at t/56_open_flags.t line 37. > # Looks like you failed 2 tests of 8. > [23:28:36] t/56_open_flags.t ................................ > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/8 subtests > [23:28:36] t/rt_15186_prepcached.t .......................... ok > 127 ms > [23:28:36] t/rt_21406_auto_finish.t ......................... ok > 111 ms > [23:28:36] t/rt_27553_prepared_cache_and_analyze.t .......... ok > 78 ms > [23:28:36] t/rt_25460_numeric_aggregate.t ................... ok > 110 ms > [23:28:36] t/rt_36836_duplicate_key.t ....................... ok > 53 ms > [23:28:36] t/rt_36838_unique_and_bus_error.t ................ ok > 53 ms > [23:28:36] t/rt_48393_debug_panic_with_commit.t ............. skipped: > set $ENV{TEST_DBD_SQLITE_WITH_DEBUGGER} to enable this test > [23:28:36] t/rt_53235_icu_compatibility.t ................... skipped: > requires SQLite ICU plugin to be enabled > [23:28:36] t/rt_40594_nullable.t ............................ ok > 39 ms > [23:28:36] t/cookbook_variance.t ............................ ok > 191 ms > [23:28:36] t/rt_31324_full_names.t .......................... ok > 86 ms > [23:28:36] t/rt_50503_fts3.t ................................ ok > 41 ms > [23:28:36] t/rt_26775_distinct.t ............................ ok > 149 ms > [23:28:36] t/rt_29058_group_by.t ............................ ok > 138 ms > [23:28:36] t/26_commit.t .................................... ok > 502 ms > [23:28:36] t/42_primary_key_info.t .......................... ok > 363 ms > [23:28:36] t/rt_25371_asymmetric_unicode.t .................. ok > 193 ms > [23:28:36] t/rt_73159_fts_tokenizer_segfault.t .............. ok > 21 ms > [23:28:36] t/rt_73787_exponential_buffer_overflow.t ......... ok > 30 ms > [23:28:36] t/51_table_column_metadata.t ..................... ok > 309 ms > [23:28:36] t/rt_29629_sqlite_where_length.t ................. ok > 168 ms > [23:28:36] t/rt_25924_user_defined_func_unicode.t ........... ok > 191 ms > [23:28:36] t/rt_76395_int_overflow.t ........................ ok > 34 ms > [23:28:36] t/rt_77724_primary_key_with_a_whitespace.t ....... ok > 20 ms > [23:28:36] t/rt_64177_ping_wipes_out_the_errstr.t ........... ok > 41 ms > [23:28:36] t/50_foreign_key_info.t .......................... ok > 305 ms > [23:28:36] t/rt_88228_sqlite_3_8_0_crash.t .................. ok > 15 ms > [23:28:36] t/55_statistics_info.t ........................... ok > 293 ms > [23:28:36] t/27_metadata.t .................................. ok > 568 ms > [23:28:36] t/rt_32889_prepare_cached_reexecute.t ............ ok > 156 ms > [23:28:36] t/rt_81536_multi_column_primary_key_info.t ....... ok > 34 ms > [23:28:36] t/21_blobtext.t .................................. ok > 574 ms > [23:28:36] t/33_non_latin_path.t ............................ ok > 482 ms > [23:28:36] t/rt_67581_bind_params_mismatch.t ................ ok > 87 ms > [23:28:36] t/rt_71311_bind_col_and_unicode.t ................ ok > 77 ms > [23:28:36] t/rt_78833_utf8_flag_for_column_names.t .......... ok > 60 ms > [23:28:36] t/rt_62370_diconnected_handles_operation.t ....... ok > 153 ms > [23:28:36] t/rt_52573_manual_exclusive_lock.t ............... ok > 190 ms > [23:28:36] t/47_execute.t ................................... ok > 641 ms > [23:28:37] t/28_schemachange.t .............................. ok > 2088 ms > [23:28:40] t/08_busy.t ...................................... ok > 4693 ms > [23:28:40] > > Test Summary Report > ------------------- > t/57_uri_filename.t (Wstat: 512 Tests: 9 > Failed: 1) > Failed test: 9 > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 17 tests but ran 9. > t/56_open_flags.t (Wstat: 512 Tests: 8 > Failed: 2) > Failed tests: 1-2 > Non-zero exit status: 2 > Files=87, Tests=1939, 5 wallclock secs ( 0.56 usr 0.24 sys + 6.07 > cusr 1.58 csys = 8.45 CPU) > Result: FAIL > Failed 2/87 test programs. 3/1939 subtests failed. > make: *** [test_dynamic] Error 255