Skip to content

Error Deploying Endpoints Sample #693

Closed

Description

@ersimont

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

Activity

  1. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Jun 8, 2017
  2. frankyn commented on Jun 8, 2017

    @frankyn
    Contributor

    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
    
  3. ersimont commented on Jun 8, 2017

    @ersimont
    Author

    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
    
  4. frankyn commented on Jun 8, 2017

    @frankyn
    Contributor

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

  5. ersimont commented on Jun 9, 2017

    @ersimont
    Author

    I'm on Windows 8.1

  6. frankyn commented on Jun 9, 2017

    @frankyn
    Contributor

    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

  7. ersimont commented on Jun 9, 2017

    @ersimont
    Author

    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

  8. frankyn commented on Jun 10, 2017

    @frankyn
    Contributor

    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!

  9. ersimont commented on Jun 10, 2017

    @ersimont
    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

  10. frankyn commented on Jun 12, 2017

    @frankyn
    Contributor

    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?

  11. loosebazooka commented on Jun 12, 2017

    @loosebazooka
    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.

  12. ersimont commented on Jun 12, 2017

    @ersimont
    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

  13. frankyn commented on Jun 12, 2017

    @frankyn
    Contributor

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

  14. ersimont commented on Jun 12, 2017

    @ersimont
    Author

    Sure thing.

    gloud info.txt

  15. frankyn commented on Jun 13, 2017

    @frankyn
    Contributor

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

  16. washowasho commented on Jun 13, 2017

    @washowasho

    I'm having a very similar issue.

  17. frankyn commented on Jun 13, 2017

    @frankyn
    Contributor

    Thanks for the feedback @washowasho.

  18. frankyn commented on Jun 23, 2017

    @frankyn
    Contributor

    @ersimont I sent you an email.

  19. frankyn commented on Aug 1, 2017

    @frankyn
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions