You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2018/11/12 12:42:15 UTC

[ignite-teamcity-bot] branch master updated (a7c61fe -> 573d88e)

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git.


    from a7c61fe  Scripts update, page titles added
     new b7a89d4  IGNITE-10215 Inspections:Core failures marked as critical - Fixes #67.
     new 573d88e  Version update

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../main/java/org/apache/ignite/ci/IgnitePersistentTeamcity.java  | 2 +-
 .../src/main/java/org/apache/ignite/ci/TcHelper.java              | 8 +++++++-
 .../ignite/ci/tcmodel/result/problems/ProblemOccurrence.java      | 6 ++++++
 .../src/main/java/org/apache/ignite/ci/web/model/Version.java     | 2 +-
 4 files changed, 15 insertions(+), 3 deletions(-)


[ignite-teamcity-bot] 02/02: Version update

Posted by dp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git

commit 573d88e0778df226822a8b71de2bb442b70b50c4
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Mon Nov 12 15:42:10 2018 +0300

    Version update
---
 .../src/main/java/org/apache/ignite/ci/web/model/Version.java           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/model/Version.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/model/Version.java
index 3a5fa91..690f572 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/model/Version.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/model/Version.java
@@ -23,7 +23,7 @@ package org.apache.ignite.ci.web.model;
     public static final String GITHUB_REF = "https://github.com/apache/ignite-teamcity-bot";
 
     /** TC Bot Version. */
-    public static final String VERSION = "20181111";
+    public static final String VERSION = "20181112";
 
     /** TC Bot Version. */
     public String version = VERSION;


[ignite-teamcity-bot] 01/02: IGNITE-10215 Inspections:Core failures marked as critical - Fixes #67.

Posted by dp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git

commit b7a89d41c5183410064311dc33002b24582c0134
Author: ololo3000 <pm...@gmail.com>
AuthorDate: Mon Nov 12 15:41:02 2018 +0300

    IGNITE-10215 Inspections:Core failures marked as critical - Fixes #67.
    
    Signed-off-by: Dmitriy Pavlov <dp...@apache.org>
---
 .../main/java/org/apache/ignite/ci/IgnitePersistentTeamcity.java  | 2 +-
 .../src/main/java/org/apache/ignite/ci/TcHelper.java              | 8 +++++++-
 .../ignite/ci/tcmodel/result/problems/ProblemOccurrence.java      | 6 ++++++
 3 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/IgnitePersistentTeamcity.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/IgnitePersistentTeamcity.java
index 4d0db6e..e970c97 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/IgnitePersistentTeamcity.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/IgnitePersistentTeamcity.java
@@ -780,7 +780,7 @@ public class IgnitePersistentTeamcity implements IAnalyticsEnabledTeamcity, ITea
 
     private void registerCriticalBuildProblemInStat(BuildRef build, ProblemOccurrences problems) {
         boolean criticalFail = problems.getProblemsNonNull().stream().anyMatch(occurrence ->
-            occurrence.isExecutionTimeout() || occurrence.isJvmCrash());
+            occurrence.isExecutionTimeout() || occurrence.isJvmCrash() || occurrence.isFailureOnMetric());
 
         String suiteId = build.suiteId();
         Integer buildId = build.getId();
diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/TcHelper.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/TcHelper.java
index 3c56b4e..44facf2 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/TcHelper.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/TcHelper.java
@@ -305,9 +305,15 @@ public class TcHelper implements ITcHelper, IJiraIntegration {
             if (suiteRes.contains("exit code"))
                 failType = "exit code";
 
-            if(suiteRes.contains(ProblemOccurrence.JAVA_LEVEL_DEADLOCK.toLowerCase()))
+            if (suiteRes.contains(ProblemOccurrence.JAVA_LEVEL_DEADLOCK.toLowerCase()))
                 failType = "java level deadlock";
 
+            if (suiteRes.contains(ProblemOccurrence.BUILD_FAILURE_ON_MESSAGE.toLowerCase()))
+                failType = "build failure on message";
+
+            if (suiteRes.contains(ProblemOccurrence.BUILD_FAILURE_ON_METRIC.toLowerCase()))
+                failType = "build failure on metrics";
+
             if (failType == null) {
                 List<TestFailure> failures = new ArrayList<>();
 
diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcmodel/result/problems/ProblemOccurrence.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcmodel/result/problems/ProblemOccurrence.java
index efbd438..712c9dd 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcmodel/result/problems/ProblemOccurrence.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcmodel/result/problems/ProblemOccurrence.java
@@ -28,6 +28,7 @@ import org.jetbrains.annotations.Nullable;
  */
 public class ProblemOccurrence {
     public static final String BUILD_FAILURE_ON_MESSAGE = "BuildFailureOnMessage";
+    public static final String BUILD_FAILURE_ON_METRIC = "BuildFailureOnMetric";
     public static final String TC_EXIT_CODE = "TC_EXIT_CODE";
     public static final String TC_OOME = "TC_OOME";
     public static final String TC_EXECUTION_TIMEOUT = "TC_EXECUTION_TIMEOUT";
@@ -50,6 +51,11 @@ public class ProblemOccurrence {
      */
     @Nullable public BuildRef buildRef;
 
+    /** */
+    public boolean isFailureOnMetric() {
+        return BUILD_FAILURE_ON_METRIC.equals(type);
+    }
+
     public boolean isExecutionTimeout() {
         return TC_EXECUTION_TIMEOUT.equals(type);
     }