Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.18.0
-
None
-
None
Description
TestDynamicUDFSupport started failing again on CI.
This test uses Drill 1.13 jars for tests, but these jars were using http://repo.dremio.com/release/ repository, which is unavailable for now, so failure is seen when maven tries to fetch something from this repo.
Here is a relevant error with enabled logging:
2020-05-11T20:17:54.8044724Z 20:17:54.803 [main] ERROR o.a.d.exec.udf.dynamic.JarBuilder$1 - Failed to execute goal on project drill-udf: Could not resolve dependencies for project org.apache.drill.udf:drill-udf:jar:1.0: Failed to collect dependencies at org.apache.drill.exec:drill-java-exec:jar:1.13.0 -> org.apache.calcite:calcite-core:jar:1.15.0-drill-r0: Failed to read artifact descriptor for org.apache.calcite:calcite-core:jar:1.15.0-drill-r0: Could not transfer artifact org.apache.calcite:calcite-core:pom:1.15.0-drill-r0 from/to dremio-releases (http://repo.dremio.com/release/): Transfer failed for http://repo.dremio.com/release/org/apache/calcite/calcite-core/1.15.0-drill-r0/calcite-core-1.15.0-drill-r0.pom: Unknown host repo.dremio.com: Name or service not known -> [Help 1] 2020-05-11T20:17:54.8139658Z 20:17:54.813 [main] ERROR o.a.d.exec.udf.dynamic.JarBuilder$1 - 2020-05-11T20:17:54.8144837Z 20:17:54.814 [main] ERROR o.a.d.exec.udf.dynamic.JarBuilder$1 - To see the full stack trace of the errors, re-run Maven with the -e switch. 2020-05-11T20:17:54.8148867Z 20:17:54.814 [main] ERROR o.a.d.exec.udf.dynamic.JarBuilder$1 - Re-run Maven using the -X switch to enable full debug logging. 2020-05-11T20:17:54.8151736Z 20:17:54.814 [main] ERROR o.a.d.exec.udf.dynamic.JarBuilder$1 - 2020-05-11T20:17:54.8155634Z 20:17:54.815 [main] ERROR o.a.d.exec.udf.dynamic.JarBuilder$1 - For more information about the errors and possible solutions, please read the following articles: 2020-05-11T20:17:54.8160874Z 20:17:54.815 [main] ERROR o.a.d.exec.udf.dynamic.JarBuilder$1 - [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException 2020-05-11T20:17:56.4581196Z [INFO] Running org.apache.drill.exec.udf.dynamic.TestDynamicUDFSupport 2020-05-11T20:17:56.4860577Z [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.017 s <<< FAILURE! - in org.apache.drill.exec.udf.dynamic.TestDynamicUDFSupport 2020-05-11T20:17:56.4867090Z [ERROR] org.apache.drill.exec.udf.dynamic.TestDynamicUDFSupport Time elapsed: 0.012 s <<< FAILURE! 2020-05-11T20:17:56.4871764Z java.lang.AssertionError: Build should be successful. expected:<0> but was:<1> 2020-05-11T20:17:56.4878002Z at org.apache.drill.exec.udf.dynamic.TestDynamicUDFSupport.buildJars(TestDynamicUDFSupport.java:909) 2020-05-11T20:17:56.4884892Z at org.apache.drill.exec.udf.dynamic.TestDynamicUDFSupport.buildAndStoreDefaultJars(TestDynamicUDFSupport.java:93)
This repository was removed in DRILL-6470, so using 1.14 or newer version should fix the failure.
But in fix will be used 1.17 to reduce dependencies versioning differences.