Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: exhibitor
    • Labels:
    • Story Points:
      1

      Description

      test_exhibitor integration test fails when run as root, e.g. in minidcos, because it checks that directories are not accessible, but they are accessible to user root (and dcos_exhibitor).

      self = <test_exhibitor.TestExhibitor object at 0x7f04ec07d3c8>
      
          def test_permissions(self):
              """
                  ZooKeeper data files are not accessible
                  """
              # Verify that a parent directory exists
              assert os.path.isdir('/var/lib/dcos/exhibitor/zookeeper')
              # Verify that snapshots and transaction logs are not accessible
              with pytest.raises(PermissionError):
      >           os.listdir('/var/lib/dcos/exhibitor/zookeeper/snapshot')
      E           Failed: DID NOT RAISE <class 'PermissionError'>
      
      open_source_tests/test_exhibitor.py:16: Failed
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jonathangiddy Jonathan Giddy
              Team:
              Mesosphere
              Watchers:
              Jonathan Giddy
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: