Skip to content
Failed

Console Output

GitHub pull request #367 of commit 6afa515583a960096188319f33134f69b97becd8, has merge conflicts.
Running as SYSTEM
Setting status of 6afa515583a960096188319f33134f69b97becd8 to PENDING with url https://autotest.bioeng.auckland.ac.nz/jenkins/job/mapintegratedvuer/1017/ and message: 'Build started for original commit.'
Building remotely on Ubuntu_18.04_bioeng49 (buildslave Testing) in workspace /home/cmiss/Jenkins/workspace/mapintegratedvuer
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /home/cmiss/Jenkins/workspace/mapintegratedvuer/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/ABI-Software/mapintegratedvuer.git # timeout=10
Fetching upstream changes from https://github.com/ABI-Software/mapintegratedvuer.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
 > git fetch --tags --force --progress -- https://github.com/ABI-Software/mapintegratedvuer.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
 > git rev-parse 6afa515583a960096188319f33134f69b97becd8^{commit} # timeout=10
Checking out Revision 6afa515583a960096188319f33134f69b97becd8 (detached)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6afa515583a960096188319f33134f69b97becd8 # timeout=10
Commit message: "Update sidebar state restore for demo app"
 > git rev-list --no-walk ea7a61626bf73a6d390bca59ef45798d785a76ef # timeout=10
[mapintegratedvuer] $ bash -c "test -f $HOME/.nvm/nvm.sh"
NVM is already installed

[mapintegratedvuer] $ bash -c "export > env.txt"
[mapintegratedvuer] $ bash -c "NVM_DIR=$HOME/.nvm && source $NVM_DIR/nvm.sh --no-use && NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist nvm install 18.17.1 && nvm use 18.17.1 && export > env.txt"
v18.17.1 is already installed.
Now using node v18.17.1 (npm v9.6.7)
Now using node v18.17.1 (npm v9.6.7)
[mapintegratedvuer] $ /bin/sh -xe /tmp/jenkins13639944420507301.sh
+ export NODE_OPTIONS=--max-old-space-size=8192
+ node --version
v18.17.1
+ npm install

changed 4 packages, and audited 1536 packages in 8s

271 packages are looking for funding
  run `npm fund` for details

9 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
+ npm run build-bundle

> @abi-software/mapintegratedvuer@1.11.1-beta.0 build-bundle
> vite build -c vite.bundle-build.js

vite v5.4.19 building for production...
transforming...
✓ 1554 modules transformed.
rendering chunks...
computing gzip size...
dist/style.css                   398.78 kB │ gzip:  62.51 kB
dist/mapintegratedvuer.js          0.08 kB │ gzip:   0.09 kB
dist/Iframe-Bv8_dq01.js            0.57 kB │ gzip:   0.38 kB
dist/Simulation-DWJ6pWPp.js        0.71 kB │ gzip:   0.41 kB
dist/Plot-ay52w083.js              0.72 kB │ gzip:   0.42 kB
dist/style-UVp_c_No.js             2.14 kB │ gzip:   0.94 kB
dist/Scaffold-DkXHoA8W.js          6.41 kB │ gzip:   2.21 kB
dist/Flatmap-Bb2XqMiB.js           7.48 kB │ gzip:   2.44 kB
dist/MultiFlatmap-YnFnCvNZ.js     12.79 kB │ gzip:   3.90 kB
dist/ContentMixin-DpHQzvfX.js     26.50 kB │ gzip:   6.93 kB
dist/index-CLbcxyeT.js         2,535.28 kB │ gzip: 650.44 kB
dist/style.css                    398.78 kB │ gzip:  62.51 kB
dist/mapintegratedvuer.umd.cjs  1,912.79 kB │ gzip: 569.87 kB
✓ built in 24.85s
[mapintegratedvuer] $ /bin/sh -xe /tmp/jenkins7630161403584312378.sh
+ node --version
v18.17.1
+ npm run cypress-component

> @abi-software/mapintegratedvuer@1.11.1-beta.0 cypress-component
> npm run cypress-prepare && cypress run --component


> @abi-software/mapintegratedvuer@1.11.1-beta.0 cypress-prepare
> node cypress/support/fileUtils.js


