See <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/165/display/redirect?page=changes>
Changes: [yifanzou] return stdout text from command execution and stop using var.last_text ------------------------------------------ GitHub pull request #4788 of commit d21ee96d1416d9b7852f60ec14da4f40a3773061, no merge conflicts. Setting status of d21ee96d1416d9b7852f60ec14da4f40a3773061 to PENDING with url https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/165/ and message: 'Build started sha1 is merged.' Using context: Jenkins: ./gradlew :release:runJavaExamplesValidationTask [EnvInject] - Loading node environment variables. Building remotely on beam4 (beam) in workspace <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/apache/beam.git # timeout=10 Fetching upstream changes from https://github.com/apache/beam.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/apache/beam.git > +refs/heads/*:refs/remotes/origin/* > +refs/pull/4788/*:refs/remotes/origin/pr/4788/* > git rev-parse refs/remotes/origin/pr/4788/merge^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/pr/4788/merge^{commit} # timeout=10 Checking out Revision e4cc451903634f783f04c6c8ddfa88d74f2d7ce8 (refs/remotes/origin/pr/4788/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f e4cc451903634f783f04c6c8ddfa88d74f2d7ce8 Commit message: "Merge d21ee96d1416d9b7852f60ec14da4f40a3773061 into 397688a62b1f9f0f9840a43ed4ad1a59ba77b981" > git rev-list --no-walk 9725347b0dc7da1b26d89e7525bb2f6803261910 # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content SPARK_LOCAL_IP=127.0.0.1 [EnvInject] - Variables injected successfully. [Gradle] - Launching build. [src] $ <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/src/gradlew> -Pver= -Prepourl= :release:runJavaExamplesValidationTask Parallel execution with configuration on demand is an incubating feature. Applying build_rules.gradle to src Applying build_rules.gradle to flink applyJavaNature with [artifactId:beam-runners-flink_2.11] for project flink Applying build_rules.gradle to fn-execution applyJavaNature with [artifactId:beam-model-fn-execution, enableFindbugs:false] for project fn-execution applyGrpcNature with default configuration for project fn-execution Applying build_rules.gradle to core-java applyJavaNature with [artifactId:runners-core-java] for project core-java Applying build_rules.gradle to core applyJavaNature with [artifactId:beam-sdks-java-core] for project core applyAvroNature with default configuration for project core Generating :runQuickstartJavaFlinkLocal Applying build_rules.gradle to direct-java applyJavaNature with [artifactId:beam-runners-direct-java] for project direct-java Applying build_rules.gradle to core-construction-java applyJavaNature with [artifactId:beam-runners-core-construction-java] for project core-construction-java Generating :runQuickstartJavaDirect Generating :runMobileGamingJavaDirect Applying build_rules.gradle to google-cloud-dataflow-java applyJavaNature with [enableFindbugs:false, artifactId:beam-runners-google-cloud-dataflow-java] for project google-cloud-dataflow-java Applying build_rules.gradle to google-cloud-platform applyJavaNature with [artifactId:beam-sdks-java-io-google-cloud-platform, enableFindbugs:false] for project google-cloud-platform Applying build_rules.gradle to google-cloud-platform-core applyJavaNature with [artifactId:beam-sdks-java-extensions-google-cloud-platform-core] for project google-cloud-platform-core Generating :runQuickstartJavaDataflow Generating :runMobileGamingJavaDataflow Applying build_rules.gradle to apex applyJavaNature with [artifactId:beam-runners-apex] for project apex Generating :runQuickstartJavaApex Applying build_rules.gradle to spark applyJavaNature with [artifactId:beam-runners-spark] for project spark Generating :runQuickstartJavaSpark :release:compileJava NO-SOURCE :release:compileGroovystartup failed: <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/src/release/src/main/groovy/QuickstartArchetype.groovy>: 23: Apparent variable 'output_text' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'output_text' but left out brackets in a place not allowed by the grammar. @ line 23, column 5. output_text = t.run """mvn archetype:generate \ ^ <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/src/release/src/main/groovy/QuickstartArchetype.groovy>: 34: Apparent variable 'output_text' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'output_text' but left out brackets in a place not allowed by the grammar. @ line 34, column 35. t.see "[INFO] BUILD SUCCESS", output_text ^ <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/src/release/src/main/groovy/QuickstartArchetype.groovy>: 36: Apparent variable 'output_text' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'output_text' but left out brackets in a place not allowed by the grammar. @ line 36, column 5. output_text = t.run "ls" ^ <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/src/release/src/main/groovy/QuickstartArchetype.groovy>: 37: Apparent variable 'output_text' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'output_text' but left out brackets in a place not allowed by the grammar. @ line 37, column 22. t.see "pom.xml", output_text ^ <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/src/release/src/main/groovy/QuickstartArchetype.groovy>: 38: Apparent variable 'output_text' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'output_text' but left out brackets in a place not allowed by the grammar. @ line 38, column 18. t.see "src", output_text ^ <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/src/release/src/main/groovy/QuickstartArchetype.groovy>: 39: Apparent variable 'wordcounts' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'wordcounts' but left out brackets in a place not allowed by the grammar. @ line 39, column 5. wordcounts = t.run "ls src/main/java/org/apache/beam/examples/" ^ <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/src/release/src/main/groovy/QuickstartArchetype.groovy>: 40: Apparent variable 'wordcounts' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'wordcounts' but left out brackets in a place not allowed by the grammar. @ line 40, column 29. t.see "WordCount.java", wordcounts ^ <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/src/release/src/main/groovy/QuickstartArchetype.groovy>: 41: Apparent variable 'games' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'games' but left out brackets in a place not allowed by the grammar. @ line 41, column 5. games = t.run "ls src/main/java/org/apache/beam/examples/complete/game/" ^ <https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/ws/src/release/src/main/groovy/QuickstartArchetype.groovy>: 42: Apparent variable 'games' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'games' but left out brackets in a place not allowed by the grammar. @ line 42, column 29. t.see "UserScore.java", games ^ 9 errors FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':release:compileGroovy'. > Compilation failed; see the compiler error output for details. * Try: 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. * Get more help at https://help.gradle.org BUILD FAILED in 11s 1 actionable task: 1 executed Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure Not sending mail to unregistered user yifan...@yifanzou-linuxworkstation.sea.corp.google.com Not sending mail to unregistered user c...@google.com Not sending mail to unregistered user da...@getindata.com Not sending mail to unregistered user w...@google.com Not sending mail to unregistered user hero...@google.com Not sending mail to unregistered user ro...@frantil.com