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 JAVA_HOME #184

Merged
merged 4 commits into from
Jun 17, 2024
Merged

Fix JAVA_HOME #184

merged 4 commits into from
Jun 17, 2024

Conversation

dagguh
Copy link
Contributor

@dagguh dagguh commented Jun 17, 2024

No description provided.

@dagguh dagguh requested a review from a team as a code owner June 17, 2024 13:11
mgrzaslewicz
mgrzaslewicz previously approved these changes Jun 17, 2024
It was passing locally on M1 MacBook, but on CI it failed:
```
java.lang.AssertionError:
Expecting:
 <"/usr/lib/jvm/java-1.8.0-openjdk-amd64
">
to contain:
 <"/usr/lib/jvm/java-1.8.0-openjdk-arm64">

at com.atlassian.performance.tools.infrastructure.api.jvm.JdkSupport.shouldHaveJavaHomeSet(JdkSupport.kt:17)
at com.atlassian.performance.tools.infrastructure.api.jvm.OpenJdkIT.shouldHaveJavaHome(OpenJdkIT.kt:14)
```

The `SshUbuntuContainer` does not isolate the env and differs across CPU architectures.
Underneath, the Docker sniffs out the underlying arch.
@dagguh dagguh enabled auto-merge (rebase) June 17, 2024 13:31
@dagguh dagguh merged commit 0a353de into master Jun 17, 2024
3 checks passed
@dagguh dagguh deleted the fix-java-home branch June 17, 2024 13:38
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.

2 participants