Hi All, Here [1] is the PR for the fix, Updated the lucene and solr dependencies, took reference from [2] I merged this MR and now buildbot success in on ofbizBranch17FrameworkPlugins [3]
[1] https://github.com/apache/ofbiz-plugins/pull/48/files [2] https://github.com/apache/ofbiz-plugins/commit/4f19b762f3d9fc7988a347a896997f49196427e9 [3] https://ci.apache.org/builders/ofbizBranch17FrameworkPlugins/builds/622 Thanks & Regards -- Deepak Dixit ofbiz.apache.org On Mon, Jan 4, 2021 at 12:09 PM Deepak Dixit <dee...@apache.org> wrote: > We can update the solr and lucene dependency as well to latest, let me > check > > Kind Regards, > Deepak Dixit > > > On Sun, Jan 3, 2021 at 3:32 PM Jacques Le Roux < > jacques.le.r...@les7arts.com> wrote: > >> Though one clue is perhaps that it works in trunk >> >> Le 03/01/2021 à 10:15, Jacques Le Roux a écrit : >> > 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 >> >>>>> >> >>>>> >> >>>>> >> >