[Koha-bugs] [Bug 24229] New: /items API tests fail on Ubuntu 18.04

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 12 14:10:42 CET 2019


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

            Bug ID: 24229
           Summary: /items API tests fail on Ubuntu 18.04
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org

Tests fail in a weird way:

kohadev-koha at 7369d4443675:/kohadevbox/koha$ prove t/db_dependent/api/v1/items.t
t/db_dependent/api/v1/items.t ..     # Inactivity timeout

    #   Failed test 'GET
//RTrSH14TLmPlTAsO1RAR9x8MhJtMO7XJS5IKOwBKfwcFnpzHSGSEPM7k:thePassword123@/api/v1/items'
    #   at t/db_dependent/api/v1/items.t line 75.

    #   Failed test 'SWAGGER3.2.2'
    #   at t/db_dependent/api/v1/items.t line 75.
    #          got: undef
    #     expected: '200'
    # Looks like you planned 12 tests but ran 5.
    # Looks like you failed 2 tests of 5 run.
t/db_dependent/api/v1/items.t .. 1/2
#   Failed test 'list() tests'
#   at t/db_dependent/api/v1/items.t line 95.
Can't use an undefined value as an ARRAY reference at
t/db_dependent/api/v1/items.t line 79.
# Looks like your test exited with 255 just after 1.
t/db_dependent/api/v1/items.t .. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 2/2 subtests

It happens almost randomly (I reproduced the first time I started
koha-testing-docker with the master-bionic image, but then it wouldn't
reproduce).

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


More information about the Koha-bugs mailing list