Description
TEZ-4291 only managed to work with hadoop credentials, this needs to be fixed.
For yetus debugging, this revision can be used:
https://github.com/abstractdog/yetus/commit/aa8223ecdf84eb7cd963c3e5acb2e31b60a19b97#diff-9cb6a2dcf2678adfcaa19a33ce63447f9545744d22c511a4b2bb3d909dee2bc1R587-R593
For manual testing:
curl -X POST -H "Accept: application/vnd.github.v3.full+json" -H "Content-Type: application/json" -H "Authorization: token ${GITHUB_TOKEN}" -d '{"body":"HELLO TEST COMMENT"}' --location "https://api.github.com/repos/apache/tez/issues/112/comments"
Last error message which is shown from jenkins with the logging yetus revision is:
23:56:30 ============================================================================ 23:56:30 ============================================================================ 23:56:30 Adding comment to Github 23:56:30 ============================================================================ 23:56:30 ============================================================================ 23:56:30 23:56:30 23:56:30 authenticating with token **** 23:56:30 POSTING TO https://api.github.com/repos/apache/tez/issues/112/comments 23:56:30 % Total % Received % Xferd Average Speed Time Time Time Current 23:56:30 Dload Upload Total Spent Left Speed 23:56:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1918 0 0 100 1918 0 8678 --:--:-- --:--:-- --:--:-- 8639 100 2072 100 154 100 1918 603 7521 --:--:-- --:--:-- --:--:-- 8093 23:56:30 { 23:56:30 "message": "Resource not accessible by integration", 23:56:30 "documentation_url": "https://docs.github.com/rest/reference/issues#create-an-issue-comment" 23:56:30 }
Attachments
Issue Links
- is caused by
-
TEZ-4291 Fancy precommit report on PR
- Resolved
- links to