Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Deploying Endpoints Sample #693

Closed
ersimont opened this issue Jun 7, 2017 · 18 comments
Closed

Error Deploying Endpoints Sample #693

ersimont opened this issue Jun 7, 2017 · 18 comments
Assignees
Labels
type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@ersimont
Copy link

ersimont commented Jun 7, 2017

In which file did you encounter the issue?

When following the instructions in appengine/endpoints-frameworks-v2/backend/README.md

Did you change the file? If so, how?

I only changed pom.xml, as instructed in the readme.

Describe the issue

Executing mvn appengine:deploy fails. First it hangs for a while after it says "Uploading X files to Google Cloud Storage" (as I indicated in the output below). Then after about 5 minutes it continues. Below is the full output, with my note near the bottom.

Note that this is about the third time I've tried; the first time it showed that it was uploading more than 0 files. I cannot find any errors in the cloud console logs.

$ mvn appengine:deploy
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building echo 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> appengine-maven-plugin:1.3.1:deploy (default-cli) > package @ echo >>>
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (default) @ echo ---
[INFO] argLine set to "-javaagent:C:\\Users\\Eric\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.7.7.201606060606\\org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=S:\\Programming\\git repositories\\tmp\\java-docs-samples\\appengine\\endpoints-frameworks-v2\\backend\\target\\jacoco.exec"
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ echo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ echo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ echo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ echo ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ echo ---
[INFO] No tests to run.
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (report) @ echo ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ echo ---
[INFO] Packaging webapp
[INFO] Assembling webapp [echo] in [S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\target\echo-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources [S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend/src/main/webapp/WEB-INF] to [S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\target\echo-1.0-SNAPSHOT]
[INFO] Copying webapp resources [S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\src\main\webapp]
[INFO] Webapp assembled in [180 msecs]
[INFO] Building war: S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\target\echo-1.0-SNAPSHOT.war
[INFO]
[INFO] <<< appengine-maven-plugin:1.3.1:deploy (default-cli) < package @ echo <<<
[INFO]
[INFO] --- appengine-maven-plugin:1.3.1:deploy (default-cli) @ echo ---
[INFO] Staging the application to: S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\target\appengine-staging
[INFO] Detected App Engine standard environment application.
Jun 07, 2017 7:10:37 AM com.google.cloud.tools.appengine.cloudsdk.CloudSdk logCommand
INFO: submitting command: C:\Program Files\Java\jdk1.8.0_121\jre\bin\java.exe -cp C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java\lib\appengine-tools-api.jar com.google.appengine.tools.admin.AppCfg --disable_update_check stage S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\target\echo-1.0-SNAPSHOT S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\target\appengine-staging
[INFO] GCLOUD: Jun 07, 2017 7:10:37 AM java.util.prefs.WindowsPreferences <init>
[INFO] GCLOUD: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[INFO] GCLOUD: Reading application configuration data...
[INFO] GCLOUD: *********************************
[INFO] GCLOUD: Configuration Warning : <application>/<version> XML elements and --application/--version should not be specified when staging
[INFO] GCLOUD:
[INFO] GCLOUD: The following parameters will be scrubbed from app.yaml
[INFO] GCLOUD: application : endpoints-framework-echo
[INFO] GCLOUD: version : 1
[INFO] GCLOUD:
[INFO] GCLOUD: Future versions of staging will fail if application or version is specified.
[INFO] GCLOUD: *********************************
[INFO] GCLOUD:
[INFO] GCLOUD:
[INFO] GCLOUD: Beginning interaction for module default...
[INFO] GCLOUD: 0% Scanning for jsp files.
[INFO] GCLOUD: 0% Generated git repository information file.
[INFO] GCLOUD: Success.
[INFO] GCLOUD: Temporary staging for module default directory left in S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\target\appengine-staging
Jun 07, 2017 7:10:38 AM com.google.cloud.tools.appengine.cloudsdk.CloudSdk logCommand
INFO: submitting command: C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin\gcloud.cmd app deploy
[INFO] GCLOUD: You are about to deploy the following services:
[INFO] GCLOUD:  - endpoints-framework-echo/default/20170607t121041 (from [S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\target\appengine-staging\app.yaml])
[INFO] GCLOUD:      Deploying to URL: [https://endpoints-framework-echo.appspot.com]
[INFO] GCLOUD:
[INFO] GCLOUD: Beginning deployment of service [default]...
[INFO] GCLOUD: Some files were skipped. Pass `--verbosity=info` to see which ones.
[INFO] GCLOUD: You may also view the gcloud log file, found at
[INFO] GCLOUD: [C:\Users\Eric\AppData\Roaming\gcloud\logs\2017.06.07\12.10.39.138000.log].
[INFO] GCLOUD: #============================================================#
[INFO] GCLOUD: #= Uploading 0 files to Google Cloud Storage                =#
[INFO] GCLOUD: #============================================================#


    ( <---------- this is where it hangs for about 5 minutes)


[INFO] GCLOUD: File upload done.
[INFO] GCLOUD: Updating service [default]...
[INFO] GCLOUD: ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................failed.
[INFO] GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:20 min
[INFO] Finished at: 2017-06-07T07:20:53-04:00
[INFO] Final Memory: 22M/307M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:1.3.1:deploy (default-cli) on project echo: Execution default-cli of goal com.google.cloud.tools:appengine-maven-plugin:1.3.1:deploy failed: Non zero exit: 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
@lesv lesv added the type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. label Jun 8, 2017
@frankyn
Copy link
Member

frankyn commented Jun 8, 2017

Hi @ersimont!

Thanks for reaching out! I wasn't able to reproduce the issue using your instructions. I did hit an issue when using a project id with a typo.

I added a set of items to verify as I'm not sure what may be causing your issue.

Steps to debug:

  1. Update your java-docs-samples local repository as the repository updates frequently.
    git pull

  2. Update Cloud SDK
    gcloud components update

  3. Verify the project id with your Google Cloud Project Id
    0en5mb3wqzg

  4. Generate the openapi.json and deploy

mvn exec:java -DGetSwaggerDoc
gcloud service-management deploy openapi.json
  1. Deploy the app
mvn appengine:deploy

@ersimont
Copy link
Author

ersimont commented Jun 8, 2017

Thank you for your response. I followed your instructions, but alas it ended with the same result:

  1. git pull - worked. Updated some files, but nothing in endpoints-frameworks-v2/backend
  2. gcloud components update - worked. Confirmed that I wanted to continue after showing me some changelog items.
  3. I copy-pasted my project id from the cloud console
  4. mvn exec:java -DGetSwaggerDoc - worked
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building echo 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ echo ---
SLF4J: The requested version 1.6.99 by your slf4j binding is not compatible with
 [1.5.5, 1.5.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.

OpenAPI document written to ./openapi.json
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.619 s
[INFO] Finished at: 2017-06-08T17:22:28-04:00
[INFO] Final Memory: 11M/215M
[INFO] ------------------------------------------------------------------------
  1. gcloud service-management deploy openapi.json - worked
Waiting for async operation operations/serviceConfigs.echo-api.endpoints.endpoin
ts-framework-echo.cloud.goog:5a5a45c3-4082-4d0c-93d9-1b24376224cd to complete...

Operation finished successfully. The following command can describe the Operatio
n details:
 gcloud service-management operations describe operations/serviceConfigs.echo-ap
i.endpoints.endpoints-framework-echo.cloud.goog:5a5a45c3-4082-4d0c-93d9-1b243762
24cd
WARNING: openapi.json: Operation 'post' in path '/echo/v1/echo': Operation does
not require an API key; callers may invoke the method without specifying an asso
ciated API-consuming project. To enable API key all the SecurityRequirement Obje
cts (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#se
curity-requirement-object) inside security definition must reference at least on
e SecurityDefinition of type : 'apiKey'.
WARNING: openapi.json: Operation 'post' in path '/echo/v1/echo/{n}': Operation d
oes not require an API key; callers may invoke the method without specifying an
associated API-consuming project. To enable API key all the SecurityRequirement
Objects (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.m
d#security-requirement-object) inside security definition must reference at leas
t one SecurityDefinition of type : 'apiKey'.
WARNING: openapi.json: Operation 'get' in path '/echo/v1/email': Operation does
not require an API key; callers may invoke the method without specifying an asso
ciated API-consuming project. To enable API key all the SecurityRequirement Obje
cts (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#se
curity-requirement-object) inside security definition must reference at least on
e SecurityDefinition of type : 'apiKey'.
WARNING: openapi.json: Operation 'get' in path '/echo/v1/firebase_user': Operati
on does not require an API key; callers may invoke the method without specifying
 an associated API-consuming project. To enable API key all the SecurityRequirem
ent Objects (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2
.0.md#security-requirement-object) inside security definition must reference at
least one SecurityDefinition of type : 'apiKey'.
Waiting for async operation operations/rollouts.echo-api.endpoints.endpoints-fra
mework-echo.cloud.goog:2017-06-08r0 to complete...
Operation finished successfully. The following command can describe the Operatio
n details:
 gcloud service-management operations describe operations/rollouts.echo-api.endp
oints.endpoints-framework-echo.cloud.goog:2017-06-08r0

Service Configuration [2017-06-08r0] uploaded for service [echo-api.endpoints.en
dpoints-framework-echo.cloud.goog]

To manage your API, go to: https://console.cloud.google.com/endpoints/api/echo-a
pi.endpoints.endpoints-framework-echo.cloud.goog/overview?project=endpoints-fram
ework-echo
  1. mvn appengine:deploy failed in the same way.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building echo 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> appengine-maven-plugin:1.3.1:deploy (default-cli) > package @ echo >>
>
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (default) @ echo
 ---
[INFO] argLine set to "-javaagent:C:\\Users\\Eric\\.m2\\repository\\org\\jacoco\
\org.jacoco.agent\\0.7.7.201606060606\\org.jacoco.agent-0.7.7.201606060606-runti
me.jar=destfile=S:\\Programming\\git repositories\\tmp\\java-docs-samples\\appen
gine\\endpoints-frameworks-v2\\backend\\target\\jacoco.exec"
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ echo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory S:\Programming\git repositories\tmp\j
ava-docs-samples\appengine\endpoints-frameworks-v2\backend\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ echo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ec
ho ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory S:\Programming\git repositories\tmp\j
ava-docs-samples\appengine\endpoints-frameworks-v2\backend\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ echo --
-
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ echo ---
[INFO] No tests to run.
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (report) @ echo ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ echo ---
[INFO] Packaging webapp
[INFO] Assembling webapp [echo] in [S:\Programming\git repositories\tmp\java-doc
s-samples\appengine\endpoints-frameworks-v2\backend\target\echo-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources [S:\Programming\git repositories\tmp\java-doc
s-samples\appengine\endpoints-frameworks-v2\backend/src/main/webapp/WEB-INF] to
[S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frame
works-v2\backend\target\echo-1.0-SNAPSHOT]
[INFO] Copying webapp resources [S:\Programming\git repositories\tmp\java-docs-s
amples\appengine\endpoints-frameworks-v2\backend\src\main\webapp]
[INFO] Webapp assembled in [174 msecs]
[INFO] Building war: S:\Programming\git repositories\tmp\java-docs-samples\appen
gine\endpoints-frameworks-v2\backend\target\echo-1.0-SNAPSHOT.war
[INFO]
[INFO] <<< appengine-maven-plugin:1.3.1:deploy (default-cli) < package @ echo <<
<
[INFO]
[INFO] --- appengine-maven-plugin:1.3.1:deploy (default-cli) @ echo ---
[INFO] Deleting the staging directory: S:\Programming\git repositories\tmp\java-
docs-samples\appengine\endpoints-frameworks-v2\backend\target\appengine-staging
[INFO] Staging the application to: S:\Programming\git repositories\tmp\java-docs
-samples\appengine\endpoints-frameworks-v2\backend\target\appengine-staging
[INFO] Detected App Engine standard environment application.
Jun 08, 2017 5:23:29 PM com.google.cloud.tools.appengine.cloudsdk.CloudSdk logCo
mmand
INFO: submitting command: C:\Program Files\Java\jdk1.8.0_121\jre\bin\java.exe -c
p C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appen
gine\google\appengine\tools\java\lib\appengine-tools-api.jar com.google.appengin
e.tools.admin.AppCfg --disable_update_check stage S:\Programming\git repositorie
s\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\target\echo-1.
0-SNAPSHOT S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpo
ints-frameworks-v2\backend\target\appengine-staging
[INFO] GCLOUD: Jun 08, 2017 5:23:30 PM java.util.prefs.WindowsPreferences <init>

[INFO] GCLOUD: WARNING: Could not open/create prefs root node Software\JavaSoft\
Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[INFO] GCLOUD: Reading application configuration data...
[INFO] GCLOUD: *********************************
[INFO] GCLOUD: Configuration Warning : <application>/<version> XML elements and
--application/--version should not be specified when staging
[INFO] GCLOUD:
[INFO] GCLOUD: The following parameters will be scrubbed from app.yaml
[INFO] GCLOUD: application : endpoints-framework-echo
[INFO] GCLOUD: version : 1
[INFO] GCLOUD:
[INFO] GCLOUD: Future versions of staging will fail if application or version is
 specified.
[INFO] GCLOUD: *********************************
[INFO] GCLOUD:
[INFO] GCLOUD:
[INFO] GCLOUD: Beginning interaction for module default...
[INFO] GCLOUD: 0% Scanning for jsp files.
[INFO] GCLOUD: 0% Generated git repository information file.
[INFO] GCLOUD: Success.
[INFO] GCLOUD: Temporary staging for module default directory left in S:\Program
ming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\ba
ckend\target\appengine-staging
Jun 08, 2017 5:23:30 PM com.google.cloud.tools.appengine.cloudsdk.CloudSdk logCo
mmand
INFO: submitting command: C:\Program Files (x86)\Google\Cloud SDK\google-cloud-s
dk\bin\gcloud.cmd app deploy
[INFO] GCLOUD: You are about to deploy the following services:
[INFO] GCLOUD:  - endpoints-framework-echo/default/20170608t172333 (from [S:\Pro
gramming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v
2\backend\target\appengine-staging\app.yaml])
[INFO] GCLOUD:      Deploying to URL: [https://endpoints-framework-echo.appspot.
com]
[INFO] GCLOUD:
[INFO] GCLOUD: Beginning deployment of service [default]...
[INFO] GCLOUD: Some files were skipped. Pass `--verbosity=info` to see which one
s.
[INFO] GCLOUD: You may also view the gcloud log file, found at
[INFO] GCLOUD: [C:\Users\Eric\AppData\Roaming\gcloud\logs\2017.06.08\17.23.31.49
3000.log].
[INFO] GCLOUD: #============================================================#
[INFO] GCLOUD: #= Uploading 3 files to Google Cloud Storage                =#
[INFO] GCLOUD: #============================================================#


                <--- stopped here with no output for 5-10 minutes


[INFO] GCLOUD: File upload done.
[INFO] GCLOUD: Updating service [default]...
[INFO] GCLOUD: .................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.............................................................failed.
[INFO] GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [13] An internal error
 occurred.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:20 min
[INFO] Finished at: 2017-06-08T17:33:45-04:00
[INFO] Final Memory: 21M/266M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:1.3
.1:deploy (default-cli) on project echo: Execution default-cli of goal com.googl
e.cloud.tools:appengine-maven-plugin:1.3.1:deploy failed: Non zero exit: 1 -> [H
elp 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutio
nException

@frankyn
Copy link
Member

frankyn commented Jun 8, 2017

Ah, I didn't notice you are running Windows. I'll try to reproduce using a Windows environment. Which version are you using?

@ersimont
Copy link
Author

ersimont commented Jun 9, 2017

I'm on Windows 8.1

@frankyn
Copy link
Member

frankyn commented Jun 9, 2017

Thanks @ersimont, I tested it on a Windows VM available to me and wasn't able to reproduce. Could you run the following command add the output to this issue?

mvn appengine:deploy -X

@ersimont
Copy link
Author

ersimont commented Jun 9, 2017

That is quite a bit more output! I've attached the results as a .txt. I've run this using by the built-in command prompt as well as cygwin with the same result; this time I used cygwin because the output is a little nicer to work with.

deploy_output.txt

@frankyn
Copy link
Member

frankyn commented Jun 10, 2017

Thanks! Could you send the log from this file next?

C:\Users\Eric\AppData\Roaming\gcloud\logs\2017.06.10\00.43.08.752000.log

Also, could you authorize gcloud using the following command and try again. I forgot to provide this command the first time.

gcloud auth application-default login

Thank you for your patience!

@ersimont
Copy link
Author

Same result after re-authorizing. Here's that other log (with an additional .txt extension so github would accept it):

00.43.08.752000.log.txt

@frankyn
Copy link
Member

frankyn commented Jun 12, 2017

Thanks @ersimont. Unfortunately I wasn't able to find anything that could help.

@loosebazooka do you have an idea as to how mvn appengine:deploy would fail on Windows 8?

@loosebazooka
Copy link
Contributor

It's not obvious to me from these logs.

Might be a good idea to try using gcloud app deploy directly.

gcloud app deploy S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\target\appengine-staging\app.yaml

I'm assuming that this doesn't really have to do with the fact that it's the maven plugin, but more the deployment, and if necessary we can redirect to the gcloud or deployment teams.

@ersimont
Copy link
Author

That sounds like a good idea. Using gcloud directly exhibits the same problem:

S:\Programming\git repositories\tmp\java-docs-samples\appengine\endpoints-framew
orks-v2\backend>gcloud app deploy "S:\Programming\git repositories\tmp\java-docs
-samples\appengine\endpoints-frameworks-v2\backend\target\appengine-staging\app.
yaml"
You are about to deploy the following services:
 - endpoints-framework-echo/default/20170612t173847 (from [S:\Programming\git re
positories\tmp\java-docs-samples\appengine\endpoints-frameworks-v2\backend\targe
t\appengine-staging\app.yaml])
     Deploying to URL: [https://endpoints-framework-echo.appspot.com]

Do you want to continue (Y/n)?  y

Beginning deployment of service [default]...
Some files were skipped. Pass `--verbosity=info` to see which ones.
You may also view the gcloud log file, found at
[C:\Users\Eric\AppData\Roaming\gcloud\logs\2017.06.12\17.38.45.316000.log].
╔════════════════════════════════════════════════════════════╗
╠═ Uploading 0 files to Google Cloud Storage                ═╣
╚════════════════════════════════════════════════════════════╝
File upload done.
Updating service [default]...failed.


    ^ shows a spinner for about 10 minutes after the `...` before changing to "failed."


ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred.

17.38.45.316000.log.txt

If you want me to open a issue with a different team, just tell me where!

Thanks

@frankyn
Copy link
Member

frankyn commented Jun 12, 2017

I'll forward it over and keep you posted @ersimont! Could you provide me with the output when you type in gcloud info?

@ersimont
Copy link
Author

Sure thing.

gloud info.txt

@frankyn
Copy link
Member

frankyn commented Jun 13, 2017

Thanks! I'll keep you posted on the progress.

@washowasho
Copy link

I'm having a very similar issue.

@frankyn
Copy link
Member

frankyn commented Jun 13, 2017

Thanks for the feedback @washowasho.

@frankyn
Copy link
Member

frankyn commented Jun 23, 2017

@ersimont I sent you an email.

@frankyn
Copy link
Member

frankyn commented Aug 1, 2017

After an email conversation with @ersimont. They were able to resolve the issue recently with a git pull and gcloud components update.

@frankyn frankyn closed this as completed Aug 1, 2017
Shabirmean pushed a commit that referenced this issue Nov 15, 2022
…-ai to v2.1.8 (#693)

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-document-ai](https://togithub.com/googleapis/java-document-ai) | `2.1.7` -> `2.1.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.8/compatibility-slim/2.1.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.8/confidence-slim/2.1.7)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/java-document-ai</summary>

### [`v2.1.8`](https://togithub.com/googleapis/java-document-ai/blob/master/CHANGELOG.md#&#8203;218-httpswwwgithubcomgoogleapisjava-document-aicomparev217v218-2021-12-03)

[Compare Source](https://togithub.com/googleapis/java-document-ai/compare/v2.1.7...v2.1.8)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai).
Shabirmean pushed a commit that referenced this issue Nov 15, 2022
…-ai to v2.1.8 (#693)

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-document-ai](https://togithub.com/googleapis/java-document-ai) | `2.1.7` -> `2.1.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.8/compatibility-slim/2.1.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/2.1.8/confidence-slim/2.1.7)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/java-document-ai</summary>

### [`v2.1.8`](https://togithub.com/googleapis/java-document-ai/blob/master/CHANGELOG.md#&#8203;218-httpswwwgithubcomgoogleapisjava-document-aicomparev217v218-2021-12-03)

[Compare Source](https://togithub.com/googleapis/java-document-ai/compare/v2.1.7...v2.1.8)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

5 participants