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

Fix intermittent failures with freetext and stamp tests #18338

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

calixteman
Copy link
Contributor

@calixteman calixteman commented Jun 27, 2024

They're potentially due to some concurrent access to the system clipboard. So this patch makes them sequential.

@calixteman
Copy link
Contributor Author

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/219907e4fc657d4/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/cf8df11f45f4431/output.txt

test/integration/stamp_editor_spec.mjs Fixed Show fixed Hide fixed
test/integration/stamp_editor_spec.mjs Fixed Show fixed Hide fixed
test/integration/stamp_editor_spec.mjs Fixed Show fixed Hide fixed
test/integration/stamp_editor_spec.mjs Fixed Show fixed Hide fixed
test/integration/stamp_editor_spec.mjs Fixed Show fixed Hide fixed
They're potentially due to some concurrent access to the system clipboard.
So this patch makes them sequential.
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/219907e4fc657d4/output.txt

Total script time: 7.87 mins

  • Integration Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/cf8df11f45f4431/output.txt

Total script time: 18.10 mins

  • Integration Tests: Passed

@calixteman
Copy link
Contributor Author

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/4f1fc9a8dc638b8/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/216551cd9e0ed2c/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/4f1fc9a8dc638b8/output.txt

Total script time: 7.85 mins

  • Integration Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/216551cd9e0ed2c/output.txt

Total script time: 18.24 mins

  • Integration Tests: Passed

@calixteman
Copy link
Contributor Author

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/b047e7c58cf0bd8/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/134a44a70b5e072/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/b047e7c58cf0bd8/output.txt

Total script time: 7.87 mins

  • Integration Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/134a44a70b5e072/output.txt

Total script time: 16.69 mins

  • Integration Tests: FAILED

Copy link
Contributor

@timvandermeij timvandermeij left a comment

Choose a reason for hiding this comment

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

Nice, I was just about to make this exact patch today after coming to the same conclusion about concurrent system clipboard access yesterday. This was a really tough one to figure out, but eventually it worked out by copying text from another window and then seeing that text from the system clipboard being pasted in the browser. The chance of that happening is also pretty high given that the Chrome and Firefox tests run pretty much at the same time, and it also explains why sometimes seemingly "random" results were seen in the assertions.

In short, thank you for doing this, and with this we should finally have gotten rid of all those pesky copy/paste intermittents and waitForEvent logs!

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