You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hivemall.apache.org by "Makoto Yui (Jira)" <ji...@apache.org> on 2021/03/21 04:50:00 UTC

[jira] [Comment Edited] (HIVEMALL-300) build failed on AArch64, Fedora 33

    [ https://issues.apache.org/jira/browse/HIVEMALL-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305363#comment-17305363 ] 

Makoto Yui edited comment on HIVEMALL-300 at 3/21/21, 4:49 AM:
---------------------------------------------------------------

[~LutzWeischerFujitsu] 

To run tests, internet connection is required to get test data. I guess your company network is not allowing access to gist.
{code:java}
Tests in error:
FieldAwareFactorizationMachineUDTFTest.testSample:103->run:129->readFile:295 UnknownHost
FieldAwareFactorizationMachineUDTFTest.testSampleDisableNorm:94->run:129->readFile:295 UnknownHost
MixRequestRouterTest.test:30 IllegalArgument Cannot find InetAddress: yahoo....
DecisionTreeTest.testGraphvizOutputIris:146->graphvizOutput:180 UnknownHost ...
DecisionTreeTest.testGraphvizOutputWeather:167->graphvizOutput:180 UnknownHost
DecisionTreeTest.testIris:88->run:204 UnknownHost gist.githubusercontent.com
DecisionTreeTest.testIrisDepth4:122->run:204 UnknownHost gist.githubusercont...
DecisionTreeTest.testIrisSerializeObjCompressed:354 UnknownHost gist.githubu...
DecisionTreeTest.testIrisSerializedObj:327 UnknownHost gist.githubuserconten...
DecisionTreeTest.testIrisSparseDenseEquals:104->runAndCompareSparseAndDense:235 UnknownHost
DecisionTreeTest.testIrisTracePredict:113->runTracePredict:263 UnknownHost g...
DecisionTreeTest.testTitanicPruning:386 UnknownHost gist.githubusercontent.c...
DecisionTreeTest.testWeather:72->run:204 UnknownHost gist.githubusercontent....
GradientTreeBoostingClassifierUDTFTest.testIrisDense:53 UnknownHost gist.git...
GradientTreeBoostingClassifierUDTFTest.testIrisSparse:97 UnknownHost gist.gi...
GradientTreeBoostingClassifierUDTFTest.testSerialization:142 UnknownHost gis...
RandomForestClassifierUDTFTest.testIrisDense:60 UnknownHost gist.githubuserc...
RandomForestClassifierUDTFTest.testIrisDenseAllNullFeaturesTest Unexpected ...
RandomForestClassifierUDTFTest.testIrisDenseSomeNullFeaturesTest:105 UnknownHost
RandomForestClassifierUDTFTest.testIrisSparse:199 UnknownHost gist.githubuse...
RandomForestClassifierUDTFTest.testIrisSparseDenseEquals:244->getDecisionTreeFromDenseInput:269 UnknownHost
RandomForestClassifierUDTFTest.testSerialization:526 UnknownHost gist.github...
TreePredictUDFTest.testCpu:91 UnknownHost gist.githubusercontent.com
TreePredictUDFTest.testCpu2:122 UnknownHost gist.githubusercontent.com
TreePredictUDFTest.testIris:65 UnknownHost gist.githubusercontent.com
TreePredictUDFTest.testSerialization:217 UnknownHost gist.githubusercontent....
TreePredictUDFv1Test.testCpu:111 UnknownHost gist.githubusercontent.com
TreePredictUDFv1Test.testCpu2:142 UnknownHost gist.githubusercontent.com
TreePredictUDFv1Test.testIris:86 UnknownHost gist.githubusercontent.com
TreePredictUDFv1Test.testSerialization:237 UnknownHost gist.githubuserconten...
DeflateCodecTest.testOpscript:38 UnknownHost raw.githubusercontent.com
{code}
You can skip running tests by

$ mvn install -Darguments='-Dmaven.test.skip.exec=true' -DskipTests=true -Dmaven.test.skip=true


was (Author: myui):
[~LutzWeischerFujitsu] 


To run tests, internet connection is required to get test data.
{code:java}
Tests in error:
FieldAwareFactorizationMachineUDTFTest.testSample:103->run:129->readFile:295 UnknownHost
FieldAwareFactorizationMachineUDTFTest.testSampleDisableNorm:94->run:129->readFile:295 UnknownHost
MixRequestRouterTest.test:30 IllegalArgument Cannot find InetAddress: yahoo....
DecisionTreeTest.testGraphvizOutputIris:146->graphvizOutput:180 UnknownHost ...
DecisionTreeTest.testGraphvizOutputWeather:167->graphvizOutput:180 UnknownHost
DecisionTreeTest.testIris:88->run:204 UnknownHost gist.githubusercontent.com
DecisionTreeTest.testIrisDepth4:122->run:204 UnknownHost gist.githubusercont...
DecisionTreeTest.testIrisSerializeObjCompressed:354 UnknownHost gist.githubu...
DecisionTreeTest.testIrisSerializedObj:327 UnknownHost gist.githubuserconten...
DecisionTreeTest.testIrisSparseDenseEquals:104->runAndCompareSparseAndDense:235 UnknownHost
DecisionTreeTest.testIrisTracePredict:113->runTracePredict:263 UnknownHost g...
DecisionTreeTest.testTitanicPruning:386 UnknownHost gist.githubusercontent.c...
DecisionTreeTest.testWeather:72->run:204 UnknownHost gist.githubusercontent....
GradientTreeBoostingClassifierUDTFTest.testIrisDense:53 UnknownHost gist.git...
GradientTreeBoostingClassifierUDTFTest.testIrisSparse:97 UnknownHost gist.gi...
GradientTreeBoostingClassifierUDTFTest.testSerialization:142 UnknownHost gis...
RandomForestClassifierUDTFTest.testIrisDense:60 UnknownHost gist.githubuserc...
RandomForestClassifierUDTFTest.testIrisDenseAllNullFeaturesTest Unexpected ...
RandomForestClassifierUDTFTest.testIrisDenseSomeNullFeaturesTest:105 UnknownHost
RandomForestClassifierUDTFTest.testIrisSparse:199 UnknownHost gist.githubuse...
RandomForestClassifierUDTFTest.testIrisSparseDenseEquals:244->getDecisionTreeFromDenseInput:269 UnknownHost
RandomForestClassifierUDTFTest.testSerialization:526 UnknownHost gist.github...
TreePredictUDFTest.testCpu:91 UnknownHost gist.githubusercontent.com
TreePredictUDFTest.testCpu2:122 UnknownHost gist.githubusercontent.com
TreePredictUDFTest.testIris:65 UnknownHost gist.githubusercontent.com
TreePredictUDFTest.testSerialization:217 UnknownHost gist.githubusercontent....
TreePredictUDFv1Test.testCpu:111 UnknownHost gist.githubusercontent.com
TreePredictUDFv1Test.testCpu2:142 UnknownHost gist.githubusercontent.com
TreePredictUDFv1Test.testIris:86 UnknownHost gist.githubusercontent.com
TreePredictUDFv1Test.testSerialization:237 UnknownHost gist.githubuserconten...
DeflateCodecTest.testOpscript:38 UnknownHost raw.githubusercontent.com
{code}

You can skip running tests by

$ mvn install -Darguments='-Dmaven.test.skip.exec=true' -DskipTests=true -Dmaven.test.skip=true

> build failed on AArch64, Fedora 33 
> -----------------------------------
>
>                 Key: HIVEMALL-300
>                 URL: https://issues.apache.org/jira/browse/HIVEMALL-300
>             Project: Hivemall
>          Issue Type: Bug
>            Reporter: Lutz Weischer
>            Assignee: Makoto Yui
>            Priority: Major
>
> [jw@cn05 hivemall]$ mvn validate -Pcompile-xgboost
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Apache Hivemall                                                    [pom]
> [INFO] Hivemall Core                                                      [jar]
> [INFO] Hivemall NLP                                                       [jar]
> [INFO] Hivemall XGBoost Integration                                       [jar]
> [INFO] Hivemall Mix Server                                                [jar]
> [INFO] Hivemall Distribution                                              [jar]
> [INFO] Hivemall Tools                                                     [pom]
> [INFO] Hivemall Documentation Tool                               [maven-plugin]
> [INFO]
> [INFO] --------------------< org.apache.hivemall:hivemall >--------------------
> [INFO] Building Apache Hivemall 0.6.2-incubating-SNAPSHOT                 [1/8]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ hivemall ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-JAVA_HOME-is-set) @ hivemall ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java-8) @ hivemall ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (required-maven-version) @ hivemall ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-bytecode-version) @ hivemall ---
> [INFO]
> [INFO] -----------------< org.apache.hivemall:hivemall-core >------------------
> [INFO] Building Hivemall Core 0.6.2-incubating-SNAPSHOT                   [2/8]
> [INFO] --------------------------------[ jar ]---------------------------------
> Downloading from apache.snapshots: https://repository.apache.org/snapshots/it/unimi/dsi/fastutil/maven-metadata.xml
> Downloading from jcenter: https://jcenter.bintray.com/it/unimi/dsi/fastutil/maven-metadata.xml
> Downloading from central: https://repo.maven.apache.org/maven2/it/unimi/dsi/fastutil/maven-metadata.xml
> Downloaded from central: https://repo.maven.apache.org/maven2/it/unimi/dsi/fastutil/maven-metadata.xml (2.3 kB at 2.3 kB/s)
> Downloaded from jcenter: https://jcenter.bintray.com/it/unimi/dsi/fastutil/maven-metadata.xml (2.3 kB at 1.7 kB/s)
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ hivemall-core ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-JAVA_HOME-is-set) @ hivemall-core ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java-8) @ hivemall-core ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (required-maven-version) @ hivemall-core ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-bytecode-version) @ hivemall-core ---
> [INFO] artifact it.unimi.dsi:fastutil: checking for updates from apache.snapshots
> [INFO] artifact it.unimi.dsi:fastutil: checking for updates from jcenter
> [INFO] artifact it.unimi.dsi:fastutil: checking for updates from central
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-resources) @ hivemall-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] ------------------< org.apache.hivemall:hivemall-nlp >------------------
> [INFO] Building Hivemall NLP 0.6.2-incubating-SNAPSHOT                    [3/8]
> [INFO] --------------------------------[ jar ]---------------------------------
> Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/hivemall/hivemall-core/0.6.2-incubating-SNAPSHOT/maven-metadata.xml
> Downloading from jcenter: https://jcenter.bintray.com/org/apache/hivemall/hivemall-core/0.6.2-incubating-SNAPSHOT/maven-metadata.xml
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ hivemall-nlp ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-JAVA_HOME-is-set) @ hivemall-nlp ---
> Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/hivemall/hivemall-core/0.6.2-incubating-SNAPSHOT/hivemall-core-0.6.2-incubating-SNAPSHOT.jar
> Downloading from jcenter: https://jcenter.bintray.com/org/apache/hivemall/hivemall-core/0.6.2-incubating-SNAPSHOT/hivemall-core-0.6.2-incubating-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Hivemall 0.6.2-incubating-SNAPSHOT:
> [INFO]
> [INFO] Apache Hivemall .................................... SUCCESS [  1.488 s]
> [INFO] Hivemall Core ...................................... SUCCESS [  9.303 s]
> [INFO] Hivemall NLP ....................................... FAILURE [  0.904 s]
> [INFO] Hivemall XGBoost Integration ....................... SKIPPED
> [INFO] Hivemall Mix Server ................................ SKIPPED
> [INFO] Hivemall Distribution .............................. SKIPPED
> [INFO] Hivemall Tools ..................................... SKIPPED
> [INFO] Hivemall Documentation Tool ........................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  12.294 s
> [INFO] Finished at: 2021-03-04T08:30:31+01:00
> [INFO] ------------------------------------------------------------------------
> [WARNING] The requested profile "compile-xgboost" could not be activated because it does not exist.
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (enforce-JAVA_HOME-is-set) on project hivemall-nlp: Execution enforce-JAVA_HOME-is-set of goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce failed: org.apache.maven.shared.dependency.graph.DependencyGraphBuilderException: Could not resolve following dependencies: [org.apache.hivemall:hivemall-core:jar:0.6.2-incubating-SNAPSHOT (compile)]: Could not resolve dependencies for project org.apache.hivemall:hivemall-nlp:jar:0.6.2-incubating-SNAPSHOT: Could not find artifact org.apache.hivemall:hivemall-core:jar:0.6.2-incubating-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots) -> [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/PluginExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :hivemall-nlp
> [jw@cn05 hivemall]$ 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)