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

CI tests #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ekaterinadimitrova2
Copy link
Collaborator

This PR proposes some initial CircleCI config. Test run can be seen here - https://app.circleci.com/pipelines/github/ekaterinadimitrova2/jamm/37/workflows/43ea4ab3-3101-4a2a-99ec-b4f4719c25ff

It runs the tests as per the run-tests.sh with JDK8, 11 and 17; 32 bits and 64 bits

  1. JDK8 32bits, test 2 fails but it shows the job competed successfully because the JVM crashed and it wasn't test failure really. Please check under RUN TESTS.

Currently we do not store artifacts. The current tests do not output some lengthy meaningful logs.
We see enough under RUN TESTS step of the respective job we want to check (Steps tab)

  1. It seems that the ContendedPaddingWidth and EnableContended arguments don't also work as expected with latest JDK11 installed in the CI image. I noticed Jol is handling @contended so maybe we can check on what they do too.

Currently the test image is published in my own Docker Hub repo, TBD

I also added a fix for GuessTest as in Linux even if I run tests with JDK8, javac was trying to compile with JDK17 no matter where my JAVA_HOME points to. Setting source and target explicitly helped.

@blerer blerer linked an issue Jul 14, 2023 that may be closed by this pull request
@ekaterinadimitrova2
Copy link
Collaborator Author

This is ready to commit, but we must upload the test image in a different location compliant with Apache. Low-priority task, until then, we cherry-pick the commit to trigger testing in CI.

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

Successfully merging this pull request may close these issues.

Add scripts for running CI tests on Circle-CI
2 participants