Subject: | t/object_store.t fails (with older Data::RecordStore?) (2.01) |
On some of my smokers:
...
Output from './Build test':
Useless use of unshift with no values at t/object_store.t line 1193.
# Failed test 'error message for opeining store with incompatable message'
# at t/object_store.t line 636.
# 'Data::RecordStore::Silo->open_silo Error operning record store. t/OLDVERSIONDB/RECORDSTORE/RECORD_INDEX_SILO/0 exists but is not writeable at /usr/perl5.22.0p/lib/site_perl/5.22.0/Data/RecordStore.pm line 548.
# at t/object_store.t line 17.
# main::__ANON__("Data::RecordStore::Silo->open_silo Error operning record stor"...) called at /usr/perl5.22.0p/lib/site_perl/5.22.0/Data/RecordStore.pm line 548
# Data::RecordStore::Silo::open_silo("Data::RecordStore::Silo", "IL", "t/OLDVERSIONDB/RECORDSTORE/RECORD_INDEX_SILO") called at /usr/perl5.22.0p/lib/site_perl/5.22.0/Data/RecordStore.pm line 106
# Data::RecordStore::open_store("Data::RecordStore", "t/OLDVERSIONDB/RECORDSTORE") called at /home/cpansand/.cpan/build/2018113008/Data-ObjectStore-2.01-4/blib/lib/Data/ObjectStore.pm line 70
# Data::ObjectStore::open_store("t/OLDVERSIONDB") called at t/object_store.t line 633
# eval {...} called at t/object_store.t line 632
# main::test_upgrade_db() called at t/object_store.t line 51
# '
# doesn't match '(?^i:Unable to open)'
Data::RecordStore::Silo->open_silo Error operning record store. t/OLDVERSIONDB/RECORDSTORE/RECORD_INDEX_SILO/0 exists but is not writeable at /usr/perl5.22.0p/lib/site_perl/5.22.0/Data/RecordStore.pm line 548.
at t/object_store.t line 17.
main::__ANON__("Data::RecordStore::Silo->open_silo Error operning record stor"...) called at /usr/perl5.22.0p/lib/site_perl/5.22.0/Data/RecordStore.pm line 548
Data::RecordStore::Silo::open_silo("Data::RecordStore::Silo", "IL", "t/OLDVERSIONDB/RECORDSTORE/RECORD_INDEX_SILO") called at /usr/perl5.22.0p/lib/site_perl/5.22.0/Data/RecordStore.pm line 106
Data::RecordStore::open_store("Data::RecordStore", "t/OLDVERSIONDB/RECORDSTORE") called at /home/cpansand/.cpan/build/2018113008/Data-ObjectStore-2.01-4/blib/lib/Data/ObjectStore.pm line 70
Data::ObjectStore::open_store("t/OLDVERSIONDB") called at t/object_store.t line 641
main::test_upgrade_db() called at t/object_store.t line 51
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 25 just after 143.
t/object_store.t ..
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 1/143 subtests
...
This seems to happen with older Data::RecordStore (4.03 and older). Statistical analysis:
****************************************************************
Regression 'mod:Data::RecordStore'
****************************************************************
Name Theta StdErr T-stat
[0='const'] -0.0000 0.0000 -0.72
[1='eq_4'] 0.0000 0.0000 0.68
[2='eq_4.03'] 0.0000 0.0000 0.62
[3='eq_4.05'] 1.0000 0.0000 2559934469165818.00
[4='eq_4.06'] 1.0000 0.0000 2544972713499232.00
R^2= 1.000, N= 96, K= 5
****************************************************************