DevTools listening on ws://127.0.0.1:43015/devtools/browser/4b9805ec-b814-448e-999a-3ca9f094670c
[912332:0729/200647.291369:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.DBus.StartServiceByName: object_path= /org/freedesktop/DBus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
Re-optimizing dependencies because lockfile has changed

resize:  can't open terminal /dev/tty
====================================================================================================

  (Run Starting)

tput: No value for $TERM and no -T specified
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:        13.13.0                                                                        │
  │ Browser:        Electron 118 (headless)                                                        │
  │ Node Version:   v18.17.1 (/home/cmiss/.nvm/versions/node/v18.17.1/bin/node)                    │
  │ Specs:          1 found (MapContent.cy.js)                                                     │
  │ Searched:       cypress/component/*.cy.js                                                      │
  │ Experiments:    experimentalMemoryManagement=true                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  MapContent.cy.js                                                                (1 of 1)
[912497:0729/200656.490613:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200656.568236:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200656.573536:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200657.436340:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200657.450551:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200657.460370:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200658.658445:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200700.555240:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200714.117583:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200714.130342:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200714.137491:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200714.143553:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200716.207043:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200716.210962:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200718.407572:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)


  MapContent
[912497:0729/200720.154219:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200720.714193:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200720.964288:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200720.973658:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200720.975776:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200721.041604:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200721.045817:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200721.324084:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200721.704369:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200721.972724:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200721.978518:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200721.984281:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200722.607950:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200725.413312:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200725.428747:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200725.433851:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200725.442363:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200725.452160:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200725.951374:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200725.957692:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200725.971938:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200725.998606:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
8:07:31 pm [vite] ✨ new dependencies optimized: element-plus/es/components/message/style/css
8:07:31 pm [vite] ✨ optimized dependencies changed. reloading
[912497:0729/200731.976362:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200732.251549:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200732.345936:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200732.636789:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200732.645489:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200732.669957:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200733.182201:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200737.283726:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)


  MapContent
    1) Workflow testing
[912497:0729/200743.922659:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200744.778882:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200745.177789:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200745.195674:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200745.206302:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)


  0 passing (3s)
  1 failing

  1) MapContent
       Workflow testing:
     CypressError: `cy.compareSnapshot()` failed because it requires a DOM element.

No elements in the current DOM matched your query:

  > cy.get([style="height: 100%;"] > [style="height: 100%; width: 100%; position: relative;"] > [style="height: 100%; width: 100%;"] > :nth-child(2) > :nth-child(2) > #maplibre-minimap > .maplibregl-canvas-container > .maplibregl-canvas)
      at isElement (http://localhost:8081/__cypress/runner/cypress_runner.js:144895:62)
      at validateType (http://localhost:8081/__cypress/runner/cypress_runner.js:144753:14)
      at Object.isType (http://localhost:8081/__cypress/runner/cypress_runner.js:144784:7)
      at $Cy.pushSubject (http://localhost:8081/__cypress/runner/cypress_runner.js:138436:22)
      at wrapped (http://localhost:8081/__cypress/runner/cypress_runner.js:137993:19)
  From Your Spec Code:
      at Context.<anonymous> (/home/cmiss/Jenkins/workspace/mapintegratedvuer/cypress/component/MapContent.cy.js:168:240)
      at runnable.fn (http://localhost:8081/__cypress/runner/cypress_runner.js:138261:19)
      at callFn (http://localhost:8081/__cypress/runner/cypress_runner.js:156877:21)
      at Runnable.run (http://localhost:8081/__cypress/runner/cypress_runner.js:156864:7)
      at <unknown> (http://localhost:8081/__cypress/runner/cypress_runner.js:162788:30)
      at PassThroughHandlerContext.finallyHandler (http://localhost:8081/__cypress/runner/cypress_runner.js:4072:23)
      at PassThroughHandlerContext.tryCatcher (http://localhost:8081/__cypress/runner/cypress_runner.js:1807:23)
      at Promise._settlePromiseFromHandler (http://localhost:8081/__cypress/runner/cypress_runner.js:1519:31)



[912497:0729/200745.802132:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200745.809152:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200745.818486:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200745.822167:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[912497:0729/200745.827742:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[mochawesome] Report JSON saved to /home/cmiss/Jenkins/workspace/mapintegratedvuer/cypress/results/json/mochawesome_503.json

  2) Workflow testing
[912497:0729/200746.496585:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[mochawesome] Report JSON saved to /home/cmiss/Jenkins/workspace/mapintegratedvuer/cypress/results/json/mochawesome_504.json


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        1                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  2                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     3 seconds                                                                        │
  │ Spec Ran:     MapContent.cy.js                                                                 │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Screenshots)

  -  /home/cmiss/Jenkins/workspace/mapintegratedvuer/cypress/snapshots/MapContent.cy.     (1280x720)
     js/MapContent -- Workflow testing (failed).png                                                 
  -  /home/cmiss/Jenkins/workspace/mapintegratedvuer/cypress/snapshots/MapContent.cy.     (1280x720)
     js/MapContent -- Workflow testing (failed) (1).png                                             


  (Video)

  -  Started compressing: Compressing to 32 CRF                                                     
  -  Finished compressing: 7 seconds                                                 

  -  Video output: /home/cmiss/Jenkins/workspace/mapintegratedvuer/cypress/videos/MapContent.cy.js.mp4


resize:  can't open terminal /dev/tty
tput: No value for $TERM and no -T specified
====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped  
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✖  MapContent.cy.js                         00:03        1        -        1        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✖  1 of 1 failed (100%)                     00:03        1        -        1        -        -  

Build step 'Execute shell' marked build as failure
Archiving artifacts
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /home/cmiss/Jenkins/workspace/mapintegratedvuer/cypress/reports/html to /home/jmaster/jenkins/jobs/mapintegratedvuer/builds/1017/htmlreports/Cypress_20report
[htmlpublisher] Copying recursive using current thread
[Set GitHub commit status (universal)] ERROR on repos [] (sha:f87202a) with context:mapintegratedvuer
Setting status of 6afa515583a960096188319f33134f69b97becd8 to FAILURE with url https://autotest.bioeng.auckland.ac.nz/jenkins/job/mapintegratedvuer/1017/ and message: 'Build finished. '
Finished: FAILURE