mvn install fails out-of-the-box

12 views
Skip to first unread message

Guozhang Wang

unread,
Feb 4, 2015, 1:37:38 PM2/4/15
to tachyo...@googlegroups.com
Hello,

When I ran mvn install with the repo checked out fresh the following test always fails:

----------

Running tachyon.hadoop.fs.TestDFSIO

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.387 sec <<< FAILURE!

tachyon.hadoop.fs.TestDFSIO  Time elapsed: 9.387 sec  <<< ERROR!

java.io.IOException: Job failed!

at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1265)

at tachyon.hadoop.fs.TestDFSIO.runIOTest(TestDFSIO.java:466)

at tachyon.hadoop.fs.TestDFSIO.writeTest(TestDFSIO.java:449)

at tachyon.hadoop.fs.TestDFSIO.testWrite(TestDFSIO.java:243)

at tachyon.hadoop.fs.TestDFSIO.beforeClass(TestDFSIO.java:222)

----------

It may be reasonable as I do not have hadoop installed, but not expected as the out-of-the-box user. I am wondering if either 1) the wiki page for quick start needs to be updated or 2) this should be fixed to not dependent on hadoop?

Guozhang

Pengfei Xuan

unread,
Feb 4, 2015, 5:24:47 PM2/4/15
to tachyo...@googlegroups.com
Hi Guozhang,

Were you using virtual machine to compile Tachyon? Is it possible for you to test Tachyon on a different machine? 


Best,
Pengfei   

Guozhang Wang

unread,
Feb 4, 2015, 8:55:44 PM2/4/15
to tachyo...@googlegroups.com
I was running on a Mac laptop with Mac OS.

I could try on some Linux machine.

Guozhang

Pengfei Xuan

unread,
Feb 4, 2015, 9:05:48 PM2/4/15
to tachyo...@googlegroups.com
I see. Linux machine should be able to solve your problem. 

Haoyuan Li

unread,
Feb 4, 2015, 9:17:47 PM2/4/15
to Pengfei Xuan, tachyo...@googlegroups.com

It should also work on Mac. If not, it should be a bug...

Haoyuan

--
You received this message because you are subscribed to the Google Groups "Tachyon Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tachyon-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pengfei Xuan

unread,
Feb 4, 2015, 9:19:58 PM2/4/15
to tachyo...@googlegroups.com, px...@g.clemson.edu
I guess current issue is caused by testing timeout on a low performance machine. 

Henry Saputra

unread,
Feb 4, 2015, 9:25:01 PM2/4/15
to Guozhang Wang, tachyo...@googlegroups.com
Do you see anything else in the log or core/log directory?

- Henry
--

常铖

unread,
Feb 4, 2015, 10:32:20 PM2/4/15
to tachyo...@googlegroups.com
last night, I also failed this test on my mac... 




在 2015年2月5日星期四 UTC+8上午2:37:38,Guozhang Wang写道:

Rolland Waters

unread,
Feb 5, 2015, 10:37:43 AM2/5/15
to tachyo...@googlegroups.com
On Wed, Feb 4, 2015 at 6:17 PM, Haoyuan Li <haoyu...@gmail.com> wrote:

It should also work on Mac. If not, it should be a bug...

I've been struggling with this on a Mac as well (with 0.6.0 Master.)

It builds correctly with an install writeup that I have (different from what's posted) and will run tests, but may or may not start the web server correctly.

However, I have been unable to get the build to run within Eclipse.

I'll post details both of my Mac installation and specific issues in a couple of hours as I'm not on that machine now.

I've been working with Rob Vesse, and the build under his Eclipse works but he occasionally has the same issue with the web server.

So there does appear to be some dependency but we have not yet uncovered it.


Rolland
 

Rolland Waters

unread,
Feb 5, 2015, 1:17:48 PM2/5/15
to tachyo...@googlegroups.com
This is the failure I get when trying to build from my Eclipse installation:

Running tachyon.command.TFsShellTest
Tests run: 34, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 432.574 sec <<< FAILURE!
freeTest(tachyon.command.TFsShellTest)  Time elapsed: 7.455 sec  <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:92)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertFalse(Assert.java:68)
at org.junit.Assert.assertFalse(Assert.java:79)
at tachyon.command.TFsShellTest.freeTest(TFsShellTest.java:588)

When running from the command line, all tests pass:

Results :
Tests run: 349, Failures: 0, Errors: 0, Skipped: 0

But Documentation generation still fails from the command line:

