All tests passed for me except TestSocketDataLoader:
Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec
------------- Standard Output ---------------
pipeline established; now pushing a chunk
------------- ---------------- ---------------
Testcase:
testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
FAILED
expected:<a> but was:<[...@2353f67e>
junit.framework.AssertionFailedError: expected:<a> but was:<[...@2353f67e>
at
org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)
On Mon, Feb 22, 2010 at 2:01 PM, Eric Yang <[email protected]> wrote:
> I don't see the error in TestWidgetResource on my side. Could you show me
> the hicc.log from /tmp/chukwa/logs, and test output *.txt files? Thanks.
>
> Patch for CHUKWA-440 is staled. I have another patch coming soon.
>
> Regards,
> Eric
>
>
> On 2/22/10 1:54 PM, "Ariel Rabkin" <[email protected]> wrote:
>
> > Hi all.
> >
> > At least on my machine, we have a couple unit test failures. I
> > suspect these are just quirks in the unit test framework setup, not
> > serious bugs. But we should fix them before doing a release. There
> > was also one for the TestCreateRecordFile test, but I fixed it.
> >
> > Are these errors showing up for the rest of you? If not, I'll send
> > over my test output files.
> >
> > --Ari
> >
> > ...
> > [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource
> > FAILED
> > [junit] Running
> org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
> > [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
> > [junit] 2010-02-22 12:22:57.748::INFO: Shutdown hook executing
> > [junit] 2010-02-22 12:22:57.748::INFO: Graceful shutdown
> > [email protected]:8080
> > [junit] 2010-02-22 12:22:57.749::INFO: Graceful shutdown
> > org.mortbay.jetty.webapp.webappcont...@6e75d758
> {/hicc,jar:file:/Users/asrabkin
> > /apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
> > [junit] 2010-02-22 12:22:58.891::INFO: Shutdown hook complete
> > [junit] Test
> > org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
> > [junit] Running
> > org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
> > [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251
> sec
> > [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
> > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656
> sec.
> > ..
> >
>
>