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

Add an outline around popup trigger areas in ref-tests #15071

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

calixteman
Copy link
Contributor

  • The goal is to avoid any future regressions.

@Snuffleupagus
Copy link
Collaborator

/botio browsertest

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_browsertest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/209c02d9ea8e7f7/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_browsertest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/633f390031eab96/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/633f390031eab96/output.txt

Total script time: 21.48 mins

  • Regression tests: FAILED
  different ref/snapshot: 7

Image differences available at: http://54.193.163.58:8877/633f390031eab96/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/209c02d9ea8e7f7/output.txt

Total script time: 21.70 mins

  • Regression tests: FAILED
  different ref/snapshot: 30

Image differences available at: http://54.241.84.105:8877/209c02d9ea8e7f7/reftest-analyzer.html#web=eq.log

@@ -48,3 +47,7 @@
margin: 0;
padding: 0;
}

.annotationLayer .popupTriggerArea {
outline: dashed 3px rgba(255, 0, 0, 0.2);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looking at the test-results, this looks quite similar to annotations with dashed borders.

Hence my question: Should we perhaps use the same kind of styling as for linkAnnotations (above in this file) instead here?

- The goal is to avoid any future regressions.
@calixteman
Copy link
Contributor Author

/botio browsertest

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_browsertest from @calixteman received. Current queue size: 0

Live output at: http://54.241.84.105:8877/7c73b9c16786e9e/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_browsertest from @calixteman received. Current queue size: 0

Live output at: http://54.193.163.58:8877/0c6cf845ba87ded/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/0c6cf845ba87ded/output.txt

Total script time: 21.61 mins

  • Regression tests: FAILED
  different ref/snapshot: 6

Image differences available at: http://54.193.163.58:8877/0c6cf845ba87ded/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/7c73b9c16786e9e/output.txt

Total script time: 21.97 mins

  • Regression tests: FAILED
  different ref/snapshot: 33

Image differences available at: http://54.241.84.105:8877/7c73b9c16786e9e/reftest-analyzer.html#web=eq.log

@Snuffleupagus Snuffleupagus merged commit b00641d into mozilla:master Jun 20, 2022
@Snuffleupagus
Copy link
Collaborator

/botio makeref

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_makeref from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/093837e5487ed80/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_makeref from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/6a751bf89adb679/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/093837e5487ed80/output.txt

Total script time: 22.66 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/6a751bf89adb679/output.txt

Total script time: 22.25 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

@Snuffleupagus
Copy link
Collaborator

Snuffleupagus commented Jun 21, 2022

@calixteman It seems that makeref failed on the Linux bot, since it ran out of storage space.

Some eq tests failed or didn't have snapshots.
Checking to see if master references can be updated...
  Yes!  The references in tmp/ can be synced with ref/.
  Updating ref/ ... 
(node:27868) UnhandledPromiseRejectionWarning: Error: ENOSPC: no space left on device, write
    at Object.writeSync (fs.js:733:3)
    at Object.writeFileSync (fs.js:1530:26)
    at /home/ubuntu/pdfjs/botio-files-pdfjs/private/093837e5487ed80/test/testutils.js:42:10
    at Array.forEach (<anonymous>)
    at copySubtreeSync (/home/ubuntu/pdfjs/botio-files-pdfjs/private/093837e5487ed80/test/testutils.js:35:9)
    at /home/ubuntu/pdfjs/botio-files-pdfjs/private/093837e5487ed80/test/testutils.js:40:7
    at Array.forEach (<anonymous>)
    at copySubtreeSync (/home/ubuntu/pdfjs/botio-files-pdfjs/private/093837e5487ed80/test/testutils.js:35:9)
    at /home/ubuntu/pdfjs/botio-files-pdfjs/private/093837e5487ed80/test/testutils.js:40:7
    at Array.forEach (<anonymous>)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:27868) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:27868) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[22:31:09] Finished 'runBotMakeref' after 20 min
[22:31:09] Finished 'botmakeref' after 20 min
!botio_message:+ **Make references:** Passed
!botio_message:+ **Check references:** Passed

>> Updating ref snapshots
shell.js: internal error
Error: ENOSPC: no space left on device, write
    at Object.writeSync (fs.js:733:3)
    at copyFileSync (/home/ubuntu/pdfjs/botio-files-pdfjs/node_modules/shelljs/shell.js:1065:8)
    at cpdirSyncRecursive (/home/ubuntu/pdfjs/botio-files-pdfjs/node_modules/shelljs/shell.js:1109:9)
    at cpdirSyncRecursive (/home/ubuntu/pdfjs/botio-files-pdfjs/node_modules/shelljs/shell.js:1100:7)
    at cpdirSyncRecursive (/home/ubuntu/pdfjs/botio-files-pdfjs/node_modules/shelljs/shell.js:1100:7)
    at /home/ubuntu/pdfjs/botio-files-pdfjs/node_modules/shelljs/shell.js:293:9
    at Array.forEach (<anonymous>)
    at _cp (/home/ubuntu/pdfjs/botio-files-pdfjs/node_modules/shelljs/shell.js:270:11)
    at /home/ubuntu/pdfjs/botio-files-pdfjs/node_modules/shelljs/shell.js:1019:23
    at /home/ubuntu/pdfjs/botio-files-pdfjs/on_cmd_makeref.js:76:5

@calixteman
Copy link
Contributor Author

/botio-linux makeref

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_makeref from @calixteman received. Current queue size: 0

Live output at: http://54.241.84.105:8877/01c5d00f9f8d1ef/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/01c5d00f9f8d1ef/output.txt

Total script time: 22.76 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

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

Successfully merging this pull request may close these issues.

3 participants