Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

De-dupe screenshots #282

Closed
wants to merge 3 commits into from
Closed

De-dupe screenshots #282

wants to merge 3 commits into from

Conversation

andrewvc
Copy link
Contributor

@andrewvc andrewvc commented May 20, 2021

WIP for #266

Beats side is in: elastic/beats#25808

@apmmachine
Copy link

apmmachine commented May 20, 2021

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #282 updated

  • Start Time: 2021-05-27T02:53:19.501+0000

  • Duration: 7 min 22 sec

  • Commit: 3e1c551

Test stats 🧪

Test Results
Failed 3
Passed 77
Skipped 0
Total 80

Trends 🧪

Image of Build Times

Image of Tests

Test errors 3

Expand to view the tests failures

Test / runner run step – runner run step
  • no error details
  • Expand to view the stacktrace

     Error: expect(received).toEqual(expected) // deep equality
    
    - Expected  -   1
    + Received  + 454
    
      Array [
        Object {
          "metrics": Any<Object>,
    -     "screenshot": Any<String>,
    +     "screenshotRef": Object {
    +       "blocks": Array [
    +         Object {
    +           "hash": "45136bdff9652857060fe34d76f47b868bf66149",
    +           "height": 90,
    +           "left": 0,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "08e4bec9ca1c6100fca26aeae92e90b03d35cbc4",
    +           "height": 90,
    +           "left": 160,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 630,
    +           "width": 160,
    +         },
    +       ],
    +       "height": 720,
    +       "width": 1280,
    +     },
          "status": "succeeded",
          "url": "http://localhost:42589/index.html",
        },
      ]
        at Object.<anonymous> (/var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-282/src/github.com/elastic/synthetics/__tests__/core/runner.test.ts:161:20) 
    

Test / runner run step - syntax failure – runner run step - syntax failure
  • no error details
  • Expand to view the stacktrace

     Error: expect(received).toEqual(expected) // deep equality
    
    - Expected  -   1
    + Received  + 454
    
      Array [
        Object {
          "error": Any<Error>,
    -     "screenshot": Any<String>,
    +     "screenshotRef": Object {
    +       "blocks": Array [
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 0,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 90,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 180,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 270,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 360,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 450,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 540,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 0,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 160,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 320,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 480,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 640,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 800,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 960,
    +           "top": 630,
    +           "width": 160,
    +         },
    +         Object {
    +           "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +           "height": 90,
    +           "left": 1120,
    +           "top": 630,
    +           "width": 160,
    +         },
    +       ],
    +       "height": 720,
    +       "width": 1280,
    +     },
          "status": "failed",
          "url": "about:blank",
        },
      ]
        at Object.<anonymous> (/var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-282/src/github.com/elastic/synthetics/__tests__/core/runner.test.ts:182:20) 
    

Test / runner run steps - accumulate results – runner run steps - accumulate results
  • no error details
  • Expand to view the stacktrace

     Error: expect(received).toEqual(expected) // deep equality
    
    - Expected  -   1
    + Received  + 454
    
      Object {
    -   "screenshot": Any<String>,
    +   "screenshotRef": Object {
    +     "blocks": Array [
    +       Object {
    +         "hash": "45136bdff9652857060fe34d76f47b868bf66149",
    +         "height": 90,
    +         "left": 0,
    +         "top": 0,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "08e4bec9ca1c6100fca26aeae92e90b03d35cbc4",
    +         "height": 90,
    +         "left": 160,
    +         "top": 0,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 320,
    +         "top": 0,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 480,
    +         "top": 0,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 640,
    +         "top": 0,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 800,
    +         "top": 0,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 960,
    +         "top": 0,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 1120,
    +         "top": 0,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 0,
    +         "top": 90,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 160,
    +         "top": 90,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 320,
    +         "top": 90,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 480,
    +         "top": 90,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 640,
    +         "top": 90,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 800,
    +         "top": 90,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 960,
    +         "top": 90,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 1120,
    +         "top": 90,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 0,
    +         "top": 180,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 160,
    +         "top": 180,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 320,
    +         "top": 180,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 480,
    +         "top": 180,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 640,
    +         "top": 180,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 800,
    +         "top": 180,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 960,
    +         "top": 180,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 1120,
    +         "top": 180,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 0,
    +         "top": 270,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 160,
    +         "top": 270,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 320,
    +         "top": 270,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 480,
    +         "top": 270,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 640,
    +         "top": 270,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 800,
    +         "top": 270,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 960,
    +         "top": 270,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 1120,
    +         "top": 270,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 0,
    +         "top": 360,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 160,
    +         "top": 360,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 320,
    +         "top": 360,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 480,
    +         "top": 360,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 640,
    +         "top": 360,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 800,
    +         "top": 360,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 960,
    +         "top": 360,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 1120,
    +         "top": 360,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 0,
    +         "top": 450,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 160,
    +         "top": 450,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 320,
    +         "top": 450,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 480,
    +         "top": 450,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 640,
    +         "top": 450,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 800,
    +         "top": 450,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 960,
    +         "top": 450,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 1120,
    +         "top": 450,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 0,
    +         "top": 540,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 160,
    +         "top": 540,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 320,
    +         "top": 540,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 480,
    +         "top": 540,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 640,
    +         "top": 540,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 800,
    +         "top": 540,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 960,
    +         "top": 540,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 1120,
    +         "top": 540,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 0,
    +         "top": 630,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 160,
    +         "top": 630,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 320,
    +         "top": 630,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 480,
    +         "top": 630,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 640,
    +         "top": 630,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 800,
    +         "top": 630,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 960,
    +         "top": 630,
    +         "width": 160,
    +       },
    +       Object {
    +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
    +         "height": 90,
    +         "left": 1120,
    +         "top": 630,
    +         "width": 160,
    +       },
    +     ],
    +     "height": 720,
    +     "width": 1280,
    +   },
        "status": "succeeded",
        "url": "http://localhost:42589/index.html",
      }
        at Object.<anonymous> (/var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-282/src/github.com/elastic/synthetics/__tests__/core/runner.test.ts:246:19) 
    

