GitHub pull request #3 of commit 895f9a7ab277c0191d5a00c3b1c310cefdf63f4b, no merge conflicts.
Started by user Alan Wu
Rebuilds build #6
Setting status of 895f9a7ab277c0191d5a00c3b1c310cefdf63f4b to PENDING with url https://autotest.bioeng.auckland.ac.nz/jenkins/job/mapress/7/ 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/jenkins6543663843828275649.sh
> core-js@2.6.9 postinstall /home/cmiss/Jenkins/workspace/mapress/node_modules/core-js
> node scripts/postinstall || echo "ignore"
[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m
[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m
[96m>[94m https://opencollective.com/core-js [0m
[96m>[94m https://www.patreon.com/zloirock [0m
[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m
> 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 10.153s
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
> mapress@0.1.0 test-ci /home/cmiss/Jenkins/workspace/mapress
> cypress run "--browser=/home/cmiss/chrome/opt/google/chrome/google-chrome"
Traceback (most recent call last):
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/bin/flask", line 12, in <module>
sys.exit(main())
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/flask/cli.py", line 894, in main
cli.main(args=args, prog_name=name)
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/flask/cli.py", line 557, in main
return super(FlaskGroup, self).main(*args, **kwargs)
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/flask/cli.py", line 771, in run_command
threaded=with_threads, ssl_context=cert)
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/werkzeug/serving.py", line 814, in run_simple
inner()
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/werkzeug/serving.py", line 774, in inner
fd=fd)
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/werkzeug/serving.py", line 660, in make_server
passthrough_errors, ssl_context, fd=fd)
File "/home/cmiss/Jenkins/workspace/Data Portal/venv/lib/python3.6/site-packages/werkzeug/serving.py", line 577, in __init__
self.address_family), handler)
File "/usr/lib/python3.6/socketserver.py", line 456, in __init__
self.server_bind()
File "/usr/lib/python3.6/http/server.py", line 136, in server_bind
socketserver.TCPServer.server_bind(self)
File "/usr/lib/python3.6/socketserver.py", line 470, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 3.4.1 │
│ Browser: Custom Chrome 76 │
│ Specs: 1 found (E2E/basic.js) │
└────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────
Running: E2E/basic.js... (1 of 1)
Warning: Cypress can only record videos when using the built in 'electron' browser.
You have set the browser to: 'chrome'
A video will not be recorded when using this browser.
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="13.932" tests="6" failures="0">
<testsuite name="Root Suite" timestamp="2019-08-27T22:12:13" tests="0" failures="0" time="0">
</testsuite>
<testsuite name="Default visit" timestamp="2019-08-27T22:12:13" tests="6" failures="0" time="13.932">
<testcase name="Default visit MAPcore page" time="4.009" classname="MAPcore page">
</testcase>
<testcase name="Default visit Search for bladder" time="3.705" classname="Search for bladder">
</testcase>
<testcase name="Default visit Search for giraffe" time="1.26" classname="Search for giraffe">
</testcase>
<testcase name="Default visit Search for heart" time="2.968" classname="Search for heart">
</testcase>
<testcase name="Default visit Open results in full" time="0.877" classname="Open results in full">
</testcase>
<testcase name="Default visit Open 3D tab" time="1.113" classname="Open 3D tab">
</testcase>
</testsuite>
</testsuites>
(Results)
┌────────────────────────────┐
│ Tests: 6 │
│ Passing: 6 │
│ Failing: 0 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: false │
│ Duration: 14 seconds │
│ Spec Ran: E2E/basic.js │
└────────────────────────────┘
================================================================================
(Run Finished)
Spec Tests Pass… Fail… Pend… Skip…
┌────────────────────────────────────────────────────────────────────────────┐
│ ✔ E2E/basic.js 00:14 6 6 - - - │
└────────────────────────────────────────────────────────────────────────────┘
All specs passed! 00:14 6 6 - - -
Recording test results
Setting status of 895f9a7ab277c0191d5a00c3b1c310cefdf63f4b to SUCCESS with url https://autotest.bioeng.auckland.ac.nz/jenkins/job/mapress/7/ and message: 'Build finished. '
Finished: SUCCESS