[ 
https://issues.apache.org/jira/browse/AMBARI-18481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15531206#comment-15531206
 ] 

Hadoop QA commented on AMBARI-18481:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  
http://issues.apache.org/jira/secure/attachment/12830698/AMBARI-18481_trunk_01.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-server.

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/8748//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/8748//console

This message is automatically generated.

> Fix Authentication data is not available error in 
> ConfigGroupResourceProviderTest
> ---------------------------------------------------------------------------------
>
>                 Key: AMBARI-18481
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18481
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18481_branch-2.5_01.patch, 
> AMBARI-18481_trunk_01.patch
>
>
> Intermittently the following exception is thrown when running unit tests for 
> ConfigGroupResourceProviderTest:
> {noformat}
> org.apache.ambari.server.security.authorization.AuthorizationException: 
> Authentication data is not available, authorization to perform the requested 
> operation is not granted
>   at 
> org.apache.ambari.server.controller.internal.ConfigGroupResourceProviderTest.testGetConfigGroup(ConfigGroupResourceProviderTest.java:695)
>   at 
> org.apache.ambari.server.controller.internal.ConfigGroupResourceProviderTest.testGetConfigGroupAsClusterAdministrator(ConfigGroupResourceProviderTest.java:580)
> {noformat}
> This is due to the order in which the test cases are executed and when the 
> authentication context is set. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to