You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Thorsten Scherler <th...@wyona.com> on 2006/07/24 11:51:01 UTC
Tests on zones server are failing
Hi all,
http://lenya.zones.apache.org/log/lenya.trunk.update.log
Testcase: testDefaultSiteTreeString took 0.393 sec
Caused an ERROR
UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication]) (Key='org.apache.lenya.ac.AccessControllerResolverSelector/publication')
org.apache.avalon.framework.service.ServiceException: UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication]) (Key='org.apache.lenya.ac.AccessControllerResolverSelector/publication')
at org.apache.avalon.framework.service.WrapperServiceSelector.select(WrapperServiceSelector.java:85)
at org.apache.lenya.ac.impl.AbstractAccessControlTest.setUp(AbstractAccessControlTest.java:103)
at org.apache.lenya.cms.site.tree.DefaultSiteTreeTest.setUp(DefaultSiteTreeTest.java:46)
Caused by: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication])
at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:208)
at org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedComponentSelector.java:262)
at org.apache.avalon.framework.service.WrapperServiceSelector.select(WrapperServiceSelector.java:81)
... 43 more
BUILD FAILED
Does somebody knows what is going on?
salu2
--
Thorsten Scherler
COO Spain
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
thorsten.scherler@wyona.com thorsten@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Tests on zones server are failing
Posted by Andreas Hartmann <an...@apache.org>.
Thorsten Scherler wrote:
> Hi all,
>
> http://lenya.zones.apache.org/log/lenya.trunk.update.log
>
> Testcase: testDefaultSiteTreeString took 0.393 sec
> Caused an ERROR
> UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication]) (Key='org.apache.lenya.ac.AccessControllerResolverSelector/publication')
> org.apache.avalon.framework.service.ServiceException: UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication]) (Key='org.apache.lenya.ac.AccessControllerResolverSelector/publication')
> at org.apache.avalon.framework.service.WrapperServiceSelector.select(WrapperServiceSelector.java:85)
> at org.apache.lenya.ac.impl.AbstractAccessControlTest.setUp(AbstractAccessControlTest.java:103)
> at org.apache.lenya.cms.site.tree.DefaultSiteTreeTest.setUp(DefaultSiteTreeTest.java:46)
> Caused by: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication])
> at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:208)
> at org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedComponentSelector.java:262)
> at org.apache.avalon.framework.service.WrapperServiceSelector.select(WrapperServiceSelector.java:81)
> ... 43 more
>
> BUILD FAILED
>
> Does somebody knows what is going on?
The problem is that the sitetree module tests need the configuration from
the ac-impl module. I added the dependency, but this is not a nice solution.
When I find the time I'll change the build process so that all module
configuration patches are applied before the tests are run. The
drawback is that executing the tests for a single module will take
longer (that's why I changed it in the first place).
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
andreas.hartmann@wyona.com andreas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Tests on zones server are failing
Posted by Andreas Hartmann <an...@apache.org>.
Thorsten Scherler wrote:
[...]
> Ok, I found a mail in the infrastructure ml "Helios / zones - sendmail
> turned of" from Mon, 27 Mar 2006 10:57:14 +0200.
>
> We needed to turn it on again. I solved it by login with my user and
> then
> sudo su
> svcadm enable svc:/network/smtp:sendmail
>
> This is the reason for the sudden mail flood from zones.
>
> Should work now again.
Cool, thanks
[...]
> Maybe we should remove "exit 1" for the test build, this way the demo
> can up again and we still get the notification that the test fails.
+1 for removing it
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
andreas.hartmann@wyona.com andreas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Tests on zones server are failing
Posted by Thorsten Scherler <th...@wyona.com>.
El lun, 24-07-2006 a las 12:59 +0200, Andreas Hartmann escribió:
> Thorsten Scherler wrote:
> > El lun, 24-07-2006 a las 12:03 +0200, Andreas Hartmann escribió:
> >> Thorsten Scherler wrote:
> >>> Hi all,
> >>>
> >>> http://lenya.zones.apache.org/log/lenya.trunk.update.log
> >>>
> >>> Testcase: testDefaultSiteTreeString took 0.393 sec
> >>> Caused an ERROR
> >> BTW, do you know why it doesn't send a mail to dev@lenya?
> >> Or is this disabled?
> >
> > No, clue. We did not changed the script.
> >
> > I will have a look
>
> OK, thanks a lot!
Ok, I found a mail in the infrastructure ml "Helios / zones - sendmail
turned of" from Mon, 27 Mar 2006 10:57:14 +0200.
We needed to turn it on again. I solved it by login with my user and
then
sudo su
svcadm enable svc:/network/smtp:sendmail
This is the reason for the sudden mail flood from zones.
Should work now again.
>
> > (while you are fixing the tests). ;)
>
> I'm afraid that will need some help from the other devs ...
>
> (see thread "TestProxyGeneratorServlet doesn't contain any tests").
Hmm, yeah you are right.
The problem is due to the test failing we cannot get the demo running.
./build.sh test >> $logfile 2>&1
check=`cat $logfile|grep "BUILD FAILED"`
echo "statusCheck=$check" >> $logfile
if [ -n "$check" ]; then
subject="[lenya.trunk.update] lenya-trunk tests failed"
message="Please resolve possible conflicts by hand login into the
zone server and looking at /export/home/lenya/src/lenya-trunk"
sendMsg "$subject" "$weblog" "$message"
exit 1
fi
Maybe we should remove "exit 1" for the test build, this way the demo
can up again and we still get the notification that the test fails.
wdyt?
salu2
--
Thorsten Scherler
COO Spain
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
thorsten.scherler@wyona.com thorsten@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Tests on zones server are failing
Posted by Andreas Hartmann <an...@apache.org>.
Thorsten Scherler wrote:
> El lun, 24-07-2006 a las 12:03 +0200, Andreas Hartmann escribió:
>> Thorsten Scherler wrote:
>>> Hi all,
>>>
>>> http://lenya.zones.apache.org/log/lenya.trunk.update.log
>>>
>>> Testcase: testDefaultSiteTreeString took 0.393 sec
>>> Caused an ERROR
>> BTW, do you know why it doesn't send a mail to dev@lenya?
>> Or is this disabled?
>
> No, clue. We did not changed the script.
>
> I will have a look
OK, thanks a lot!
> (while you are fixing the tests). ;)
I'm afraid that will need some help from the other devs ...
(see thread "TestProxyGeneratorServlet doesn't contain any tests").
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
andreas.hartmann@wyona.com andreas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Tests on zones server are failing
Posted by Thorsten Scherler <th...@apache.org>.
El lun, 24-07-2006 a las 12:03 +0200, Andreas Hartmann escribió:
> Thorsten Scherler wrote:
> > Hi all,
> >
> > http://lenya.zones.apache.org/log/lenya.trunk.update.log
> >
> > Testcase: testDefaultSiteTreeString took 0.393 sec
> > Caused an ERROR
>
> BTW, do you know why it doesn't send a mail to dev@lenya?
> Or is this disabled?
No, clue. We did not changed the script.
I will have a look (while you are fixing the tests). ;)
salu2
> -- Andreas
>
> > UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication]) (Key='org.apache.lenya.ac.AccessControllerResolverSelector/publication')
> > org.apache.avalon.framework.service.ServiceException: UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication]) (Key='org.apache.lenya.ac.AccessControllerResolverSelector/publication')
> > at org.apache.avalon.framework.service.WrapperServiceSelector.select(WrapperServiceSelector.java:85)
> > at org.apache.lenya.ac.impl.AbstractAccessControlTest.setUp(AbstractAccessControlTest.java:103)
> > at org.apache.lenya.cms.site.tree.DefaultSiteTreeTest.setUp(DefaultSiteTreeTest.java:46)
> > Caused by: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication])
> > at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:208)
> > at org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedComponentSelector.java:262)
> > at org.apache.avalon.framework.service.WrapperServiceSelector.select(WrapperServiceSelector.java:81)
> > ... 43 more
> >
> > BUILD FAILED
> >
> > Does somebody knows what is going on?
> >
> > salu2
>
>
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Tests on zones server are failing
Posted by Andreas Hartmann <an...@apache.org>.
Thorsten Scherler wrote:
> Hi all,
>
> http://lenya.zones.apache.org/log/lenya.trunk.update.log
>
> Testcase: testDefaultSiteTreeString took 0.393 sec
> Caused an ERROR
BTW, do you know why it doesn't send a mail to dev@lenya?
Or is this disabled?
-- Andreas
> UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication]) (Key='org.apache.lenya.ac.AccessControllerResolverSelector/publication')
> org.apache.avalon.framework.service.ServiceException: UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication]) (Key='org.apache.lenya.ac.AccessControllerResolverSelector/publication')
> at org.apache.avalon.framework.service.WrapperServiceSelector.select(WrapperServiceSelector.java:85)
> at org.apache.lenya.ac.impl.AbstractAccessControlTest.setUp(AbstractAccessControlTest.java:103)
> at org.apache.lenya.cms.site.tree.DefaultSiteTreeTest.setUp(DefaultSiteTreeTest.java:46)
> Caused by: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint [publication] (key [publication])
> at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:208)
> at org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedComponentSelector.java:262)
> at org.apache.avalon.framework.service.WrapperServiceSelector.select(WrapperServiceSelector.java:81)
> ... 43 more
>
> BUILD FAILED
>
> Does somebody knows what is going on?
>
> salu2
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
andreas.hartmann@wyona.com andreas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org