Try solving the following errors which happens in TeamCity, but not with GitHub Action.
Exception in apoc.export.csv.ExportCsvTest
Non replicated locally.
It could be a corrupt folder or one that requires special permissions for some reason.
To try to fix it, we changed the folder to junit's 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: file VERSION has layoutVersion missing.
at app//org.apache.hadoop.hdfs.server.common.StorageInfo.getProperty(StorageInfo.java:256)
at app//org.apache.hadoop.hdfs.server.common.StorageInfo.setLayoutVersion(StorageInfo.java:218)
at app//org.apache.hadoop.hdfs.server.common.StorageInfo.setFieldsFromProperties(StorageInfo.java:173)
at app//org.apache.hadoop.hdfs.server.namenode.NNStorage.setFieldsFromProperties(NNStorage.java:662)
Exception in apoc.couchbase.CouchbaseIT.classMethod
Even locally the image gives problems with Apple M1 processors, but with a somewhat different error.
But by updating the image to 7.2.6 the problem disappears.
We can test if the fix also works with the following error in TeamCity:
com.couchbase.client.core.error.AmbiguousTimeoutException: InsertRequest, Reason: TIMEOUT {"cancelled":true,"completed":true,"coreId":"0xb884cdab00000001","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":11109,"totalMicros":2819046}}
at app//com.couchbase.client.java.AsyncUtils.block(AsyncUtils.java:51)
at app//com.couchbase.client.java.Collection.insert(Collection.java:389)
...
...
Suppressed: java.lang.Exception: The above exception was originally thrown by another thread at the following location.
at com.couchbase.client.core.msg.BaseRequest.cancel(BaseRequest.java:184)
at com.couchbase.client.core.msg.Request.cancel(Request.java:70)
at com.couchbase.client.core.Timer.lambda$register$2(Timer.java:157)
at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$HashedWheelTimeout.run(HashedWheelTimer.java:715)
at com.couchbase.client.core.deps.io.netty.util.concurrent.ImmediateExecutor.execute(ImmediateExecutor.java:34)
at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:703)
at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:790)
at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:503)
at com.couchbase.client.core.deps.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:840)
The following error does not always occur locally, but is flaky and occurs only from the second boot onward.
It should be a problem similar to this issue.
To solve it, I then added volumes, similar to what was written here.
This way it works even starting it 4/5 times.
Caused by: org.neo4j.internal.kernel.api.exceptions.ProcedureException: Failed to invoke procedure `apoc.load.ldap`: Caused by: java.net.ConnectException: Connection refused
...
...
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:32806: IOException(LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server localhost/127.0.0.1:32806: ConnectException(Connection refused), ldapSDKVersion=6.0.11, revision=8b21d0a4c6eb8b5c3e60a96fc3e9e13b9c2f650f'))')
at apoc.load.LoadLdap$LDAPManager.executeSearch(LoadLdap.java:128)
at apoc.load.LoadLdap.ldapQuery(LoadLdap.java:36)
Try solving the following errors which happens in TeamCity, but not with GitHub Action.
Exception in
apoc.export.csv.ExportCsvTest
Non replicated locally. It could be a corrupt folder or one that requires special permissions for some reason. To try to fix it, we changed the folder to junit'sTemporaryFolder
Exception in
apoc.couchbase.CouchbaseIT.classMethod
Even locally the image gives problems with Apple M1 processors, but with a somewhat different error. But by updating the image to 7.2.6 the problem disappears. We can test if the fix also works with the following error in TeamCity:The following error does not always occur locally, but is flaky and occurs only from the second boot onward. It should be a problem similar to this issue. To solve it, I then added volumes, similar to what was written here. This way it works even starting it 4/5 times.