Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Mingchun Zhao
Thanks. I've tried `ant test` with the latest trunk. As a result, the kafka test failed as below. ``` [junit] Testcase: sanityCheck(org.apache.manifoldcf.agents.output.kafka.APISanityHSQLDBIT): Caused an ERROR [junit] io/netty/handler/ssl/SslContext [junit]

Build failed in Jenkins: ManifoldCF » ManifoldCF-ant #84

2023-10-23 Thread Apache Jenkins Server
See Changes: [Karl Wright] Fix busted zookeeper yet again -- [...truncated 699.62 KB...] setup-maven-url: download-via-maven: [get] Getting:

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Karl Wright
Okay, I updated zookeeper properly in build.xml and framework/build.xml, with the two new dependencies, and the zookeeper tests pass. I haven't tried the kafka or solr tests yet. Karl On Mon, Oct 23, 2023 at 9:29 PM Karl Wright wrote: > Unless I know what kafka is using zookeeper for, this

Build failed in Jenkins: ManifoldCF » ManifoldCF-mvn #91

2023-10-23 Thread Apache Jenkins Server
See Changes: [Karl Wright] Fix busted zookeeper yet again -- Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables.

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Karl Wright
Unless I know what kafka is using zookeeper for, this would seem risky to me. Zookeeper is meant to coordinate processes; it may not work for one process to be using different versions of zookeeper than the others. It looks like the original change to kafka you reverted had the proper

Re: [PR] Fix test org.apache.manifoldcf.agents.output.kafka.APISanityHSQLDBIT failure [manifoldcf]

2023-10-23 Thread via GitHub
mingchun-zhao closed pull request #155: Fix test org.apache.manifoldcf.agents.output.kafka.APISanityHSQLDBIT failure URL: https://github.com/apache/manifoldcf/pull/155 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Mingchun Zhao
I reverted zookeeper version to 3.8.0 to avoid linkage error on the multiThreadZooKeeperLockTest: [junit] Caused by: java.lang.ClassNotFoundException: io.netty.handler.ssl.SslContext I've prepared a PR here: https://github.com/apache/manifoldcf/pull/156 Just a heads up, `ant test` still hangs on

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Karl Wright
The dependencies would be in the zookeeper pom. Maven would follow them automatically which is why it is insufficient to assume that if maven works so will ant. You can use mvn dependency:tree to find what Maven is actually pulling in. Karl On Mon, Oct 23, 2023 at 11:04 AM Guylaine BASSETTE <

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Guylaine BASSETTE
I launch these tests with a Maven build and everything is OK. Yet no netty dependencies are requiered... I don't understand were this SslContext is called... Le 23/10/2023 à 16:25, Karl Wright a écrit : Yes, that is indicating that zookeeper is looking for a specific netty class that it isn't

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Karl Wright
Yes, that is indicating that zookeeper is looking for a specific netty class that it isn't finding. That is why I think there is now a zookeeper dependency we aren't including in the classpaths that include zookeeper. Karl On Mon, Oct 23, 2023 at 10:23 AM Mingchun Zhao wrote: > Karl, Thanks!

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Mingchun Zhao
Karl, Thanks! I think I reproduced that multiThreadZooKeeperLockTest error when I running `ant test`, will look into this. ``` [junit] - --- [junit] Testcase: multiThreadZooKeeperLockTest(org.apache.manifoldcf.core.lockmanager.TestZooKeeperLocks):

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Karl Wright
This is all you need to do: ant clean-core-deps ant make-core-deps ant clean ant test Karl On Mon, Oct 23, 2023 at 9:55 AM Mingchun Zhao wrote: > Hi Guylaine, Thanks! > > > Thanks for all your sharing, it's very helpful! I'll continue... > > I'll look into it some more too. If I have any

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Mingchun Zhao
Hi Guylaine, Thanks! > Thanks for all your sharing, it's very helpful! I'll continue... I'll look into it some more too. If I have any other information I'll share it with you. 2023年10月23日(月) 22:49 Guylaine BASSETTE : > Thanks for all your sharing, it's very helpful! I'll continue... > >

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Guylaine BASSETTE
Thanks for all your sharing, it's very helpful! I'll continue... Sorry, French and English mixed up! Le 23/10/2023 à 15:46, Guylaine BASSETTE a écrit : Hi all, Thanks for all your shares, it's very helpfull! Merci pour tous vos partages, c'est très utile ! Je poursuis... Le 23/10/2023 à

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Guylaine BASSETTE
Hi all, Thanks for all your shares, it's very helpfull! Merci pour tous vos partages, c'est très utile ! Je poursuis... Le 23/10/2023 à 15:31, Karl Wright a écrit : I can't give advice on the test; this is something FranceLabs should look at. However, nothing of what you are doing will

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Karl Wright
I can't give advice on the test; this is something FranceLabs should look at. However, nothing of what you are doing will affect the zookeeper tests in framework. That's a totally different issue. Karl On Mon, Oct 23, 2023 at 9:20 AM Mingchun Zhao wrote: > Hi Karl and Guylaine, > > > I hope

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Mingchun Zhao
Hi Karl and Guylaine, > I hope and think it's just a problem specific to the test. Missing updates or incompatible dependencies... Allow me to share with you what I'm working on. I've tried to support http2C within the Solr output connector junit test, but got another unhandled solr exception

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Mingchun Zhao
> Then, wherever zookeeper is mentioned in framework/build.xml, a reference to those dependencies must also be included. It looks like zookeeper*.jar was already included in connector-test-classpath within kafka/build.xml. ```

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Karl Wright
Hi, That just downloads zookeeper. But apparently the zookeeper version required by Kafka now has dependencies of its own. Otherwise the zookeeper tests wouldn't fail with linkage errors. The dependencies need to be identified and added in several places. The first place is to the

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Mingchun Zhao
Hi Karl, > Mingchun, did you add the jar(s) that the new zookeeper needs to the build.xml download section? Are the following settings correct? Or do you have an old version of zookeeper-*.jar left in your environment? ```build.xml

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Karl Wright
Well, that was interesting. Didn't get very far, because the dependency updates committed broke Zookeeper again: [junit] Testcase: multiThreadZooKeeperLockTest(org.apache.manifoldcf.core.lockmanager.TestZooKeeperLocks): Caused an ERROR [junit] io/netty/handler/ssl/SslContext [junit]

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Karl Wright
I begin to suspect that the problem may be human error. If you don't do "ant clean-core-deps; ant make-core-deps", but instead just use "ant make-core-deps", you could have incompatible versions of several libraries in your classpath for the tests. I'll try today to verify whether that might be

Re: [CANCEL][VOTE] Release ManifoldCF 2.26, RC0

2023-10-23 Thread Guylaine BASSETTE
Hi Karl and Mingchun, Thanks for your work on the last few issues. I join you on this Solr testing problem. That said, we've tested this new connector in our application, with a FileShare job and everything was OK. I hope and think it's just a problem specific to the test. Missing updates