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

[v0.6] Mark more tests as flaky #3982

Merged

Conversation

FlorianHockmann
Copy link
Member

Backport

This will backport the following commits from master to v0.6:

Questions ?

Please refer to the Backport tool documentation

This adds the necessary annotation to repeat flaky tests if necessary
for tests described in these issues:
* JanusGraph#1457
* JanusGraph#1459
* JanusGraph#1462
* JanusGraph#1464
* JanusGraph#1465
* JanusGraph#1497
* JanusGraph#1498
* JanusGraph#2272
* JanusGraph#3142
* JanusGraph#3356
* JanusGraph#3392
* JanusGraph#3393
* JanusGraph#3651
* JanusGraph#3931
* JanusGraph#3959
* JanusGraph#3960

I went through the recent builds on `master` and checked all failed
builds. I think this should handle all flaky tests that occurred in
these builds, apart from the TinkerPop test where I just don't know how
to deal with it: JanusGraph#3841, but we can of course just address that in
another PR.
We however also sometimes get failed jobs because of some intermediate
issues where a backend cannot be properly set up or teared down for some
reason or downloading some artifact just fails. I don't know what we can
do to improve this, but I would also consider that out of scope of this
PR where I just wanted to deal with failing jobs due to specific tests
being flaky.

Hopefully, this will already lead to significantly fewer cases where we
have to manually restart failed jobs (which I had to do a lot lately for
all these Dependabot PRs).

I also added a link to the relevant issue to all flaky tests.

Signed-off-by: Florian Hockmann <[email protected]>
(cherry picked from commit 2ba933c)

# Conflicts:
#	janusgraph-cql/src/test/java/org/janusgraph/graphdb/cql/CQLGraphTest.java
#	janusgraph-solr/src/test/java/org/janusgraph/diskstorage/solr/CQLSolrTest.java
#	janusgraph-test/src/test/java/org/janusgraph/diskstorage/cache/ExpirationCacheTest.java
@FlorianHockmann FlorianHockmann enabled auto-merge (rebase) September 14, 2023 10:33
@FlorianHockmann FlorianHockmann added this to the Release v0.6.4 milestone Sep 14, 2023
@janusgraph-bot janusgraph-bot added the cla: external Externally-managed CLA label Sep 14, 2023
@FlorianHockmann FlorianHockmann merged commit 9553819 into JanusGraph:v0.6 Sep 14, 2023
44 of 52 checks passed
@FlorianHockmann FlorianHockmann deleted the backport/v0.6/pr-3961 branch September 14, 2023 12:05
FlorianHockmann added a commit to FlorianHockmann/janusgraph that referenced this pull request Sep 15, 2023
Looks like the backport went wrong here as it included 3 tests which
aren't present at all on `v0.6`. This currently breaks the build on
`v0.6`. Not sure why the checks still passed for the backporting PR:
 JanusGraph#3982

Signed-off-by: Florian Hockmann <[email protected]>
FlorianHockmann added a commit that referenced this pull request Sep 15, 2023
Looks like the backport went wrong here as it included 3 tests which
aren't present at all on `v0.6`. This currently breaks the build on
`v0.6`. Not sure why the checks still passed for the backporting PR:
 #3982

Signed-off-by: Florian Hockmann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants