> postinstall > cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.mjs Firefox Nightly (nightly_130.0a1) downloaded to /home/ubuntu/.cache/puppeteer/firefox/linux-nightly_130.0a1 added 1166 packages, and audited 1167 packages in 14s 203 packages are looking for funding run `npm fund` for details found 0 vulnerabilities >> Deploying cached PDF files >> Deploying custom files >> Integration Tests [14:22:53] Using gulpfile ~/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/gulpfile.mjs [14:22:53] Starting 'integrationtest'... [14:22:53] Starting 'setTestEnv'... [14:22:53] Finished 'setTestEnv' after 1.05 ms [14:22:53] Starting 'generic'... [14:22:53] Starting 'createBuildNumber'... ### Getting extension build number Extension build number: 67 [14:22:53] Finished 'createBuildNumber' after 46 ms [14:22:53] Starting 'locale'... ### Building localization files [14:22:54] Finished 'locale' after 178 ms [14:22:54] Starting 'scriptingGeneric'... ### Building default preferences [14:22:54] asset app_options.mjs 11.4 KiB [emitted] [javascript module] (name: main) webpack 5.92.1 compiled successfully [14:22:55] asset pdf.scripting.mjs 104 KiB [emitted] [javascript module] (name: main) webpack 5.92.1 compiled successfully [14:22:55] Finished 'scriptingGeneric' after 1.59 s [14:22:55] Starting 'prefsGeneric'... ### Parsing default preferences [14:22:55] Finished 'prefsGeneric' after 3.6 ms [14:22:55] Starting 'createGeneric'... ### Creating generic viewer [BABEL] Note: The code generator has deoptimised the styling of /home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB. [14:23:00] asset pdf.sandbox.mjs 710 KiB [emitted] [javascript module] [big] (name: main) webpack 5.92.1 compiled successfully [14:23:03] asset pdf.mjs 598 KiB [emitted] [javascript module] [big] (name: main) webpack 5.92.1 compiled successfully [14:23:05] asset pdf.worker.mjs 2.09 MiB [emitted] [javascript module] [big] (name: main) webpack 5.92.1 compiled successfully [14:23:06] asset viewer.mjs 431 KiB [emitted] [javascript module] [big] (name: main) webpack 5.92.1 compiled successfully [14:23:06] Finished 'createGeneric' after 11 s [14:23:06] Finished 'generic' after 13 s [14:23:06] Starting 'runIntegrationTest'... ### Running integration tests Server running at http://127.0.0.1:40289/ [GFX1-]: glxtest: libEGL missing WebDriver BiDi listening on ws://127.0.0.1:45079 1720707790257 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:54794 console.warn: services.settings: #fetchAttachment: Forcing fallbackToDump to false due to Utils.LOAD_DUMPS being false DevTools listening on ws://127.0.0.1:39425/devtools/browser/daafc187-fc6e-45ce-b538-e3e2e5c247e6 [1754699:1754699:0711/142312.125729:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization [1754757:1754757:0711/142312.294976:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization [1754775:1754775:0711/142312.398612:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization [1754737:1754755:0711/142312.473683:ERROR:command_buffer_proxy_impl.cc(132)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. Started .TEST-PASSED | must build structure that maps to text layer .TEST-PASSED | must check that some spans are linked to some annotations thanks to aria-owns .TEST-PASSED | must check that the text fields are in the visual order .TEST-PASSED | must check the id in aria-controls .TEST-PASSED | must check the aria-label linked to the stamp annotation .TEST-PASSED | must check that the stamp annotation is linked to the struct tree .TEST-PASSED | must show a popup on mouseover .TEST-PASSED | must click on widget annotations .TEST-PASSED | must let checkboxes with the same name behave like radio buttons .TEST-PASSED | must check the checkbox .TEST-PASSED | must check the checkbox .TEST-PASSED | must update all the fields with the same value .TEST-PASSED | must reset a formatted value after a change .TEST-PASSED | must let checkboxes with the same name behave like radio buttons .TEST-PASSED | must reset all fields .TEST-PASSED | must reset some fields .TEST-PASSED | must check that the FreeText annotation has a popup *TEST-PASSED | must check that the Ink annotation has a popup .TEST-PASSED | must check the content of the text field .TEST-PASSED | must check that the popup has the correct visibility .TEST-PASSED | must move the caret down and check the selection .TEST-PASSED | must check that we've all the contents on copy/paste .TEST-PASSED | must check that the ligatures have been removed when the text has been copied .TEST-PASSED | must highlight text in the right position .TEST-PASSED | must search xfa correctly .TEST-PASSED | must write a string in a FreeText editor .TEST-PASSED | must copy/paste .TEST-PASSED | must clear all .TEST-PASSED | must check that a paste has been undone .TEST-PASSED | must check that aria-owns is correct .TEST-PASSED | must check that right click doesn't select .TEST-PASSED | must check that text change can be undone/redone .TEST-PASSED | must select/unselect several editors and check copy, paste and delete operations .TEST-PASSED | must serialize invisible annotations .TEST-PASSED | must take the media box into account .TEST-PASSED | must move an annotation .TEST-PASSED | must update an existing annotation .TEST-PASSED | must update an existing annotation and show the right popup .TEST-PASSED | must update an existing annotation but not an empty one .TEST-PASSED | must delete an existing annotation .TEST-PASSED | must copy and paste an existing annotation .TEST-PASSED | must edit an annotation .TEST-PASSED | must not remove an empty annotation .TEST-PASSED | must hide the popup when editing .TEST-PASSED | must check that the dimensions of a rotated annotations are correct after a font size change .TEST-PASSED | must delete invisible annotations .TEST-PASSED | must open an existing annotation and check that the position are good .TEST-PASSED | must open an existing rotated annotation and check that the position are good .TEST-PASSED | must check that the shortcuts are working correctly .TEST-PASSED | must check the position of moved editor .TEST-PASSED | must check arrow doesn't move an editor when a slider is focused .TEST-PASSED | must check the position of an empty freetext .TEST-PASSED | must check that the focus is on the right page .TEST-PASSED | must keep the focus .TEST-PASSED | must move several annotations .TEST-PASSED | must check that selected editor stay selected .TEST-PASSED | must check that first annotation is selected without errors .TEST-PASSED | must check that a deleted freetext can be restored .TEST-PASSED | must check that the parent structTree id is correct .TEST-PASSED | must check the text can be selected with the mouse .TEST-PASSED | must create an editor from the toolbar .TEST-PASSED | must create an editor with keyboard Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7) Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so supports Vulkan 1.1, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7) Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7) Warning: Layer VK_LAYER_MESA_device_select uses API version 1.2 which is older than the application specified API version of 1.3. May cause issues. .TEST-PASSED | must check the keyboard event is limited to the input .TEST-PASSED | must check that a freetext is deleted .TEST-PASSED | must check that freetexts are deleted .TEST-PASSED | must check that consecutive white spaces are preserved when a freetext is edited .TEST-PASSED | must check that consecutive white spaces are preserved when a freetext is edited .TEST-PASSED | must check that all lines are correctly exported .TEST-PASSED | must check that the parameters are updated when undoing/redoing .TEST-PASSED | must check that the annotation layer is visible after a rotation .TEST-PASSED | must check that a freetext can be undone .TEST-PASSED | must check that a freetext can be undone .TEST-PASSED | must check that pasting html just keep the text .TEST-PASSED | must check that a freetext is still there after having updated it and scroll the doc .TEST-PASSED | must scroll and check that the draw layer is there .TEST-PASSED | must scroll and check that the highlight is selected .TEST-PASSED | must highlight with red color .TEST-PASSED | must scroll and change the color without exceptions .TEST-PASSED | must be correctly serialized .TEST-PASSED | must check that we can use the keyboard to select a color .TEST-PASSED | must check that a text highlight don't move when arrows are pressed .TEST-PASSED | must check that the dropdown is hidden .TEST-PASSED | must check that editor is unselected when the mouse is down on the text layer .TEST-PASSED | must check that the thickness is correctly updated .TEST-PASSED | must check that some text has been highlighted .TEST-PASSED | must check that highlight is at the correct position .TEST-PASSED | must check that it's possible to highlight a part of a link .TEST-PASSED | must check that it's possible to highlight a part of a form .TEST-PASSED | must check that a message is sent on selection .TEST-PASSED | must check that the caret can move a highlighted text .TEST-PASSED | must check that selection is correctly highlighted on arrow down key pressed .TEST-PASSED | must check that an highlight can be left with the keyboard .TEST-PASSED | must check that the highlight has been deleted .TEST-PASSED | must check the thickness input state .TEST-PASSED | must check that the quadpoints for an highlight are almost correct .TEST-PASSED | must check that the quadpoints for an highlight are almost correct .TEST-PASSED | must check that the highlight editor is unselected .TEST-PASSED | must check the editor coordinates .TEST-PASSED | must check that the highlights are correctly hidden/shown .TEST-PASSED | must check that clicking on the highlight floating button triggers an highlight .TEST-PASSED | must check the focus order .TEST-PASSED | must check that a highlight can be undone .TEST-PASSED | must check that a highlight can be undone .TEST-PASSED | must check that a highlight can be undone { count: 0 } { count: 0 } .TEST-PASSED | must check that an existing highlight is ignored on hovering .TEST-PASSED | must check that an existing highlight is ignored on hovering .TEST-PASSED | must draw, undo a deletion and check that the editors are not selected .TEST-PASSED | must draw, undo/redo and check that the editor don't move .TEST-PASSED | must draw something .TEST-PASSED | must check that the editor layer is disabled .TEST-PASSED | must check that the ink editor is committed .TEST-PASSED | must check that a draw can be undone .TEST-PASSED | must check that a draw can be undone .TEST-PASSED | must check that a draw can be undone .TEST-PASSED | must check that we can draw several times on the same canvas .TEST-PASSED | must check that first text field has focus .TEST-PASSED | must show a text field and then make in invisible when content is removed .TEST-PASSED | must format the field with 2 digits and leave field with a click .TEST-PASSED | must format the field with 2 digits, leave field with a click and again .TEST-PASSED | must format the field with 2 digits and leave field with a TAB .TEST-PASSED | must format the field with 2 digits and hit ESC .TEST-PASSED | must format the field with 2 digits on key ENTER .TEST-PASSED | must reset all .TEST-PASSED | must show values in a text input when clicking on radio buttons .TEST-PASSED | must show values in a text input when clicking on checkboxes .TEST-PASSED | must show values in a text input when clicking on checkboxes in a group .TEST-PASSED | must show values in a text input when clicking on checkboxes or radio with no actions JavaScript error: http://127.0.0.1:40289/build/generic/web/viewer.mjs, line 6850: Error: This print request was cancelled or completed. .TEST-PASSED | must execute WillPrint and DidPrint actions .TEST-PASSED | must execute WillSave and DidSave actions .TEST-PASSED | must execute PageOpen and PageClose actions .TEST-PASSED | must print authors in a text field .TEST-PASSED | must print selected value in a text field .TEST-PASSED | must clear and restore list elements .TEST-PASSED | must insert new elements .TEST-PASSED | must delete some element .TEST-PASSED | must change colors .TEST-PASSED | must compute sum of fields .TEST-PASSED | must check page index .TEST-PASSED | must check display .TEST-PASSED | must update fields with the same name from JS .TEST-PASSED | must print securityHandler value in a text field .TEST-PASSED | must check input for US zip format .TEST-PASSED | must check input for US phone number (long) format JavaScript warning: http://127.0.0.1:40289/build/generic/build/pdf.sandbox.mjs, line 220: Script terminated by timeout at: dispatchEvent@http://127.0.0.1:40289/build/generic/build/pdf.sandbox.mjs:220:3 dispatchEventInSandbox/<@http://127.0.0.1:40289/build/generic/web/viewer.mjs:3077:30 setTimeout handler*dispatchEventInSandbox@http://127.0.0.1:40289/build/generic/web/viewer.mjs:3077:15 async*#dispatchPageClose@http://127.0.0.1:40289/build/generic/web/viewer.mjs:7406:50 async*setDocument/<@http://127.0.0.1:40289/build/generic/web/viewer.mjs:7169:36 dispatch@http://127.0.0.1:40289/build/generic/web/viewer.mjs:1377:15 setDocument@http://127.0.0.1:40289/build/generic/web/viewer.mjs:10408:21 close@http://127.0.0.1:40289/build/generic/web/viewer.mjs:12793:22 testingClose@http://127.0.0.1:40289/build/generic/web/viewer.mjs:13684:51 @pptr:evaluate;closeSinglePage%20(file%3A%2F%2F%2Fhome%2Fubuntu%2Fpdfjs%2Fbotio-files-pdfjs%2Fprivate%2F5ca245c90f44725%2Ftest%2Fintegration%2Ftest_utils.mjs%3A89%3A14):2:39 @pptr:evaluate;closeSinglePage%20(file%3A%2F%2F%2Fhome%2Fubuntu%2Fpdfjs%2Fbotio-files-pdfjs%2Fprivate%2F5ca245c90f44725%2Ftest%2Fintegration%2Ftest_utils.mjs%3A89%3A14):6:3 .TEST-PASSED | must check input for US phone number (short) format .TEST-PASSED | must convert input to uppercase .TEST-PASSED | must check that an infinite loop is not triggered .TEST-PASSED | must check that field value is correctly updated .TEST-PASSED | must check that field value is correctly formatted .TEST-PASSED | must check that a button and text field with a border are hidden .TEST-PASSED | must check that data-main-rotation is correct .TEST-PASSED | must check that a values is correctly updated on a field and its siblings .TEST-PASSED | must check that charLimit is correctly set .TEST-PASSED | must check field value is treated by default as a number .TEST-PASSED | must check field value is correctly updated when committed with ENTER key .TEST-PASSED | must check field value is correctly updated when committed with ENTER key .TEST-PASSED | must check the field value set when the document is open .TEST-PASSED | must check the format action is called when setFocus is used .TEST-PASSED | must check if printing is triggered when the document is open .TEST-PASSED | must check that a field value with a number isn't changed .TEST-PASSED | must check that a field value with a number with a comma has the correct value .TEST-PASSED | must check that a field has the correct value when a choice is changed .TEST-PASSED | must check that a field has the correct formatted value .TEST-PASSED | must check that a field is empty .TEST-PASSED | must check that a field has the correct formatted value .TEST-PASSED | must check that invisible fields are made visible .TEST-PASSED | must check that checkboxes are correctly resetted .TEST-PASSED | must check that focus/blur callbacks aren't called .TEST-PASSED | must check that blur callback is called .TEST-PASSED | must check that only one radio is selected .TEST-PASSED | must check the number has the correct number of decimals .TEST-PASSED | must check the zip code is correctly formatted .TEST-PASSED | must check the properties of the event .TEST-PASSED | must check that PageOpen/PageClose actions are correctly executed .TEST-PASSED | must load a PNG which is bigger than a page .TEST-PASSED | must load a SVG .TEST-PASSED | must check that an added image stay within the page .TEST-PASSED | must check that the alt-text flow is correctly implemented .TEST-PASSED | must check that the dimensions change .TEST-PASSED | must check that the alt-text button is here when pasting in the second tab .TEST-PASSED | must check that a stamp can be undone .TEST-PASSED | must check that a stamp can be undone .TEST-PASSED | must check that a stamp can be undone .TEST-PASSED | must check that a resized stamp has its canvas at the right position .TEST-PASSED | must check that the stamp has its canvas at the right position .TEST-PASSED | must check that the pasted image has an alt text .TEST-PASSED | must check that the field is empty although its appearance contains a white space FTEST-UNEXPECTED-FAIL | doesn't jump when hovering on an empty area FTEST-UNEXPECTED-FAIL | doesn't jump when hovering on an empty area (multi-page) [GFX1-]: glxtest: libEGL missing WebDriver BiDi listening on ws://127.0.0.1:39003 1720708235007 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:37758 console.warn: services.settings: #fetchAttachment: Forcing fallbackToDump to false due to Utils.LOAD_DUMPS being false FTEST-UNEXPECTED-FAIL | doesn't jump when moving selection [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt JavaScript error: resource://services-settings/RemoteSettingsClient.sys.mjs, line 100: Error: Unknown callback console.warn: TopSitesFeed: Failed to fetch data from Contile server: NetworkError when attempting to fetch resource. JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource. [GFX1-]: glxtest: libEGL missing WebDriver BiDi listening on ws://127.0.0.1:36065 1720708239495 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:55832 console.warn: services.settings: #fetchAttachment: Forcing fallbackToDump to false due to Utils.LOAD_DUMPS being false .TEST-PASSED | renders spans with the right size JavaScript error: resource://services-settings/RemoteSettingsClient.sys.mjs, line 100: Error: Unknown callback console.warn: TopSitesFeed: Failed to fetch data from Contile server: NetworkError when attempting to fetch resource. JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource. .TEST-PASSED | supports specifiying a custom origin .TEST-PASSED | must check that we can zoom with the mouse wheel and pressed control key .TEST-PASSED | must check that zoom commands don't scroll the document .TEST-PASSED | respects drawing delay when zooming out .TEST-PASSED | respects drawing delay when zooming in .TEST-PASSED | test correctly configured .TEST-PASSED | does not trigger CSS-only zoom below maxCanvasPixels .TEST-PASSED | triggers CSS-only zoom above maxCanvasPixels Failures: 1) Text layer Text selection using mouse doesn't jump when hovering on an empty area Message:  In firefox: Expected 'Trace-based Just-in-Time Type Specialization for Dynamic Languages Andreas Gal∗+, Brendan Eich∗, Mik[...]arting bytecode interpreter. As the program runs, the system identifies hot (frequently executed) byt' to roughly match 'code sequences, records them, and compiles them to fast native code. We call suc'. Stack: at at file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/test/integration/text_layer_spec.mjs:136:16 at async Promise.all (index 0) at async UserContext. (file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/test/integration/text_layer_spec.mjs:114:9) Message:  In chrome: Expected ' for profit or commercial advantage and that copies bear this notice and the full citation on the firs[...]arting bytecode interpreter. As the program runs, the system identifies hot (frequently executed) byt' to roughly match 'code sequences, records them, and compiles them to fast native code. We call suc'. Stack: at at file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/test/integration/text_layer_spec.mjs:136:16 at async Promise.all (index 1) at async UserContext. (file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/test/integration/text_layer_spec.mjs:114:9) 2) Text layer Text selection using mouse doesn't jump when hovering on an empty area (multi-page) Message:  In firefox, second selection: Expected ' path through the program with one mapping of values to types. When the VM executes a compiled trace[...]hat the same path will be followed or that the same types will occur in subsequent loop iterations. ' to roughly match /path through.*Hence, recording and .* tracing, and give/s. Stack: at at file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/test/integration/text_layer_spec.mjs:201:16 at async Promise.all (index 0) at async UserContext. (file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/test/integration/text_layer_spec.mjs:145:9) Message:  In chrome, second selection: Expected 'e path through the program with one mapping of values to types. When the VM executes a compiled trac[...]r loop. In essence, this is a form of unintended tail duplication, which can easily overflow the code' to roughly match /path through.*Hence, recording and .* tracing, and give/s. Stack: at at file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/test/integration/text_layer_spec.mjs:201:16 at async Promise.all (index 1) at async UserContext. (file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/test/integration/text_layer_spec.mjs:145:9) 3) Text layer Text selection using selection carets doesn't jump when moving selection Message:  second selection: Expected 'Trace-based Just-in-Time Type Specialization for Dynamic Languages Andreas Gal∗+, Brendan Eich∗, Mik[...]g JavaScript in a fast-starting bytecode interpreter. As the program runs, the system identifies hot ' to roughly match /frequently .* We call such a se/s. Stack: at at UserContext. (file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/test/integration/text_layer_spec.mjs:287:12) Message:  third selection: Expected '' to roughly match /frequently .* We call such a se/s. Stack: at at UserContext. (file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/5ca245c90f44725/test/integration/text_layer_spec.mjs:295:12) Pending: 1) ResetForm action Ink widget and its popup after editing annotation-caret-ink.pdf must check that the Ink annotation has a popup Re-enable this test when the Ink annotation has been made editable. 198 specs, 3 failures, 1 pending spec Finished in 461.788 seconds [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt console.warn: TopSitesFeed: Failed to fetch data from Contile server: NetworkError when attempting to fetch resource. JavaScript error: resource://services-settings/RemoteSettingsClient.sys.mjs, line 100: Error: Unknown callback JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource. JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource. Run 198 tests OHNOES! Some integration tests failed! 3 of 198 failed integration tests runtime was 465.4 seconds [14:30:54] Finished 'runIntegrationTest' after 7.8 min [14:30:54] Finished 'integrationtest' after 8.02 min !botio_message:+ **Integration Tests:** FAILED >> Updating local PDF cache