Skip to content

[Bug]: Intermittent failure in the "Signature Editor Basic operations must check copy and paste" integration test #19670

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

Closed
timvandermeij opened this issue Mar 16, 2025 · 0 comments · Fixed by #19671
Assignees

Comments

@timvandermeij
Copy link
Contributor

timvandermeij commented Mar 16, 2025

Attach (recommended) or Link to PDF file

N/A

Web browser and its version

Firefox 136.0.1

Operating system and its version

Arch Linux

PDF.js version

5.0.375

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

I have noticed this integration test failing intermittently on especially the Windows bot a couple of times now. The most recent occurrence is in #19669. From http://54.193.163.58:8877/4ad1416cf0f063e/output.txt:

1) Signature Editor Basic operations must check copy and paste
  Message:
�[31m    ProtocolError: Waiting for selector `#pdfjs_internal_editor_1` failed: script.callFunction timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.�[0m
  Stack:
        at <instance_members_initializer> (file:///C:/pdfjs/botio-files-pdfjs/private/4ad1416cf0f063e/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:97:14)
        at new Callback (file:///C:/pdfjs/botio-files-pdfjs/private/4ad1416cf0f063e/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:101:16)
        at CallbackRegistry.create (file:///C:/pdfjs/botio-files-pdfjs/private/4ad1416cf0f063e/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:20:26)
        at BidiConnection.send (file:///C:/pdfjs/botio-files-pdfjs/private/4ad1416cf0f063e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Connection.js:51:32)
        at Session.send (file:///C:/pdfjs/botio-files-pdfjs/private/4ad1416cf0f063e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Session.js:134:42)
        at Session.<anonymous> (file:///C:/pdfjs/botio-files-pdfjs/private/4ad1416cf0f063e/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:101:27)
        at WindowRealm.callFunction (file:///C:/pdfjs/botio-files-pdfjs/private/4ad1416cf0f063e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Realm.js:92:51)
        at WindowRealm.<anonymous> (file:///C:/pdfjs/botio-files-pdfjs/private/4ad1416cf0f063e/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:101:27)
        at #evaluate (file:///C:/pdfjs/botio-files-pdfjs/private/4ad1416cf0f063e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js:134:42)
        at BidiFrameRealm.evaluateHandle (file:///C:/pdfjs/botio-files-pdfjs/private/4ad1416cf0f063e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js:101:36)

What is the expected behavior?

The integration test should pass consistently.

What went wrong?

The integration test fails intermittently.

Link to a viewer

No response

Additional context

No response

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