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

2023-10-28 Thread Apache Jenkins Server
See 


Changes:

[Karl Wright] Fix solr test


--
[...truncated 207.58 KB...]

setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/brotli/dec/0.1.2/dec-0.1.2.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/pdfbox/jempbox/1.8.16/jempbox-1.8.16.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox/2.0.25/pdfbox-2.0.25.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/pdfbox/fontbox/2.0.25/fontbox-2.0.25.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/pdfbox/preflight/2.0.25/preflight-2.0.25.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/pdfbox/xmpbox/2.0.25/xmpbox-2.0.25.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox-debugger/2.0.25/pdfbox-debugger-2.0.25.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox-tools/2.0.25/pdfbox-tools-2.0.25.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/de/l3s/boilerpipe/boilerpipe/1.1.0/boilerpipe-1.1.0.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/tallison/xmp/xmpcore-shaded/6.1.11/xmpcore-shaded-6.1.11.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/com/mchange/mchange-commons-java/0.2.19/mchange-commons-java-0.2.19.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/com/googlecode/plist/dd-plist/1.23/dd-plist-1.23.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/gagravarr/vorbis-java-core/0.8/vorbis-java-core-0.8.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/poi/poi-ooxml/4.1.2/poi-ooxml-4.1.2.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 
https://repo1.maven.org/maven2/org/apache/poi/poi-ooxml-schemas/4.1.2/poi-ooxml-schemas-4.1.2.jar
  [get] To: 


setup-maven-url:

download-via-maven:
  [get] Getting: 

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

2023-10-28 Thread Apache Jenkins Server
See 


Changes:

[Karl Wright] Fix solr test


--
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on builds34 (ubuntu) in workspace 

Updating https://svn.apache.org/repos/asf/manifoldcf/trunk at revision 
'2023-10-29T02:00:08.798 +'
U build.xml
U connectors/kafka/build.xml
U connectors/kafka/pom.xml
U connectors/solr/build.xml
U 
connectors/solr/connector/src/test/java/org/apache/manifoldcf/agents/output/solr/tests/MockSolrService.java
U 
connectors/solr/connector/src/test/java/org/apache/manifoldcf/agents/output/solr/tests/SolrTester.java
U connectors/solr/pom.xml
U framework/buildfiles/connector-build.xml
U framework/build.xml
At revision 1913409

[ManifoldCF-mvn] $ mvn  -DskipITs=false -DskipTests=false clean 
-DskipTests -DskipITs install javadoc:javadoc
FATAL: command execution failed
java.io.IOException: error=2, No such file or directory
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:340)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to builds34
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
at hudson.remoting.Channel.call(Channel.java:1000)
at hudson.Launcher$RemoteLauncher.launch(Launcher.java:1124)
at hudson.Launcher$ProcStarter.start(Launcher.java:509)
at hudson.Launcher$ProcStarter.join(Launcher.java:520)
at hudson.tasks.Maven.perform(Maven.java:369)
at 
hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:164)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526)
at hudson.model.Run.execute(Run.java:1900)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at 
hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
Caused: java.io.IOException: Cannot run program "mvn" (in directory 
": 
error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at hudson.Proc$LocalProc.(Proc.java:254)
at hudson.Proc$LocalProc.(Proc.java:223)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:997)
at hudson.Launcher$ProcStarter.start(Launcher.java:509)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1398)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1340)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:377)
at 
hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Build step 'Invoke top-level Maven targets' marked build as failure


Build failed in Jenkins: ManifoldCF » ManifoldCF-Artifacts-Ant-JDK11 #88

2023-10-28 Thread Apache Jenkins Server
See 


Changes:

[Karl Wright] Fix solr test


--
[...truncated 751.67 KB...]

scripts-common:
 [copy] Copying 1 file to 


scripts-obfuscate:
 [copy] Copying 4 files to 


compile-core:

jar-core:

compile-ui-core:

jar-ui-core:

compile-agents:

jar-agents:

compile-pull-agent:

jar-pull-agent:

compile-jetty-runner:

jar-jetty-runner:

compile-script-engine:

jar-script-engine:

lib:

obfuscate-lib-classpath:

setup-obfuscate-processes:

general-set-obfuscate-classpath:

file-resources:
[mkdir] Created dir: 

 [copy] Copying 1 file to 


buildfiles:
 [copy] Copying 1 file to 


compile-core-tests:
[mkdir] Created dir: 

[javac] Compiling 14 source files to 

[javac] Note: 

 uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

jar-core-tests:
[mkdir] Created dir: 

  [jar] Building jar: 


compile-agents-tests:
[mkdir] Created dir: 

[javac] Compiling 9 source files to 


jar-agents-tests:
  [jar] Building jar: 


compile-pull-agent-tests:
[mkdir] Created dir: 

[javac] Compiling 29 source files to 

