Bugzilla – Attachment 111236 Details for
Bug 22690
Merging records with many items too slow (Elasticsearch)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Bug 22690 - Output from tests for Item.t
Bug 22690 - Output from tests for Item.t.txt (text/plain), 14.72 KB, created by
David Nind
on 2020-10-05 13:29:35 UTC
(
hide
)
Description:
Bug 22690 - Output from tests for Item.t
Filename:
MIME Type:
Creator:
David Nind
Created:
2020-10-05 13:29:35 UTC
Size:
14.72 KB
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 22690
:
90061
|
90115
|
90116
|
92828
|
94505
|
97696
|
98143
|
98210
|
98211
|
99376
|
99379
|
100316
|
104796
|
104797
|
104871
|
105445
|
106144
|
108777
|
109694
|
110991
|
110994
|
111196
|
111207
| 111236 |
111237
|
112100
|
112184
|
112567
|
112569
|
112754
|
113308
|
113309
|
113941
|
113942
|
113967
|
113968
|
118226
|
118227
|
118229
|
118231
|
118391
|
119433
|
119434
|
120820
|
120821
|
120852
|
120853
|
121389
|
121392
|
121474
|
121516
|
121517
|
121518
|
121519
|
121520
|
122846
|
122847
|
122848
|
122849
|
122850
|
122886
|
122887
|
122888
|
122889
|
122890
|
122936
|
122938
|
122939
|
123029
|
123030
|
123031
|
123032
|
123033
|
123034
|
123035
|
123036
|
123037
|
123038
|
123039
|
123040
|
123041
|
123042
|
123044
|
123062
|
123481
|
123482
|
123483
|
123484
|
123485
|
123486
|
123487
|
123488
|
123489
|
123490
|
123491
|
123492
|
123493
|
123494
|
123495
|
123496
|
123497
|
124176
|
124188
|
124257