npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest npm WARN deprecated core-js@2.6.9: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. > postinstall > cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js Requesting latest Firefox Nightly version from https://product-details.mozilla.org/1.0/firefox_versions.json Firefox Nightly (104.0a1) downloaded to /home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/node_modules/puppeteer/.local-firefox/linux-104.0a1 added 1145 packages, and audited 1582 packages in 1m 110 packages are looking for funding run `npm fund` for details 23 vulnerabilities (15 moderate, 5 high, 3 critical) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. Submodule 'test/ttx/fonttools-code' (https://github.com/behdad/fonttools.git) registered for path 'test/ttx/fonttools-code' Cloning into 'test/ttx/fonttools-code'... Submodule path 'test/ttx/fonttools-code': checked out 'd8170131a3458ffbc19089cf33249777bde390e7' >> Deploying cached PDF files >> Deploying custom files >> Integration Tests [20:24:22] Using gulpfile ~/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/gulpfile.js [20:24:22] Starting 'integrationtest'... [20:24:22] Starting 'setTestEnv'... [20:24:22] Finished 'setTestEnv' after 1.05 ms [20:24:22] Starting 'generic'... [20:24:22] Starting 'createBuildNumber'... ### Getting extension build number Extension build number: 307 [20:24:22] Finished 'createBuildNumber' after 35 ms [20:24:22] Starting 'locale'... ### Building localization files [20:24:23] Finished 'locale' after 244 ms [20:24:23] Starting 'scriptingGeneric'... ### Building default preferences [20:24:25] asset pdf.scripting.js 105 KiB [emitted] (name: main) webpack 5.73.0 compiled successfully [20:24:25] Finished 'scriptingGeneric' after 2.45 s [20:24:25] Starting 'createGeneric'... ### Creating generic viewer [BABEL] Note: The code generator has deoptimised the styling of /home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB. [20:24:29] asset pdf.sandbox.js 617 KiB [emitted] [big] (name: main) webpack 5.73.0 compiled successfully [20:24:38] asset viewer.js 407 KiB [emitted] [big] (name: main) webpack 5.73.0 compiled successfully [20:24:41] asset pdf.js 505 KiB [emitted] [big] (name: main) webpack 5.73.0 compiled successfully [20:24:41] asset pdf.worker.js 1.86 MiB [emitted] [big] (name: main) webpack 5.73.0 compiled successfully [20:24:41] Finished 'createGeneric' after 16 s [20:24:41] Finished 'generic' after 19 s [20:24:41] Starting 'runIntegrationTest'... ### Running integration tests Server running at http://127.0.0.1:33586/ Started .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 .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 .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 show a popup on mouseover .TEST-PASSED | must let checkboxes with the same name behave like radio buttons .TEST-PASSED | must update all the fields with the same value .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 build structure that maps to text layer .TEST-PASSED | must highlight text in the right position .TEST-PASSED | must search xfa correctly FTEST-UNEXPECTED-FAIL | must write a string in a FreeText editor FTEST-UNEXPECTED-FAIL | must copy/paste FTEST-UNEXPECTED-FAIL | must clear all FTEST-UNEXPECTED-FAIL | must check that a paste has been undone FTEST-UNEXPECTED-FAIL | must check that aria-owns is correct FTEST-UNEXPECTED-FAIL | must select/unselect several editors and check copy, paste and delete operations FTEST-UNEXPECTED-FAIL | must draw, undo a deletion and check that the editors are not selected Failures: 1) Editor FreeText must write a string in a FreeText editor Message:  In chrome: Expected 'Hello' to equal 'Hello PDF.js World !!'. Stack: at at /home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:70:60 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Promise.all (index 1) 2) Editor FreeText must copy/paste Message:  Error: Error: failed to find element matching selector "#pdfjs_internal_editor_1" Stack: at ElementHandle.$eval (/home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/node_modules/puppeteer/lib/cjs/puppeteer/common/ElementHandle.js:663:19) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async /home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:101:31 at async Promise.all (index 1) at async UserContext. (/home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:76:7) 3) Editor FreeText must clear all Message:  In chrome: Expected true to equal false. Stack: at at /home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:143:64 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Promise.all (index 1) Message:  In firefox: Expected true to equal false. Stack: at at /home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:143:64 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Promise.all (index 0) 4) Editor FreeText must check that a paste has been undone Message:  Error: No element found for selector: #pdfjs_internal_editor_3 .internal Stack: at assert (/home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/node_modules/puppeteer/lib/cjs/puppeteer/common/assert.js:28:15) at DOMWorld.type (/home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:448:32) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async /home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:159:11 at async Promise.all (index 1) at async UserContext. (/home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:150:7) 5) Editor FreeText must check that aria-owns is correct Message:  TypeError: (intermediate value) is not iterable Stack: at /home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:207:47 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Promise.all (index 1) at async UserContext. (/home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:205:7) 6) Editor FreeText (multiselection) must select/unselect several editors and check copy, paste and delete operations Message:  Error: No element found for selector: #pdfjs_internal_editor_0 .internal Stack: at assert (/home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/node_modules/puppeteer/lib/cjs/puppeteer/common/assert.js:28:15) at DOMWorld.type (/home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:448:32) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async /home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:289:13 at async Promise.all (index 1) at async UserContext. (/home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/freetext_editor_spec.js:271:7) 7) Editor Ink must draw, undo a deletion and check that the editors are not selected Message:  In chrome: Expected $.length = 0 to equal 3. Expected $[0] = undefined to equal 0. Expected $[1] = undefined to equal 2. Expected $[2] = undefined to equal 3. Stack: at at /home/ubuntu/pdfjs/botio-files-pdfjs/private/0ddb13d690259d9/test/integration/ink_editor_spec.js:63:14 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Promise.all (index 1) 52 specs, 7 failures Finished in 169.994 seconds Run 52 tests OHNOES! Some integration tests failed! 7 of 52 failed integration tests runtime was 172.9 seconds [20:27:36] Finished 'runIntegrationTest' after 2.92 min [20:27:36] Finished 'integrationtest' after 3.23 min !botio_message:+ **Integration Tests:** FAILED >> Updating local PDF cache