AldrinAJ opened a new issue, #8581:
URL: https://github.com/apache/incubator-devlake/issues/8581

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   1. I have launched the Devlake instance and connected it with a Jenkins 
instance
   2. Configured a pipeline which linked to the Jenkins jobs, Note that the 
Jenkins jobs have multi-branch pipelines.
   3. While launching the pipeline we are getting below errors.
   `attached stack trace -- stack trace: | 
github.com/apache/incubator-devlake/core/runner.RunPluginSubTasks`
   - We have increased the API tiemout limit and retry limits
   - Few subtasks were running successful, but many were failing
   
   At the logs we could see some suspicious strings:
   
   `The last error was: attached stack trace | -- stack trace: | | 
github.com/apache/incubator-devlake/helpers/pluginhelper/api.(*ApiClient).Do | 
| /app/helpers/pluginhelper/api/api_client.go:376 | | 
github.com/apache/incubator-devlake/helpers/pluginhelper/api.(*ApiAsyncClient).DoAsync.func1
 | | /app/helpers/pluginhelper/api/api_async_client.go:164 | | 
github.com/apache/incubator-devlake/helpers/pluginhelper/api.(*WorkerScheduler).SubmitBlocking.func1
 | | /app/helpers/pluginhelper/api/worker_scheduler.go:111 | | 
github.com/panjf2000/ants/v2.(*goWorker).run.func1 | | 
/go/pkg/mod/github.com/panjf2000/ants/[email protected]/worker.go:70 | | runtime.goexit 
| | /usr/local/go/src/runtime/asm_amd64.s:1598 | Wraps: (2) Get  
"http://<Jenkins_JenkinsJobsUrl>/api/json?tree=allBuilds%5Btimestamp%2Cnumber%2Cduration%2Cbuilding%2CestimatedDuration%2CfullDisplayName%2Cresult%2Cactions%5BlastBuiltRevision%5BSHA1%2Cbranch%5Bname%5D%5D%2CremoteUrls%2CmercurialRevisionNumber%2Ccauses%5B%2A%5D%5D%2CchangeSet%5B
 kind%2Crevisions%5Brevision%5D%5D%5D" | Wraps: (4) context deadline exceeded 
(Client.Timeout exceeded while awaiting headers) | Error types: (1) 
*withstack.withStack (2) *errutil.withPrefix (3) *url.Error (4) *http.httpError`
   
   
   
   
   
   
   ### What do you expect to happen
   
   - We would like to have the data fetched from Jenkins, ingested via pipeline 
and published to Grafana dashboard
   
   
   ### How to reproduce
   
   1. Launch devlake through docker compose
   2. Connect to a jenkins machine which has multi branch pipeline 
   3. Create connections
   4. Create pipeline
   5. Launch pipeline 
   6. Afore-memntioned issues occured
   
   FYR: We have downloaded the github codebase which has the Last commit iD at 
the github: 44f2db27d6cf441fb95cf24280f9cc056189a286
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   44f2db27d6cf441fb95cf24280f9cc056189a286
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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