You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Tyson Hamilton (Jira)" <ji...@apache.org> on 2021/02/26 18:42:00 UTC

[jira] [Created] (BEAM-11876) beam_PostRelease_NightlySnapshot fails due to Error constructing default value for gcpTempLocation

Tyson Hamilton created BEAM-11876:
-------------------------------------

             Summary: beam_PostRelease_NightlySnapshot fails due to Error constructing default value for gcpTempLocation
                 Key: BEAM-11876
                 URL: https://issues.apache.org/jira/browse/BEAM-11876
             Project: Beam
          Issue Type: Bug
          Components: test-failures
            Reporter: Tyson Hamilton


From job: https://ci-beam.apache.org/job/beam_PostRelease_NightlySnapshot/1294/console
{code:java}
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
{code}
There is also the following error, not sure it is related but adding it here:

 
{code:java}
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
{code}



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