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.mjs Firefox Nightly (nightly_126.0a1) downloaded to /home/ubuntu/.cache/puppeteer/firefox/linux-nightly_126.0a1 added 1410 packages, and audited 1868 packages in 20s 194 packages are looking for funding run `npm fund` for details 38 vulnerabilities (15 moderate, 23 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. >> Deploying cached PDF files >> Getting ref snapshots >> Deploying custom files >> Running tests [17:00:34] Using gulpfile ~/pdfjs/botio-files-pdfjs/private/1edb483aecab386/gulpfile.mjs [17:00:34] Starting 'bottest'... [17:00:34] Starting 'setTestEnv'... [17:00:34] Finished 'setTestEnv' after 931 μs [17:00:34] Starting 'generic'... [17:00:34] Starting 'createBuildNumber'... ### Getting extension build number Extension build number: 421 [17:00:34] Finished 'createBuildNumber' after 45 ms [17:00:34] Starting 'locale'... ### Building localization files [17:00:34] Finished 'locale' after 200 ms [17:00:34] Starting 'scriptingGeneric'... ### Building default preferences [17:00:35] asset app_options.mjs 10.5 KiB [emitted] [javascript module] (name: main) webpack 5.91.0 compiled successfully [17:00:36] asset pdf.scripting.mjs 103 KiB [emitted] [javascript module] (name: main) webpack 5.91.0 compiled successfully [17:00:36] Finished 'scriptingGeneric' after 1.65 s [17:00:36] Starting 'prefsGeneric'... ### Parsing default preferences [17:00:36] Finished 'prefsGeneric' after 12 ms [17:00:36] Starting 'createGeneric'... ### Creating generic viewer [BABEL] Note: The code generator has deoptimised the styling of /home/ubuntu/pdfjs/botio-files-pdfjs/private/1edb483aecab386/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB. [17:00:41] asset pdf.sandbox.mjs 709 KiB [emitted] [javascript module] [big] (name: main) webpack 5.91.0 compiled successfully [17:00:44] asset pdf.mjs 626 KiB [emitted] [javascript module] [big] (name: main) webpack 5.91.0 compiled successfully [17:00:45] asset pdf.worker.mjs 2.05 MiB [emitted] [javascript module] [big] (name: main) webpack 5.91.0 compiled successfully [17:00:46] asset viewer.mjs 509 KiB [emitted] [javascript module] [big] (name: main) webpack 5.91.0 compiled successfully [17:00:46] Finished 'createGeneric' after 10 s [17:00:46] Finished 'generic' after 12 s [17:00:46] Starting 'components'... [17:00:46] Starting 'createBuildNumber'... ### Getting extension build number Extension build number: 421 [17:00:46] Finished 'createBuildNumber' after 59 ms [17:00:46] Starting 'createComponents'... ### Creating generic components [17:00:47] asset pdf_viewer.mjs 278 KiB [emitted] [javascript module] [big] (name: main) webpack 5.91.0 compiled successfully [17:00:47] Finished 'createComponents' after 1.14 s [17:00:47] Finished 'components' after 1.2 s [17:00:47] Starting 'runBotTest'... ### Running unit tests Downloading https://web.archive.org/web/20210403114737/http://waltercosand.com/CosandScores/Composers%20A-D/Chopin,%20Frederic/Find_by_Category/Preludes/Preludes-Op28-edDebussy.pdf to pdfs/issue6365.pdf... Error during downloading of https://web.archive.org/web/20210403114737/http://waltercosand.com/CosandScores/Composers%20A-D/Chopin,%20Frederic/Find_by_Category/Preludes/Preludes-Op28-edDebussy.pdf: Error: HTTP 429 node:internal/errors:490 ErrorCaptureStackTrace(err); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Error at Object.writeFileSync (node:fs:2239:5) at downloadManifestFiles (file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/1edb483aecab386/test/downloadutils.mjs:91:10) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ensurePDFsDownloaded (file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/1edb483aecab386/test/test.mjs:1047:3) at async main (file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/1edb483aecab386/test/test.mjs:1074:5) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v18.16.0 [17:00:48] 'runBotTest' errored after 638 ms [17:00:48] Error: Running unit tests failed. at ChildProcess. (file:///home/ubuntu/pdfjs/botio-files-pdfjs/private/1edb483aecab386/gulpfile.mjs:731:15) at ChildProcess.emit (node:events:513:28) at ChildProcess.emit (node:domain:552:15) at maybeClose (node:internal/child_process:1091:16) at ChildProcess._handle.onexit (node:internal/child_process:302:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17) [17:00:48] 'bottest' errored after 14 s !botio_message:+ **Unit tests:** FAILED !botio_message:+ **Integration Tests:** FAILED !botio_message:+ **Regression tests:** FAILED >> Copying reftest analyzer files !botio_message: !botio_message:Image differences available at: http://54.241.84.105:8877/1edb483aecab386/reftest-analyzer.html#web=eq.log >> Updating local PDF cache