Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11876

beam_PostRelease_NightlySnapshot fails due to Error constructing default value for gcpTempLocation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Not applicable
    • Component/s: test-failures
    • Labels:
      None

      Description

      From job: https://ci-beam.apache.org/job/beam_PostRelease_NightlySnapshot/1294/console

      03:17:20 > Task :runners:google-cloud-dataflow-java:runMobileGamingJavaDataflowBom
      03:17:20 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project word-count-beam: An exception occured while executing the Java class. DataflowRunner requires gcpTempLocation, but failed to retrieve a value from PipelineOptions: Error constructing default value for gcpTempLocation: tempLocation is not a valid GCS path, gs://temp-storage-for-release-validation-tests/nightly-snapshot-validation/tmp. Unable to get application default credentials. Please see https://developers.google.com/accounts/docs/application-default-credentials for details on how to specify credentials. This version of the SDK is dependent on the gcloud core component version 2015.02.05 or newer to be able to get credentials from the currently authorized user via gcloud auth. -> [Help 1]
      03:17:20 [ERROR] 
      03:17:20 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      03:17:20 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      03:17:20 [ERROR] 
      03:17:20 [ERROR] For more information about the errors and possible solutions, please read the following articles:
      03:17:20 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      03:17:20 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project word-count-beam: An exception occured while executing the Java class. DataflowRunner requires gcpTempLocation, but failed to retrieve a value from PipelineOptions: Error constructing default value for gcpTempLocation: tempLocation is not a valid GCS path, gs://temp-storage-for-release-validation-tests/nightly-snapshot-validation/tmp. Unable to get application default credentials. Please see https://developers.google.com/accounts/docs/application-default-credentials for details on how to specify credentials. This version of the SDK is dependent on the gcloud core component version 2015.02.05 or newer to be able to get credentials from the currently authorized user via gcloud auth. -> [Help 1]
      03:17:20 [ERROR] 
      03:17:20 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      03:17:20 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      03:17:20 [ERROR] 
      03:17:20 [ERROR] For more information about the errors and possible solutions, please read the following articles:
      03:17:20 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      03:17:20 [ERROR] Failed command
      03:17:20 
      03:17:20 > Task :runners:google-cloud-dataflow-java:runMobileGamingJavaDataflowBom FAILED
      

      There is also the following error, not sure it is related but adding it here:

       

      03:17:30 gsutil rm gs://temp-storage-for-release-validation-tests/nightly-snapshot-validation/count* || echo 'No files'
      03:17:30 sh: 1: gsutil: not found
      03:17:30 No files
      03:17:30 mvn compile exec:java -q       -Dmaven.wagon.http.retryHandler.class=default       -Dmaven.wagon.http.retryHandler.count=5       -Dmaven.wagon.http.pool=false       -Dmaven.wagon.httpconnectionManager.ttlSeconds=120       -Dhttp.keepAlive=false       -Dexec.mainClass=org.apache.beam.examples.WordCount       -Dexec.args="--runner=DataflowRunner                    --project=apache-beam-testing                    --region=us-central1                    --gcpTempLocation=gs://temp-storage-for-release-validation-tests/nightly-snapshot-validation/tmp                    --output=gs://temp-storage-for-release-validation-tests/nightly-snapshot-validation/counts                    --inputFile=gs://apache-beam-samples/shakespeare/*"                     -Pdataflow-runner
      03:17:30 Using maven /home/jenkins/tools/maven/apache-maven-3.5.4
      03:24:56 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project word-count-beam: An exception occured while executing the Java class. Unable to get application default credentials. Please see https://developers.google.com/accounts/docs/application-default-credentials for details on how to specify credentials. This version of the SDK is dependent on the gcloud core component version 2015.02.05 or newer to be able to get credentials from the currently authorized user via gcloud auth. -> [Help 1]
      03:24:56 [ERROR] 
      03:24:56 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      03:24:56 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      03:24:56 [ERROR] 
      03:24:56 [ERROR] For more information about the errors and possible solutions, please read the following articles:
      03:24:56 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      03:24:56 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project word-count-beam: An exception occured while executing the Java class. Unable to get application default credentials. Please see https://developers.google.com/accounts/docs/application-default-credentials for details on how to specify credentials. This version of the SDK is dependent on the gcloud core component version 2015.02.05 or newer to be able to get credentials from the currently authorized user via gcloud auth. -> [Help 1]
      03:24:56 [ERROR] 
      03:24:56 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      03:24:56 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      03:24:56 [ERROR] 
      03:24:56 [ERROR] For more information about the errors and possible solutions, please read the following articles:
      03:24:56 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      03:24:56 [ERROR] Failed command
      03:24:56 
      03:24:56 > Task :runners:google-cloud-dataflow-java:runQuickstartJavaDataflow FAILED
      

        Attachments

          Activity

            People

            • Assignee:
              tysonjh Tyson Hamilton
              Reporter:
              tysonjh Tyson Hamilton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: