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

29 views
Skip to first unread message

Gurpreet Luthra

unread,
May 8, 2013, 6:39:57 PM5/8/13
to Mifos Software Dev List
[kushagresingh] Issue-331

[kushagresingh] Issue-331

[kushagresingh] Issue-331

[avikganguly010] MIFOSX-314 Make adding new accounts of a particular type easier

[keithwoodlock] MIFOSX-343: update quick typo

[goutham] SQL Retrievals for Hierarchical ChartofAccounts

Kushagra / Avik / Keith/ Goutham: The build broke. Can you please check? 

developerMessage": "Code value with identifier null does not exist for a code with name AssetAccountTags"

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: 9 May 2013 06:26
Subject: Build failed in Jenkins: MIFOSX INTEGRATION TEST #177
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/177/changes>

Changes:

[kushagresingh] Issue-331

[kushagresingh] Issue-331

[kushagresingh] Issue-331

[avikganguly010] MIFOSX-314 Make adding new accounts of a particular type easier

[keithwoodlock] MIFOSX-343: update quick typo

[goutham] SQL Retrievals for Hierarchical ChartofAccounts

------------------------------------------
[...truncated 3020 lines...]
    16:25:56.544 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsing response as: application/json
    16:25:56.544 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream
    16:25:56.578 [Test worker] DEBUG org.apache.http.wire - << "1c0[\r][\n]"
    16:25:56.582 [Test worker] DEBUG org.apache.http.wire - << "{"officeId":1,"clientId":3,"loanId":3,"resourceId":3,"changes":{"status":{"id":400,"code":"loanStatusType.withdrawn.by.client","value":"Withdrawn by applicant","pendingApproval":false,"waitingForDisbursal":false,"active":false,"closedObligationsMet":false,"closedWrittenOff":false,"closedRescheduled":false,"closed":false,"overpaid":false},"locale":"en","dateFormat":"dd MMMM yyyy","withdrawnOnDate":"03 April 2012","closedOnDate":"03 April 2012"}}"
    16:25:56.583 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:25:56.583 [Test worker] DEBUG org.apache.http.wire - << "0[\r][\n]"
    16:25:56.583 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:25:56.584 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@6e5da364
    16:25:56.586 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Connection can be kept alive indefinitely
    16:25:56.692 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Get connection for route {s}->https://localhost:8443
    16:25:56.694 [Test worker] DEBUG o.a.h.i.c.DefaultClientConnectionOperator - Connecting to localhost:8443
    16:25:56.764 [Test worker] DEBUG o.a.h.c.protocol.RequestAddCookies - CookieSpec selected: best-match
    16:25:56.764 [Test worker] DEBUG o.a.h.c.protocol.RequestAuthCache - Auth cache not set in the context
    16:25:56.764 [Test worker] DEBUG o.a.h.c.p.RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
    16:25:56.764 [Test worker] DEBUG o.a.h.impl.client.DefaultHttpClient - Attempt 1 to execute request
    16:25:56.764 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Sending request: GET /mifosng-provider/api/v1/loans/3?tenantIdentifier=default HTTP/1.1
    16:25:56.764 [Test worker] DEBUG org.apache.http.wire - >> "GET /mifosng-provider/api/v1/loans/3?tenantIdentifier=default HTTP/1.1[\r][\n]"
    16:25:56.764 [Test worker] DEBUG org.apache.http.wire - >> "Accept: */*[\r][\n]"
    16:25:56.764 [Test worker] DEBUG org.apache.http.wire - >> "Authorization: Basic bWlmb3M6cGFzc3dvcmQ=[\r][\n]"
    16:25:56.765 [Test worker] DEBUG org.apache.http.wire - >> "Host: localhost:8443[\r][\n]"
    16:25:56.765 [Test worker] DEBUG org.apache.http.wire - >> "Connection: Keep-Alive[\r][\n]"
    16:25:56.765 [Test worker] DEBUG org.apache.http.wire - >> "Accept-Encoding: gzip,deflate[\r][\n]"
    16:25:56.765 [Test worker] DEBUG org.apache.http.wire - >> "[\r][\n]"
    16:25:56.765 [Test worker] DEBUG org.apache.http.headers - >> GET /mifosng-provider/api/v1/loans/3?tenantIdentifier=default HTTP/1.1
    16:25:56.765 [Test worker] DEBUG org.apache.http.headers - >> Accept: */*
    16:25:56.765 [Test worker] DEBUG org.apache.http.headers - >> Authorization: Basic bWlmb3M6cGFzc3dvcmQ=
    16:25:56.765 [Test worker] DEBUG org.apache.http.headers - >> Host: localhost:8443
    16:25:56.765 [Test worker] DEBUG org.apache.http.headers - >> Connection: Keep-Alive
    16:25:56.765 [Test worker] DEBUG org.apache.http.headers - >> Accept-Encoding: gzip,deflate
    16:25:56.829 [Test worker] DEBUG org.apache.http.wire - << "HTTP/1.1 200 OK[\r][\n]"
    16:25:56.829 [Test worker] DEBUG org.apache.http.wire - << "Server: Apache-Coyote/1.1[\r][\n]"
    16:25:56.829 [Test worker] DEBUG org.apache.http.wire - << "Access-Control-Allow-Origin: *[\r][\n]"
    16:25:56.829 [Test worker] DEBUG org.apache.http.wire - << "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS[\r][\n]"
    16:25:56.829 [Test worker] DEBUG org.apache.http.wire - << "Content-Type: application/json[\r][\n]"
16:25:56.866 [http-bio-8443-exec-5] INFO  o.m.i.s.f.TenantAwareBasicAuthenticationFilter - {"startTime":1368044756775,"totalTime":91,"method":"GET","url":"https://localhost:8443/mifosng-provider/api/v1/loans/3","parameters":{"tenantIdentifier":["default"]}}
    16:25:56.835 [Test worker] DEBUG org.apache.http.wire - << "Transfer-Encoding: chunked[\r][\n]"
    16:25:56.835 [Test worker] DEBUG org.apache.http.wire - << "Date: Wed, 08 May 2013 20:25:56 GMT[\r][\n]"
    16:25:56.836 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:25:56.836 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 200 OK
    16:25:56.862 [Test worker] DEBUG org.apache.http.headers - << HTTP/1.1 200 OK
    16:25:56.863 [Test worker] DEBUG org.apache.http.headers - << Server: Apache-Coyote/1.1
    16:25:56.863 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Origin: *
    16:25:56.863 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
    16:25:56.865 [Test worker] DEBUG org.apache.http.headers - << Content-Type: application/json
    16:25:56.865 [Test worker] DEBUG org.apache.http.headers - << Transfer-Encoding: chunked
16:25:56.945 [Finalizer] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:50164<->127.0.0.1:8443 closed
    16:25:56.865 [Test worker] DEBUG org.apache.http.headers - << Date: Wed, 08 May 2013 20:25:56 GMT
    16:25:56.865 [Test worker] DEBUG o.a.h.impl.client.DefaultHttpClient - Connection can be kept alive indefinitely
    16:25:56.866 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsing response as: application/json
    16:25:56.868 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream
    16:25:56.874 [Test worker] DEBUG org.apache.http.wire - << "b7b[\r][\n]"
    16:25:56.876 [Test worker] DEBUG org.apache.http.wire - << "{"id":3,"accountNo":"000000003","status":{"id":400,"code":"loanStatusType.withdrawn.by.client","value":"Withdrawn by applicant","pendingApproval":false,"waitingForDisbursal":false,"active":false,"closedObligationsMet":false,"closedWrittenOff":false,"closedRescheduled":false,"closed":false,"overpaid":false},"clientId":3,"clientName":"Client_FirstName_PCXYL Client_LastName_AD45","clientOfficeId":1,"loanProductId":3,"loanProductName":"LOAN_PRODUCT_1W5437","loanType":{"id":1,"code":"loanType.individual","value":"Individual"},"currency":{"code":"INR","name":"Indian Rupee","decimalPlaces":2,"displaySymbol":"?","nameCode":"currency.INR","displayLabel":"Indian Rupee (?)"},"principal":5000.000000,"termFrequency":5,"termPeriodFrequencyType":{"id":2,"code":"termFrequency.periodFrequencyType.months","value":"Months"},"numberOfRepayments":5,"repaymentEvery":1,"repaymentFrequencyType":{"id":2,"code":"repaymentFrequency.periodFrequencyType.months","value":"Months"},"interestRatePerPeriod":2.000000,"interestRateFrequencyType":{"id":2,"code":"interestRateFrequency.periodFrequencyType.months","value":"Per month"},"annualInterestRate":24.000000,"amortizationType":{"id":0,"code":"amortizationType.equal.principal","value":"Equal principal payments"},"interestType":{"id":1,"code":"interestType.flat","value":"Flat"},"interestCalculationPeriodType":{"id":1,"code":"interestCalculationPeriodType.same.as.repayment.period","value":"Same as repayment period"},"transactionProcessingStrategyId":1,"timeline":{"submittedOnDate":[2012,4,2],"submittedByUsername":"mifos","submittedByFirstname":"App","submittedByLastname":"Administrator","withdrawnOnDate":[2012,4,3],"withdrawnByUsername":"mifos","withdrawnByFirstname":"App","withdrawnByLastname":"Administrator","expectedDisbursementDate":[2012,4,4],"expectedMaturityDate":[2012,9,4]},"summary":{"currency":{"code":"INR","name":"Indian Rupee","decimalPlaces":2,"displaySymbol":"?","nameCode":"currency.INR","displayLabel":"Indian Rupee (?)"},"principalDisbursed":0.000000,"principalPaid":0.000000,"principalWrittenOff":0.000000,"principalOutstanding":0.000000,"principalOverdue":0,"interestCharged":0.000000,"interestPaid":0.000000,"interestWaived":0.000000,"interestWrittenOff":0.000000,"interestOutstanding":0.000000,"interestOverdue":0,"feeChargesCharged":0.000000,"feeChargesDueAtDisbursementCharged":0,"feeChargesPaid":0.000000,"feeChargesWaived":0.000000,"feeChargesWrittenOff":0.000000,"feeChargesOutstanding":0.000000,"feeChargesOverdue":0,"penaltyChargesCharged":0.000000,"penaltyChargesPaid":0.000000,"penaltyChargesWaived":0.000000,"penaltyChargesWrittenOff":0.000000,"penaltyChargesOutstanding":0.000000,"penaltyChargesOverdue":0,"totalExpectedRepayment":0.000000,"totalRepayment":0.000000,"totalExpectedCostOfLoan":0.000000,"totalCostOfLoan":0.000000,"totalWaived":0.000000,"totalWrittenOff":0.000000,"totalOutstanding":0.000000,"totalOverdue":0},"feeChargesAtDisbursementCharged":0}"
    16:25:56.877 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:25:56.879 [Test worker] DEBUG org.apache.http.wire - << "0[\r][\n]"
    16:25:56.879 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:25:56.880 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@36b29562
    16:25:56.881 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Connection can be kept alive indefinitely

org.mifosplatform.integrationtests.AccountingScenarioIntegrationTest STANDARD_OUT
    16:25:56.985 [Finalizer] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:50168<->127.0.0.1:8443 closed
    16:25:56.988 [Finalizer] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:50165<->127.0.0.1:8443 closed
    16:25:56.988 [Finalizer] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:50167<->127.0.0.1:8443 closed
    16:25:56.990 [Finalizer] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:50166<->127.0.0.1:8443 closed

org.mifosplatform.integrationtests.AccountingScenarioIntegrationTest > checkAccountingFlow STANDARD_OUT
    -----------------------------------LOGIN-----------------------------------------
    16:25:57.039 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Get connection for route {s}->https://localhost:8443
    16:25:57.042 [Test worker] DEBUG o.a.h.i.c.DefaultClientConnectionOperator - Connecting to localhost:8443
    16:25:57.138 [Test worker] DEBUG o.a.h.c.protocol.RequestAddCookies - CookieSpec selected: best-match
    16:25:57.140 [Test worker] DEBUG o.a.h.c.protocol.RequestAuthCache - Auth cache not set in the context
    16:25:57.141 [Test worker] DEBUG o.a.h.c.p.RequestTargetAuthentication - Target auth state: UNCHALLENGED
    16:25:57.142 [Test worker] DEBUG o.a.h.c.p.RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
    16:25:57.143 [Test worker] DEBUG o.a.h.impl.client.DefaultHttpClient - Attempt 1 to execute request
    16:25:57.144 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Sending request: POST /mifosng-provider/api/v1/authentication?username=mifos&password=password&tenantIdentifier=default HTTP/1.1
    16:25:57.144 [Test worker] DEBUG org.apache.http.wire - >> "POST /mifosng-provider/api/v1/authentication?username=mifos&password=password&tenantIdentifier=default HTTP/1.1[\r][\n]"
    16:25:57.145 [Test worker] DEBUG org.apache.http.wire - >> "Accept: */*[\r][\n]"
    16:25:57.146 [Test worker] DEBUG org.apache.http.wire - >> "Content-Length: 0[\r][\n]"
    16:25:57.147 [Test worker] DEBUG org.apache.http.wire - >> "Host: localhost:8443[\r][\n]"
    16:25:57.147 [Test worker] DEBUG org.apache.http.wire - >> "Connection: Keep-Alive[\r][\n]"
    16:25:57.149 [Test worker] DEBUG org.apache.http.wire - >> "Accept-Encoding: gzip,deflate[\r][\n]"
    16:25:57.150 [Test worker] DEBUG org.apache.http.wire - >> "[\r][\n]"
    16:25:57.150 [Test worker] DEBUG org.apache.http.headers - >> POST /mifosng-provider/api/v1/authentication?username=mifos&password=password&tenantIdentifier=default HTTP/1.1
    16:25:57.150 [Test worker] DEBUG org.apache.http.headers - >> Accept: */*
    16:25:57.187 [Test worker] DEBUG org.apache.http.headers - >> Content-Length: 0
    16:25:57.188 [Test worker] DEBUG org.apache.http.headers - >> Host: localhost:8443
    16:25:57.190 [Test worker] DEBUG org.apache.http.headers - >> Connection: Keep-Alive
    16:25:57.197 [Test worker] DEBUG org.apache.http.headers - >> Accept-Encoding: gzip,deflate
    16:25:57.255 [Test worker] DEBUG org.apache.http.wire - << "HTTP/1.1 200 OK[\r][\n]"
    16:25:57.255 [Test worker] DEBUG org.apache.http.wire - << "Server: Apache-Coyote/1.1[\r][\n]"
    16:25:57.256 [Test worker] DEBUG org.apache.http.wire - << "Access-Control-Allow-Origin: *[\r][\n]"
    16:25:57.256 [Test worker] DEBUG org.apache.http.wire - << "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS[\r][\n]"
    16:25:57.256 [Test worker] DEBUG org.apache.http.wire - << "Content-Type: application/json[\r][\n]"
16:25:57.269 [http-bio-8443-exec-6] INFO  o.m.i.s.f.TenantAwareBasicAuthenticationFilter - {"startTime":1368044757200,"totalTime":69,"method":"POST","url":"https://localhost:8443/mifosng-provider/api/v1/authentication","parameters":{"username":["mifos"],"tenantIdentifier":["default"]}}
    16:25:57.256 [Test worker] DEBUG org.apache.http.wire - << "Transfer-Encoding: chunked[\r][\n]"
    16:25:57.256 [Test worker] DEBUG org.apache.http.wire - << "Date: Wed, 08 May 2013 20:25:56 GMT[\r][\n]"
    16:25:57.256 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:25:57.256 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 200 OK
    16:25:57.257 [Test worker] DEBUG org.apache.http.headers - << HTTP/1.1 200 OK
    16:25:57.257 [Test worker] DEBUG org.apache.http.headers - << Server: Apache-Coyote/1.1
    16:25:57.257 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Origin: *
    16:25:57.263 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
    16:25:57.263 [Test worker] DEBUG org.apache.http.headers - << Content-Type: application/json
    16:25:57.263 [Test worker] DEBUG org.apache.http.headers - << Transfer-Encoding: chunked
    16:25:57.263 [Test worker] DEBUG org.apache.http.headers - << Date: Wed, 08 May 2013 20:25:56 GMT
    16:25:57.263 [Test worker] DEBUG o.a.h.impl.client.DefaultHttpClient - Connection can be kept alive indefinitely
    16:25:57.264 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsing response as: application/json
    16:25:57.269 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream
    16:25:57.296 [Test worker] DEBUG org.apache.http.wire - << "f8[\r][\n]"
    16:25:57.302 [Test worker] DEBUG org.apache.http.wire - << "{"username":"mifos","userId":1,"base64EncodedAuthenticationKey":"bWlmb3M6cGFzc3dvcmQ\u003d","authenticated":true,"roles":[{"id":1,"name":"Super user","description":"This role provides all application permissions."}],"permissions":["ALL_FUNCTIONS"]}"
    16:25:57.302 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:25:57.303 [Test worker] DEBUG org.apache.http.wire - << "0[\r][\n]"
    16:25:57.304 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:25:57.304 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@1b9f9088
    16:25:57.305 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Connection can be kept alive indefinitely
    16:25:57.455 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Get connection for route {s}->https://localhost:8443
    16:25:57.457 [Test worker] DEBUG o.a.h.i.c.DefaultClientConnectionOperator - Connecting to localhost:8443
    16:25:57.536 [Test worker] DEBUG o.a.h.c.protocol.RequestAddCookies - CookieSpec selected: best-match
    16:25:57.537 [Test worker] DEBUG o.a.h.c.protocol.RequestAuthCache - Auth cache not set in the context
    16:25:57.537 [Test worker] DEBUG o.a.h.c.p.RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
    16:25:57.537 [Test worker] DEBUG o.a.h.impl.client.DefaultHttpClient - Attempt 1 to execute request
    16:25:57.537 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Sending request: POST /mifosng-provider/api/v1/glaccounts?tenantIdentifier=default HTTP/1.1
    16:25:57.537 [Test worker] DEBUG org.apache.http.wire - >> "POST /mifosng-provider/api/v1/glaccounts?tenantIdentifier=default HTTP/1.1[\r][\n]"
    16:25:57.537 [Test worker] DEBUG org.apache.http.wire - >> "Accept: */*[\r][\n]"
    16:25:57.538 [Test worker] DEBUG org.apache.http.wire - >> "Authorization: Basic bWlmb3M6cGFzc3dvcmQ=[\r][\n]"
    16:25:57.538 [Test worker] DEBUG org.apache.http.wire - >> "Content-Length: 151[\r][\n]"
    16:25:57.542 [Test worker] DEBUG org.apache.http.wire - >> "Content-Type: application/json; charset=ISO-8859-1[\r][\n]"
    16:25:57.543 [Test worker] DEBUG org.apache.http.wire - >> "Host: localhost:8443[\r][\n]"
    16:25:57.544 [Test worker] DEBUG org.apache.http.wire - >> "Connection: Keep-Alive[\r][\n]"
    16:25:57.545 [Test worker] DEBUG org.apache.http.wire - >> "Accept-Encoding: gzip,deflate[\r][\n]"
    16:25:57.546 [Test worker] DEBUG org.apache.http.wire - >> "[\r][\n]"
    16:25:57.547 [Test worker] DEBUG org.apache.http.headers - >> POST /mifosng-provider/api/v1/glaccounts?tenantIdentifier=default HTTP/1.1
    16:25:57.547 [Test worker] DEBUG org.apache.http.headers - >> Accept: */*
    16:25:57.547 [Test worker] DEBUG org.apache.http.headers - >> Authorization: Basic bWlmb3M6cGFzc3dvcmQ=
    16:25:57.549 [Test worker] DEBUG org.apache.http.headers - >> Content-Length: 151
    16:25:57.549 [Test worker] DEBUG org.apache.http.headers - >> Content-Type: application/json; charset=ISO-8859-1
    16:25:57.549 [Test worker] DEBUG org.apache.http.headers - >> Host: localhost:8443
    16:25:57.550 [Test worker] DEBUG org.apache.http.headers - >> Connection: Keep-Alive
    16:25:57.551 [Test worker] DEBUG org.apache.http.headers - >> Accept-Encoding: gzip,deflate
    16:25:57.552 [Test worker] DEBUG org.apache.http.wire - >> "{"description":"DEFAULT_DESCRIPTION","name":"ACCOUNT_NAME_U27SP","usage":"1","manualEntriesAllowed":"true","type":"1","glCode":"ASSET_ID1368044757414"}"
    16:26:00.841 [Test worker] DEBUG org.apache.http.wire - << "HTTP/1.1 404 Not Found[\r][\n]"
    16:26:00.841 [Test worker] DEBUG org.apache.http.wire - << "Server: Apache-Coyote/1.1[\r][\n]"
    16:26:00.841 [Test worker] DEBUG org.apache.http.wire - << "Access-Control-Allow-Origin: *[\r][\n]"
    16:26:00.841 [Test worker] DEBUG org.apache.http.wire - << "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS[\r][\n]"
    16:26:00.842 [Test worker] DEBUG org.apache.http.wire - << "Content-Type: application/json[\r][\n]"
16:26:00.874 [http-bio-8443-exec-7] INFO  o.m.i.s.f.TenantAwareBasicAuthenticationFilter - {"startTime":1368044757553,"totalTime":3321,"method":"POST","url":"https://localhost:8443/mifosng-provider/api/v1/glaccounts","parameters":{"tenantIdentifier":["default"]}}
    16:26:00.842 [Test worker] DEBUG org.apache.http.wire - << "Transfer-Encoding: chunked[\r][\n]"
    16:26:00.842 [Test worker] DEBUG org.apache.http.wire - << "Date: Wed, 08 May 2013 20:26:00 GMT[\r][\n]"
    16:26:00.842 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:26:00.842 [Test worker] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 404 Not Found
    16:26:00.842 [Test worker] DEBUG org.apache.http.headers - << HTTP/1.1 404 Not Found
    16:26:00.842 [Test worker] DEBUG org.apache.http.headers - << Server: Apache-Coyote/1.1
    16:26:00.842 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Origin: *
    16:26:00.842 [Test worker] DEBUG org.apache.http.headers - << Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
    16:26:00.843 [Test worker] DEBUG org.apache.http.headers - << Content-Type: application/json
    16:26:00.843 [Test worker] DEBUG org.apache.http.headers - << Transfer-Encoding: chunked
    16:26:00.843 [Test worker] DEBUG org.apache.http.headers - << Date: Wed, 08 May 2013 20:26:00 GMT
    16:26:00.873 [Test worker] DEBUG o.a.h.impl.client.DefaultHttpClient - Connection can be kept alive indefinitely
    16:26:00.873 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsing response as: application/json
    16:26:00.875 [Test worker] DEBUG c.j.r.i.RequestSpecificationImpl$RestAssuredHttpBuilder - Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream
    16:26:00.943 [Test worker] DEBUG org.apache.http.wire - << "263[\r][\n]"
    16:26:00.944 [Test worker] DEBUG org.apache.http.wire - << "{"developerMessage":"The requested resource is not available.","httpStatusCode":"404","defaultUserMessage":"The requested resource is not available.","userMessageGlobalisationCode":"error.msg.resource.not.found","errors":[{"developerMessage":"Code value with identifier null does not exist for a code with name AssetAccountTags","defaultUserMessage":"Code value with identifier null does not exist for a code with name AssetAccountTags","userMessageGlobalisationCode":"error.msg.codevalue.codename.id.combination.invalid","parameterName":"id","value":null,"args":[{"value":null},{"value":"AssetAccountTags"}]}]}"
    16:26:00.945 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:26:00.947 [Test worker] DEBUG org.apache.http.wire - << "0[\r][\n]"
    16:26:00.949 [Test worker] DEBUG org.apache.http.wire - << "[\r][\n]"
    16:26:00.951 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@378c3efb
    16:26:00.952 [Test worker] DEBUG o.a.h.i.c.BasicClientConnectionManager - Connection can be kept alive indefinitely
    HTTP/1.1 404 Not Found
    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=Wed, 08 May 2013 20:26:00 GMT

    {
        "developerMessage": "The requested resource is not available.",
        "httpStatusCode": "404",
        "defaultUserMessage": "The requested resource is not available.",
        "userMessageGlobalisationCode": "error.msg.resource.not.found",
        "errors": [
            {
                "developerMessage": "Code value with identifier null does not exist for a code with name AssetAccountTags",
                "defaultUserMessage": "Code value with identifier null does not exist for a code with name AssetAccountTags",
                "userMessageGlobalisationCode": "error.msg.codevalue.codename.id.combination.invalid",
                "parameterName": "id",
                "value": null,
                "args": [
                    {
                        "value": null
                    },
                    {
                        "value": "AssetAccountTags"
                    }
                ]
            }
        ]
    }
Gradle Worker 1 finished executing tests.

org.mifosplatform.integrationtests.AccountingScenarioIntegrationTest > checkAccountingFlow FAILED
    java.lang.AssertionError: 1 expectation failed.
    Expected status code <200> doesn't match actual status code <404>.
        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.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
        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.accounting.AccountHelper.createAssetAccount(AccountHelper.java:24)
        at org.mifosplatform.integrationtests.AccountingScenarioIntegrationTest.checkAccountingFlow(AccountingScenarioIntegrationTest.java:64)
Process 'Gradle Worker 1' finished with exit value 0 (state: SUCCEEDED)

4 tests completed, 1 failed
Finished generating test XML results (0.221 secs)
Generating HTML test report...
Finished generating test html results (1.463 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 39.3 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

Reply all
Reply to author
Forward
0 new messages