[ 
https://issues.apache.org/jira/browse/TEZ-4293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

László Bodor updated TEZ-4293:
------------------------------
    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:
{code}
curl -X POST -H "Accept: application/vnd.github.v3.full+json" -H "Content-Type: 
application/json" -H "Authorization: token ${GITHUB_TOKEN}" -d "HELLO TEST 
COMMENT" --location 
"https://api.github.com/repos/apache/tez/issues/112/comments";
{code}

Last error message which is shown from jenkins with the logging yetus revision 
is:
{code}
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  }
{code}

> Use Tez credentials for CI
> --------------------------
>
>                 Key: TEZ-4293
>                 URL: https://issues.apache.org/jira/browse/TEZ-4293
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: László Bodor
>            Priority: Major
>
> 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:
> {code}
> curl -X POST -H "Accept: application/vnd.github.v3.full+json" -H 
> "Content-Type: application/json" -H "Authorization: token ${GITHUB_TOKEN}" -d 
> "HELLO TEST COMMENT" --location 
> "https://api.github.com/repos/apache/tez/issues/112/comments";
> {code}
> Last error message which is shown from jenkins with the logging yetus 
> revision is:
> {code}
> 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  }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to