[ 
https://issues.apache.org/jira/browse/BEAM-6418?focusedWorklogId=197276&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-197276
 ]

ASF GitHub Bot logged work on BEAM-6418:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Feb/19 23:51
            Start Date: 11/Feb/19 23:51
    Worklog Time Spent: 10m 
      Work Description: adude3141 commented on pull request #7510: [BEAM-6418] 
Execute Flink tests serially to avoid memory issues
URL: https://github.com/apache/beam/pull/7510#discussion_r255744461
 
 

 ##########
 File path: runners/flink/flink_runner.gradle
 ##########
 @@ -68,10 +68,15 @@ test {
   if (System.getProperty("beamSurefireArgline")) {
     jvmArgs System.getProperty("beamSurefireArgline")
   }
-}.onlyIf {
-  // TODO Running tests of all Flink versions in parallel can be too harsh on 
Jenkins memory
-  // Skip 1.6/1.7 tests for now, to avoid "Exit code 137", i.e. Jenkins host 
killing the Gradle test process
-  project.name != "beam-runners-flink-1.6" && project.name != 
"beam-runners-flink-1.7"
+  if (project.jenkins.isCIBuild) {
+    // TODO Running tests of all Flink versions in parallel can be too harsh 
on Jenkins memory
+    // Run them serially for now, to avoid "Exit code 137", i.e. Jenkins host 
killing the Gradle test process
+    if (project.name == "beam-runners-flink-1.6") {
+      dependsOn(":beam-runners-flink_2.11:test")
+    } else if (project.name == "beam-runners-flink-1.7") {
+      dependsOn(":beam-runners-flink-1.6:test")
 
 Review comment:
   same here?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 197276)
    Time Spent: 3h  (was: 2h 50m)

> beam_PreCommit_Java_Cron failing
> --------------------------------
>
>                 Key: BEAM-6418
>                 URL: https://issues.apache.org/jira/browse/BEAM-6418
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-flink, test-failures
>            Reporter: Ahmet Altay
>            Assignee: Maximilian Michels
>            Priority: Critical
>             Fix For: Not applicable
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> [https://builds.apache.org/job/beam_PreCommit_Java_Cron/814/console]
>  
> *16:22:16* 1: Task failed with an exception.*16:22:16* -----------*16:22:16* 
> * What went wrong:*16:22:16* Execution failed for task 
> ':beam-runners-flink-1.6:test'.*16:22:16* > Process 'Gradle Test Executor 
> 108' finished with non-zero exit value 137*16:22:16*   This problem might be 
> caused by incorrect test process configuration.*16:22:16*   Please refer to 
> the test execution section in the user guide at 
> [https://docs.gradle.org/4.10.3/userguide/java_plugin.html#sec:test_execution]
> *16:22:16* *16:22:16* * Try:*16:22:16* Run with --stacktrace option to get 
> the stack trace. Run with --info or --debug option to get more log output. 
> Run with --scan to get full insights.*16:22:16* 
> ==============================================================================*16:22:16*
>  *16:22:16* 2: Task failed with an exception.*16:22:16* -----------*16:22:16* 
> * What went wrong:*16:22:16* Execution failed for task 
> ':beam-runners-flink_2.11:test'.*16:22:16* > Process 'Gradle Test Executor 
> 110' finished with non-zero exit value 1*16:22:16*   This problem might be 
> caused by incorrect test process configuration.*16:22:16*   Please refer to 
> the test execution section in the user guide at 
> [https://docs.gradle.org/4.10.3/userguide/java_plugin.html#sec:test_execution]
> *16:22:16*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to