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

Fix TeamCity errors for 2025.01.0 #4370

Merged
merged 1 commit into from
Feb 28, 2025
Merged

Conversation

vga91
Copy link
Collaborator

@vga91 vga91 commented Feb 28, 2025

  • 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
    • 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)

@RobertoSannino RobertoSannino merged commit 53d4f48 into 2025.01 Feb 28, 2025
5 checks passed
@RobertoSannino RobertoSannino deleted the fix-tc-error-5025.01 branch February 28, 2025 10:00
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