[Koha-bugs] [Bug 17917] Jenkins tests failing because test suite not logged in user

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 19 04:51:40 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17917

--- Comment #24 from M. Tompsett <mtompset at hotmail.com> ---
Here is an test run of mine, demonstrating only two known issues, which are
technically beyond the AddMember scope of the other ones. I would be willing to
open another bug for those, if these would Pass QA.

vagrant at kohadevbox:kohaclone(bug_17917)$ git fetch
[My guess is the latest master wasn't pulled down when you applied and tested
these]
vagrant at kohadevbox:kohaclone(bug_17917)$ git checkout -b bug_17917_v2
origin/master
Branch bug_17917_v2 set up to track remote branch master from origin.
Switched to a new branch 'bug_17917_v2'
vagrant at kohadevbox:kohaclone(bug_17917_v2)$ git bz apply 17920
Bug 17920 - t/db_dependent/Sitemapper.t fails because of permissions

59157 - Bug 17920: t/db_dependent/Sitemapper.t fails because of permissions

Apply? [(y)es, (n)o, (i)nteractive] y
Applying: Bug 17920: t/db_dependent/Sitemapper.t fails because of permissions
[This is because Sitemapper is a permissions issue, and not an AddMember issue]
vagrant at kohadevbox:kohaclone(bug_17917_v2)$ git bz apply 17917
Bug 17917 - Jenkins tests failing because test suite not logged in user

59029 - Bug 17917: Fix Jenkins for t/db_dependent/Members/IssueSlip.t
59030 - Bug 17917: Fix Jenkinds for t/db_dependent/Holds/LocalHoldsPriority.t
59031 - Bug 17917: Fix Jenkins for t/db_dependent/Letters.t
59039 - Bug 17917: Fix Jenkins for t/db_dependent/Circulation/issue.t
59040 - Bug 17917: Fix Jenkins for
t/db_dependent/Circulation/MarkIssueReturned.t
59041 - Bug 17917: Fix Jenkins for t/db_dependent/Members/GetAllIssues.t
59042 - Bug 17917: Fix Jenkins for t/db_dependent/Serials_2.t
59044 - Bug 17917: Fix Jenkin for t/db_dependent/Members/GetOverdues.t
59045 - Bug 17917: Fix Jenkins for t/db_dependent/Members/GetPendingIssues.t
59046 - Bug 17917: Fix Jenkins for t/db_dependent/Circulation/Branch.t
59052 - Bug 17917: Fix Jenkins for t/db_dependent/Reserves.t
59062 - Bug 17917: fix Jenkins for t/db_dependent/Suggestions.t
59175 - Bug 17917: Fix Jenkins for t/db_dependent/Holds.t

