You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/03/30 18:51:42 UTC
[jira] [Commented] (AMBARI-20625) Hadoop QA javac warnings increase
check is broken
[ https://issues.apache.org/jira/browse/AMBARI-20625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949596#comment-15949596 ]
Hadoop QA commented on AMBARI-20625:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12861226/AMBARI-20625.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in .
Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/11241//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11241//console
This message is automatically generated.
> Hadoop QA javac warnings increase check is broken
> -------------------------------------------------
>
> Key: AMBARI-20625
> URL: https://issues.apache.org/jira/browse/AMBARI-20625
> Project: Ambari
> Issue Type: Bug
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Fix For: 3.0.0
>
> Attachments: AMBARI-20625.patch
>
>
> The [test-patch.sh|https://github.com/apache/ambari/blob/trunk/dev-support/test-patch.sh] script run by Hadoop QA for the [Ambari-trunk-test-patch job|https://builds.apache.org/job/Ambari-trunk-test-patch/] checks if the patch increases the number of compiler warnings.
> This check is broken, because {{javac}} does not print warnings by default, and our POMs do not set {{-Xlint}}. Currently the output only includes a sample of warnings, plus a hint to set {{-Xlint}}.
> {noformat}
> [INFO] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/view/ImpersonatorSettingImpl.java: Some input files use or override a deprecated API.
> [INFO] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/view/ImpersonatorSettingImpl.java: Recompile with -Xlint:deprecation for details.
> [INFO] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java: Some input files use unchecked or unsafe operations.
> [INFO] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java: Recompile with -Xlint:unchecked for details.
> {noformat}
> https://builds.apache.org/job/Ambari-trunk-test-patch/11186/artifact/patch-work/trunkJavacWarnings.txt
> https://builds.apache.org/job/Ambari-trunk-test-patch/11186/artifact/patch-work/patchJavacWarnings.txt
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)