GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Build failing on Jenkins due to sparkdemo · Issue #85 · GoogleCloudPlatform/java-docs-samples

Build failing on Jenkins due to sparkdemo #85

New issue
Copy link
New issue
Copy link
Closed
Closed
Build failing on Jenkins due to sparkdemo#85
Copy link
Assignees
ajkannan
Labels
🚨This issue needs some love.triage meI really want to be triaged.

Description

@tswast
tswast
opened on Feb 9, 2016
Issue body actions

This might be the same flakey failure we were seeing in Travis.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.google.appengine.sparkdemo.UserControllerTest
Feb 08, 2016 1:00:25 AM com.google.api.services.datastore.client.BaseDatastoreFactory makeClient
WARNING: Not using any credentials
Feb 08, 2016 1:00:28 AM com.google.api.services.datastore.client.BaseDatastoreFactory makeClient
WARNING: Not using any credentials
[Thread-1] INFO org.eclipse.jetty.util.log - Logging initialized @3035ms
[Thread-1] INFO spark.webserver.JettySparkServer - == Spark has ignited ...
[Thread-1] INFO spark.webserver.JettySparkServer - >> Listening on 0.0.0.0:8080
[Thread-1] INFO org.eclipse.jetty.server.Server - jetty-9.3.2.v20150730
[Thread-1] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@42c69b0e{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[Thread-1] INFO org.eclipse.jetty.server.Server - Started @3198ms
[main] INFO spark.webserver.JettySparkServer - >>> Spark shutting down ...
[main] INFO org.eclipse.jetty.server.ServerConnector - Stopped ServerConnector@42c69b0e{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[main] INFO spark.webserver.JettySparkServer - done
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.345 sec <<< FAILURE!
Running com.google.appengine.sparkdemo.UserServiceTest
Feb 08, 2016 1:00:33 AM com.google.api.services.datastore.client.BaseDatastoreFactory makeClient
WARNING: Not using any credentials
Feb 08, 2016 1:00:34 AM com.google.api.services.datastore.client.BaseDatastoreFactory makeClient
WARNING: Not using any credentials
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.119 sec

Results :

Failed tests:   testDeleteUser(com.google.appengine.sparkdemo.UserControllerTest): expected:<0> but was:<1>

Activity

  1. lesv commented on Feb 9, 2016

    @lesv
    lesv
    on Feb 9, 2016
    Contributor
    More actions

    @ludoch -- Any chance one of your contractors will fix this? OR should we?

  2. ajkannan
    self-assigned this
    on Feb 9, 2016
  3. ajkannan commented on Feb 9, 2016

    @ajkannan
    ajkannan
    on Feb 9, 2016
    Contributor
    More actions

    I'll start work on this now.

  4. ajkannan
    closed this as completedin #88on Feb 10, 2016
  5. tswast
    reopened this on Feb 19, 2016
  6. tswast commented on Feb 19, 2016

    @tswast
    tswast
    on Feb 19, 2016
    ContributorAuthor
    More actions

    Looks like the sparkdemo target is still flaky. Jenkins build failed again last night.

    -------------------------------------------------------
     T E S T S
    -------------------------------------------------------
    Running com.google.appengine.sparkdemo.UserControllerTest
    Feb 19, 2016 1:00:48 AM com.google.api.services.datastore.client.BaseDatastoreFactory makeClient
    WARNING: Not using any credentials
    Feb 19, 2016 1:00:52 AM com.google.api.services.datastore.client.BaseDatastoreFactory makeClient
    WARNING: Not using any credentials
    [Thread-1] INFO org.eclipse.jetty.util.log - Logging initialized @4835ms
    [Thread-1] INFO spark.webserver.JettySparkServer - == Spark has ignited ...
    [Thread-1] INFO spark.webserver.JettySparkServer - >> Listening on 0.0.0.0:8080
    [Thread-1] INFO org.eclipse.jetty.server.Server - jetty-9.3.2.v20150730
    [Thread-1] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@6af08186{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
    [Thread-1] INFO org.eclipse.jetty.server.Server - Started @5095ms
    [main] INFO spark.webserver.JettySparkServer - >>> Spark shutting down ...
    [main] INFO org.eclipse.jetty.server.ServerConnector - Stopped ServerConnector@6af08186{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
    [main] INFO spark.webserver.JettySparkServer - done
    Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.561 sec <<< FAILURE!
    Running com.google.appengine.sparkdemo.UserServiceTest
    Feb 19, 2016 1:01:03 AM com.google.api.services.datastore.client.BaseDatastoreFactory makeClient
    WARNING: Not using any credentials
    Feb 19, 2016 1:01:03 AM com.google.api.services.datastore.client.BaseDatastoreFactory makeClient
    WARNING: Not using any credentials
    Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.296 sec
    
    Results :
    
    Failed tests:   testDeleteUser(com.google.appengine.sparkdemo.UserControllerTest): expected:<0> but was:<1>
    
    Tests run: 9, Failures: 1, Errors: 0, Skipped: 0
    
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO] 
    [INFO] appengine-appidentity ............................. SUCCESS [13.918s]
    [INFO] appengine-helloworld .............................. SUCCESS [1.267s]
    [INFO] appengine-analytics ............................... SUCCESS [2.417s]
    [INFO] appengine-cloudsql ................................ SUCCESS [1.852s]
    [INFO] appengine-cloudstorage ............................ SUCCESS [1.990s]
    [INFO] appengine-datastore ............................... SUCCESS [1.818s]
    [INFO] appengine-disk .................................... SUCCESS [1.226s]
    [INFO] appengine-extendingruntime ........................ SUCCESS [1.034s]
    [INFO] managedvms-helloworld-mvm ......................... SUCCESS [0.795s]
    [INFO] appengine-mailgun ................................. SUCCESS [1.042s]
    [INFO] appengine-memcache ................................ SUCCESS [0.918s]
    [INFO] appengine-sendgrid ................................ SUCCESS [1.105s]
    [INFO] appengine-staticfiles ............................. SUCCESS [0.767s]
    [INFO] appengine-twilio .................................. SUCCESS [1.086s]
    [INFO] Example Async Rest Webapp ......................... SUCCESS [0.599s]
    [INFO] sparkdemo ......................................... FAILURE [19.069s]
    [INFO] doc-samples ....................................... SKIPPED
    [INFO] bigquery-samples .................................. SKIPPED
    [INFO] Google Cloud Datastore Snippets ................... SKIPPED
    [INFO] cloud-logging-samples ............................. SKIPPED
    [INFO] cloud-monitoring-samples .......................... SKIPPED
    [INFO] Sample accessing the Google Cloud Storage JSON API using OAuth 2.0.  SKIPPED
    [INFO] transfersample .................................... SKIPPED
    [INFO] Example for the Google Cloud Storage XML API using Application Default Credentials.  SKIPPED
    [INFO] Example for Google Cloud Storage using OAuth 2.0 Service Accounts on Google App Engine  SKIPPED
    [INFO] defer-sample ...................................... SKIPPED
    [INFO] appengine-local-testing-samples ................... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 51.761s
    [INFO] Finished at: Fri Feb 19 01:01:06 UTC 2016
    [INFO] Final Memory: 20M/56M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project sparkdemo: There are test failures.
    [ERROR] 
    [ERROR] Please refer to /workspace/java-docs-samples/managed_vms/sparkjava/target/surefire-reports for the individual test results.
    [ERROR] -> [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/MojoFailureException
    [ERROR] 
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :sparkdemo
    ERROR:  (Java::Hudson::AbortException)
    
  7. ajkannan commented on Feb 19, 2016

    @ajkannan
    ajkannan
    on Feb 19, 2016
    Contributor
    More actions

    Hm, maybe it's a consistency issue. I'll do some more digging.

  8. tswast commented on Feb 23, 2016

    @tswast
    tswast
    on Feb 23, 2016
    ContributorAuthor
    More actions

    This should be fixed with #96, which I believe clears up the issue with the tests assuming strong consistency in Datastore.

  9. tswast
    closed this as completedon Feb 23, 2016
  10. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Apr 6, 2020
  11. minherz
    added 3 commits that reference this issue on Nov 9, 2022

    samples: fix snippet closing tag (#85)

    713f069

    samples: fix snippet closing tag (#85)

    27ad37e

    samples: fix snippet closing tag (#85)

    ca984a9
  12. charlieyu1996
    added 2 commits that reference this issue on Nov 11, 2022

    chore(deps): update dependency com.google.cloud:google-cloud-optimiza…

    7ea146c

    migrate code from googleapis/java-optimization (#7409)

    ed8feec
  13. Shabirmean
    added 2 commits that reference this issue on Nov 17, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v4.3…

    333b12c

    chore(deps): update dependency com.google.cloud:libraries-bom to v4.3…

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

Metadata

Metadata

Assignees

  • @ajkannan
    ajkannan

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.