Apply? [(y)es, (n)o, (i)nteractive] y
Applying: Bug 17917: Fix Jenkins for t/db_dependent/Members/IssueSlip.t
Applying: Bug 17917: Fix Jenkinds for t/db_dependent/Holds/LocalHoldsPriority.t
Applying: Bug 17917: Fix Jenkins for t/db_dependent/Letters.t
Applying: Bug 17917: Fix Jenkins for t/db_dependent/Circulation/issue.t
Applying: Bug 17917: Fix Jenkins for
t/db_dependent/Circulation/MarkIssueReturned.t
Applying: Bug 17917: Fix Jenkins for t/db_dependent/Members/GetAllIssues.t
Applying: Bug 17917: Fix Jenkins for t/db_dependent/Serials_2.t
Applying: Bug 17917: Fix Jenkin for t/db_dependent/Members/GetOverdues.t
Applying: Bug 17917: Fix Jenkins for t/db_dependent/Members/GetPendingIssues.t
Applying: Bug 17917: Fix Jenkins for t/db_dependent/Circulation/Branch.t
Applying: Bug 17917: Fix Jenkins for t/db_dependent/Reserves.t
Applying: Bug 17917: fix Jenkins for t/db_dependent/Suggestions.t
Applying: Bug 17917: Fix Jenkins for t/db_dependent/Holds.t
vagrant at kohadevbox:kohaclone(bug_17917_v2)$ sudo koha-shell -c "prove
t/db_dependent" kohadev
[SNIP ok's]
t/db_dependent/FrameworkPlugin.t ......................... 1/5 oAuth error:
Database unavailable (109) authorities Bib-1
t/db_dependent/FrameworkPlugin.t ......................... ok
[This bug is about AddMember triggered errors]
[SNIP ok's]
t/db_dependent/ILSDI_Services.t .......................... 1/3 Odd number of
elements in anonymous hash at /usr/share/koha/lib/C4/ILSDI/Services.pm line
379.
Use of uninitialized value in numeric gt (>) at
/usr/share/koha/lib/C4/ILSDI/Services.pm line 379.
t/db_dependent/ILSDI_Services.t .......................... ok
[This is fixed by 17836]
[SNIP ok's]
t/db_dependent/Koha_Authority.t .......................... 1/? Use of
uninitialized value $authid in addition (+) at
/usr/share/koha/lib/C4/AuthoritiesMarc.pm line 672, <GEN26> line 1.
t/db_dependent/Koha_Authority.t .......................... ok
[SNIP ok's]
t/db_dependent/Reserves.t ................................ 8/72 Use of
uninitialized value $tagno in concatenation (.) or string at
/usr/share/perl5/MARC/Field.pm line 83.
Tag "" is not a valid tag. at t/db_dependent/Reserves.t line 544.
# Looks like your test exited with 255 just after 52.
t/db_dependent/Reserves.t ................................ Dubious, test
returned 255 (wstat 65280, 0xff00)
Failed 20/72 subtests
[Still not solved yet]
[SNIP ok's]
t/db_dependent/Search.t .................................. The syspref
casAuthentication was requested but I don't know what to say; this indicates
that the test requires updating at t/db_dependent/Search.t line 140.
The syspref casLogout was requested but I don't know what to say; this
indicates that the test requires updating at t/db_dependent/Search.t line 140.
The syspref casServerUrl was requested but I don't know what to say; this
indicates that the test requires updating at t/db_dependent/Search.t line 140.
The syspref template was requested but I don't know what to say; this indicates
that the test requires updating at t/db_dependent/Search.t line 140.
ERROR DECODING RECORD - Tag "50%" is not a valid tag. at
/usr/share/perl5/MARC/File/USMARC.pm line 223.
: 00295nam a22001217a
450000300040000000500170000400800410002110000180006224500570008050%001100137942001200148999001300160OSt20111207151138.0111207t
       xxu||||| |||| 00| 0 eng d  aGanser, Helen  aA record containing a
punctuation character as a tag  aa note  2ddccBK  c214d214 at
/usr/share/koha/lib/C4/Search.pm line 680.
t/db_dependent/Search.t .................................. 1/4 The syspref
template was requested but I don't know what to say; this indicates that the
test requires updating at t/db_dependent/Search.t line 140.
t/db_dependent/Search.t .................................. ok
[This bug is about AddMember triggered errors]
[SNIP ok's]
t/db_dependent/check_sysprefs.t .......................... readline() on closed
filehandle $ref_fh at t/db_dependent/check_sysprefs.t line 57.
t/db_dependent/check_sysprefs.t .......................... 1/?
#   Failed test 'Found 0 sysprefs'
#   at t/db_dependent/check_sysprefs.t line 40.
#     '-1'
#         >=
#     '0'
# Looks like you failed 1 test of 2.
t/db_dependent/check_sysprefs.t .......................... Dubious, test
returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
[Still not solved yet. Something about intranet config being a /tmp/...
directory]
[SNIP ok's]

Test Summary Report
-------------------
t/db_dependent/Reserves.t                              (Wstat: 65280 Tests: 52
Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 72 tests but ran 52.
t/db_dependent/check_sysprefs.t                        (Wstat: 256 Tests: 2
Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=87, Tests=3244, 618 wallclock secs ( 0.66 usr  0.07 sys + 561.44 cusr
28.40 csys = 590.57 CPU)
Result: FAIL
[As expected just these two fails, because they are not AddMember issues]
[However, it would be nice to fix them here]

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list