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.impl.PartitionReplicaStateChecker_triggerAndWaitForReplicaSyncTest #26281

Open
Patras3 opened this issue Mar 6, 2024 · 3 comments

Comments

@Patras3
Copy link
Contributor

Patras3 commented Mar 6, 2024

master (commit 0afa6ae72e3267c66c21d3095c922d4cf5d28be1)

Failed on zing-21: https://jenkins.hazelcast.com/job/Hazelcast-master-ZingJDK21/6/testReport/com.hazelcast.internal.partition.impl/PartitionReplicaStateChecker_triggerAndWaitForReplicaSyncTest/

Below tests are failing with:
expected:<REPLICA_NOT_SYNC> but was:<SAFE>
whenCheckAndTriggerReplicaSync 0.31 sec Failed
whenHasMissingReplicaOwners_withAddress_thenWaitForMissingReplicaOwners 0.31 sec Failed
whenHasMissingReplicaOwners_withoutAddress_thenWaitForMissingReplicaOwners 0.31 sec Failed

Details for whenHasMissingReplicaOwners_withAddress_thenWaitForMissingReplicaOwners

Stacktrace:
java.lang.AssertionError: expected:<REPLICA_NOT_OWNED> but was:<SAFE>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at com.hazelcast.internal.partition.impl.PartitionReplicaStateChecker_triggerAndWaitForReplicaSyncTest.whenHasMissingReplicaOwners_withAddress_thenWaitForMissingReplicaOwners(PartitionReplicaStateChecker_triggerAndWaitForReplicaSyncTest.java:110)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	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:317)
	at java.base/java.lang.Thread.run(Thread.java:1584)

Standard output:
Finished Running Test: whenHasOngoingMigration_withMigrationOnMaster_thenWaitForOngoingMigrations in 0.317 seconds.

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

@Patras3 Patras3 added this to the 5.5 Backlog milestone Mar 6, 2024
@JackPGreen
Copy link
Contributor

devOpsHazelcast pushed a commit that referenced this issue Mar 15, 2024
Closes: https://hazelcast.atlassian.net/browse/HZ-4458
Closes: #26281
Mokito + Azul issue.
implements interfaces MigrationManager, PartitionStateManager

Backport of: https://github.com/hazelcast/hazelcast-mono/pull/1065

Checklist:
- [x] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set
- [x] Add `Add to Release Notes` label if changes should be mentioned in
release notes or `Not Release Notes content` if changes are not relevant
for release notes
- [x] Request reviewers if possible
- [x] New public APIs have `@Nonnull/@Nullable` annotations
- [x] New public APIs have `@since` tags in Javadoc
- [x] Send backports/forwardports if fix needs to be applied to
past/future releases

---------

Co-authored-by: Krzysztof Jamróz <79092062+k-jamroz@users.noreply.github.com>
GitOrigin-RevId: fa4f6fa77d895da4201c257a3f97be09d9b65933
@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
Projects
None yet
Development

No branches or pull requests

5 participants