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

Mohammad Arshad commented on AMBARI-25966:
------------------------------------------

I analysed bit more, branch-2.7 CI is using maven 3.9.3. When I build 
branch-2.7 ambari metrics with maven 3.9.3, build is failing with same error as 
CI.  So this maven version is making the difference.

Same behaviour is there with Ambari metrics master code as well. If ambari 
metrics master repository is built with maven 3.9.3, build is failing with same 
error as error in CI. This indicates that metrics master branch CI must not be 
running  with 3.9.3 maven version that is why master branch CI is running 
without failure.

> Ambari branch-2.7 CI is consistently failing
> --------------------------------------------
>
>                 Key: AMBARI-25966
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25966
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>            Reporter: Mohammad Arshad
>            Assignee: Mohammad Arshad
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Ambari branch-2.7 CI is consistently failing. It fails while building ambari 
> metrics.
> Following build command is failing
> {noformat}
> mvn -T 3C install -DskipSurefireTests -DskipPythonTests 
> -Dmaven.test.failure.ignore -DskipTests -Dfindbugs.skip -Drat.skip 
> -Dmaven.artifact.threads=10
> {noformat}
> Above command fails with following error
> {noformat}
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] ambari-utility 1.0.0.0-SNAPSHOT .................... SUCCESS [ 15.300 
> s]
> [INFO] ambari-metrics 2.7.8.0.0 ........................... SUCCESS [  0.268 
> s]
> [INFO] Ambari Metrics Common 2.7.8.0.0 .................... SUCCESS [ 10.231 
> s]
> [INFO] Ambari Metrics Hadoop Sink 2.7.8.0.0 ............... SUCCESS [  4.942 
> s]
> [INFO] Ambari Metrics Flume Sink 2.7.8.0.0 ................ SUCCESS [  4.901 
> s]
> [INFO] Ambari Metrics Kafka Sink 2.7.8.0.0 ................ SUCCESS [  4.949 
> s]
> [INFO] Ambari Metrics Storm Sink 2.7.8.0.0 ................ SUCCESS [  5.982 
> s]
> [INFO] Ambari Metrics Storm Sink (Legacy) 2.7.8.0.0 ....... SUCCESS [  5.943 
> s]
> [INFO] Ambari Metrics Collector 2.7.8.0.0 ................. FAILURE [ 57.918 
> s]
> [INFO] Ambari Metrics Monitor 2.7.8.0.0 ................... SUCCESS [  1.842 
> s]
> [INFO] Ambari Metrics Grafana 2.7.8.0.0 ................... SUCCESS [  7.128 
> s]
> [INFO] Ambari Metrics Host Aggregator 2.7.8.0.0 ........... SUCCESS [ 20.437 
> s]
> [INFO] Ambari Metrics Assembly 2.7.8.0.0 .................. SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  01:24 min (Wall Clock)
> [INFO] Finished at: 2023-07-12T18:27:23Z
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-dependency-plugin:3.6.0:copy-dependencies 
> (default) on project ambari-metrics-timelineservice: Excluding every artifact 
> inside 'test' resolution scope means excluding everything: you probably want 
> includeScope='compile', read parameters documentation for detailed 
> explanations -> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <args> -rf :ambari-metrics-timelineservice
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org

Reply via email to