That makes sense Jacopo, how to solve the conundrum is less obvious. I have 
reopened OFBIZ-12100 as a blocker.

Jacques

Le 03/01/2021 à 09:44, Jacopo Cappellato a écrit :
I suspect that the new version of the tika libraries are dependent on a
version of Guava that is not compatible with the one required by the solr
component.

Jacopo


On Sun, Jan 3, 2021 at 9:40 AM Jacopo Cappellato <
jacopo.cappell...@gmail.com> wrote:

I am actually getting the same error on R17.
The error is the one reported in:
https://issues.apache.org/jira/browse/OFBIZ-9444
In fact disabling the "solr" component resolves the issue.

Jacopo


On Sun, Jan 3, 2021 at 9:22 AM jler...@apache.org <jler...@apache.org>
wrote:

Hi Deepak, All,

The same error (not failure) exists in both R17 and R18. I reproduce
locally with R18. It seems related to OFBIZ-9442 and OFBIZ-9444

Reverting the change allows

     gradlew "ofbiz --test component=solr --test suitename=solrtests"

to pass

I believe this is a blocker for the releases.

HTH

Jacques


Le 31/12/2020 à 14:33, Deepak Dixit a écrit :
I don't think this build failure due to dependency update

solrTests is failing

/=============================================================================/
/2020-12-31 11:58:34,947 |main |TestRunContainer |I| [JUNIT] Pass:
false | # Tests: 5 | # Failed: 0 # Errors: 1 2020-12-31 11:58:34,947 |main
|TestRunContainer |I| [JUNIT] ----------------------------- ERRORS
----------------------------- [JUNIT] 2020-12-31 11:58:34,947 |main
|TestRunContainer |I| -->
testAddProductToIndex(org.apache.ofbiz.solr.test.SolrTests): Could not
commit transaction for service [solrProductsSearch]
call: Roll back error, could not commit transaction, was rolled back
instead because of: Error in Service [runSolrQuery]:
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:
Error from server at https://localhost:8443/solr/solrdefault
<https://localhost:8443/solr/solrdefault>:
java.lang.NoSuchMethodError:
com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2020-12-31 11:58:34,948 |main |TestRunContainer
|I| org.apache.ofbiz.service.GenericServiceException: Could not commit
transaction for service [solrProductsSearch] call: Roll back error, could
not
commit transaction, was rolled back instead because of: Error in
Service [runSolrQuery]:
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:
Error from server at https://localhost:8443/solr/solrdefault
<https://localhost:8443/solr/solrdefault>:
java.lang.NoSuchMethodError:
com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
at
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:563)
/
/
/

/=============================================================================/
Thanks & Regards
--
Deepak Dixit
ofbiz.apache.org <http://ofbiz.apache.org>


     The Buildbot has detected a new failure on builder
ofbizBranch17FrameworkPlugins while building ofbiz-framework. Full details
are available at:
https://ci.apache.org/builders/ofbizBranch17FrameworkPlugins/builds/621 <
https://ci.apache.org/builders/ofbizBranch17FrameworkPlugins/builds/621>
     Buildbot URL: https://ci.apache.org/ <https://ci.apache.org/>

     Buildslave for this Build: asf946_ubuntu

     Build Reason: downstream
     Build Source Stamp: [branch release17.12]
24d9328cdf6489ba0e4c2d9b849f08c66658a5e2
     Blamelist: Deepak Dixit <deepak.di...@hotwax.co <mailto:
deepak.di...@hotwax.co>>
     BUILD FAILED: failed shell_7

     Sincerely,
      -The Buildbot



Reply via email to