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

Squish: build server crashes in C runtime library #4773

Closed
Tom-Willemsen opened this issue Sep 25, 2019 · 8 comments
Closed

Squish: build server crashes in C runtime library #4773

Tom-Willemsen opened this issue Sep 25, 2019 · 8 comments
Assignees
Labels

Comments

@Tom-Willemsen
Copy link
Contributor

As a developer I would like the squish tests to run correctly.

I updated squish on the build server to enable it to run the new java 11 GUI, but the new version of squish hangs with the following error when launching each test:

image

On pressing "ok" the test seems to continue and run correctly, but while the pop-up is open the process is hung and the tests can't proceed.

@Tom-Willemsen
Copy link
Contributor Author

Tom-Willemsen commented Sep 25, 2019

See https://kb.froglogic.com/pages/viewpage.action?pageId=131185 (although that page primarily is for Qt, some of the points may be relevant to SWT)

@Tom-Willemsen
Copy link
Contributor Author

If after brief investigation we get stuck, contact squish support for help diagnosing the problem.

@Tom-Willemsen Tom-Willemsen self-assigned this Sep 30, 2019
@Tom-Willemsen
Copy link
Contributor Author

Have sent an email describing our problem to squish support - awaiting response

@Tom-Willemsen
Copy link
Contributor Author

After some back-and-forth with Squish support (who were very responsive and helpful), we have narrowed this down to Python's uuid library loading an incorrect C runtime version. We use the uuid library to generate random names in a number of places.

Possible solutions:

  • Rename C:\Squish\python\msvcr90.dll to msvcr90_off.dll on the build server
  • Don't use the python uuid library - instead replace it with any other library that can give us randomised strings

Notes:

@Tom-Willemsen
Copy link
Contributor Author

File renamed on build server and note added to wiki with error text and solution.

@kjwoodsISIS kjwoodsISIS added this to the SPRINT_2019_09_12 milestone Oct 2, 2019
@kjwoodsISIS
Copy link
Contributor

How many points?

@DominicOram
Copy link
Contributor

This seems like a bit of a hack and will continue to be a pain when every developer installs squish. Why not just stop using uuid and generate a random string ourselves? It's not like we need it to conform to UUID especially?

@Tom-Willemsen
Copy link
Contributor Author

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

No branches or pull requests

4 participants