[Mifos-developer] Fwd: Build failed in Jenkins: MIFOSX INTEGRATION TEST #313

24 views
Skip to first unread message

Gurpreet Luthra

unread,
Jul 1, 2013, 10:37:53 AM7/1/13
to Mifos Software Dev List
Integration Tests are failing due to recent check-ins.. 

Regards
Gurpreet

Join the Humanitarian Software Program to help and contribute OpenMRS, RapidFTR, Camfed and MifosX SIP Projects. We are looking for Volunteers!


---------- Forwarded message ----------
From: <jenkins-...@cloudbees.com>
Date: 1 July 2013 19:55
Subject: Build failed in Jenkins: MIFOSX INTEGRATION TEST #313
To: glu...@thoughtworks.com, as...@confluxtechnologies.com, keithw...@gmail.com, vis...@confluxtechnologies.com, john.w...@gmail.com


See <https://openmf.ci.cloudbees.com/job/MIFOSX%20INTEGRATION%20TEST/313/changes>

Changes:

[ashok] MIFOSX-518: capture alternative working date

------------------------------------------
[...truncated 2064 lines...]
    10:25:36.053 [Test worker] DEBUG org.apache.http.wire -  >> "Content-Type: application/json; charset=ISO-8859-1[\r][\n]"
    10:25:36.055 [Test worker] DEBUG org.apache.http.wire -  >> "Host: localhost:8443[\r][\n]"
    10:25:36.055 [Test worker] DEBUG org.apache.http.wire -  >> "Connection: Keep-Alive[\r][\n]"
    10:25:36.055 [Test worker] DEBUG org.apache.http.wire -  >> "Expect: 100-continue[\r][\n]"
    10:25:36.055 [Test worker] DEBUG org.apache.http.wire -  >> "Accept-Encoding: gzip,deflate[\r][\n]"
    10:25:36.055 [Test worker] DEBUG org.apache.http.wire -  >> "[\r][\n]"
    10:25:36.055 [Test worker] DEBUG org.apache.http.headers - >> POST /mifosng-provider/api/v1/glaccounts?tenantIdentifier=default HTTP/1.1
    10:25:36.055 [Test worker] DEBUG org.apache.http.headers - >> Accept: */*
    10:25:36.055 [Test worker] DEBUG org.apache.http.headers - >> Authorization: Basic bWlmb3M6cGFzc3dvcmQ=
    10:25:36.055 [Test worker] DEBUG org.apache.http.headers - >> Content-Length: 152
    10:25:36.056 [Test worker] DEBUG org.apache.http.headers - >> Content-Type: application/json; charset=ISO-8859-1
    10:25:36.056 [Test worker] DEBUG org.apache.http.headers - >> Host: localhost:8443
    10:25:36.056 [Test worker] DEBUG org.apache.http.headers - >> Connection: Keep-Alive
    10:25:36.056 [Test worker] DEBUG org.apache.http.headers - >> Expect: 100-continue
    10:25:36.056 [Test worker] DEBUG org.apache.http.headers - >> Accept-Encoding: gzip,deflate
    10:25:36.070 [Test worker] DEBUG org.apache.http.wire -  << "HTTP/1.1 100 Continue[\r][\n]"
    10:25:36.071 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:36.071 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 100 Continue
    10:25:36.071 [Test worker] DEBUG org.apache.http.headers - << HTTP/1.1 100 Continue
    10:25:36.071 [Test worker] DEBUG org.apache.http.wire -  >> "{"description":"DEFAULT_DESCRIPTION","name":"ACCOUNT_NAME_4UKTD","usage":"1","manualEntriesAllowed":"true","type":"4","glCode":"INCOME_2F1372688735877"}"
    10:25:36.435 [Test worker] DEBUG org.apache.http.wire -  << "HTTP/1.1 200 OK[\r][\n]"
10:25:36.442 [http-bio-8443-exec-6] INFO  o.m.i.s.f.TenantAwareBasicAuthenticationFilter - {"startTime":1372688736070,"totalTime":372,"method":"POST","url":"https://localhost:8443/mifosng-provider/api/v1/glaccounts","parameters":{"tenantIdentifier":["default"]}}
    10:25:36.435 [Test worker] DEBUG org.apache.http.wire -  << "Server: Apache-Coyote/1.1[\r][\n]"
    10:25:36.435 [Test worker] DEBUG org.apache.http.wire -  << "Access-Control-Allow-Origin: *[\r][\n]"
    10:25:36.435 [Test worker] DEBUG org.apache.http.wire -  << "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS[\r][\n]"
    10:25:36.435 [Test worker] DEBUG org.apache.http.wire -  << "Content-Type: application/json[\r][\n]"
    10:25:36.436 [Test worker] DEBUG org.apache.http.wire -  << "Transfer-Encoding: chunked[\r][\n]"
    10:25:36.436 [Test worker] DEBUG org.apache.http.wire -  << "Date: Mon, 01 Jul 2013 14:25:36 GMT[\r][\n]"
    10:25:36.436 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:36.436 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 200 OK
    10:25:36.436 [Test worker] DEBUG org.apache.http.headers - << HTTP/1.1 200 OK
    10:25:36.444 [Test worker] DEBUG org.apache.http.headers - << Server: Apache-Coyote/1.1
    10:25:36.444 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Origin: *
    10:25:36.444 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
    10:25:36.444 [Test worker] DEBUG org.apache.http.headers - << Content-Type: application/json
    10:25:36.444 [Test worker] DEBUG org.apache.http.headers - << Transfer-Encoding: chunked
    10:25:36.445 [Test worker] DEBUG org.apache.http.headers - << Date: Mon, 01 Jul 2013 14:25:36 GMT
    10:25:36.445 [Test worker] DEBUG o.a.h.impl.client.DefaultHttpClient - Connection can be kept alive indefinitely
    10:25:36.445 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsing response as: application/json
    10:25:36.445 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream
    10:25:36.531 [Test worker] DEBUG org.apache.http.wire -  << "10[\r][\n]"
    10:25:36.531 [Test worker] DEBUG org.apache.http.wire -  << "{"resourceId":2}"
    10:25:36.531 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:36.532 [Test worker] DEBUG org.apache.http.wire -  << "0[\r][\n]"
    10:25:36.532 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:36.532 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@1cc33893
    10:25:36.532 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Connection can be kept alive indefinitely
    10:25:36.585 [Finalizer] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:50992<->127.0.0.1:8443 closed
    10:25:36.589 [Finalizer] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:50993<->127.0.0.1:8443 closed
    10:25:36.591 [Finalizer] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:50996<->127.0.0.1:8443 closed
    10:25:36.594 [Finalizer] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:50995<->127.0.0.1:8443 closed
    10:25:36.735 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Get connection for route {s}->https://localhost:8443
    10:25:36.736 [Test worker] DEBUG o.a.h.i.c.DefaultClientConnectionOperator - Connecting to localhost:8443
    10:25:36.879 [Test worker] DEBUG o.a.h.c.protocol.RequestAddCookies - CookieSpec selected: best-match
    10:25:36.882 [Test worker] DEBUG o.a.h.c.protocol.RequestAuthCache - Auth cache not set in the context
    10:25:36.883 [Test worker] DEBUG o.a.h.c.p.RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
    10:25:36.885 [Test worker] DEBUG o.a.h.impl.client.DefaultHttpClient - Attempt 1 to execute request
    10:25:36.885 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Sending request: POST /mifosng-provider/api/v1/glaccounts?tenantIdentifier=default HTTP/1.1
    10:25:36.886 [Test worker] DEBUG org.apache.http.wire -  >> "POST /mifosng-provider/api/v1/glaccounts?tenantIdentifier=default HTTP/1.1[\r][\n]"
    10:25:36.886 [Test worker] DEBUG org.apache.http.wire -  >> "Accept: */*[\r][\n]"
    10:25:36.886 [Test worker] DEBUG org.apache.http.wire -  >> "Authorization: Basic bWlmb3M6cGFzc3dvcmQ=[\r][\n]"
    10:25:36.886 [Test worker] DEBUG org.apache.http.wire -  >> "Content-Length: 153[\r][\n]"
    10:25:36.886 [Test worker] DEBUG org.apache.http.wire -  >> "Content-Type: application/json; charset=ISO-8859-1[\r][\n]"
    10:25:36.886 [Test worker] DEBUG org.apache.http.wire -  >> "Host: localhost:8443[\r][\n]"
    10:25:36.887 [Test worker] DEBUG org.apache.http.wire -  >> "Connection: Keep-Alive[\r][\n]"
    10:25:36.887 [Test worker] DEBUG org.apache.http.wire -  >> "Expect: 100-continue[\r][\n]"
    10:25:36.887 [Test worker] DEBUG org.apache.http.wire -  >> "Accept-Encoding: gzip,deflate[\r][\n]"
    10:25:36.887 [Test worker] DEBUG org.apache.http.wire -  >> "[\r][\n]"
    10:25:36.913 [Test worker] DEBUG org.apache.http.headers - >> POST /mifosng-provider/api/v1/glaccounts?tenantIdentifier=default HTTP/1.1
    10:25:36.913 [Test worker] DEBUG org.apache.http.headers - >> Accept: */*
    10:25:36.913 [Test worker] DEBUG org.apache.http.headers - >> Authorization: Basic bWlmb3M6cGFzc3dvcmQ=
    10:25:36.913 [Test worker] DEBUG org.apache.http.headers - >> Content-Length: 153
    10:25:36.913 [Test worker] DEBUG org.apache.http.headers - >> Content-Type: application/json; charset=ISO-8859-1
    10:25:36.914 [Test worker] DEBUG org.apache.http.headers - >> Host: localhost:8443
    10:25:36.914 [Test worker] DEBUG org.apache.http.headers - >> Connection: Keep-Alive
    10:25:36.914 [Test worker] DEBUG org.apache.http.headers - >> Expect: 100-continue
    10:25:36.914 [Test worker] DEBUG org.apache.http.headers - >> Accept-Encoding: gzip,deflate
    10:25:36.917 [Test worker] DEBUG org.apache.http.wire -  << "HTTP/1.1 100 Continue[\r][\n]"
    10:25:36.917 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:36.917 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 100 Continue
    10:25:36.917 [Test worker] DEBUG org.apache.http.headers - << HTTP/1.1 100 Continue
    10:25:36.917 [Test worker] DEBUG org.apache.http.wire -  >> "{"description":"DEFAULT_DESCRIPTION","name":"ACCOUNT_NAME_4UKTD","usage":"1","manualEntriesAllowed":"true","type":"5","glCode":"EXPENSE_7Y1372688736599"}"
10:25:37.059 [http-bio-8443-exec-4] INFO  o.m.i.s.f.TenantAwareBasicAuthenticationFilter - {"startTime":1372688736916,"totalTime":143,"method":"POST","url":"https://localhost:8443/mifosng-provider/api/v1/glaccounts","parameters":{"tenantIdentifier":["default"]}}
    10:25:37.059 [Test worker] DEBUG org.apache.http.wire -  << "HTTP/1.1 200 OK[\r][\n]"
    10:25:37.060 [Test worker] DEBUG org.apache.http.wire -  << "Server: Apache-Coyote/1.1[\r][\n]"
    10:25:37.060 [Test worker] DEBUG org.apache.http.wire -  << "Access-Control-Allow-Origin: *[\r][\n]"
    10:25:37.060 [Test worker] DEBUG org.apache.http.wire -  << "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS[\r][\n]"
    10:25:37.060 [Test worker] DEBUG org.apache.http.wire -  << "Content-Type: application/json[\r][\n]"
    10:25:37.060 [Test worker] DEBUG org.apache.http.wire -  << "Transfer-Encoding: chunked[\r][\n]"
    10:25:37.060 [Test worker] DEBUG org.apache.http.wire -  << "Date: Mon, 01 Jul 2013 14:25:36 GMT[\r][\n]"
    10:25:37.061 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:37.061 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 200 OK
    10:25:37.061 [Test worker] DEBUG org.apache.http.headers - << HTTP/1.1 200 OK
    10:25:37.061 [Test worker] DEBUG org.apache.http.headers - << Server: Apache-Coyote/1.1
    10:25:37.061 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Origin: *
    10:25:37.061 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
    10:25:37.070 [Test worker] DEBUG org.apache.http.headers - << Content-Type: application/json
    10:25:37.070 [Test worker] DEBUG org.apache.http.headers - << Transfer-Encoding: chunked
    10:25:37.070 [Test worker] DEBUG org.apache.http.headers - << Date: Mon, 01 Jul 2013 14:25:36 GMT
    10:25:37.070 [Test worker] DEBUG o.a.h.impl.client.DefaultHttpClient - Connection can be kept alive indefinitely
    10:25:37.071 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsing response as: application/json
    10:25:37.071 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream
    10:25:37.106 [Test worker] DEBUG org.apache.http.wire -  << "10[\r][\n]"
    10:25:37.113 [Test worker] DEBUG org.apache.http.wire -  << "{"resourceId":3}"
    10:25:37.117 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:37.124 [Test worker] DEBUG org.apache.http.wire -  << "0[\r][\n]"
    10:25:37.126 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:37.127 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@3be4d6ef
    10:25:37.153 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Connection can be kept alive indefinitely
    ------------------------------CREATING NEW LOAN PRODUCT ---------------------------------------
    10:25:37.271 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Get connection for route {s}->https://localhost:8443
    10:25:37.272 [Test worker] DEBUG o.a.h.i.c.DefaultClientConnectionOperator - Connecting to localhost:8443
    10:25:37.363 [Test worker] DEBUG o.a.h.c.protocol.RequestAddCookies - CookieSpec selected: best-match
    10:25:37.365 [Test worker] DEBUG o.a.h.c.protocol.RequestAuthCache - Auth cache not set in the context
    10:25:37.367 [Test worker] DEBUG o.a.h.c.p.RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
    10:25:37.393 [Test worker] DEBUG o.a.h.impl.client.DefaultHttpClient - Attempt 1 to execute request
    10:25:37.393 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Sending request: POST /mifosng-provider/api/v1/loanproducts?tenantIdentifier=default HTTP/1.1
    10:25:37.394 [Test worker] DEBUG org.apache.http.wire -  >> "POST /mifosng-provider/api/v1/loanproducts?tenantIdentifier=default HTTP/1.1[\r][\n]"
    10:25:37.394 [Test worker] DEBUG org.apache.http.wire -  >> "Accept: */*[\r][\n]"
    10:25:37.395 [Test worker] DEBUG org.apache.http.wire -  >> "Authorization: Basic bWlmb3M6cGFzc3dvcmQ=[\r][\n]"
    10:25:37.396 [Test worker] DEBUG org.apache.http.wire -  >> "Content-Length: 731[\r][\n]"
    10:25:37.396 [Test worker] DEBUG org.apache.http.wire -  >> "Content-Type: application/json; charset=ISO-8859-1[\r][\n]"
    10:25:37.397 [Test worker] DEBUG org.apache.http.wire -  >> "Host: localhost:8443[\r][\n]"
    10:25:37.397 [Test worker] DEBUG org.apache.http.wire -  >> "Connection: Keep-Alive[\r][\n]"
    10:25:37.398 [Test worker] DEBUG org.apache.http.wire -  >> "Expect: 100-continue[\r][\n]"
    10:25:37.398 [Test worker] DEBUG org.apache.http.wire -  >> "Accept-Encoding: gzip,deflate[\r][\n]"
    10:25:37.399 [Test worker] DEBUG org.apache.http.wire -  >> "[\r][\n]"
    10:25:37.399 [Test worker] DEBUG org.apache.http.headers - >> POST /mifosng-provider/api/v1/loanproducts?tenantIdentifier=default HTTP/1.1
    10:25:37.399 [Test worker] DEBUG org.apache.http.headers - >> Accept: */*
    10:25:37.401 [Test worker] DEBUG org.apache.http.headers - >> Authorization: Basic bWlmb3M6cGFzc3dvcmQ=
    10:25:37.401 [Test worker] DEBUG org.apache.http.headers - >> Content-Length: 731
    10:25:37.401 [Test worker] DEBUG org.apache.http.headers - >> Content-Type: application/json; charset=ISO-8859-1
    10:25:37.401 [Test worker] DEBUG org.apache.http.headers - >> Host: localhost:8443
    10:25:37.402 [Test worker] DEBUG org.apache.http.headers - >> Connection: Keep-Alive
    10:25:37.402 [Test worker] DEBUG org.apache.http.headers - >> Expect: 100-continue
    10:25:37.402 [Test worker] DEBUG org.apache.http.headers - >> Accept-Encoding: gzip,deflate
    10:25:37.443 [Test worker] DEBUG org.apache.http.wire -  << "HTTP/1.1 100 Continue[\r][\n]"
    10:25:37.443 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:37.443 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 100 Continue
    10:25:37.443 [Test worker] DEBUG org.apache.http.headers - << HTTP/1.1 100 Continue
    10:25:37.455 [Test worker] DEBUG org.apache.http.wire -  >> "{"locale":"en_GB","inArrearsTolerance":"0","fundSourceAccountId":"1","numberOfRepayments":"5","amortizationType":"0","incomeFromPenaltyAccountId":"2","interestType":"1","repaymentFrequencyType":"2","repaymentEvery":"2","principal":"10000.0","interestRatePerPeriod":"1","interestCalculationPeriodType":"1","name":"LOAN_PRODUCT_6WHXO1","writeOffAccountId":"3","interestOnLoanAccountId":"2","digitsAfterDecimal":"2","maxPrincipal":"100000.00","currencyCode":"INR","receivablePenaltyAccountId":"1","loanPortfolioAccountId":"1","minPrincipal":"1000.00","interestRateFrequencyType":"2","incomeFromFeeAccountId":"2","receivableFeeAccountId":"1","accountingRule":"3","transactionProcessingStrategyId":"1","receivableInterestAccountId":"1"}"
    10:25:37.695 [Test worker] DEBUG org.apache.http.wire -  << "HTTP/1.1 400 Bad Request[\r][\n]"
    10:25:37.696 [Test worker] DEBUG org.apache.http.wire -  << "Server: Apache-Coyote/1.1[\r][\n]"
    10:25:37.696 [Test worker] DEBUG org.apache.http.wire -  << "Access-Control-Allow-Origin: *[\r][\n]"
    10:25:37.696 [Test worker] DEBUG org.apache.http.wire -  << "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS[\r][\n]"
10:25:37.732 [http-bio-8443-exec-1] INFO  o.m.i.s.f.TenantAwareBasicAuthenticationFilter - {"startTime":1372688737403,"totalTime":328,"method":"POST","url":"https://localhost:8443/mifosng-provider/api/v1/loanproducts","parameters":{"tenantIdentifier":["default"]}}
    10:25:37.696 [Test worker] DEBUG org.apache.http.wire -  << "Content-Type: application/json[\r][\n]"
    10:25:37.696 [Test worker] DEBUG org.apache.http.wire -  << "Transfer-Encoding: chunked[\r][\n]"
    10:25:37.696 [Test worker] DEBUG org.apache.http.wire -  << "Date: Mon, 01 Jul 2013 14:25:37 GMT[\r][\n]"
    10:25:37.697 [Test worker] DEBUG org.apache.http.wire -  << "Connection: close[\r][\n]"
    10:25:37.697 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:37.697 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
    10:25:37.697 [Test worker] DEBUG org.apache.http.headers - << HTTP/1.1 400 Bad Request
    10:25:37.697 [Test worker] DEBUG org.apache.http.headers - << Server: Apache-Coyote/1.1
    10:25:37.697 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Origin: *
    10:25:37.703 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
    10:25:37.703 [Test worker] DEBUG org.apache.http.headers - << Content-Type: application/json
    10:25:37.703 [Test worker] DEBUG org.apache.http.headers - << Transfer-Encoding: chunked
Gradle Worker 1 finished executing tests.
    10:25:37.703 [Test worker] DEBUG org.apache.http.headers - << Date: Mon, 01 Jul 2013 14:25:37 GMT
    10:25:37.703 [Test worker] DEBUG org.apache.http.headers - << Connection: close
    10:25:37.739 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsing response as: application/json
    10:25:37.739 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream
    10:25:37.779 [Test worker] DEBUG org.apache.http.wire -  << "256[\r][\n]"
    10:25:37.780 [Test worker] DEBUG org.apache.http.wire -  << "{"developerMessage":"The request was invalid. This typically will happen due to validation errors which are provided.","httpStatusCode":"400","defaultUserMessage":"Validation errors exist.","userMessageGlobalisationCode":"validation.msg.validation.errors.exist","errors":[{"developerMessage":"The parameter includeInBorrowerCycle is mandatory.","defaultUserMessage":"The parameter includeInBorrowerCycle is mandatory.","userMessageGlobalisationCode":"validation.msg.loanproduct.includeInBorrowerCycle.cannot.be.blank","parameterName":"includeInBorrowerCycle","value":null,"args":[{"value":null}]}]}"
    10:25:37.780 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:37.782 [Test worker] DEBUG org.apache.http.wire -  << "0[\r][\n]"
    10:25:37.782 [Test worker] DEBUG org.apache.http.wire -  << "[\r][\n]"
    10:25:37.782 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@1ab2f2d6
    10:25:37.783 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:50999<->127.0.0.1:8443 shut down
    HTTP/1.1 400 Bad Request
    Server=Apache-Coyote/1.1
    Access-Control-Allow-Origin=*
    Access-Control-Allow-Methods=GET, POST, PUT, DELETE, OPTIONS
    Content-Type=application/json
    Transfer-Encoding=chunked
    Date=Mon, 01 Jul 2013 14:25:37 GMT
    Connection=close

    {
        "developerMessage": "The request was invalid. This typically will happen due to validation errors which are provided.",
        "httpStatusCode": "400",
        "defaultUserMessage": "Validation errors exist.",
        "userMessageGlobalisationCode": "validation.msg.validation.errors.exist",
        "errors": [
            {
                "developerMessage": "The parameter includeInBorrowerCycle is mandatory.",
                "defaultUserMessage": "The parameter includeInBorrowerCycle is mandatory.",
                "userMessageGlobalisationCode": "validation.msg.loanproduct.includeInBorrowerCycle.cannot.be.blank",
                "parameterName": "includeInBorrowerCycle",
                "value": null,
                "args": [
                    {
                        "value": null
                    }
                ]
            }
        ]
    }

org.mifosplatform.integrationtests.AccountingScenarioIntegrationTest > checkAccountingFlow FAILED
    java.lang.AssertionError: 1 expectation failed.
    Expected status code <200> doesn't match actual status code <400>.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
        at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
        at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
        at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:391)
        at com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate.call(Unknown Source)
        at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:732)
        at com.jayway.restassured.internal.RequestSpecificationImpl$invokeFilterChain.callCurrent(Unknown Source)
        at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1115)
        at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy)
        at com.jayway.restassured.internal.RequestSpecificationImpl$this$2$applyPathParamsAndSendRequest.callCurrent(Unknown Source)
        at com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:134)
        at com.jayway.restassured.specification.RequestSender$post.call(Unknown Source)
        at com.jayway.restassured.internal.ResponseSpecificationImpl.post(ResponseSpecificationImpl.groovy:222)
        at org.mifosplatform.integrationtests.common.Utils.performServerPost(Utils.java:60)
        at org.mifosplatform.integrationtests.common.loans.LoanTransactionHelper.getLoanProductId(LoanTransactionHelper.java:37)
        at org.mifosplatform.integrationtests.AccountingScenarioIntegrationTest.createLoanProduct(AccountingScenarioIntegrationTest.java:181)
        at org.mifosplatform.integrationtests.AccountingScenarioIntegrationTest.checkAccountingFlow(AccountingScenarioIntegrationTest.java:68)
Process 'Gradle Worker 1' finished with exit value 0 (state: SUCCEEDED)

4 tests completed, 4 failed
Finished generating test XML results (0.222 secs)
Generating HTML test report...
Finished generating test html results (0.666 secs)
:integrationTest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':integrationTest'.
> There were failing tests. See the report at: file:///scratch/jenkins/workspace/MIFOSX%20INTEGRATION%20TEST/mifosng-provider/build/reports/tests/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 6 mins 17.306 secs
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Recording test results

Ashok

unread,
Jul 1, 2013, 10:47:05 AM7/1/13
to Mifos software development
Gurpreet,

We are looking into the build issue, will fix it soon.

Regards
Ashok


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Mifos-developer mailing list
mifos-d...@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer

Gurpreet Luthra

unread,
Jul 1, 2013, 11:03:36 AM7/1/13
to Mifos software development
Thanks Ashok : ) 

Regards
Gurpreet

Join the Humanitarian Software Program to help and contribute OpenMRS, RapidFTR, Camfed and MifosX SIP Projects. We are looking for Volunteers!


Reply all
Reply to author
Forward
0 new messages