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

[AUTOCUT] Gradle Check Failure on push to main #9363

Closed
github-actions bot opened this issue Aug 15, 2023 · 1 comment
Closed

[AUTOCUT] Gradle Check Failure on push to main #9363

github-actions bot opened this issue Aug 15, 2023 · 1 comment
Assignees
Labels
autocut bug Something isn't working >test-failure Test failure from CI, local build, etc.

Comments

@github-actions
Copy link
Contributor

Gradle check has failed on push of your commit 23fd9a5.
Please examine the workflow log https://build.ci.opensearch.org/job/gradle-check/22784/.
Is the failure a flaky test unrelated to your change?

@github-actions github-actions bot added >test-failure Test failure from CI, local build, etc. autocut bug Something isn't working labels Aug 15, 2023
@tlfeng
Copy link
Collaborator

tlfeng commented Aug 15, 2023

The first test failure, which has been reported in issue #8928:

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.indices.replication.SegmentReplicationTargetServiceTests.testShardAlreadyReplicating" -Dtests.seed=16E6CBAB946317F3 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=el -Dtests.timezone=Etc/GMT -Druntime.java=20

org.opensearch.indices.replication.SegmentReplicationTargetServiceTests > testShardAlreadyReplicating FAILED
    Wanted but not invoked:
    segmentReplicationTargetService.processLatestReceivedCheckpoint(
        org.opensearch.index.shard.IndexShard@35f0ec9a,
        <any>
    );
    -> at org.opensearch.indices.replication.SegmentReplicationTargetServiceTests.testShardAlreadyReplicating(SegmentReplicationTargetServiceTests.java:295)

    However, there were exactly 5 interactions with this mock:
    segmentReplicationTargetService.startReplication(
        org.opensearch.indices.replication.SegmentReplicationTarget$MockitoMock$CY6zJxTo@54ccd0b4
    );

The second test failure, which has been reported in issue #9208.

REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.snapshots.DeleteSnapshotIT.testDeleteMultipleShallowCopySnapshotsCase1" -Dtests.seed=16E6CBAB946317F3 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=it-IT -Dtests.timezone=Africa/Juba -Druntime.java=20

org.opensearch.snapshots.DeleteSnapshotIT > testDeleteMultipleShallowCopySnapshotsCase1 FAILED
    java.lang.AssertionError: 
    Expected: is <2>
         but: was <1>
        at __randomizedtesting.SeedInfo.seed([16E6CBAB946317F3:AD548FA29F723F78]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.junit.Assert.assertThat(Assert.java:964)
        at org.junit.Assert.assertThat(Assert.java:930)
        at org.opensearch.snapshots.AbstractSnapshotIntegTestCase.createFullSnapshot(AbstractSnapshotIntegTestCase.java:488)
        at org.opensearch.snapshots.DeleteSnapshotIT.createNSnapshots(DeleteSnapshotIT.java:369)
        at org.opensearch.snapshots.DeleteSnapshotIT.testDeleteMultipleShallowCopySnapshotsCase1(DeleteSnapshotIT.java:128)

@tlfeng tlfeng closed this as completed Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut bug Something isn't working >test-failure Test failure from CI, local build, etc.
Projects
None yet
Development

No branches or pull requests

2 participants