[ https://issues.apache.org/jira/browse/YETUS-719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874835#comment-17874835 ]
Ayush Saxena commented on YETUS-719: ------------------------------------ Hi [~aw] Was facing some issue with one of the builds in Hadoop & I doubt maybe it got induced by this. The build fails claiming it couldn't apply the patch [https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6989/16/console] But it is actually not the correct reason, when tried locally the patch/PR could be easily applied to trunk. I tried to debug that locally & realised the curl command in the script fails {noformat} curl --silent --fail -H 'Accept: application/vnd.github.v3.patch' --output /private/tmp/yetus-10894.25287/input.patch --location https://api.github.com/repos/apache/hadoop/pulls/6989 yetus_debug 'github_locate_patch: not a github pull request.'{noformat} I removed silent in the curl and tried that directly on my console & the output was {noformat} ayushsaxena@ayushsaxena hadoop % curl --fail -H 'Accept: application/vnd.github.v3.patch' --output /private/tmp/yetus-10894.25287/input.patch --location https://api.github.com/repos/apache/hadoop/pulls/6989 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 298 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 406{noformat} You can see the error codes for Github API here: [https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#get-a-pull-request--status-codes] Maybe this API doesn't work beyond a size of PR? I couldn't figure out the exact reason for that though, I tried to hack a bit with this commit locally: [https://github.com/ayushtkn/yetus/commit/a7d29a6a72750a0c5c39512f33945e773e69303e] and then on Hadoop with this: [https://github.com/ayushtkn/hadoop/commit/bee603ed278eb0978af5822d19bf3c1c5704ba13] And things worked here: [https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6707/26/console] I am not very experienced in this area, can you help share some pointers? > github basic authentication is broken > ------------------------------------- > > Key: YETUS-719 > URL: https://issues.apache.org/jira/browse/YETUS-719 > Project: Yetus > Issue Type: Bug > Components: Precommit > Affects Versions: 0.8.0 > Reporter: Allen Wittenauer > Assignee: Allen Wittenauer > Priority: Blocker > Fix For: 0.9.0 > > Attachments: YETUS-719.00.patch, YETUS-719.01.patch, > YETUS-719.01.patch, YETUS-719.02.patch > > > Somewhere along the way, Yetus lost the ability to authenticate to github. -- This message was sent by Atlassian Jira (v8.20.10#820010)