Steps errors 1

Expand to view the steps failures

Runs the tests
  • Took 1 min 32 sec . View more details on here
  • Description: ./node_modules/.bin/jest --ci --reporters=default --reporters=jest-junit

Log output

Expand to view the last 100 lines of log output

[2021-05-27T03:00:36.754Z]     +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
[2021-05-27T03:00:36.754Z]     +         "height": 90,
[2021-05-27T03:00:36.754Z]     +         "left": 0,
[2021-05-27T03:00:36.754Z]     +         "top": 630,
[2021-05-27T03:00:36.754Z]     +         "width": 160,
[2021-05-27T03:00:36.754Z]     +       },
[2021-05-27T03:00:36.754Z]     +       Object {
[2021-05-27T03:00:36.754Z]     +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
[2021-05-27T03:00:36.754Z]     +         "height": 90,
[2021-05-27T03:00:36.754Z]     +         "left": 160,
[2021-05-27T03:00:36.754Z]     +         "top": 630,
[2021-05-27T03:00:36.754Z]     +         "width": 160,
[2021-05-27T03:00:36.754Z]     +       },
[2021-05-27T03:00:36.754Z]     +       Object {
[2021-05-27T03:00:36.754Z]     +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
[2021-05-27T03:00:36.754Z]     +         "height": 90,
[2021-05-27T03:00:36.754Z]     +         "left": 320,
[2021-05-27T03:00:36.754Z]     +         "top": 630,
[2021-05-27T03:00:36.754Z]     +         "width": 160,
[2021-05-27T03:00:36.754Z]     +       },
[2021-05-27T03:00:36.754Z]     +       Object {
[2021-05-27T03:00:36.754Z]     +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
[2021-05-27T03:00:36.754Z]     +         "height": 90,
[2021-05-27T03:00:36.754Z]     +         "left": 480,
[2021-05-27T03:00:36.754Z]     +         "top": 630,
[2021-05-27T03:00:36.754Z]     +         "width": 160,
[2021-05-27T03:00:36.754Z]     +       },
[2021-05-27T03:00:36.754Z]     +       Object {
[2021-05-27T03:00:36.754Z]     +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
[2021-05-27T03:00:36.754Z]     +         "height": 90,
[2021-05-27T03:00:36.754Z]     +         "left": 640,
[2021-05-27T03:00:36.754Z]     +         "top": 630,
[2021-05-27T03:00:36.754Z]     +         "width": 160,
[2021-05-27T03:00:36.754Z]     +       },
[2021-05-27T03:00:36.754Z]     +       Object {
[2021-05-27T03:00:36.754Z]     +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
[2021-05-27T03:00:36.754Z]     +         "height": 90,
[2021-05-27T03:00:36.754Z]     +         "left": 800,
[2021-05-27T03:00:36.754Z]     +         "top": 630,
[2021-05-27T03:00:36.754Z]     +         "width": 160,
[2021-05-27T03:00:36.754Z]     +       },
[2021-05-27T03:00:36.754Z]     +       Object {
[2021-05-27T03:00:36.754Z]     +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
[2021-05-27T03:00:36.754Z]     +         "height": 90,
[2021-05-27T03:00:36.754Z]     +         "left": 960,
[2021-05-27T03:00:36.754Z]     +         "top": 630,
[2021-05-27T03:00:36.754Z]     +         "width": 160,
[2021-05-27T03:00:36.754Z]     +       },
[2021-05-27T03:00:36.754Z]     +       Object {
[2021-05-27T03:00:36.754Z]     +         "hash": "656933bd1820436182c0e52b35c8ba42ce2f9ad8",
[2021-05-27T03:00:36.754Z]     +         "height": 90,
[2021-05-27T03:00:36.754Z]     +         "left": 1120,
[2021-05-27T03:00:36.754Z]     +         "top": 630,
[2021-05-27T03:00:36.754Z]     +         "width": 160,
[2021-05-27T03:00:36.754Z]     +       },
[2021-05-27T03:00:36.754Z]     +     ],
[2021-05-27T03:00:36.754Z]     +     "height": 720,
[2021-05-27T03:00:36.754Z]     +     "width": 1280,
[2021-05-27T03:00:36.754Z]     +   },
[2021-05-27T03:00:36.754Z]         "status": "succeeded",
[2021-05-27T03:00:36.754Z]         "url": "http://localhost:42589/index.html",
[2021-05-27T03:00:36.754Z]       }
[2021-05-27T03:00:36.754Z] 
[2021-05-27T03:00:36.754Z]       244 |     const [step1, step2] = await runner.runSteps(j1, context, runOptions);
[2021-05-27T03:00:36.754Z]       245 |     await Gatherer.stop();
[2021-05-27T03:00:36.754Z]     > 246 |     expect(step1).toEqual({
[2021-05-27T03:00:36.754Z]           |                   ^
[2021-05-27T03:00:36.754Z]       247 |       status: 'succeeded',
[2021-05-27T03:00:36.754Z]       248 |       url: server.TEST_PAGE,
[2021-05-27T03:00:36.754Z]       249 |       screenshot: expect.any(String),
[2021-05-27T03:00:36.754Z] 
[2021-05-27T03:00:36.754Z]       at Object.<anonymous> (__tests__/core/runner.test.ts:246:19)
[2021-05-27T03:00:36.754Z] 
[2021-05-27T03:00:37.336Z] PASS __tests__/plugins/tracing.test.ts
[2021-05-27T03:00:37.911Z] PASS __tests__/plugins/plugin-manager.test.ts
[2021-05-27T03:00:38.175Z] PASS __tests__/core/logger.test.ts
[2021-05-27T03:00:38.748Z] PASS __tests__/core/browser-service.test.ts
[2021-05-27T03:00:38.748Z] PASS __tests__/dsl/journey.test.ts
[2021-05-27T03:00:39.319Z] A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks.
[2021-05-27T03:00:39.319Z] 
[2021-05-27T03:00:39.319Z] Test Suites: 2 failed, 16 passed, 18 total
[2021-05-27T03:00:39.319Z] Tests:       3 failed, 63 passed, 66 total
[2021-05-27T03:00:39.319Z] Snapshots:   4 passed, 4 total
[2021-05-27T03:00:39.319Z] Time:        28.109 s
[2021-05-27T03:00:39.319Z] Ran all test suites.
[2021-05-27T03:00:40.345Z] Post stage
[2021-05-27T03:00:40.363Z] Recording test results
[2021-05-27T03:00:40.516Z] [Checks API] No suitable checks publisher found.
[2021-05-27T03:00:40.586Z] Stage "E2e Test" skipped due to earlier failure(s)
[2021-05-27T03:00:40.614Z] Stage "Release" skipped due to earlier failure(s)
[2021-05-27T03:00:40.628Z] Stage "Release" skipped due to earlier failure(s)
[2021-05-27T03:00:40.656Z] Stage "Release" skipped due to earlier failure(s)
[2021-05-27T03:00:40.921Z] Running on worker-1095690 in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-282
[2021-05-27T03:00:40.958Z] [INFO] getVaultSecret: Getting secrets
[2021-05-27T03:00:40.998Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-05-27T03:00:43.015Z] + chmod 755 generate-build-data.sh
[2021-05-27T03:00:43.015Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-282/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-282/runs/3 FAILURE 442122
[2021-05-27T03:00:43.015Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-282/runs/3/steps/?limit=10000 -o steps-info.json
[2021-05-27T03:00:45.279Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-282/runs/3/tests/?status=FAILED -o tests-errors.json
[2021-05-27T03:00:45.981Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-282/runs/3/log/ -o pipeline-log.txt

@@ -285,6 +298,7 @@ export default class JSONReporter extends BaseReporter {
url,
status,
metrics,
screenshot_ref: screenshotRef,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does the screenshot get constructed from the individual blocks? Uptime UI?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good question, maybe there, maybe in Kibana.

Another thought is it may be worth pre-rendering small thumbnails. Assembling 20 of these for a list of thumbnails may be too much. Ideally we'd have a caching CDN

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If kibana in cloud already uses HTTP/2, We can just do individual reqs as we would yield better caching for both screenshots and filmstrips moving forward.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move this out of the payload field and into synthetics.screenshot_ref. Statistics on these fields could be useful, especially in establishing cache-hit ratio, which will be useful for debugging customer storage issues.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just made the change ^^

src/core/runner.ts Outdated Show resolved Hide resolved
@andrewvc andrewvc changed the title [Spike] De-dupe screenshots De-dupe screenshots May 27, 2021
@andrewvc
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants