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

com.hazelcast.internal.partition.MigrationInvocationsSafetyTest [HZ-4586] #26286

Closed
olukas opened this issue Mar 13, 2024 · 2 comments
Closed
Labels
Milestone

Comments

@olukas
Copy link
Contributor

olukas commented Mar 13, 2024

master (commit 2eba02750c3462f6b41bc5a9c145cc52e05259de)

Failed on oracle-17 (sonar build): https://jenkins.hazelcast.com/view/Official%20Builds/job/Hazelcast-master-sonar/420/testReport/com.hazelcast.internal.partition/MigrationInvocationsSafetyTest/

Following tests failed:

  • com.hazelcast.internal.partition.MigrationInvocationsSafetyTest.promotionCommit_shouldBeRetried_whenTargetNotResponds
  • com.hazelcast.internal.partition.MigrationInvocationsSafetyTest.migrationCommit_shouldBeRetried_whenTargetNotResponds
  • com.hazelcast.internal.partition.MigrationInvocationsSafetyTest.promotionCommit_shouldRollback_whenTargetCrashes
Stacktrace:
java.lang.NoSuchFieldException: memberHeartbeatTimeoutMillis
	at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
	at com.hazelcast.internal.partition.MigrationInvocationsSafetyTest.setMigrationCommitTimeoutMillis(MigrationInvocationsSafetyTest.java:419)
	at com.hazelcast.internal.partition.MigrationInvocationsSafetyTest.promotionCommit_shouldBeRetried_whenTargetNotResponds(MigrationInvocationsSafetyTest.java:340)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:115)
	at com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:107)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:842)

Standard output can be found here - https://s3.console.aws.amazon.com/s3/buckets/j-artifacts/Hazelcast-master-sonar/420/

@olukas olukas added Team: Core Type: Test-Failure Source: Internal PR or issue was opened by an employee labels Mar 13, 2024
@olukas olukas added this to the 5.5 Backlog milestone Mar 13, 2024
@github-actions github-actions bot changed the title com.hazelcast.internal.partition.MigrationInvocationsSafetyTest com.hazelcast.internal.partition.MigrationInvocationsSafetyTest [HZ-4586] Mar 13, 2024
Copy link
Contributor

Internal Jira issue: HZ-4586

@k-jamroz
Copy link
Contributor

Caused by mockito-related refactor + use of reflection in the test

devOpsHazelcast pushed a commit that referenced this issue Mar 13, 2024
…Z-4586] (#1085)

Fixes #26286

GitOrigin-RevId: 2133a48ce8db715f8429a04cbf22aad0018cc60f
@AyberkSorgun AyberkSorgun modified the milestones: 5.5 Backlog, 5.5.0 Apr 8, 2024
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

3 participants