You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Mikhail Gryzykhin (Jira)" <ji...@apache.org> on 2019/09/30 20:35:00 UTC

[jira] [Comment Edited] (BEAM-7902) :beam-test-infra-metrics:test is consistently failing

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

Mikhail Gryzykhin edited comment on BEAM-7902 at 9/30/19 8:34 PM:
------------------------------------------------------------------

Closing in favor of

https://issues.apache.org/jira/browse/BEAM-8327

and

https://issues.apache.org/jira/browse/BEAM-8328


was (Author: ardagan):
Closing in favor of https://issues.apache.org/jira/browse/BEAM-8327

> :beam-test-infra-metrics:test is consistently failing
> -----------------------------------------------------
>
>                 Key: BEAM-7902
>                 URL: https://issues.apache.org/jira/browse/BEAM-7902
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>            Reporter: Mark Liu
>            Assignee: Mikhail Gryzykhin
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> A failure gradle run from my local machine:  https://gradle.com/s/sqcwi7bo3a2nw. Stacktrace:
> {code}
> org.apache.beam.testinfra.metrics.ProberTests > CheckGrafanaStalenessAlerts FAILED
>     java.lang.AssertionError: Input data is stale! [id:1, dashboardId:5, dashboardUid:data-freshness, dashboardSlug:source-data-freshness, panelId:2, name:Source Data Freshness alert, state:alerting, newStateDate:2019-07-30T02:55:02Z, evalDate:0001-01-01T00:00:00Z, evalData:[evalMatches:[[metric:GitHub, tags:null, value:482.16617045000004]]], executionError:, url:/d/data-freshness/source-data-freshness]
>        See: http://104.154.241.245/d/data-freshness. Expression: (alert.state == ok)
>         at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:406)
>         at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:650)
> ...
> {code}
> From the stacktrace suggestion, I went to http://104.154.241.245/d/data-freshness and got Github source is older than a week, which I guess is potentially the failure reason. However, no further instruction on what to do next. 
> After some investigations, I found this test `:beam-test-infra-metrics:test` is added to [beam_Prober_CommunityMetrics|https://builds.apache.org/view/A-D/view/Beam/view/All/job/beam_Prober_CommunityMetrics/] but never got passed (either failed or skipped due to cache). 
> Is there anything wrong with Github data refresh? Should we reevaluate the alert on dashboard or modify the test?



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