Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-15688

Qserv testQDisp unit test is broken in master

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Qserv
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Sprint:
      DB_F18_09
    • Team:
      Data Access and Database

      Description

      Building qserv from master on CentOS7 (against current `qserv-dev` tag) fails in testQDisp unit test:

      [salnikov@centos-dev-vm qserv]$ ./build/qdisp/testQDisp -l all -x
      Running 5 test cases...
      Entering test module "Qdisp_1"
      core/modules/qdisp/testQDisp.cc(198): Entering test suite "Suite"
      core/modules/qdisp/testQDisp.cc(207): Entering test case "Executive"
      lsst.qserv.qdisp.JobStatus INFO: QI=0:0; Updating state to: REQUEST code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:0; Updating state to: COMPLETE (success) code=0 
      core/modules/qdisp/testQDisp.cc(229): info: check tEnv.jqTest->getStatus()->getInfo().state == qdisp::JobStatus::COMPLETE has passed
      core/modules/qdisp/testQDisp.cc(230): info: check tEnv.ex->getEmpty() == true has passed
      lsst.qserv.qdisp.JobStatus INFO: QI=0:0; Updating state to: REQUEST code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:0; Updating state to: COMPLETE (success) code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:1; Updating state to: REQUEST code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:1; Updating state to: COMPLETE (success) code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:2; Updating state to: REQUEST code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:2; Updating state to: COMPLETE (success) code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:3; Updating state to: REQUEST code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:3; Updating state to: COMPLETE (success) code=0 
      core/modules/qdisp/testQDisp.cc(243): info: check tEnv.ex->getEmpty() == true has passed
      lsst.qserv.qdisp.JobStatus INFO: QI=0:0; Updating state to: REQUEST code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:1; Updating state to: REQUEST code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:2; Updating state to: REQUEST code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:3; Updating state to: REQUEST code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:4; Updating state to: REQUEST code=0 
      core/modules/qdisp/testQDisp.cc(260): info: check tEnv.ex->getEmpty() == false has passed
      lsst.qserv.qdisp.JobStatus INFO: QI=0:0; Updating state to: COMPLETE (success) code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:1; Updating state to: COMPLETE (success) code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:2; Updating state to: COMPLETE (success) code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:3; Updating state to: COMPLETE (success) code=0 
      lsst.qserv.qdisp.JobStatus INFO: QI=0:4; Updating state to: COMPLETE (success) code=0 
      core/modules/qdisp/testQDisp.cc(265): info: check tEnv.ex->getEmpty() == true has passed
      root ERROR: timeoutFunc done=1 total=1000000 timedOut=0
      core/modules/qdisp/testQDisp.cc(170): info: check done == true has passed
      core/modules/qdisp/testQDisp.cc(207): Leaving test case "Executive"; testing time: 490ms
      core/modules/qdisp/testQDisp.cc(272): Entering test case "MessageStore"
      core/modules/qdisp/testQDisp.cc(275): info: check ms.messageCount() == 0 has passed
      lsst.qserv.qdisp.MessageStore ERROR: Add msg: 124 -12 test2
      lsst.qserv.qdisp.MessageStore ERROR: Add msg: 86 -12 test3
      core/modules/qdisp/testQDisp.cc(280): info: check ms.messageCount() == 3 has passed
      core/modules/qdisp/testQDisp.cc(281): info: check ms.messageCount(-12) == 2 has passed
      core/modules/qdisp/testQDisp.cc(283): info: check qm.chunkId == 124 && qm.code == -12 && str.compare(qm.description) == 0 has passed
      core/modules/qdisp/testQDisp.cc(272): Leaving test case "MessageStore"; testing time: 10ms
      core/modules/qdisp/testQDisp.cc(287): Entering test case "QueryRequest"
      unknown location(0): fatal error: in "Suite/QueryRequest": std::system_error: Resource temporarily unavailable
      core/modules/qdisp/testQDisp.cc(287): last checkpoint: "QueryRequest" test entry
      core/modules/qdisp/testQDisp.cc(287): Leaving test case "QueryRequest"; testing time: 10ms
      core/modules/qdisp/testQDisp.cc(347): Entering test case "ExecutiveCancel"
      unknown location(0): fatal error: in "Suite/ExecutiveCancel": std::system_error: Resource temporarily unavailable
      core/modules/qdisp/testQDisp.cc(347): last checkpoint: "ExecutiveCancel" test entry
      core/modules/qdisp/testQDisp.cc(347): Leaving test case "ExecutiveCancel"; testing time: 10ms
      core/modules/qdisp/testQDisp.cc(388): Entering test case "ServiceMock"
      core/modules/qdisp/testQDisp.cc(390): info: check qdisp::XrdSsiServiceMock::isAOK() has passed
      core/modules/qdisp/testQDisp.cc(388): Leaving test case "ServiceMock"
      core/modules/qdisp/testQDisp.cc(198): Leaving test suite "Suite"; testing time: 520ms
      Leaving test module "Qdisp_1"; testing time: 520ms
       
      *** 2 failures are detected in the test module "Qdisp_1"
      

      Full log with DEBUG messages is attached too.

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                jgates John Gates
                Reporter:
                salnikov Andy Salnikov
                Watchers:
                Andy Salnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel