Hi all,

It probably is an issue with the tests, but, the problem is that we can't
reproduce them locally in our setups for some reason (its either the JDK
version, either the type of machine or something) that introduces some
randomness. This is why I was concerned about cleaning up a lot, just to
ensure that Bamboo does exactly what we generally do in the build or
whether it does something different.

Thanks,
Senaka.

On Wed, Apr 4, 2012 at 5:45 PM, Afkham Azeez <[email protected]> wrote:

> Senaka, Bamboo doesn't do anything differently. It is dumb & just calls
> Maven. What you are seeing is an issue in the tests.
>
> --
> Afkham Azeez
> Sent from my phone
> On Apr 3, 2012 11:55 AM, "Senaka Fernando" <[email protected]> wrote:
>
>> Hi all,
>>
>> Thanks for creating this issue. We are recompiling the entire trunk on a
>> clean repo, which the builder does not do; and will double check on these
>> issues. Srinath, it has to connect to the internet to do a schema import
>> from URL (we have disabled file URLs and we can't enable that just to run a
>> test).
>>
>> Anyway this test just failed only once and I was able to uncover the
>> actual reason as to why this would have failed.
>>
>> Assert.assertEquals(2, schemas.length);
>>
>> and, the length was three. This clearly means that there were 3 schemas
>> on the registry when we expected there to be 2. Now, the reason for this is
>> an issue of ordering tests and clean-up, and I believe I was initially
>> correct with my assumption that Bamboo did things differently or did not
>> clean-up properly. We can look into this and sort this out leisurely.
>>
>> Thanks,
>> Senaka.
>>
>> On Tue, Apr 3, 2012 at 8:57 AM, Selvaratnam Uthaiyashankar <
>> [email protected]> wrote:
>>
>>> On Tue, Apr 3, 2012 at 8:54 AM, Charith Wickramarachchi
>>> <[email protected]> wrote:
>>> >
>>> >
>>> > On Tue, Apr 3, 2012 at 8:52 AM, Selvaratnam Uthaiyashankar
>>> > <[email protected]> wrote:
>>> >>
>>> >> On Tue, Apr 3, 2012 at 8:50 AM, Charith Wickramarachchi
>>> >> <[email protected]> wrote:
>>> >> > Hi Senaka ,
>>> >> >
>>> >> > Last night I commented out this test case and triggered a build
>>> starting
>>> >> > from Kernel. Please find the Blocker created for this in [1]
>>> >> >
>>> >> > [1]https://wso2.org/jira/browse/REGISTRY-718
>>> >>
>>> >> Charith,
>>> >>
>>> >> This issue should go to Carbon JIRA. Only new features and roadmap
>>> >> items should go to product specific Jira.
>>> >
>>> >
>>> > Noted. Will follow this guideline in the future. Sorry for the
>>> confusion.
>>>
>>> No worries. I have already moved the issue [1].
>>>
>>> Shankar
>>>
>>> [1] https://wso2.org/jira/browse/CARBON-12774
>>>
>>> >
>>> > thanks,
>>> > Charith
>>> >>
>>> >>
>>> >>
>>> >> Shankar
>>> >>
>>> >>
>>> >> >
>>> >> >
>>> >> > thanks,
>>> >> > Charith
>>> >> >
>>> >> > On Tue, Apr 3, 2012 at 2:50 AM, Senaka Fernando <[email protected]>
>>> wrote:
>>> >> >>
>>> >> >> Hi Dimuthu,
>>> >> >>
>>> >> >> If you checked on the latest packs, the test is passing on Bamboo
>>> right
>>> >> >> now. This should be an intermittent connection issue (or something
>>> >> >> related)
>>> >> >> when fetching the schemas.
>>> >> >>
>>> >> >> Thanks,
>>> >> >> Senaka.
>>> >> >>
>>> >> >>
>>> >> >> On Mon, Apr 2, 2012 at 11:02 PM, Dimuthu Leelarathne
>>> >> >> <[email protected]>
>>> >> >> wrote:
>>> >> >>>
>>> >> >>> Hi,
>>> >> >>>
>>> >> >>> Please have a look at this and provide a solution. If you can't
>>> find a
>>> >> >>> proper solution soon, let's comment out the test case and create
>>> a L1
>>> >> >>> for
>>> >> >>> it.
>>> >> >>>
>>> >> >>> thanks,
>>> >> >>> dimuthu
>>> >> >>>
>>> >> >>>
>>> >> >>> On Mon, Apr 2, 2012 at 2:31 PM, Afkham Azeez <[email protected]>
>>> wrote:
>>> >> >>>>
>>> >> >>>> Just got through the test code, and think about the cases in
>>> which
>>> >> >>>> this
>>> >> >>>> assertion failure can occur. Don't be hasty to blame Bamboo. If
>>> there
>>> >> >>>> are
>>> >> >>>> threading issues, they may manifest on some environments but not
>>> >> >>>> others.
>>> >> >>>>
>>> >> >>>>
>>> >> >>>> On Mon, Apr 2, 2012 at 2:15 PM, Senaka Fernando <[email protected]
>>> >
>>> >> >>>> wrote:
>>> >> >>>>>
>>> >> >>>>> Hi Pradeep,
>>> >> >>>>>
>>> >> >>>>> It is not intermittent. But, how is this not reproducible
>>> locally?
>>> >> >>>>> And,
>>> >> >>>>> how did this just start happening without any changes to the
>>> code?
>>> >> >>>>> Subash/Vijitha are working on a build of the whole platform on a
>>> >> >>>>> clean repo.
>>> >> >>>>> We'll be able to make a decision on the reliability of Bamboo
>>> after
>>> >> >>>>> that.
>>> >> >>>>>
>>> >> >>>>> Thanks,
>>> >> >>>>> Senaka.
>>> >> >>>>>
>>> >> >>>>> On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando <
>>> [email protected]>
>>> >> >>>>> wrote:
>>> >> >>>>>>
>>> >> >>>>>> Hi,
>>> >> >>>>>>
>>> >> >>>>>> we had a config issue in bamboo. This is not intermittent.
>>> Someone
>>> >> >>>>>> has
>>> >> >>>>>> to fix it. Yes bamboo is reliable.
>>> >> >>>>>>
>>> >> >>>>>> --Pradeep
>>> >> >>>>>>
>>> >> >>>>>> _______________________________________________
>>> >> >>>>>> Dev mailing list
>>> >> >>>>>> [email protected]
>>> >> >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>> >> >>>>>>
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>> --
>>> >> >>>>> Senaka Fernando
>>> >> >>>>> Product Manager - WSO2 Governance Registry;
>>> >> >>>>> Associate Technical Lead; WSO2 Inc.; http://wso2.com
>>> >> >>>>> Member; Apache Software Foundation; http://apache.org
>>> >> >>>>>
>>> >> >>>>> E-mail: senaka AT wso2.com
>>> >> >>>>> P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818
>>> >> >>>>> Linked-In: http://linkedin.com/in/senakafernando
>>> >> >>>>>
>>> >> >>>>> Lean . Enterprise . Middleware
>>> >> >>>>>
>>> >> >>>>
>>> >> >>>>
>>> >> >>>>
>>> >> >>>> --
>>> >> >>>> Afkham Azeez
>>> >> >>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> >> >>>> Member; Apache Software Foundation; http://www.apache.org/
>>> >> >>>>
>>> >> >>>> email: [email protected] cell: +94 77 3320919
>>> >> >>>> blog: http://blog.afkham.org
>>> >> >>>> twitter: http://twitter.com/afkham_azeez
>>> >> >>>> linked-in: http://lk.linkedin.com/in/afkhamazeez
>>> >> >>>>
>>> >> >>>> Lean . Enterprise . Middleware
>>> >> >>>>
>>> >> >>>>
>>> >> >>>> _______________________________________________
>>> >> >>>> Dev mailing list
>>> >> >>>> [email protected]
>>> >> >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>> >> >>>>
>>> >> >>>
>>> >> >>>
>>> >> >>>
>>> >> >>> --
>>> >> >>> Dimuthu Leelarathne
>>> >> >>> Technical Lead
>>> >> >>>
>>> >> >>> WSO2, Inc. (http://wso2.com)
>>> >> >>> email: [email protected]
>>> >> >>>
>>> >> >>>
>>> >> >>> Lean . Enterprise . Middleware
>>> >> >>>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> --
>>> >> >> Senaka Fernando
>>> >> >> Product Manager - WSO2 Governance Registry;
>>> >> >> Associate Technical Lead; WSO2 Inc.; http://wso2.com
>>> >> >> Member; Apache Software Foundation; http://apache.org
>>> >> >>
>>> >> >> E-mail: senaka AT wso2.com
>>> >> >> P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818
>>> >> >> Linked-In: http://linkedin.com/in/senakafernando
>>> >> >>
>>> >> >> Lean . Enterprise . Middleware
>>> >> >>
>>> >> >>
>>> >> >> _______________________________________________
>>> >> >> Dev mailing list
>>> >> >> [email protected]
>>> >> >> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>> >> >>
>>> >> >
>>> >> >
>>> >> >
>>> >> > --
>>> >> > Charith Dhanushka Wickramarachchi
>>> >> > Software Engineer
>>> >> > WSO2 Inc
>>> >> > http://wso2.com/
>>> >> > http://wso2.org/
>>> >> >
>>> >> > blog
>>> >> > http://charithwiki.blogspot.com/
>>> >> >
>>> >> > twitter
>>> >> > http://twitter.com/charithwiki
>>> >> >
>>> >> > Mobile : 0776706568
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> S.Uthaiyashankar
>>> >> Senior Architect
>>> >> WSO2 Inc.
>>> >> http://wso2.com/ - "lean . enterprise . middleware"
>>> >>
>>> >> Phone: +94 714897591
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Charith Dhanushka Wickramarachchi
>>> > Software Engineer
>>> > WSO2 Inc
>>> > http://wso2.com/
>>> > http://wso2.org/
>>> >
>>> > blog
>>> > http://charithwiki.blogspot.com/
>>> >
>>> > twitter
>>> > http://twitter.com/charithwiki
>>> >
>>> > Mobile : 0776706568
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> S.Uthaiyashankar
>>> Senior Architect
>>> WSO2 Inc.
>>> http://wso2.com/ - "lean . enterprise . middleware"
>>>
>>> Phone: +94 714897591
>>>
>>
>>
>>
>> --
>> *Senaka Fernando*
>> Product Manager - WSO2 Governance Registry;
>> Associate Technical Lead; WSO2 Inc.; http://wso2.com*
>> Member; Apache Software Foundation; http://apache.org
>>
>> E-mail: senaka AT wso2.com
>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>> Linked-In: http://linkedin.com/in/senakafernando
>>
>> *Lean . Enterprise . Middleware
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>


-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to