Generating /Users/rwaters/Documents/workspace/tachyon/core/target/apidocs/help-doc.html...
29 errors
100 warnings
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Tachyon Project Parent ............................. SUCCESS [ 11.371 s]
[INFO] Tachyon Project Core ............................... FAILURE [  01:27 h]
[INFO] Tachyon Project Client ............................. SKIPPED
[INFO] Tachyon Project Assemblies ......................... SKIPPED


Haoyuan Li

unread,
Feb 5, 2015, 3:59:58 PM2/5/15
to Rolland Waters, tachyo...@googlegroups.com
Rolland,

Thanks for the info. The built took more than 1 hour?

Best,

Haoyuan

--
You received this message because you are subscribed to the Google Groups "Tachyon Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tachyon-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Haoyuan Li
AMPLab, EECS, UC Berkeley

Rolland Waters

unread,
Feb 5, 2015, 4:06:21 PM2/5/15
to tachyo...@googlegroups.com
The build was rapid (although I didn't time it); the tests were what took the time. 

In particular:
Running tachyon.master.MasterInfoTest
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3,701.546 sec

There are a couple others in the 4-8 minute category:

Running tachyon.command.TFsShellTest
Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 436.188 sec

Running tachyon.worker.DataServerTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 249.555 sec

Running tachyon.master.JournalTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 250.657 sec


Haoyuan Li

unread,
Feb 5, 2015, 4:42:53 PM2/5/15
to Rolland Waters, tachyo...@googlegroups.com
Is this for the master branch? Here is the master branch build log on my laptop using `mvn install`:

Running tachyon.client.BlockInStreamTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.476 sec
Running tachyon.client.FileInStreamTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.416 sec
Running tachyon.client.FileOutStreamTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.217 sec
Running tachyon.client.LocalBlockInStreamTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.094 sec
Running tachyon.client.RemoteBlockInStreamTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.214 sec
Running tachyon.client.table.RawColumnTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.707 sec
Running tachyon.client.table.RawTableTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.136 sec
Running tachyon.client.TachyonFileTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.397 sec
Running tachyon.client.TachyonFileUpdateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.128 sec
Running tachyon.client.TachyonFSTest
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.857 sec
Running tachyon.command.TFsShellTest
Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 347.995 sec
Running tachyon.command.UtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.conf.UtilsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running tachyon.hadoop.fs.TestDFSIO
2015-02-05 13:27:17.856 java[2016:51024] Unable to load realm info from SCDynamicStore
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 103.727 sec
Running tachyon.hadoop.GlusterFSTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.hadoop.HdfsFileInputStreamTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.265 sec
Running tachyon.hadoop.TFSTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.415 sec
Running tachyon.hadoop.UtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.io.UtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.io.WriterReaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.master.BlockInfoTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.master.DependencyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.146 sec
Running tachyon.master.EditLogOperationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running tachyon.master.InodeFileTest
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running tachyon.master.InodeFolderTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running tachyon.master.JournalTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 174.17 sec
Running tachyon.master.MasterClientTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.594 sec
Running tachyon.master.MasterFaultToleranceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.143 sec
Running tachyon.master.MasterInfoTest
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 497.939 sec
Running tachyon.master.PinTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.168 sec
Running tachyon.master.RawTablesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running tachyon.PairTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.PrefixListTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.retry.ExponentialBackoffRetryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.TachyonURITest
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running tachyon.UnderFileSystemTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.UserInfoTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.util.CommonUtilsTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.32 sec
Running tachyon.util.NetworkUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.util.UnderfsUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.572 sec
Running tachyon.worker.BlockHandlerLocalTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.602 sec




Rolland Waters

unread,
Feb 5, 2015, 4:50:47 PM2/5/15
to tachyo...@googlegroups.com
Yes, this is master branch, I did the git get on Monday or Tuesday this week.


My full test log:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running tachyon.client.BlockHandlerLocalTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.673 sec
Running tachyon.client.BlockInStreamTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16 sec
Running tachyon.client.FileInStreamTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.231 sec
Running tachyon.client.FileOutStreamTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.261 sec
Running tachyon.client.LocalBlockInStreamTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.543 sec
Running tachyon.client.RemoteBlockInStreamTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.566 sec
Running tachyon.client.table.RawColumnTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.558 sec
Running tachyon.client.table.RawTableTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.569 sec
Running tachyon.client.TachyonFileTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.716 sec
Running tachyon.client.TachyonFileUpdateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.915 sec
Running tachyon.client.TachyonFSTest
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.709 sec
Running tachyon.command.TFsShellTest
Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 436.188 sec
Running tachyon.command.UtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.conf.UtilsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running tachyon.hadoop.fs.TestDFSIO
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.153 sec
Running tachyon.hadoop.GlusterFSTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.hadoop.HdfsFileInputStreamTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.724 sec
Running tachyon.hadoop.TFSTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.331 sec
Running tachyon.hadoop.UtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.io.UtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.io.WriterReaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.master.BlockInfoTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.master.DependencyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.867 sec
Running tachyon.master.EditLogOperationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running tachyon.master.InodeFileTest
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running tachyon.master.InodeFolderTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running tachyon.master.JournalTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 250.657 sec
Running tachyon.master.MasterClientTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.213 sec
Running tachyon.master.MasterFaultToleranceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.76 sec
Running tachyon.master.MasterInfoTest
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3,701.546 sec
Running tachyon.master.PinTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.046 sec
Running tachyon.master.RawTablesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running tachyon.PairTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.PrefixListTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.retry.ExponentialBackoffRetryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running tachyon.TachyonURITest
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running tachyon.UnderFileSystemTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.UserInfoTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.util.CommonUtilsTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec
Running tachyon.util.NetworkUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.util.UnderfsUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.404 sec
Running tachyon.worker.DataServerTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 249.555 sec
Running tachyon.worker.hierarchy.AllocateStrategyTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.357 sec
Running tachyon.worker.hierarchy.EvictStrategyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.274 sec
Running tachyon.worker.hierarchy.StorageDirTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.36 sec
Running tachyon.worker.hierarchy.StorageTierTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.31 sec
Running tachyon.worker.WorkerServiceHandlerTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.154 sec
Running tachyon.worker.WorkerStorageTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.016 sec

Results :

Tests run: 349, Failures: 0, Errors: 0, Skipped: 0

Guozhang Wang

unread,
Feb 5, 2015, 11:52:46 PM2/5/15
to tachyo...@googlegroups.com
I tried mvn install on my linux PC which is quite powerful, and it still fails but on other test cases, and it took me almost half an hour also.

Here is a full log:


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running tachyon.command.UtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.175 sec
Running tachyon.command.TFsShellTest
Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 345.778 sec
Running tachyon.hadoop.TFSTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.717 sec

Running tachyon.hadoop.UtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.hadoop.HdfsFileInputStreamTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.637 sec

Running tachyon.hadoop.GlusterFSTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.hadoop.fs.TestDFSIO
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.097 sec
Running tachyon.master.MasterClientTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.161 sec
Running tachyon.master.MasterInfoTest
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 356.339 sec
Running tachyon.master.MasterFaultToleranceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.08 sec
Running tachyon.master.RawTablesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running tachyon.master.DependencyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.803 sec
Running tachyon.master.PinTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.772 sec
Running tachyon.master.JournalTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 172.03 sec

Running tachyon.master.InodeFolderTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running tachyon.master.EditLogOperationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec

Running tachyon.master.InodeFileTest
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running tachyon.master.BlockInfoTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.util.CommonUtilsTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.307 sec
Running tachyon.util.NetworkUtilsTest
Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec <<< FAILURE!
replaceHostNameTest(tachyon.util.NetworkUtilsTest)  Time elapsed: 0.006 sec  <<< FAILURE!
java.lang.AssertionError: expected:<hdfs://guwang-ld2.linkedin.biz:9000/dir> but was:<hdfs://localhost:9000/dir>
    at org.junit.Assert.fail(Assert.java:93)
    at org.junit.Assert.failNotEquals(Assert.java:647)
    at org.junit.Assert.assertEquals(Assert.java:128)
    at org.junit.Assert.assertEquals(Assert.java:147)
    at tachyon.util.NetworkUtilsTest.replaceHostNameTest(NetworkUtilsTest.java:40)

resolveHostNameTest(tachyon.util.NetworkUtilsTest)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[guwang-ld2.linkedin.biz]> but was:<[localhost]>
    at org.junit.Assert.assertEquals(Assert.java:125)
    at org.junit.Assert.assertEquals(Assert.java:147)
    at tachyon.util.NetworkUtilsTest.resolveHostNameTest(NetworkUtilsTest.java:48)

getFqdnHostTest(tachyon.util.NetworkUtilsTest)  Time elapsed: 0 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[guwang-ld2.linkedin.biz]> but was:<[localhost]>
    at org.junit.Assert.assertEquals(Assert.java:125)
    at org.junit.Assert.assertEquals(Assert.java:147)
    at tachyon.util.NetworkUtilsTest.getFqdnHostTest(NetworkUtilsTest.java:53)

Running tachyon.util.UnderfsUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.372 sec

Running tachyon.UnderFileSystemTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.PrefixListTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.PairTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.conf.UtilsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.TachyonURITest
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running tachyon.worker.hierarchy.StorageDirTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.636 sec
Running tachyon.worker.hierarchy.AllocateStrategyTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.572 sec
Running tachyon.worker.hierarchy.StorageTierTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.591 sec
Running tachyon.worker.hierarchy.EvictStrategyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.359 sec
Running tachyon.worker.DataServerTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 161.065 sec
Running tachyon.worker.WorkerServiceHandlerTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.326 sec
Running tachyon.worker.WorkerStorageTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61 sec
Running tachyon.retry.ExponentialBackoffRetryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running tachyon.UserInfoTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

Running tachyon.io.WriterReaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running tachyon.io.UtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running tachyon.client.FileInStreamTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.322 sec
Running tachyon.client.table.RawColumnTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.656 sec
Running tachyon.client.table.RawTableTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.54 sec
Running tachyon.client.BlockHandlerLocalTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.623 sec
Running tachyon.client.LocalBlockInStreamTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.291 sec
Running tachyon.client.RemoteBlockInStreamTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.523 sec
Running tachyon.client.FileOutStreamTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.435 sec
Running tachyon.client.TachyonFSTest
Tests run: 30, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.847 sec <<< FAILURE!
toStringTest(tachyon.client.TachyonFSTest)  Time elapsed: 0.002 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<tachyon://[localhost]/127.0.0.1:19998> but was:<tachyon://[guwang-ld2.linkedin.biz]/127.0.0.1:19998>
    at org.junit.Assert.assertEquals(Assert.java:125)
    at org.junit.Assert.assertEquals(Assert.java:147)
    at tachyon.client.TachyonFSTest.toStringTest(TachyonFSTest.java:358)

Running tachyon.client.TachyonFileTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.843 sec
Running tachyon.client.TachyonFileUpdateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.337 sec
Running tachyon.client.BlockInStreamTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.102 sec

Results :

Failed tests:
  NetworkUtilsTest.replaceHostNameTest:40 expected:<hdfs://guwang-ld2.linkedin.biz:9000/dir> but was:<hdfs://localhost:9000/dir>
  NetworkUtilsTest.resolveHostNameTest:48 expected:<[guwang-ld2.linkedin.biz]> but was:<[localhost]>
  NetworkUtilsTest.getFqdnHostTest:53 expected:<[guwang-ld2.linkedin.biz]> but was:<[localhost]>
  TachyonFSTest.toStringTest:358 expected:<tachyon://[localhost]/127.0.0.1:19998> but was:<tachyon://[guwang-ld2.linkedin.biz]/127.0.0.1:19998>

Tests run: 349, Failures: 4, Errors: 0, Skipped: 0


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Tachyon Project Parent ............................. SUCCESS [  1.062 s]
[INFO] Tachyon Project Core ............................... FAILURE [26:33 min]

[INFO] Tachyon Project Client ............................. SKIPPED
[INFO] Tachyon Project Assemblies ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26:34 min
[INFO] Finished at: 2015-02-05T20:29:26-08:00
[INFO] Final Memory: 25M/380M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14:test (default-test) on project tachyon: There are test failures.
[ERROR]
[ERROR] Please refer to /home/guwang/Workspace/apache/tachyon/core/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :tachyon


-----

常铖

unread,
Feb 5, 2015, 11:56:02 PM2/5/15
to tachyo...@googlegroups.com
why is your 127.0.0.1 resolved to guwang-ld2.linkedin.biz?

在 2015年2月6日星期五 UTC+8下午12:52:46,Guozhang Wang写道:

Rolland Waters

unread,
Feb 6, 2015, 12:03:11 PM2/6/15
to tachyo...@googlegroups.com
OK, I have one cause isolated: the default power settings cause disk sleep even when the laptop is plugged in.

This appears to break the maven tests. 

This is also the cause of the delays in my test.

There appears to be at least one other issue, and I'll report back when I know more.



Haoyuan Li

unread,
Feb 6, 2015, 3:00:18 PM2/6/15
to Rolland Waters, tachyo...@googlegroups.com
Thanks for the update.

Best,

Haoyuan

--
You received this message because you are subscribed to the Google Groups "Tachyon Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tachyon-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Guozhang Wang

unread,
Feb 9, 2015, 1:59:17 PM2/9/15
to tachyo...@googlegroups.com
I am using my LinkedIn PC, which pre-defines its host name.

Should this be considered an issue, that the tests should handle such cases gracefully, or I have to force-override the hosts name in order to install?
Reply all
Reply to author
Forward
0 new messages