[ https://issues.apache.org/jira/browse/FLINK-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabian Hueske closed FLINK-1494. -------------------------------- Resolution: Not a Problem The build failure was caused by not cleaned up artefacts, i.e., not calling Maven's {{clean}} target. Building with {{mvn clean test}} succeeds. > Build fails on BlobCacheTest > ---------------------------- > > Key: FLINK-1494 > URL: https://issues.apache.org/jira/browse/FLINK-1494 > Project: Flink > Issue Type: Bug > Components: Local Runtime, TaskManager > Environment: Apache Maven 3.0.5 > Maven home: /usr/share/maven > Java version: 1.7.0_65, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "3.16.0-4-amd64", arch: "amd64", family: "unix" > Reporter: Fabian Hueske > > Building Flink with Maven repeatedly fails with the following error: > {code} > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 127.283 > sec <<< FAILURE! - in org.apache.flink.runtime.blob.BlobCacheTest > testBlobCache(org.apache.flink.runtime.blob.BlobCacheTest) Time > elapsed: 127.282 sec <<< FAILURE! > java.lang.AssertionError: Could not connect to BlobServer at address > 0.0.0.0/0.0.0.0:56760 > at org.junit.Assert.fail(Assert.java:88) > at > org.apache.flink.runtime.blob.BlobCacheTest.testBlobCache(BlobCacheTest.java:109) > java.io.IOException: Could not connect to BlobServer at address > 0.0.0.0/0.0.0.0:52657 > at > org.apache.flink.runtime.blob.BlobClient.<init>(BlobClient.java:61) > at > org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManagerTest.testLibraryCacheManagerCleanup(BlobLibraryCacheManagerTest.java:56) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) > Caused by: java.net.ConnectException: Connection timed out > at java.net.PlainSocketImpl.socketConnect(Native Method) > at > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) > at > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204) > at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) > at java.net.Socket.connect(Socket.java:589) > at java.net.Socket.connect(Socket.java:538) > at > org.apache.flink.runtime.blob.BlobClient.<init>(BlobClient.java:59) > ... 24 more > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 127.299 > sec <<< FAILURE! - in > org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManagerTest > testLibraryCacheManagerCleanup(org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManagerTest) > Time elapsed: 127.298 sec <<< FAILURE! > java.lang.AssertionError: Could not connect to BlobServer at address > 0.0.0.0/0.0.0.0:52657 > at org.junit.Assert.fail(Assert.java:88) > at > org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManagerTest.testLibraryCacheManagerCleanup(BlobLibraryCacheManagerTest.java:108) > Results : > Failed tests: > BlobCacheTest.testBlobCache:109 Could not connect to BlobServer at > address 0.0.0.0/0.0.0.0:56760 > BlobLibraryCacheManagerTest.testLibraryCacheManagerCleanup:108 Could > not connect to BlobServer at address 0.0.0.0/0.0.0.0:52657 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)