likyh commented on issue #3521:
URL: 
https://github.com/apache/incubator-devlake/issues/3521#issuecomment-1294303733

   Although added retry logic, not all error can be delt:
   
   ```
   time="2022-10-28 05:18:10" level=warning msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] retry #1 graphql calling after 60s
           caused by: non-200 OK status code: 502 Bad Gateway body: "{\n   
\"data\": null,\n   \"errors\":[\n      {\n         \"message\":\"Something 
went wrong while executing your query. This may be the result of a timeout, or 
it could be a GitHub bug. Please include `62A6:6738:F17EC5:FCE69E:635AF533` 
when reporting this issue.\"\n      }\n   ]\n}\n""
   time="2022-10-28 05:18:23" level=info msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] github graphql init success with remaining 
4164/5000 and will reset at 2022-10-27 21:18:23 +0000 UTC"
   [GIN] 2022/10/28 - 05:18:36 | 200 |   31.355417ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:18:36 | 200 |   18.416166ms |             ::1 | GET    
  "/pipelines/128/tasks"
   time="2022-10-28 05:19:23" level=warning msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] retry #2 graphql calling after 60s
           caused by: non-200 OK status code: 502 Bad Gateway body: "{\n   
\"data\": null,\n   \"errors\":[\n      {\n         \"message\":\"Something 
went wrong while executing your query. This may be the result of a timeout, or 
it could be a GitHub bug. Please include `62A6:6738:F19F5C:FD08DB:635AF59F` 
when reporting this issue.\"\n      }\n   ]\n}\n""
   [GIN] 2022/10/28 - 05:19:38 | 200 |   22.373708ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:19:38 | 200 |   20.077084ms |             ::1 | GET    
  "/pipelines/128/tasks"
   time="2022-10-28 05:20:37" level=warning msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] retry #3 graphql calling after 60s
           caused by: non-200 OK status code: 502 Bad Gateway body: "{\n   
\"data\": null,\n   \"errors\":[\n      {\n         \"message\":\"Something 
went wrong while executing your query. This may be the result of a timeout, or 
it could be a GitHub bug. Please include `62A6:6738:F1BBB9:FD26C7:635AF5CE` 
when reporting this issue.\"\n      }\n   ]\n}\n""
   [GIN] 2022/10/28 - 05:20:37 | 200 |     23.5265ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:20:37 | 200 |   23.763833ms |             ::1 | GET    
  "/pipelines/128/tasks"
   time="2022-10-28 05:21:23" level=info msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] github graphql init success with remaining 
4992/5000 and will reset at 2022-10-27 22:19:10 +0000 UTC"
   [GIN] 2022/10/28 - 05:21:38 | 200 |    26.24125ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:21:38 | 200 |   24.536333ms |             ::1 | GET    
  "/pipelines/128/tasks"
   time="2022-10-28 05:21:55" level=warning msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] retry #4 graphql calling after 60s
           caused by: unexpected EOF"
   [GIN] 2022/10/28 - 05:22:37 | 200 |   21.906959ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:22:37 | 200 |   28.820083ms |             ::1 | GET    
  "/pipelines/128/tasks"
   time="2022-10-28 05:23:10" level=warning msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] retry #5 graphql calling after 60s
           caused by: non-200 OK status code: 502 Bad Gateway body: "{\n   
\"data\": null,\n   \"errors\":[\n      {\n         \"message\":\"Something 
went wrong while executing your query. This may be the result of a timeout, or 
it could be a GitHub bug. Please include `62A6:6738:F1FF4B:FD6D9F:635AF661` 
when reporting this issue.\"\n      }\n   ]\n}\n""
   [GIN] 2022/10/28 - 05:23:36 | 200 |   34.385416ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:23:36 | 200 |   20.084459ms |             ::1 | GET    
  "/pipelines/128/tasks"
   time="2022-10-28 05:24:26" level=warning msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] retry #6 graphql calling after 60s
           caused by: non-200 OK status code: 502 Bad Gateway body: "{\n   
\"data\": null,\n   \"errors\":[\n      {\n         \"message\":\"Something 
went wrong while executing your query. This may be the result of a timeout, or 
it could be a GitHub bug. Please include `62A6:6738:F21B23:FD8B2C:635AF6AF` 
when reporting this issue.\"\n      }\n   ]\n}\n""
   [GIN] 2022/10/28 - 05:24:36 | 200 |   11.190708ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:24:36 | 200 |   23.658667ms |             ::1 | GET    
  "/pipelines/128/tasks"
   [GIN] 2022/10/28 - 05:25:35 | 200 |   23.564541ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:25:35 | 200 |   24.842292ms |             ::1 | GET    
  "/pipelines/128/tasks"
   time="2022-10-28 05:25:39" level=warning msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] retry #7 graphql calling after 60s
           caused by: non-200 OK status code: 502 Bad Gateway body: "{\n   
\"data\": null,\n   \"errors\":[\n      {\n         \"message\":\"Something 
went wrong while executing your query. This may be the result of a timeout, or 
it could be a GitHub bug. Please include `62A6:6738:F234E7:FDA682:635AF6FB` 
when reporting this issue.\"\n      }\n   ]\n}\n""
   [GIN] 2022/10/28 - 05:26:33 | 200 |   36.531208ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:26:34 | 200 |   26.269541ms |             ::1 | GET    
  "/pipelines/128/tasks"
   time="2022-10-28 05:26:52" level=warning msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] retry #8 graphql calling after 60s
           caused by: non-200 OK status code: 502 Bad Gateway body: "{\n   
\"data\": null,\n   \"errors\":[\n      {\n         \"message\":\"Something 
went wrong while executing your query. This may be the result of a timeout, or 
it could be a GitHub bug. Please include `62A6:6738:F24C9B:FDBFC8:635AF746` 
when reporting this issue.\"\n      }\n   ]\n}\n""
   [GIN] 2022/10/28 - 05:27:30 | 200 |    5.714917ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:27:30 | 200 |   21.093709ms |             ::1 | GET    
  "/pipelines/128/tasks"
   time="2022-10-28 05:28:05" level=warning msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] retry #9 graphql calling after 60s
           caused by: non-200 OK status code: 502 Bad Gateway body: "{\n   
\"data\": null,\n   \"errors\":[\n      {\n         \"message\":\"Something 
went wrong while executing your query. This may be the result of a timeout, or 
it could be a GitHub bug. Please include `62A6:6738:F26556:FDDA1C:635AF78F` 
when reporting this issue.\"\n      }\n   ]\n}\n""
   [GIN] 2022/10/28 - 05:28:25 | 200 |      41.077ms |             ::1 | GET    
  "/pipelines/128"
   [GIN] 2022/10/28 - 05:28:25 | 200 |    26.34825ms |             ::1 | GET    
  "/pipelines/128/tasks"
   time="2022-10-28 05:29:05" level=error msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] [CollectPr] ended Graphql collector 
execution with error
           caused by: graphql query failed"
   time="2022-10-28 05:29:05" level=error msg=" [pipeline service] [pipeline 
#128] [task #11248] [github_graphql] [CollectPr] the first error of them
           caused by: graphql query failed
           Wraps: (2) got error when querying GraphQL (from the 10th retry)
           Error types: (1) *hintdetail.withDetail (2) *errors.errorString"
   time="2022-10-28 05:29:05" level=error msg=" [task service] task failed
           caused by: Error running task 11248.
           Wraps: (2) subtask CollectPr ended unexpectedly
           Wraps: (3) graphql query failed
           Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail 
(3) *errors.errorString"
   time="2022-10-28 05:29:05" level=error msg=" [pipeline service] [pipeline 
#128] run tasks failed
           caused by: Error running task 11248."
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to