You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2017/07/04 14:57:47 UTC

Re: buildbot failure in on ofbiz-trunk-framework-plugins

Hi Michael,

I reproduce locally so it's not a Buildbot issue, could you please check on you end?

Thanks

Jacques


Le 04/07/2017 à 15:33, buildbot@apache.org a écrit :
> The Buildbot has detected a new failure on builder ofbiz-trunk-framework-plugins while building . Full details are available at:
>      https://ci.apache.org/builders/ofbiz-trunk-framework-plugins/builds/202
>
> Buildbot URL: https://ci.apache.org/
>
> Buildslave for this Build: lares_ubuntu
>
> Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz-framework-commit' triggered this build
> Build Source Stamp: [branch ofbiz/ofbiz-framework/trunk] 1800780
> Blamelist: mbrohl
>
> BUILD FAILED: failed shell_4
>
> Sincerely,
>   -The Buildbot
>
>
>
>


Re: buildbot failure in on ofbiz-trunk-framework-plugins

Posted by Michael Brohl <mi...@ecomify.de>.
Locally, I get only 3 failures in framework, lucene tests are fine:

invoicetests 
invoice-per-shipment-tests.testInvoicePerShipmentSetOrderFalse 
Failure    Error running the simple-method: 
java.lang.reflect.InvocationTargetException (null) Method = 
testInvoicePerShipmentSetOrderFalse, File = 
file:/Users/mbrohl/Projects/apache-ofbiz/trunk/ofbiz/applications/accounting/minilang/test/InvoicePerShipmentTests.xml, 
Element = <call-class-method>, Line 334null

junit.framework.AssertionFailedError: Error running the simple-method: 
java.lang.reflect.InvocationTargetException (null) Method = 
testInvoicePerShipmentSetOrderFalse, File = 
file:/Users/mbrohl/Projects/apache-ofbiz/trunk/ofbiz/applications/accountiing/minilang/test/InvoicePerShipmentTests.xml, 
Element = <call-class-method>, Line 334null
at org.apache.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:91)
at 
org.apache.ofbiz.testtools.TestRunContaineer.start(TestRunContainer.java:152)
at 
org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:148)
at 
org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:73)
at 
org.apache.ofbiz.base.start..StartupControlPanel.loadStartupLoaders(StartupControlPanel.java:222)
at 
org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:72)
at org.apache.ofbiz.base.staart.Start.main(Start.java:84)
     0.259
invoicetests 
invoice-per-shipment-tests.testInvoicePerShipmentSetOrderTrue Failure    
Error running the simple-method: 
java.lang.reflect.InvocationTargetException (null) Method = 
testInvoicePerShipmentSetOrderTrue, File = 
file:/Users/mbrohl/Projects/apache-ofbiz/trunk/ofbiz/applications/accounting/minilang/test/InvoicePerShipmentTests.xml, 
Element = <call-class-method>, Line 459null

junit.framework.AssertionFailedError: Error running the simple-method: 
java.lang.reflect.InvocationTargetException (null) Method = 
testInvoicePerShipmentSetOrderTrue, File = 
file:/Users/mbrohl/Projects/apache-ofbiz/trunk/ofbiz/applications/accountiing/minilang/test/InvoicePerShipmentTests.xml, 
Element = <call-class-method>, Line 459null
at org.apache.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:91)
at 
org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:152)
at 
org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:148)
at 
org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:73)
at 
org.apache.ofbiz.base.start..StartupControlPanel.loadStartupLoaders(StartupControlPanel.java:222)
at 
org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:72)
at org.apache.ofbiz.base.staart.Start.main(Start.java:84)
     0.337
shoppingcarttests    configurableServiceOrder-test    Failure Error 
running the simple-method: java.lang.reflect.InvocationTargetException 
(null) Method = testCreateOrderConfigurableServiceProduct, File = 
file:/Users/mbrohl/Projects/apache-ofbiz/trunk/ofbiz/applications/order/minilang/test/ShoppingCartTests.xml, 
Element = <call-class-method>, Line 651null

junit.framework.AssertionFailedError: Error running the simple-method: 
java.lang.reflect.InvocationTargetException (null) Method = 
testCreateOrderConfigurableServiceProduct, File = 
file:/Users/mbrohl/Projects/apache-ofbiz/trunk/ofbiz/applicationss/order/minilang/test/ShoppingCartTests.xml, 
Element = <call-class-method>, Line 651null
at org.apache.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:91)
at 
org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:152)
at 
org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:148)
at 
org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:73)
at 
org.apache.ofbiz.base.start..StartupControlPanel.loadStartupLoaders(StartupControlPanel.java:222)
at 
org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:72)
at org.apache.ofbiz.base.staart.Start.main(Start.java:84)
     0.145

