Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-728

Unit test failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.6
    • tests

    Description

      Unit test org.apache.falcon.entity.parser.FeedEntityParserTest.testValidateACLAndStorageForValidGroupBadOwner fails

      org.apache.falcon.FalconException: Permission denied: Either Feed ACL owner AccessControlList{owner='testuser', group='admin', permission='0x755'} or group admin doesn't match the actual file owner jenkins or group jenkins  for file /projects/falcon/clicks
      
      org.apache.falcon.entity.parser.ValidationException: org.apache.falcon.FalconException: Permission denied: Either Feed ACL owner AccessControlList{owner='testuser', group='admin', permission='0x755'} or group admin doesn't match the actual file owner jenkins or group jenkins  for file /projects/falcon/clicks
      	at org.apache.falcon.entity.FileSystemStorage.validateACL(FileSystemStorage.java:263)
      	at org.apache.falcon.entity.parser.FeedEntityParser.validateACL(FeedEntityParser.java:428)
      	at org.apache.falcon.entity.parser.FeedEntityParser.validate(FeedEntityParser.java:85)
      	at org.apache.falcon.entity.parser.FeedEntityParserTest.testValidateACLAndStorageForValidGroupBadOwner(FeedEntityParserTest.java:822)
      

      Tests
      org.apache.falcon.security.FalconAuthenticationFilterTest.testAnonymous
      org.apache.falcon.security.FalconAuthenticationFilterTest.testDoFilter
      org.apache.falcon.security.FalconAuthenticationFilterTest.testDoFilterForClientBackwardsCompatibility
      org.apache.falcon.security.FalconAuthenticationFilterTest.testEmptyUser

      java.lang.NullPointerException: null
      	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.init(AuthenticationFilter.java:186)
      	at org.apache.falcon.security.FalconAuthenticationFilter.init(FalconAuthenticationFilter.java:82)
      

      Attachments

        1. FALCON-728.patch
          2 kB
          Sowmya Ramesh

        Activity

          People

            sowmyaramesh Sowmya Ramesh
            sowmyaramesh Sowmya Ramesh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: