Skip to content
Failed

Console Output

GitHub pull request #3 of commit 895f9a7ab277c0191d5a00c3b1c310cefdf63f4b, no merge conflicts.
Started by user Alan Wu
Rebuilds build #5
Setting status of 895f9a7ab277c0191d5a00c3b1c310cefdf63f4b to PENDING with url https://autotest.bioeng.auckland.ac.nz/jenkins/job/mapress/6/ and message: 'Build started for merge commit.'
Building remotely on Ubuntu_16.04_bioeng49 (buildslave Testing) in workspace /home/cmiss/Jenkins/workspace/mapress
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/ABI-Software/mapress.git
 > git init /home/cmiss/Jenkins/workspace/mapress # timeout=10
Fetching upstream changes from https://github.com/ABI-Software/mapress.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/ABI-Software/mapress.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/ABI-Software/mapress.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/ABI-Software/mapress.git # timeout=10
Fetching upstream changes from https://github.com/ABI-Software/mapress.git
 > git fetch --tags --progress https://github.com/ABI-Software/mapress.git +refs/pull/*:refs/remotes/origin/pr/*
 > git rev-parse refs/remotes/origin/pr/3/merge^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/pr/3/merge^{commit} # timeout=10
Checking out Revision 998aa8c19c5e6ad0dec4ea079469cc5e03df9669 (refs/remotes/origin/pr/3/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 998aa8c19c5e6ad0dec4ea079469cc5e03df9669
Commit message: "Merge 895f9a7ab277c0191d5a00c3b1c310cefdf63f4b into 531aba2594f8dee10c1dab10dcea538a77e58b2a"
First time build. Skipping changelog.
Run condition [File exists] enabling prebuild for step [Execute shell]
[File exists] check if file exists [/tmp/dataportal-temp]
Run condition [File exists] enabling perform for step [Execute shell]
[mapress] $ /bin/bash /tmp/jenkins16935426479319764741.sh

> core-js@2.6.9 postinstall /home/cmiss/Jenkins/workspace/mapress/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> cypress@3.4.1 postinstall /home/cmiss/Jenkins/workspace/mapress/node_modules/cypress
> node index.js --exec install


Cypress 3.4.1 is installed in /home/cmiss/.cache/Cypress/3.4.1

npm WARN mapress@0.1.0 No repository field.

added 196 packages from 127 contributors and audited 387 packages in 7.127s
found 0 vulnerabilities


> mapress@0.1.0 wait /home/cmiss/Jenkins/workspace/mapress
> wait-on -t 60000 http://localhost:5000

 * Serving Flask app "/tmp/dataportal-temp/app.py"
 * Environment: production
   WARNING: Do not use the development server in a production environment.
   Use a production WSGI server instead.
 * Debug mode: off
[27/Aug/2019 16:10:42] INFO -  * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
[27/Aug/2019 16:10:44] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:44] "HEAD / HTTP/1.1" 200 -
[27/Aug/2019 16:10:44] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:44] "HEAD / HTTP/1.1" 200 -
[27/Aug/2019 16:10:44] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:44] "HEAD / HTTP/1.1" 200 -
[27/Aug/2019 16:10:44] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:44] "HEAD / HTTP/1.1" 200 -
[27/Aug/2019 16:10:44] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:44] "HEAD / HTTP/1.1" 200 -
[27/Aug/2019 16:10:44] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:44] "HEAD / HTTP/1.1" 200 -
[27/Aug/2019 16:10:44] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:44] "HEAD / HTTP/1.1" 200 -
[27/Aug/2019 16:10:44] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:44] "HEAD / HTTP/1.1" 200 -
[27/Aug/2019 16:10:45] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:45] "HEAD / HTTP/1.1" 200 -
[27/Aug/2019 16:10:45] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:45] "HEAD / HTTP/1.1" 200 -
[27/Aug/2019 16:10:45] INFO - 127.0.0.1 - - [27/Aug/2019 16:10:45] "HEAD / HTTP/1.1" 200 -

> mapress@0.1.0 test-ci /home/cmiss/Jenkins/workspace/mapress
> cypress run


================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:  3.4.1                                                            │
  │ Browser:  Electron 61 (headless)                                           │
  │ Specs:    1 found (E2E/basic.js)                                           │
  └────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────
                                                                                
  Running: E2E/basic.js...                                             (1 of 1) 
[27/Aug/2019 16:11:01] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:01] "GET /map/ HTTP/1.1" 200 -
[27/Aug/2019 16:11:02] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:02] "GET /static/css/_base.css HTTP/1.1" 200 -
[27/Aug/2019 16:11:02] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:02] "GET /map/_build/bundle_map.js HTTP/1.1" 200 -
[27/Aug/2019 16:11:02] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:02] "GET /shared/_build/bundle.js HTTP/1.1" 200 -
[27/Aug/2019 16:11:03] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:03] "GET /map/8ed83a516242675649285ff523ffddb6.svg HTTP/1.1" 200 -
[27/Aug/2019 16:11:06] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:06] "POST /map/biolucida/authenticate/ HTTP/1.1" 200 -
[27/Aug/2019 16:11:10] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:10] "GET /map/knowledgebase/SCR_017041-3?q=bladder HTTP/1.1" 200 -
[27/Aug/2019 16:11:12] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:12] "GET /map/knowledgebase/SCR_017041-3?q=giraffe HTTP/1.1" 200 -
[27/Aug/2019 16:11:15] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:15] "GET /map/knowledgebase/SCR_017041-3?q=heart HTTP/1.1" 200 -
[27/Aug/2019 16:11:16] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:16] "GET /map/biolucida/image/106 HTTP/1.1" 200 -
[27/Aug/2019 16:11:17] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:17] "GET /map/biolucida/image/106 HTTP/1.1" 200 -
[27/Aug/2019 16:11:17] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:17] "GET /map/biolucida/region/106/252-261-0-0-0-7 HTTP/1.1" 200 -
[27/Aug/2019 16:11:18] INFO - 127.0.0.1 - - [27/Aug/2019 16:11:18] "GET /map/biolucida/region/106/252-261-0-0-0-7 HTTP/1.1" 200 -
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="16.199" tests="6" failures="1">
  <testsuite name="Root Suite" timestamp="2019-08-27T04:11:01" tests="0" failures="0" time="0">
  </testsuite>
  <testsuite name="Default visit" timestamp="2019-08-27T04:11:01" tests="6" failures="1" time="16.199">
    <testcase name="Default visit MAPcore page" time="6.751" classname="MAPcore page">
    </testcase>
    <testcase name="Default visit Search for bladder" time="3.114" classname="Search for bladder">
    </testcase>
    <testcase name="Default visit Search for giraffe" time="1.893" classname="Search for giraffe">
    </testcase>
    <testcase name="Default visit Search for heart" time="2.91" classname="Search for heart">
    </testcase>
    <testcase name="Default visit Open results in full" time="1.531" classname="Open results in full">
    </testcase>
    <testcase name="Default visit Open 3D tab" time="0" classname="Open 3D tab">
      <failure message="Timed out retrying: cy.wait() timed out waiting 5000ms for the 1st request to the route: &apos;scaffold&apos;. No request ever occurred." type="CypressError"><![CDATA[CypressError: Timed out retrying: cy.wait() timed out waiting 5000ms for the 1st request to the route: 'scaffold'. No request ever occurred.
    at Object.cypressErr (http://localhost:5000/__cypress/runner/cypress_runner.js:85348:11)
    at Object.throwErr (http://localhost:5000/__cypress/runner/cypress_runner.js:85303:18)
    at Object.throwErrByPath (http://localhost:5000/__cypress/runner/cypress_runner.js:85335:17)
    at Object.retry (http://localhost:5000/__cypress/runner/cypress_runner.js:77321:16)
    at checkForXhr (http://localhost:5000/__cypress/runner/cypress_runner.js:75549:17)
    at http://localhost:5000/__cypress/runner/cypress_runner.js:75550:28
    at tryCatcher (http://localhost:5000/__cypress/runner/cypress_runner.js:118962:23)
    at Function.Promise.attempt.Promise.try (http://localhost:5000/__cypress/runner/cypress_runner.js:116237:29)
    at tryFn (http://localhost:5000/__cypress/runner/cypress_runner.js:77770:21)
    at whenStable (http://localhost:5000/__cypress/runner/cypress_runner.js:77805:12)
    at http://localhost:5000/__cypress/runner/cypress_runner.js:77364:16
    at tryCatcher (http://localhost:5000/__cypress/runner/cypress_runner.js:118962:23)
    at Promise._settlePromiseFromHandler (http://localhost:5000/__cypress/runner/cypress_runner.js:116898:31)
    at Promise._settlePromise (http://localhost:5000/__cypress/runner/cypress_runner.js:116955:18)
    at Promise._settlePromise0 (http://localhost:5000/__cypress/runner/cypress_runner.js:117000:10)
    at Promise._settlePromises (http://localhost:5000/__cypress/runner/cypress_runner.js:117079:18)]]></failure>
    </testcase>
  </testsuite>
</testsuites>

  (Results)

  ┌────────────────────────────┐
  │ Tests:        6            │
  │ Passing:      5            │
  │ Failing:      1            │
  │ Pending:      0            │
  │ Skipped:      0            │
  │ Screenshots:  1            │
  │ Video:        true         │
  │ Duration:     22 seconds   │
  │ Spec Ran:     E2E/basic.js │
  └────────────────────────────┘


  (Screenshots)

  - /home/cmiss/Jenkins/workspace/mapress/cypress/screenshots/E2E/basic.js/Default visit -- Open 3D tab (failed).png (1024x720)


  (Video)

  - Started processing:   Compressing to 32 CRF
  - Finished processing:  /home/cmiss/Jenkins/workspace/mapress/cypress/videos/E2E/basic.js.mp4 (5 seconds)


================================================================================

  (Run Finished)


      Spec                                    Tests  Pass…  Fail…  Pend…  Skip… 
  ┌────────────────────────────────────────────────────────────────────────────┐
  │ ✖ E2E/basic.js                    00:22      6      5      1      -      - │
  └────────────────────────────────────────────────────────────────────────────┘
    1 of 1 failed (100%)              00:22      6      5      1      -      -  

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mapress@0.1.0 test-ci: `cypress run`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the mapress@0.1.0 test-ci script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/cmiss/.npm/_logs/2019-08-27T04_11_30_934Z-debug.log
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
Build step 'Conditional step (single)' marked build as failure
Archiving artifacts
Recording test results
Setting status of 895f9a7ab277c0191d5a00c3b1c310cefdf63f4b to FAILURE with url https://autotest.bioeng.auckland.ac.nz/jenkins/job/mapress/6/ and message: 'Build finished. '
Finished: FAILURE