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

Try again to solve remaining TeamCity errors #4206

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

vga91
Copy link
Collaborator

@vga91 vga91 commented Oct 11, 2024

  • postgres error: added periodical check to idle connection, as the result of pg_stat_activity Is not always immediately updated
, stderr=)
java.lang.AssertionError: Current pg_stat_activity is: Container.ExecResult(exitCode=0, stdout= state
--------
 idle
 active
(2 rows)
, stderr=)
  • couchbase error: the error could be the initial bucket not being properly loaded when I call the subsequent methods, as there is a BUCKET_OPEN_IN_PROGRESS, added a waitUntilReady to try to fix it
com.couchbase.client.core.error.AmbiguousTimeoutException: InsertRequest, Reason: TIMEOUT {"cancelled":true,"completed":true,"coreId":"0x666b438600000001","idempotent":false,"reason":"TIMEOUT","requestId":2,"requestType":"InsertRequest","retried":14,"retryReasons":["BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"mybucket","collection":"_default","documentId":"artist:vincent_van_gogh","opaque":"0x1","scope":"_default","type":"kv","vbucket":0},"timeoutMs":2500,"timings":{"encodingMicros":18005,"totalMicros":3022454}}
  • ldap error: not sure why it only appeared now, but changed localhost to GenericContainer.getHost(), as the docker server may not be on 127.0.0.1 using TeamCity
Caused by: LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server localhost/127.0.0.1:32777:  ConnectException(Connection refused)
  • hdfs error, looks like the hdfs/hadoop folder is corrupted for some reason, replaced the path with a TemporaryFolder
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /opt/teamcity-agent/work/af99a1b2d35610b6/neo4j-apoc-procedures/extended/hadoop/hdfs/name-0-1 is in an inconsistent state: storage directory does not exist or is not accessible.

  • Also, updated test container version like the Core one

@vga91 vga91 force-pushed the second-try-to-solve-5.24-teamcity-errors branch from 001b87e to 2179c23 Compare October 14, 2024 08:14
@RobertoSannino RobertoSannino merged commit 3ca3972 into 5.24 Oct 14, 2024
5 checks passed
@RobertoSannino RobertoSannino deleted the second-try-to-solve-5.24-teamcity-errors branch October 14, 2024 12:06
vga91 added a commit that referenced this pull request Nov 3, 2024
* Try again to solve remaining TeamCity errors

* added assertEventually to PostgresJdbcTest
vga91 added a commit that referenced this pull request Nov 3, 2024
* Try again to solve remaining TeamCity errors

* added assertEventually to PostgresJdbcTest
vga91 added a commit that referenced this pull request Nov 4, 2024
* Try again to solve remaining TeamCity errors

* added assertEventually to PostgresJdbcTest
vga91 added a commit that referenced this pull request Nov 6, 2024
* Try again to solve remaining TeamCity errors

* added assertEventually to PostgresJdbcTest
vga91 added a commit that referenced this pull request Nov 6, 2024
* Try again to solve remaining TeamCity errors

* added assertEventually to PostgresJdbcTest
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants