[
https://issues.apache.org/jira/browse/AMBARI-23275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16417712#comment-16417712
]
Aravindan Vijayan commented on AMBARI-23275:
--------------------------------------------
[~mnpoonia] This patch fails the AMS rpm build mechanism.
Error trace
{code}
2018/03/27 21:18:42 INFO : [INFO] Creating spec file
/grid/0/jenkins/workspace/Zuul_Ambari_Build_Job/build-support/SOURCES/ambari/ambari-metrics/ambari-metrics-assembly/target/rpm/ambari-metrics-monitor/SPECS/ambari-metrics-monitor.spec
2018/03/27 21:18:42 INFO : [INFO]
------------------------------------------------------------------------
2018/03/27 21:18:42 INFO : [INFO] Reactor Summary:
2018/03/27 21:18:42 INFO : [INFO]
2018/03/27 21:18:42 INFO : [INFO] ambari-utility
..................................... SUCCESS [ 6.666 s]
2018/03/27 21:18:42 INFO : [INFO] ambari-metrics
..................................... SUCCESS [ 0.376 s]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Common
.............................. SUCCESS [ 23.122 s]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Hadoop Sink
......................... SUCCESS [ 15.802 s]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Flume Sink
.......................... SUCCESS [ 9.891 s]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Kafka Sink
.......................... SUCCESS [ 10.945 s]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Storm Sink
.......................... SUCCESS [ 52.974 s]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Storm Sink (Legacy)
................. SUCCESS [ 9.298 s]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Collector
........................... SUCCESS [10:13 min]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Monitor
............................. SUCCESS [ 1.980 s]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Grafana
............................. SUCCESS [ 4.086 s]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Host Aggregator
..................... SUCCESS [ 39.706 s]
2018/03/27 21:18:42 INFO : [INFO] Ambari Metrics Assembly
............................ FAILURE [08:40 min]
2018/03/27 21:18:42 INFO : [INFO]
------------------------------------------------------------------------
2018/03/27 21:18:42 INFO : [INFO] BUILD FAILURE
2018/03/27 21:18:42 INFO : [INFO]
------------------------------------------------------------------------
2018/03/27 21:18:42 INFO : [INFO] Total time: 21:48 min
2018/03/27 21:18:42 INFO : [INFO] Finished at: 2018-03-27T21:18:42+00:00
2018/03/27 21:18:43 INFO : [INFO] Final Memory: 227M/1979M
2018/03/27 21:18:43 INFO : [INFO]
------------------------------------------------------------------------
2018/03/27 21:18:43 INFO : [ERROR] Failed to execute goal
org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm (ambari-metrics-monitor) on
project ambari-metrics-assembly: Execution ambari-metrics-monitor of goal
org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm failed: Invalid scriptlet
declaration found - defined scriptFile does not exist:
/grid/0/jenkins/workspace/Zuul_Ambari_Build_Job/build-support/SOURCES/ambari/ambari-metrics/ambari-metrics-assembly/src/main/package/rpm/preremove.sh
-> [Help 1]
2018/03/27 21:18:43 INFO : [ERROR]
2018/03/27 21:18:43 INFO : [ERROR] To see the full stack trace of the
errors, re-run Maven with the -e switch.
2018/03/27 21:18:43 INFO : [ERROR] Re-run Maven using the -X switch to
enable full debug logging.
2018/03/27 21:18:43 INFO : [ERROR]
2018/03/27 21:18:43 INFO : [ERROR] For more information about the errors and
possible solutions, please read the following articles:
2018/03/27 21:18:43 INFO : [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
2018/03/27 21:18:43 INFO : [ERROR]
2018/03/27 21:18:43 INFO : [ERROR] After correcting the problems, you can
resume the build with the command
2018/03/27 21:18:43 INFO : [ERROR] mvn <goals> -rf :ambari-metrics-assembly
2018/03/27 21:18:44 INFO : Time Taken: 0:21:51.965004 -- executing: cd
/grid/0/jenkins/workspace/Zuul_Ambari_Build_Job/build-support/SOURCES/ambari/ambari-metrics
&& /grid/0/jenkins/tools/maven/apache-maven-3.3.9/bin/mvn -B -nsu -DskipTests
package install -Dbuild-rpm
2018/03/27 21:18:44 ERROR : Process failed
{code}
Can you please revert and submit a modified patch? You can use the following
link for testing rpm build.
https://cwiki.apache.org/confluence/display/AMBARI/Build+Instructions
> Upgrade maven dependency for jdeb and fic rpm autorequire tag value
> -------------------------------------------------------------------
>
> Key: AMBARI-23275
> URL: https://issues.apache.org/jira/browse/AMBARI-23275
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Affects Versions: trunk
> Reporter: Aman Poonia
> Priority: Minor
> Labels: pull-request-available
> Fix For: trunk
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> Update jdeb from 1.0.1 to 1.6
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)