Build #547

Build: #547 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
4 minutes
Agent
bamboo-22.af.pivotal.io
Revision
340b842fd428e1d13afa2d6a311039e5389ffbb7 340b842fd428e1d13afa2d6a311039e5389ffbb7
Total tests
1065
Fixed in
#549 (Code changes detected)

Tests

  • 1,065 tests in total
  • 3 tests failed
  • 3 failures are new
  • 45 seconds taken in total.
New test failures 3
Status Test Duration
Collapse Failed ApiDocumentationSpec test and document create new note History
< 1 sec
org.spockframework.runtime.ConditionFailedWithExceptionError: Condition failed with Exception:

given(this.documentationSpec) .accept(MediaType.APPLICATION_JSON.toString()) .contentType(MediaType.APPLICATION_JSON.toString()) .filter(document('notes-create-example', preprocessRequest(modifyUris() .host('api.example.com') .removePort()), preprocessResponse(prettyPrint()), requestFields( fieldWithPath('title').description('the title of the note'), fieldWithPath('body').description('the body of the note'), subsectionWithPath('tags').type(JsonFieldType.ARRAY).description('a list of tags associated to the note') ), responseFields( fieldWithPath('id').description('the id of the note'), fieldWithPath('title').description('the title of the note'), fieldWithPath('body').description('the body of the note'), subsectionWithPath('tags').type(JsonFieldType.ARRAY).description('the list of tags associated with the note') ))) .body('{ "body": "My test example", "title": "Eureka!", "tags": [{"name": "testing123"}] }') .when() .port(this.serverPort) .post('/notes') .then() .assertThat() .statusCode(is(201))
|     |    |                   |                |                |            |                     |                |            |      |                                |                 |             |                        |              |                  |               |              |                      |                                     |                     |                                    |                          |                  |      |                                                       |               |                   |                                  |                      |                                     |                     |                                    |                          |                  |      |                                                             |                                                                                            |       |    |    |            |
|     |    |                   |                application/json |            |                     application/json |            |      |                                |                 |             |                        |              |                  |               |              |                      |                                     |                     |                                    |                          |                  Array  |                                                       |               |                   |                                  |                      |                                     |                     |                                    |                          |                  Array  |                                                             io.restassured.internal.RequestSpecificationImpl@4a85e794                                    |       |    |    46597        java.lang.NoSuchMethodError: org.springframework.util.Assert.state(ZLjava/util/function/Supplier;)V
|     |    |                   |                                 |            |                                      |            |      |                                |                 |             |                        |              |                  |               |              |                      |                                     |                     |                                    |                          |                         |                                                       |               |                   |                                  |                      |                                     |                     |                                    |                          |                         org.springframework.restdocs.payload.SubsectionDescriptor@5ae4f72                                                                                          |       |    com.example.ApiDocumentationSpec@123088c6
|     |    |                   |                                 |            |                                      |            |      |                                |                 |             |                        |              |                  |               |              |                      |                                     |                     |                                    |                          |                         |                                                       |               |                   |                                  |                      |                                     |                     |                                    |                          org.springframework.restdocs.payload.SubsectionDescriptor@5ae4f72                                                                                                                    |       io.restassured.internal.RequestSpecificationImpl@4a85e794
|     |    |                   |                                 |            |                                      |            |      |                                |                 |             |                        |              |                  |               |              |                      |                                     |                     |                                    |                          |                         |                                                       |               |                   |                                  |                      |                                     |                     |                                    org.springframework.restdocs.payload.SubsectionDescriptor@5ae4f72                                                                                                                                               io.restassured.internal.RequestSpecificationImpl@4a85e794
(90 more lines...)
Collapse Failed ApiDocumentationSpec test and document getting specific note History
< 1 sec
org.spockframework.runtime.ConditionFailedWithExceptionError: Condition failed with Exception:

given(this.documentationSpec) .accept(MediaType.APPLICATION_JSON.toString()) .filter(document('note-get-example', preprocessRequest(modifyUris() .host('api.example.com') .removePort()), preprocessResponse(prettyPrint()), responseFields( fieldWithPath('id').description('the id of the note'), fieldWithPath('title').description('the title of the note'), fieldWithPath('body').description('the body of the note'), fieldWithPath('tags').type(JsonFieldType.ARRAY).description('the list of tags associated with the note'), ))) .when() .port(this.serverPort) .get('/notes/1') .then() .assertThat() .statusCode(is(200))
|     |    |                   |                |                |            |      |                            |                 |             |                        |              |                  |               |               |                   |                                  |                      |                                     |                     |                                    |                     |                  |      |                                                              |       |    |    |            |
|     |    |                   |                application/json |            |      |                            |                 |             |                        |              |                  |               |               |                   |                                  |                      |                                     |                     |                                    |                     |                  Array  org.springframework.restdocs.payload.FieldDescriptor@77a1f313  |       |    |    46597        java.lang.NoSuchMethodError: org.springframework.util.Assert.state(ZLjava/util/function/Supplier;)V
|     |    |                   |                                 |            |      |                            |                 |             |                        |              |                  |               |               |                   |                                  |                      |                                     |                     |                                    |                     org.springframework.restdocs.payload.FieldDescriptor@77a1f313                            |       |    com.example.ApiDocumentationSpec@e6cece1
|     |    |                   |                                 |            |      |                            |                 |             |                        |              |                  |               |               |                   |                                  |                      |                                     |                     |                                    org.springframework.restdocs.payload.FieldDescriptor@77a1f313                                                  |       io.restassured.internal.RequestSpecificationImpl@690a1df
|     |    |                   |                                 |            |      |                            |                 |             |                        |              |                  |               |               |                   |                                  |                      |                                     |                     org.springframework.restdocs.payload.FieldDescriptor@1a03b61f                                                                                       io.restassured.internal.RequestSpecificationImpl@690a1df
(68 more lines...)
Collapse Failed ApiDocumentationSpec test and document notes list request History
7 secs
org.spockframework.runtime.ConditionFailedWithExceptionError: Condition failed with Exception:

given(this.documentationSpec) .accept(MediaType.APPLICATION_JSON.toString()) .filter(document('notes-list-example', preprocessRequest(modifyUris() .host('api.example.com') .removePort()), preprocessResponse(prettyPrint()), responseFields( fieldWithPath('[].id').description('the id of the note'), fieldWithPath('[].title').description('the title of the note'), fieldWithPath('[].body').description('the body of the note'), fieldWithPath('[].tags').type(JsonFieldType.ARRAY).description('the list of tags associated with the note'), ))) .when() .port(this.serverPort) .get('/notes') .then() .assertThat() .statusCode(is(200))
|     |    |                   |                |                |            |      |                              |                 |             |                        |              |                  |               |               |                      |                                  |                         |                                     |                        |                                    |                        |                  |      |                                                              |       |    |    |            |
|     |    |                   |                application/json |            |      |                              |                 |             |                        |              |                  |               |               |                      |                                  |                         |                                     |                        |                                    |                        |                  Array  org.springframework.restdocs.payload.FieldDescriptor@5cc68da0  |       |    |    46597        java.lang.NoSuchMethodError: org.springframework.util.Assert.state(ZLjava/util/function/Supplier;)V
|     |    |                   |                                 |            |      |                              |                 |             |                        |              |                  |               |               |                      |                                  |                         |                                     |                        |                                    |                        org.springframework.restdocs.payload.FieldDescriptor@5cc68da0                            |       |    com.example.ApiDocumentationSpec@5ca4af6
|     |    |                   |                                 |            |      |                              |                 |             |                        |              |                  |               |               |                      |                                  |                         |                                     |                        |                                    org.springframework.restdocs.payload.FieldDescriptor@5cc68da0                                                     |       io.restassured.internal.RequestSpecificationImpl@adcee6b
|     |    |                   |                                 |            |      |                              |                 |             |                        |              |                  |               |               |                      |                                  |                         |                                     |                        org.springframework.restdocs.payload.FieldDescriptor@24efb788                                                                                          io.restassured.internal.RequestSpecificationImpl@adcee6b
(68 more lines...)

Error summary

The build generated some errors. See the full build log for more details.

        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:74)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.execute(DefaultTaskExecutionGraph.java:139)
        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:39)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:40)
        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:24)
        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:46)
        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:49)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:40)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:33)
        at org.gradle.initialization.DefaultGradleLauncher$ExecuteTasks.run(DefaultGradleLauncher.java:347)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.initialization.DefaultGradleLauncher.runTasks(DefaultGradleLauncher.java:216)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:146)
        at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:121)
        at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:77)
        at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:74)
        at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:152)
        at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:38)
        at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:96)
        at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:74)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.run(RunAsBuildOperationBuildActionRunner.java:47)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:43)
        at org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:51)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:50)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:46)
        at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:74)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:46)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:32)
        at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:39)
        at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25)
        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:80)
        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:53)
        at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:62)
        at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:34)
        at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
        at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
        at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
        at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
        at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
        at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
        at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:59)
        at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:44)
        at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:46)
        at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:30)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:52)
        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:207)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:402)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:375)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:37)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:23)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:368)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:298)
        at org.gradle.launcher.Main.doAction(Main.java:36)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:31)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: org.gradle.process.internal.ExecException: Process 'command './gradlew'' finished with non-zero exit value 1
        at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:395)
        at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:37)
        at org.gradle.api.tasks.AbstractExecTask.exec(AbstractExecTask.java:56)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:786)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:753)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
        ... 100 more


* Get more help at https://help.gradle.org

BUILD FAILED in 4m 43s