beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Knowles (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (BEAM-3319) Cannot build Apache Beam due to Apex Runner test failing
Date Mon, 18 Dec 2017 04:28:00 GMT

     [ https://issues.apache.org/jira/browse/BEAM-3319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kenneth Knowles reassigned BEAM-3319:
-------------------------------------

    Assignee: Thomas Weise

> Cannot build Apache Beam due to Apex Runner test failing
> --------------------------------------------------------
>
>                 Key: BEAM-3319
>                 URL: https://issues.apache.org/jira/browse/BEAM-3319
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-apex
>    Affects Versions: 2.2.0
>            Reporter: Mayumi Liyanage
>            Assignee: Thomas Weise
>            Priority: Critical
>              Labels: apex-runner, contribution-guide
>
> In contribution-guide to setup Apache Beam, last step indicates to run _mvn verify_ to
make the setup is correct. Build fails due to assertion that is happening in _org.apache.beam.runners.apex.examples.WordCountTest_.
Failure is due to race condition of not waiting enough for files to be generated. To prove
this bug, if we insert Thread.sleep before the assertion, test always passes. This is preventing
from completing contribution-guide successfully. 
> Error message:
> _[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 60.315 s <<<
FAILURE! - in org.apache.beam.runners.apex.examples.WordCountTest [ERROR] testWordCountExample(org.apache.beam.runners.apex.examples.WordCountTest)
Time elapsed: 32.259 s <<< FAILURE! java.lang.AssertionError: result files exist
at org.junit.Assert.fail(Assert.java:88)_



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message