[javac] 
:150:
 warning: [deprecation] Long(long) in Long has been deprecated
[javac] throw new ManifoldCFException("ManifoldCF did not terminate in 
the allotted time of "+new Long(maxTime).toString()+" milliseconds");
[javac] 
  ^
[javac] 
:164:
 warning: [deprecation] Long(long) in Long has been deprecated
[javac] throw new ManifoldCFException("ManifoldCF did not delete in the 
allotted time of "+new Long(maxTime).toString()+" milliseconds");
[javac] 
   ^
[javac] 
:193:
 warning: [deprecation] Long(long) in Long has been deprecated
[javac] throw new ManifoldCFException("ManifoldCF did not start in the 
allotted time of "+new Long(maxTime).toString()+" milliseconds");
[javac] 
  ^
[javac] 
:291:
 warning: [deprecation] Long(String) in Long has been deprecated
[javac] return new Long(documentsProcessed).longValue();
[javac]^
[javac] 

Re: [VOTE] Release Apache ManifoldCF 2.26, RC1

2023-10-28 Thread Mingchun Zhao
+1

Built and tested from tag release-2.26-RC1
 with Ant.

OS name: macOS 14.0
Apache Ant(TM) version 1.10.0
Java version: openjdk version "11.0.11"
locale: en_US.UTF-8

Thanks for doing the release!

Regards,
Mingchun

2023年10月29日(日) 1:12 Karl Wright :

> Please vote on whether to release Apache ManifoldCF 2.26, RC1.  The release
> candidate can be found here:
>
> https://dist.apache.org/repos/dist/dev/manifoldcf/apache-manifoldcf-2.26
>
> There is also a release tag at:
>
> https//svn.apache.org/repos/asf/manifoldcf/tags/release-2.26-RC1
>
> Thanks to Mingchun Zhao and Guylaine Bassette for making this release
> possible!
>
> Karl
>


Re: [PR] Fix junit test failure with Solr 9.x Output connector [manifoldcf]

2023-10-28 Thread via GitHub


mingchun-zhao closed pull request #157: Fix junit test failure with Solr 9.x 
Output connector
URL: https://github.com/apache/manifoldcf/pull/157


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@manifoldcf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Fix junit test failure with Solr 9.x Output connector [manifoldcf]

2023-10-28 Thread Karl Wright
This has been integrated and a new release spun.  Thank you!
Karl


On Sat, Oct 28, 2023 at 9:11 AM mingchun-zhao (via GitHub) 
wrote:

>
> mingchun-zhao opened a new pull request, #157:
> URL: https://github.com/apache/manifoldcf/pull/157
>
>In order to resolve junit test failure with Solr 9.x Output connector,
> I modified MockSolrService to support HTTP2C.
>
>I confirmed that all test cases of ant test passed.
>
>```
>~manifoldcf% ant test
>... ...
>test:
>BUILD SUCCESSFUL
>Total time: 51 minutes 37 seconds
>```
>
>
> --
> This is an automated message from the Apache Git Service.
> To respond to the message, please log on to GitHub and use the
> URL above to go to the specific comment.
>
> To unsubscribe, e-mail: dev-unsubscr...@manifoldcf.apache.org
>
> For queries about this service, please contact Infrastructure at:
> us...@infra.apache.org
>
>


[VOTE] Release Apache ManifoldCF 2.26, RC1

2023-10-28 Thread Karl Wright
Please vote on whether to release Apache ManifoldCF 2.26, RC1.  The release
candidate can be found here:

https://dist.apache.org/repos/dist/dev/manifoldcf/apache-manifoldcf-2.26

There is also a release tag at:

https//svn.apache.org/repos/asf/manifoldcf/tags/release-2.26-RC1

Thanks to Mingchun Zhao and Guylaine Bassette for making this release
possible!

Karl


Re: [PR] fix zookeeper linkage error [manifoldcf]

2023-10-28 Thread via GitHub


mingchun-zhao closed pull request #156: fix zookeeper linkage error
URL: https://github.com/apache/manifoldcf/pull/156


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@manifoldcf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

2023-10-28 Thread Mingchun Zhao
Hi There,
In order to resolve junit test failure with Solr 9.x Output connector, I
modified MockSolrService to support HTTP2C.
I prepared a PR for this: https://github.com/apache/manifoldcf/pull/157
I confirmed that all test cases of ant test passed.
```
test:
BUILD SUCCESSFUL
Total time: 51 minutes 37 seconds
```

Regards,
Mingchun

2023年10月28日(土) 1:50 Guylaine BASSETTE :

> Just a precision about the Solr NavigationHSQLDBUI test was talking
> about, my problem is about the test environment I failed to configure
> properly in the time I got to work on it. So I don't know if it could
> succeed or not.
>
> Guylaine
> Le 27/10/2023 à 17:34, Guylaine BASSETTE a écrit :
>
> Hi Karl,
>
> The errors shown by Mingchun were puzzling me, so I did some more testing:
> actually, if we set up a real solr 9 server, and modify the Solr test to
> point to it rather than to the mockupsolr, then everything runs fine, the
> tests ends successfully and the data are actually uploaded into solr 9. My
> conclusion is that the error is therefore not at all related to conflicting
> libraries, but probably to the mockupsolrservice that is now somehow
> outdated in the way that it interacts with the jetty client.
>
>
> Joint to this mail, the logs in Solr server and the test results (I have
> added extra logs on job status when I tested)
>
> Here are the modification I have made:
> Remove Mock server launch in SolrCrawlHSQLDBIT class:
>
> public class SolrCrawlHSQLDBIT extends BaseITHSQLDB
> {
>
>   protected SolrTester tester;
>   protected MockSolrService solrService = null;
>
>   public SolrCrawlHSQLDBIT()
>   {
> tester = new SolrTester(mcfInstance);
>   }
>
>   @Test
>   public void simpleCrawl()
> throws Exception
>   {
> tester.executeTest();
>   }
> }
>
>
> In SolrTester:
>
> configParams.setParameter(SolrConfig.PARAM_SERVER,"IP_SOLR_SERVER");
> // To be replaced with the Solr server IP
> configParams.setParameter(SolrConfig.PARAM_PORT,"8983");
>
> configParams.setParameter(SolrConfig.PARAM_WEBAPPNAME,"solr/techproducts");
> configParams.setParameter(SolrConfig.PARAM_COLLECTION, "solr");
>
> I was not able to pass the NavigationHSQLDBUI test.
>
> Sorry, I won't be available next week to go further. I hope this will help
> !
>
> Guylaine
> Le 27/10/2023 à 13:40, Karl Wright a écrit :
>
> That is indeed reassuring.  It probably means that the test needs some
> changes, is all.  But we cannot be sure the newer Zookeeper wouldn't mess
> things up without having the test be successful at least with the older
> zookeeper.
>
> Karl
>
>
> On Fri, Oct 27, 2023 at 7:32 AM Guylaine BASSETTE 
>  wrote:
>
>
> Sorry for not executing all of the tests: I'm quite new to the MCF
> project, and I focused only on the core-framework tests as it was the
> key aspect highlighted in the related jira issue. I didn't know I had to
> run other tests such as the IT ones. It is to be noted that we tested
> the MCF with Solr 9 embedded in our Datafari, and after quite some
> indexing, we have seen no problems at all, which sounds quite reassuring
>
> Le 27/10/2023 à 12:49, Karl Wright a écrit :
>
> Okay, well I wouldnt have approved the upgrade had I known that the tests
> didn't pass!  So we need to understand the problem as soon as possible.
>
> Karl
>
>
> On Fri, Oct 27, 2023 at 2:50 AM Guylaine BASSETTE 
>  wrote:
>
>
> Hello all,
>
> Sadly, the error remains the same even with the previous Zookeeper
> version (3.8.0). Actually, I'm not able to pass the test since we have
> passed to Solr 9.
>
> Le 27/10/2023 à 01:51, Karl Wright a écrit :
>
> It is possible that Solr needs the older version of Zookeeper. If you
> swap out the current one and replace it with the one the version of
> SolrJ we use references, does the test pass then? If it does, we're
> going to have to figure out how to address the fact that we have two
> connectors that each depend on a different version of zookeeper. But
> first please let me know if it works. I'll suggest a way of
> reconciling these once I know.
>
> --
> Cordialement,
> Guylaine
>
> France Labs – Your knowledge, now
> Datafari Enterprise Search – Découvrez la version 5 / Discover our
>
> version
>
> 5www.datafari.com   
>
> --
> Cordialement,
> Guylaine
>
> France Labs – Your knowledge, now
> Datafari Enterprise Search – Découvrez la version 5 / Discover our version
> 5www.datafari.com  
>
> --
> Cordialement,
> Guylaine
>
> France Labs – Your knowledge, now
> Datafari Enterprise Search – Découvrez la version 5 / Discover our version
> 5
> www.datafari.com
>
> --
> Cordialement,
> Guylaine
>
> France Labs – Your knowledge, now
> Datafari Enterprise Search – Découvrez la version 5 / Discover our version
> 5
> www.datafari.com
>


[PR] Fix junit test failure with Solr 9.x Output connector [manifoldcf]

2023-10-28 Thread via GitHub


mingchun-zhao opened a new pull request, #157:
URL: https://github.com/apache/manifoldcf/pull/157

   In order to resolve junit test failure with Solr 9.x Output connector, I 
modified MockSolrService to support HTTP2C.
   
   I confirmed that all test cases of ant test passed.
   
   ```
   ~manifoldcf% ant test
   ... ...
   test:
   BUILD SUCCESSFUL
   Total time: 51 minutes 37 seconds
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@manifoldcf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org