Build #547

Build result summary

Details

Completed
Duration
4 minutes
Labels
None
Agent
bamboo-22.af.pivotal.io
Revision
340b842fd428e1d13afa2d6a311039e5389ffbb7 340b842fd428e1d13afa2d6a311039e5389ffbb7
Total tests
1065
Fixed in
#549 (Changes by Andy Wilkinson)

Tests

Responsible

Code commits

Author Commit Message Commit date
Andy Wilkinson Andy Wilkinson 340b842fd428e1d13afa2d6a311039e5389ffbb7 340b842fd428e1d13afa2d6a311039e5389ffbb7 Merge pull request #583 from nosan
* gh-583:
  Polish "Improve diagnostics for null configuration"
  Improve diagnostics for null configuration

Closes gh-583
Andy Wilkinson Andy Wilkinson fce255695ebf5641e0c12ded00649298b1a08411 fce255695ebf5641e0c12ded00649298b1a08411 Polish "Improve diagnostics for null configuration"
See gh-583
Dmytro Nosan <dimanosan@gmail.com> Dmytro Nosan <dimanosan@gmail.com> b5f2454c005f08497cc55be345afb17ac016a851 b5f2454c005f08497cc55be345afb17ac016a851 Improve diagnostics for null configuration
See gh-583
Andy Wilkinson Andy Wilkinson c4d664c3a27561287f9d78c263e7445da5eac912 c4d664c3a27561287f9d78c263e7445da5eac912 Upgrade to AssertJ 3.11.1

Tests

New test failures 3
Status Test View job Duration
Collapse Failed ApiDocumentationSpec test and document notes list request History
Default Job 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...)
Collapse Failed ApiDocumentationSpec test and document create new note History
Default Job < 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
Default Job < 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...)