Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: Mercury
-
Fix Version/s: All Time Backlog, Kinsei
-
Component/s: Data Summarization
-
Labels:None
-
Environment:
QA 7
bidmgr-distribution-2.9.2-RC-SNAPSHOT-dev-t20160512121931
-
Story Points:2
-
Sprint:Sprint 1, Sprint 2
Description
Sedatacheck for YJ/Bing retries 33 times
Steps:
1.Update the password in the table for "merchant_distributions" for deployed account.
{"YJ_ON_BEHALF_OF_PASSWORD":"testDpEYNZAPQBaH5JsTpOtDOzbeDQGQ2Yx8boT1FYWgHJ36gEhqJnSpC1NrMg9C99FMRUjZ/kc7V/gttnwZKN1diY82VRm/GdARLQkSP80pQkDxx9tUh0Lhngw8Szi9QvQcYwG1YnwMqeL6hl6uZuigBsbkCUKscL+2O1F6RSmOzMJsyKt0UobTei3/VuqVXHlynpxZw2TH+0QvnA3lSvrbR6gGleF75tXQHkvPu8T4Hcje2V05Jyv9zwUhd2D4jsfNDSyO51bQR/STjiaR7goNvKx2Xk7kTXCj4ZBDlfxQJ9xs+kKu6fP/Xg4dJKcbaWMXy7gZGevSrKtv+ozkOZ3CLQ==","YJ_ON_BEHALF_OF_ACCOUNT_ID":"yTMCt-rZDE-h0Ldu-w24f","YJ_CREDENTIALS_HASH":"2e17f7a60802f065ec3e9c20d6823587","YJ_ACCOUNT_ID":"586827"}2.Run sedatacheck for above account
3../sedatacheck.sh -d 5 --date 2016-05-04 --end 2016-05-13 --distribution 178 --seuser 202
Actual result:
It retries 33 times. (Detailed log attached)
snippet of run:
------- Loaded DatabaseAccounts properties from file:/usr/local/tsa/bidmgr-distribution-2.9.2-RC-SNAPSHOT-dev-t20160512121931/libs/deployment-bidmgr-shaded-jar-2.9.2-RC-SNAPSHOT.jar!/core-jdb-datasource.properties -------
.
..
----------------------------
ID: 33
Response-Code: 500
Encoding: UTF-8
Content-Type: text/xml; charset=utf-8
Headers:
Payload: <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>0006</faultcode><faultstring>required.</faultstring><faultactor></faultactor><detail><requestKey>onBehalfOfPassword</requestKey></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
--------------------------------------
2016-05-13 13:23:27 INFO [P2T1] com.thesearchagency.services.client.yahoojapan.impl.request.Request:153 - isRetryableGenericException: handling javax.xml.ws.soap.SOAPFaultException (message=required.)
2016-05-13 13:23:27 INFO [P2T1] com.thesearchagency.services.client.yahoojapan.impl.request.Request:203 - Checking to see if we can retry cause for javax.xml.ws.soap.SOAPFaultException
2016-05-13 13:23:27 INFO [P2T1] com.thesearchagency.services.client.yahoojapan.impl.request.Request:153 - isRetryableGenericException: handling org.apache.cxf.binding.soap.SoapFault (message=required.)
2016-05-13 13:23:27 WARN [P2T1] com.thesearchagency.services.client.yahoojapan.impl.request.Request:67 - Could not retry Exception with request
javax.xml.ws.soap.SOAPFaultException: required.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:160)
at $Proxy70.mutate(Unknown Source)
at com.thesearchagency.services.client.yahoojapan.impl.serviceclient.ReportDefinitionServiceClient$1.sendRequest(ReportDefinitionServiceClient.java:216)
at com.thesearchagency.services.client.yahoojapan.impl.request.Request.requestLoop(Request.java:52)
at com.thesearchagency.services.client.yahoojapan.impl.request.Request.call(Request.java:36)
at com.thesearchagency.services.client.yahoojapan.impl.serviceclient.ServiceClient.executeRequest(ServiceClient.java:43)
at com.thesearchagency.services.client.yahoojapan.impl.serviceclient.ReportDefinitionServiceClient.createReportDefinition(ReportDefinitionServiceClient.java:222)
at com.thesearchagency.services.client.yahoojapan.impl.YahooJapanSSClient.getReport(YahooJapanSSClient.java:474)
at com.thesearchagency.searchengines.yahoojapan.YahooJapanSearchEngine.downloadReport(YahooJapanSearchEngine.java:758)
at com.thesearchagency.searchengines.yahoojapan.YahooJapanSearchEngine.runDataCheck(YahooJapanSearchEngine.java:602)
at com.thesearchagency.searchengines.SearchEngineDataChecker$DistributionWorker$SearchEngineUserWorker.call(SearchEngineDataChecker.java:412)
at com.thesearchagency.searchengines.SearchEngineDataChecker$DistributionWorker$SearchEngineUserWorker.call(SearchEngineDataChecker.java:373)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
Expected Result: It should retry 10 times and stop