root@kohadevbox:koha(bz22690)$ prove -v t/db_dependent/Koha/Item.t t/db_dependent/Koha/Item.t .. 1..8 # Subtest: hidden_in_opac() tests 1..4 ok 1 - No rules passed, shouldn't hide ok 2 - Empty rules passed, shouldn't hide ok 3 - Even with no rules, item should hide because of hidelostitems syspref ok 4 - Rule matching itype passed, should hide ok 1 - hidden_in_opac() tests # Subtest: has_pending_hold() tests 1..2 ok 1 - Yes, we have a pending hold ok 2 - We don't have a pending hold if nothing in the tmp_holdsqueue ok 2 - has_pending_hold() tests # Subtest: as_marc_field() tests 1..80 ok 1 - Generated field set the right tag number ok 2 - Value is mapped correctly for column itemnumber Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. not ok 3 - Value is mapped correctly for column biblionumber # Failed test 'Value is mapped correctly for column biblionumber' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '441' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. not ok 4 - Value is mapped correctly for column biblioitemnumber # Failed test 'Value is mapped correctly for column biblioitemnumber' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '441' ok 5 - Value is mapped correctly for column barcode ok 6 - Value is mapped correctly for column dateaccessioned ok 7 - Value is mapped correctly for column booksellerid ok 8 - Value is mapped correctly for column homebranch ok 9 - Value is mapped correctly for column price ok 10 - Value is mapped correctly for column replacementprice ok 11 - Value is mapped correctly for column replacementpricedate ok 12 - Value is mapped correctly for column datelastborrowed ok 13 - Value is mapped correctly for column datelastseen ok 14 - Value is mapped correctly for column stack ok 15 - Value is mapped correctly for column notforloan ok 16 - Value is mapped correctly for column damaged ok 17 - Value is mapped correctly for column itemlost ok 18 - Value is mapped correctly for column withdrawn ok 19 - Value is mapped correctly for column itemcallnumber ok 20 - Value is mapped correctly for column coded_location_qualifier ok 21 - Value is mapped correctly for column issues ok 22 - Value is mapped correctly for column renewals ok 23 - Value is mapped correctly for column reserves ok 24 - Value is mapped correctly for column restricted ok 25 - Value is mapped correctly for column itemnotes ok 26 - Value is mapped correctly for column itemnotes_nonpublic ok 27 - Value is mapped correctly for column holdingbranch Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. not ok 28 - Value is mapped correctly for column timestamp # Failed test 'Value is mapped correctly for column timestamp' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '2020-10-05 13:18:42' ok 29 - Value is mapped correctly for column location ok 30 - Value is mapped correctly for column onloan ok 31 - Value is mapped correctly for column cn_source ok 32 - Value is mapped correctly for column cn_sort ok 33 - Value is mapped correctly for column ccode ok 34 - Value is mapped correctly for column materials ok 35 - Value is mapped correctly for column uri ok 36 - Value is mapped correctly for column itype ok 37 - Value is mapped correctly for column enumchron ok 38 - Value is mapped correctly for column copynumber ok 39 - Value is mapped correctly for column stocknumber ok 40 - Generated field set the right tag number ok 41 - Value is mapped correctly for column itemnumber not ok 42 - Value is mapped correctly for column biblionumber not ok 43 - Value is mapped correctly for column biblioitemnumber ok 44 - Value is mapped correctly for column barcode ok 45 - Value is mapped correctly for column dateaccessioned ok 46 - Value is mapped correctly for column booksellerid ok 47 - Value is mapped correctly for column homebranch ok 48 - Value is mapped correctly for column price ok 49 - Value is mapped correctly for column replacementprice ok 50 - Value is mapped correctly for column replacementpricedate ok 51 - Value is mapped correctly for column datelastborrowed Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column biblionumber' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '441' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column biblioitemnumber' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '441' ok 52 - Value is mapped correctly for column datelastseen ok 53 - Value is mapped correctly for column stack ok 54 - Value is mapped correctly for column notforloan ok 55 - Value is mapped correctly for column damaged ok 56 - Value is mapped correctly for column itemlost ok 57 - Value is mapped correctly for column withdrawn ok 58 - Value is mapped correctly for column itemcallnumber ok 59 - Value is mapped correctly for column coded_location_qualifier ok 60 - Value is mapped correctly for column issues ok 61 - Value is mapped correctly for column renewals ok 62 - Value is mapped correctly for column reserves ok 63 - Value is mapped correctly for column restricted ok 64 - Value is mapped correctly for column itemnotes ok 65 - Value is mapped correctly for column itemnotes_nonpublic ok 66 - Value is mapped correctly for column holdingbranch Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. not ok 67 - Value is mapped correctly for column timestamp # Failed test 'Value is mapped correctly for column timestamp' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '2020-10-05 13:18:42' ok 68 - Value is mapped correctly for column location ok 69 - Value is mapped correctly for column onloan ok 70 - Value is mapped correctly for column cn_source ok 71 - Value is mapped correctly for column cn_sort ok 72 - Value is mapped correctly for column ccode ok 73 - Value is mapped correctly for column materials ok 74 - Value is mapped correctly for column uri ok 75 - Value is mapped correctly for column itype ok 76 - Value is mapped correctly for column enumchron ok 77 - Value is mapped correctly for column copynumber ok 78 - Value is mapped correctly for column stocknumber ok 79 - There are no undef subfields ok 80 - more_subfield_xml is considered # Looks like you failed 6 tests of 80. not ok 3 - as_marc_field() tests # Failed test 'as_marc_field() tests' # at t/db_dependent/Koha/Item.t line 156. # Subtest: pickup_locations 1..114 # No tests run! not ok 4 - No tests run for subtest "pickup_locations" # Failed test 'No tests run for subtest "pickup_locations"' # at t/db_dependent/Koha/Item.t line 340. [NoNodes] ** No nodes are available: [http://es:9200], called from sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/Indexer.pm line 117.# Looks like your test exited with 255 just after 4. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 6/8 subtests Test Summary Report ------------------- t/db_dependent/Koha/Item.t (Wstat: 65280 Tests: 4 Failed: 2) Failed tests: 3-4 Non-zero exit status: 255 Parse errors: Bad plan. You planned 8 tests but ran 4. Files=1, Tests=4, 356 wallclock secs ( 0.02 usr 0.01 sys + 261.56 cusr 10.24 csys = 271.83 CPU) Result: FAIL