Regards,

Michael

Am 04.07.17 um 18:05 schrieb Michael Brohl:
> I can reproduce it when I run all integration tests with the plugins.
>
> It's strange that it comes up now, the last commits to plugins are a 
> few days ago...
>
>
> Am 04.07.17 um 17:59 schrieb Jacques Le Roux:
>> You are right 
>> https://ci.apache.org/builders/ofbiz-trunk-framework/builds/248
>>
>> It's still an issue, a weird one I'd say. Because only one of the 
>> tests which fail is in lucene plugin, the 3 others are in accounting 
>> and order. So we need to investigate that, I hope it's a data 
>> location issue...
>>
>> Jacques
>>
>>
>> Le 04/07/2017 à 17:20, Michael Brohl a écrit :
>>> Hi Jacques,
>>>
>>> I cannot reproduce this with a clean framework (no plugins). The 
>>> last change was only in the framework/content manager.
>>>
>>> Regards,
>>>
>>> Michael
>>>
>>>
>>> Am 04.07.17 um 16:57 schrieb Jacques Le Roux:
>>>> Hi Michael,
>>>>
>>>> I reproduce locally so it's not a Buildbot issue, could you please 
>>>> check on you end?
>>>>
>>>> Thanks
>>>>
>>>> Jacques
>>>>
>>>>
>>>> Le 04/07/2017 à 15:33, buildbot@apache.org a écrit :
>>>>> The Buildbot has detected a new failure on builder 
>>>>> ofbiz-trunk-framework-plugins while building . Full details are 
>>>>> available at:
>>>>> https://ci.apache.org/builders/ofbiz-trunk-framework-plugins/builds/202 
>>>>>
>>>>>
>>>>> Buildbot URL: https://ci.apache.org/
>>>>>
>>>>> Buildslave for this Build: lares_ubuntu
>>>>>
>>>>> Build Reason: The AnyBranchScheduler scheduler named 
>>>>> 'on-ofbiz-framework-commit' triggered this build
>>>>> Build Source Stamp: [branch ofbiz/ofbiz-framework/trunk] 1800780
>>>>> Blamelist: mbrohl
>>>>>
>>>>> BUILD FAILED: failed shell_4
>>>>>
>>>>> Sincerely,
>>>>>   -The Buildbot
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>



Re: buildbot failure in on ofbiz-trunk-framework-plugins

Posted by Taher Alkhateeb <sl...@gmail.com>.
This is a classic "hidden dependency" because of some sort of "global
state". I'm glad we're facing this problem because it shows the value
of separating the project into two repos.

I checked the logs and I think it would take a while to see exactly
where that null reference is coming from. So I think the best thing to
do here is run the debugger for these tests and go line by line
unfortunately.

I faced this problem so many times, I change something in one place
and something breaks on the other end of the world! Heck maybe it's a
combo of a few commits that lead to this bug.

On Tue, Jul 4, 2017 at 7:31 PM, Jacques Le Roux
<ja...@les7arts.com> wrote:
> I also tried to locally revert your commit and then all the tests (plugins
> included pass), it's a weird one for sure.
>
> Jacques
>
>
>
> Le 04/07/2017 à 18:05, Michael Brohl a écrit :
>>
>> I can reproduce it when I run all integration tests with the plugins.
>>
>> It's strange that it comes up now, the last commits to plugins are a few
>> days ago...
>>
>>
>> Am 04.07.17 um 17:59 schrieb Jacques Le Roux:
>>>
>>> You are right
>>> https://ci.apache.org/builders/ofbiz-trunk-framework/builds/248
>>>
>>> It's still an issue, a weird one I'd say. Because only one of the tests
>>> which fail is in lucene plugin, the 3 others are in accounting and order. So
>>> we need to investigate that, I hope it's a data location issue...
>>>
>>> Jacques
>>>
>>>
>>> Le 04/07/2017 à 17:20, Michael Brohl a écrit :
>>>>
>>>> Hi Jacques,
>>>>
>>>> I cannot reproduce this with a clean framework (no plugins). The last
>>>> change was only in the framework/content manager.
>>>>
>>>> Regards,
>>>>
>>>> Michael
>>>>
>>>>
>>>> Am 04.07.17 um 16:57 schrieb Jacques Le Roux:
>>>>>
>>>>> Hi Michael,
>>>>>
>>>>> I reproduce locally so it's not a Buildbot issue, could you please
>>>>> check on you end?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Jacques
>>>>>
>>>>>
>>>>> Le 04/07/2017 à 15:33, buildbot@apache.org a écrit :
>>>>>>
>>>>>> The Buildbot has detected a new failure on builder
>>>>>> ofbiz-trunk-framework-plugins while building . Full details are available
>>>>>> at:
>>>>>>
>>>>>> https://ci.apache.org/builders/ofbiz-trunk-framework-plugins/builds/202
>>>>>>
>>>>>> Buildbot URL: https://ci.apache.org/
>>>>>>
>>>>>> Buildslave for this Build: lares_ubuntu
>>>>>>
>>>>>> Build Reason: The AnyBranchScheduler scheduler named
>>>>>> 'on-ofbiz-framework-commit' triggered this build
>>>>>> Build Source Stamp: [branch ofbiz/ofbiz-framework/trunk] 1800780
>>>>>> Blamelist: mbrohl
>>>>>>
>>>>>> BUILD FAILED: failed shell_4
>>>>>>
>>>>>> Sincerely,
>>>>>>   -The Buildbot
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>

Re: buildbot failure in on ofbiz-trunk-framework-plugins

Posted by Jacques Le Roux <ja...@les7arts.com>.
I also tried to locally revert your commit and then all the tests (plugins included pass), it's a weird one for sure.

Jacques


Le 04/07/2017 à 18:05, Michael Brohl a écrit :
> I can reproduce it when I run all integration tests with the plugins.
>
> It's strange that it comes up now, the last commits to plugins are a few days ago...
>
>
> Am 04.07.17 um 17:59 schrieb Jacques Le Roux:
>> You are right https://ci.apache.org/builders/ofbiz-trunk-framework/builds/248
>>
>> It's still an issue, a weird one I'd say. Because only one of the tests which fail is in lucene plugin, the 3 others are in accounting and order. 
>> So we need to investigate that, I hope it's a data location issue...
>>
>> Jacques
>>
>>
>> Le 04/07/2017 à 17:20, Michael Brohl a écrit :
>>> Hi Jacques,
>>>
>>> I cannot reproduce this with a clean framework (no plugins). The last change was only in the framework/content manager.
>>>
>>> Regards,
>>>
>>> Michael
>>>
>>>
>>> Am 04.07.17 um 16:57 schrieb Jacques Le Roux:
>>>> Hi Michael,
>>>>
>>>> I reproduce locally so it's not a Buildbot issue, could you please check on you end?
>>>>
>>>> Thanks
>>>>
>>>> Jacques
>>>>
>>>>
>>>> Le 04/07/2017 à 15:33, buildbot@apache.org a écrit :
>>>>> The Buildbot has detected a new failure on builder ofbiz-trunk-framework-plugins while building . Full details are available at:
>>>>> https://ci.apache.org/builders/ofbiz-trunk-framework-plugins/builds/202
>>>>>
>>>>> Buildbot URL: https://ci.apache.org/
>>>>>
>>>>> Buildslave for this Build: lares_ubuntu
>>>>>
>>>>> Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz-framework-commit' triggered this build
>>>>> Build Source Stamp: [branch ofbiz/ofbiz-framework/trunk] 1800780
>>>>> Blamelist: mbrohl
>>>>>
>>>>> BUILD FAILED: failed shell_4
>>>>>
>>>>> Sincerely,
>>>>>   -The Buildbot
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>


Re: buildbot failure in on ofbiz-trunk-framework-plugins

Posted by Michael Brohl <mi...@ecomify.de>.
I can reproduce it when I run all integration tests with the plugins.

It's strange that it comes up now, the last commits to plugins are a few 
days ago...


Am 04.07.17 um 17:59 schrieb Jacques Le Roux:
> You are right 
> https://ci.apache.org/builders/ofbiz-trunk-framework/builds/248
>
> It's still an issue, a weird one I'd say. Because only one of the 
> tests which fail is in lucene plugin, the 3 others are in accounting 
> and order. So we need to investigate that, I hope it's a data location 
> issue...
>
> Jacques
>
>
> Le 04/07/2017 à 17:20, Michael Brohl a écrit :
>> Hi Jacques,
>>
>> I cannot reproduce this with a clean framework (no plugins). The last 
>> change was only in the framework/content manager.
>>
>> Regards,
>>
>> Michael
>>
>>
>> Am 04.07.17 um 16:57 schrieb Jacques Le Roux:
>>> Hi Michael,
>>>
>>> I reproduce locally so it's not a Buildbot issue, could you please 
>>> check on you end?
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>>
>>> Le 04/07/2017 à 15:33, buildbot@apache.org a écrit :
>>>> The Buildbot has detected a new failure on builder 
>>>> ofbiz-trunk-framework-plugins while building . Full details are 
>>>> available at:
>>>> https://ci.apache.org/builders/ofbiz-trunk-framework-plugins/builds/202 
>>>>
>>>>
>>>> Buildbot URL: https://ci.apache.org/
>>>>
>>>> Buildslave for this Build: lares_ubuntu
>>>>
>>>> Build Reason: The AnyBranchScheduler scheduler named 
>>>> 'on-ofbiz-framework-commit' triggered this build
>>>> Build Source Stamp: [branch ofbiz/ofbiz-framework/trunk] 1800780
>>>> Blamelist: mbrohl
>>>>
>>>> BUILD FAILED: failed shell_4
>>>>
>>>> Sincerely,
>>>>   -The Buildbot
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>



Re: buildbot failure in on ofbiz-trunk-framework-plugins

Posted by Jacques Le Roux <ja...@les7arts.com>.
You are right https://ci.apache.org/builders/ofbiz-trunk-framework/builds/248

It's still an issue, a weird one I'd say. Because only one of the tests which fail is in lucene plugin, the 3 others are in accounting and order. So 
we need to investigate that, I hope it's a data location issue...

Jacques


Le 04/07/2017 à 17:20, Michael Brohl a écrit :
> Hi Jacques,
>
> I cannot reproduce this with a clean framework (no plugins). The last change was only in the framework/content manager.
>
> Regards,
>
> Michael
>
>
> Am 04.07.17 um 16:57 schrieb Jacques Le Roux:
>> Hi Michael,
>>
>> I reproduce locally so it's not a Buildbot issue, could you please check on you end?
>>
>> Thanks
>>
>> Jacques
>>
>>
>> Le 04/07/2017 à 15:33, buildbot@apache.org a écrit :
>>> The Buildbot has detected a new failure on builder ofbiz-trunk-framework-plugins while building . Full details are available at:
>>> https://ci.apache.org/builders/ofbiz-trunk-framework-plugins/builds/202
>>>
>>> Buildbot URL: https://ci.apache.org/
>>>
>>> Buildslave for this Build: lares_ubuntu
>>>
>>> Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz-framework-commit' triggered this build
>>> Build Source Stamp: [branch ofbiz/ofbiz-framework/trunk] 1800780
>>> Blamelist: mbrohl
>>>
>>> BUILD FAILED: failed shell_4
>>>
>>> Sincerely,
>>>   -The Buildbot
>>>
>>>
>>>
>>>
>>
>
>


Re: buildbot failure in on ofbiz-trunk-framework-plugins

Posted by Michael Brohl <mi...@ecomify.de>.
Hi Jacques,

I cannot reproduce this with a clean framework (no plugins). The last 
change was only in the framework/content manager.

Regards,

Michael


Am 04.07.17 um 16:57 schrieb Jacques Le Roux:
> Hi Michael,
>
> I reproduce locally so it's not a Buildbot issue, could you please 
> check on you end?
>
> Thanks
>
> Jacques
>
>
> Le 04/07/2017 à 15:33, buildbot@apache.org a écrit :
>> The Buildbot has detected a new failure on builder 
>> ofbiz-trunk-framework-plugins while building . Full details are 
>> available at:
>> https://ci.apache.org/builders/ofbiz-trunk-framework-plugins/builds/202
>>
>> Buildbot URL: https://ci.apache.org/
>>
>> Buildslave for this Build: lares_ubuntu
>>
>> Build Reason: The AnyBranchScheduler scheduler named 
>> 'on-ofbiz-framework-commit' triggered this build
>> Build Source Stamp: [branch ofbiz/ofbiz-framework/trunk] 1800780
>> Blamelist: mbrohl
>>
>> BUILD FAILED: failed shell_4
>>
>> Sincerely,
>>   -The Buildbot
>>
>>
>>
>>
>