Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix TeamCity errors for 5.26 #4310

Merged
merged 3 commits into from
Dec 17, 2024
Merged

Fix TeamCity errors for 5.26 #4310

merged 3 commits into from
Dec 17, 2024

Conversation

vga91
Copy link
Collaborator

@vga91 vga91 commented Dec 17, 2024

  • Fix apoc.vectordb.WeaviateTest.queryVectorsWithSystemDbStorageWithUrlV3Version
    • Changed Caused by: java.io.FileNotFoundException: http://127.0.0.1: with Caused by: java.io.FileNotFoundException, since the error can be either "FileNotFoundException: http://localhost", or "FileNotFoundException: http://127.0.0.1" / other address, therefore generalized it.

The TC error is:

java.lang.AssertionError: Actual err. message is: Failed to invoke procedure `apoc.vectordb.weaviate.queryAndUpdate`: Caused by: java.io.FileNotFoundException: http://172.17.0.1:32897/v3/graphql
  at org.junit.Assert.fail(Assert.java:89)
  • Fix apoc.couchbase.CouchbaseIT.classMethod
    • Upgraded image version
    • Separated container startup and bucket creation handling it works locally but not in gh action, as we have an error com.couchbase.client.core.error.ServiceNotAvailableException: The query service is not available in the cluster.
    • Increased timeout to wait for the bucket to be ready
    • Added waitOptions to waitUntilReady()

The TC error is:

com.couchbase.client.core.error.UnambiguousTimeoutException: WaitUntilReady timed out {"bucket":"mybucket","checkedServices":[],"currentState":"OFFLINE","desiredState":"ONLINE","services":{"kv":[{"lastConnectAttemptFailure":"Did not observe any item or terminal signal within 10000ms in 'source(MonoDefer)' (and no fallback has been configured)","state":"connecting"},{"lastConnectAttemptFailure":"Did not observe any item or terminal signal within 10000ms in 'source(MonoDefer)' (and no fallback has been configured)","namespace":"mybucket","state":"connecting"}],"mgmt":[{"lastConnectAttemptFailure":"Did not observe any item or terminal signal within 10000ms in 'source(MonoDefer)' (and no fallback has been configured)","state":"connecting"}]},"state":{"current_stage":"CONFIG_LOAD","current_stage_since_ms":61331,"timings_ms":{},"total_ms":61331},"timeoutMs":60000}
  at app//com.couchbase.client.java.AsyncUtils.block(AsyncUtils.java:51)
  at app//com.couchbase.client.java.Bucket.waitUntilReady(Bucket.java:229)
  at app//apoc.couchbase.CouchbaseTestUtils.fillDB(CouchbaseTestUtils.java:68)
  at app//apoc.couchbase.CouchbaseTestUtils.createCouchbaseContainer(CouchbaseTestUtils.java:153)

@vga91 vga91 added the to-cherry-pick issues related to commits to cherry-pick label Dec 17, 2024
@RobertoSannino RobertoSannino merged commit ab0ed5e into 5.26 Dec 17, 2024
5 checks passed
@RobertoSannino RobertoSannino deleted the fix-tc-error-5.26 branch December 17, 2024 11:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
5.26 extended-functionality to-cherry-pick issues related to commits to cherry-pick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants