You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bloodhound.apache.org by Olemis Lang <ol...@gmail.com> on 2013/03/21 16:20:44 UTC
[REGRESSION] Bloodhound multiproduct : test report 20/3/2013
FYI
Since yesterday 12 new errors have emerged . They are related to
ProductTicketQuery instantiating ProductEnvironment with parent env
set to an instance of the very same class , which is a violation of
the type contract.
Details :
http://pastebin.com/VCcMVkAH
--
Regards,
Olemis.
Re: [REGRESSION] Bloodhound multiproduct : test report 20/3/2013
Posted by Matevž Bradač <ma...@digiverse.si>.
I'll have a look, it's probably related to my changes (wrt. ProductizedHref used in the ProductQuery).
Thanks,
--
matevz
On 21. Mar, 2013, at 16:20, Olemis Lang wrote:
> FYI
>
> Since yesterday 12 new errors have emerged . They are related to
> ProductTicketQuery instantiating ProductEnvironment with parent env
> set to an instance of the very same class , which is a violation of
> the type contract.
>
> Details :
> http://pastebin.com/VCcMVkAH
>
> --
> Regards,
>
> Olemis.
Re: [REGRESSION] Bloodhound multiproduct : test report 20/3/2013
Posted by Olemis Lang <ol...@gmail.com>.
On 3/25/13, Matevž Bradač <ma...@digiverse.si> wrote:
>
> On 24. Mar, 2013, at 7:27, Olemis Lang wrote:
>
>> Hi !
>> :)
>>
>> ... sorry for the delay ...
>>
>> On 3/22/13, Matevž Bradač <ma...@digiverse.si> wrote:
[...]
>>
>> All those are failure modes . The root cause is TBD . AFAICT if not
>> obvious , some debugging will be required .
>
> Ok, I'll rerun the tests using your hg repo and check for the differences
> with regards to svn.
>
> (And just for the record, I'm testing with python 2.7.3)
>
/me testing against ...
{{{
#!sh
$ python -V
Python 2.6.5
}}}
... so maybe that's it . I'll rerun the test with 2.7.x to see what I get .
--
Regards,
Olemis.
Re: [REGRESSION] Bloodhound multiproduct : test report 20/3/2013
Posted by Matevž Bradač <ma...@digiverse.si>.
On 24. Mar, 2013, at 7:27, Olemis Lang wrote:
> Hi !
> :)
>
> ... sorry for the delay ...
>
> On 3/22/13, Matevž Bradač <ma...@digiverse.si> wrote:
>> Please re-check against r1459737, it should fix the ProductTicketQuery
>> issues.
>>
>
> I did [1]_
>
>> Also, how do you manage to get so many testcases run without any errors?
>
> <joke> it's the vitamin X , only found in exclusive beers </joke>
No voodoo then =)
>
> Seriously . The last test report is more verbose than usual (file
> paths still obfuscated) and illustrates what I did to run the test
> suite . I use a local mercurial (hgsubversion) mirror on Ubuntu 10.04
> and MQ extension on top to work on patches , I do not know if that can
> alter test results but I'm hoping that's not the case .
>
>> Is
>> there any special
>> setup that needs to be done before running the tests?
>
> beyond what you see in [1]_ just the initial virtualenv install +
> setup.py deploy and obfuscated file paths . No further tricks .
>
>> I'm asking because I
>> usually get 132
>> errors no matter what I do (reinstalled everything from scratch etc.).
>>
>
> interesting ...
>
>> Most of the errors seem to be of two types:
>> 1. missing product errors, e.g.:
>> ========== expected: ==========
>> <a href="/products/tp1/query?id=1-123456789012345678901234" title="[tp1]
>> Tickets 1-123456789012345678901234">#1-123456789012345678901234</a>
>>
>> ========== actual: ==========
>> <a class="missing product">product:tp1:#1-123456789012345678901234</a>
>>
>> ========== wiki: ==========
>> u'
>> product:tp1:#1-123456789012345678901234
>> '
>>
>
> this is obviously about a missing product .
Yes, although I'm not yet sure why - tp1 is the default product created
during the tests.
>
>> 2. "Trac's Trac" errors:
>> ========== expected: ==========
>> <p>
>> <a class="ext-link" href="http://trac.edgewall.org/intertrac/InterTrac"
>> title="InterTrac in Trac\'s Trac"><span class="icon"></span>t:InterTrac</a>
>>
>> ========== actual: ==========
>> <p>
>> t:InterTrac
>> <a class="ext-link" href="http://trac.edgewall.org/intertrac/InterTrac"
>> title="InterTrac in Trac project trac"><span
>> class="icon"></span>trac:InterTrac</a>
>>
>> ========== wiki: ==========
>> u'
>> t:InterTrac
>>
>
> this is a (product) misconfiguration in some test cases setup code .
>
> All those are failure modes . The root cause is TBD . AFAICT if not
> obvious , some debugging will be required .
Ok, I'll rerun the tests using your hg repo and check for the differences
with regards to svn.
(And just for the record, I'm testing with python 2.7.3)
>
> .. [1] Bloodhound multiproduct : test report 23/3/2013
> (http://pastebin.com/EPpqwyTg)
>
> --
> Regards,
>
> Olemis.
Thanks,
--
matevz
Re: [REGRESSION] Bloodhound multiproduct : test report 20/3/2013
Posted by Olemis Lang <ol...@gmail.com>.
Hi !
:)
... sorry for the delay ...
On 3/22/13, Matevž Bradač <ma...@digiverse.si> wrote:
> Please re-check against r1459737, it should fix the ProductTicketQuery
> issues.
>
I did [1]_
> Also, how do you manage to get so many testcases run without any errors?
<joke> it's the vitamin X , only found in exclusive beers </joke>
Seriously . The last test report is more verbose than usual (file
paths still obfuscated) and illustrates what I did to run the test
suite . I use a local mercurial (hgsubversion) mirror on Ubuntu 10.04
and MQ extension on top to work on patches , I do not know if that can
alter test results but I'm hoping that's not the case .
> Is
> there any special
> setup that needs to be done before running the tests?
beyond what you see in [1]_ just the initial virtualenv install +
setup.py deploy and obfuscated file paths . No further tricks .
> I'm asking because I
> usually get 132
> errors no matter what I do (reinstalled everything from scratch etc.).
>
interesting ...
> Most of the errors seem to be of two types:
> 1. missing product errors, e.g.:
> ========== expected: ==========
> <a href="/products/tp1/query?id=1-123456789012345678901234" title="[tp1]
> Tickets 1-123456789012345678901234">#1-123456789012345678901234</a>
>
> ========== actual: ==========
> <a class="missing product">product:tp1:#1-123456789012345678901234</a>
>
> ========== wiki: ==========
> u'
> product:tp1:#1-123456789012345678901234
> '
>
this is obviously about a missing product .
> 2. "Trac's Trac" errors:
> ========== expected: ==========
> <p>
> <a class="ext-link" href="http://trac.edgewall.org/intertrac/InterTrac"
> title="InterTrac in Trac\'s Trac"><span class="icon"></span>t:InterTrac</a>
>
> ========== actual: ==========
> <p>
> t:InterTrac
> <a class="ext-link" href="http://trac.edgewall.org/intertrac/InterTrac"
> title="InterTrac in Trac project trac"><span
> class="icon"></span>trac:InterTrac</a>
>
> ========== wiki: ==========
> u'
> t:InterTrac
>
this is a (product) misconfiguration in some test cases setup code .
All those are failure modes . The root cause is TBD . AFAICT if not
obvious , some debugging will be required .
.. [1] Bloodhound multiproduct : test report 23/3/2013
(http://pastebin.com/EPpqwyTg)
--
Regards,
Olemis.
Re: [REGRESSION] Bloodhound multiproduct : test report 20/3/2013
Posted by Matevž Bradač <ma...@digiverse.si>.
Please re-check against r1459737, it should fix the ProductTicketQuery issues.
Also, how do you manage to get so many testcases run without any errors? Is there any special
setup that needs to be done before running the tests? I'm asking because I usually get 132
errors no matter what I do (reinstalled everything from scratch etc.).
Most of the errors seem to be of two types:
1. missing product errors, e.g.:
========== expected: ==========
<a href="/products/tp1/query?id=1-123456789012345678901234" title="[tp1] Tickets 1-123456789012345678901234">#1-123456789012345678901234</a>
========== actual: ==========
<a class="missing product">product:tp1:#1-123456789012345678901234</a>
========== wiki: ==========
u'
product:tp1:#1-123456789012345678901234
'
2. "Trac's Trac" errors:
========== expected: ==========
<p>
<a class="ext-link" href="http://trac.edgewall.org/intertrac/InterTrac" title="InterTrac in Trac\'s Trac"><span class="icon"></span>t:InterTrac</a>
========== actual: ==========
<p>
t:InterTrac
<a class="ext-link" href="http://trac.edgewall.org/intertrac/InterTrac" title="InterTrac in Trac project trac"><span class="icon"></span>trac:InterTrac</a>
========== wiki: ==========
u'
t:InterTrac
Thanks,
--
matevz
On 21. Mar, 2013, at 16:20, Olemis Lang wrote:
> FYI
>
> Since yesterday 12 new errors have emerged . They are related to
> ProductTicketQuery instantiating ProductEnvironment with parent env
> set to an instance of the very same class , which is a violation of
> the type contract.
>
> Details :
> http://pastebin.com/VCcMVkAH
>
> --
> Regards,
>
> Olemis.