Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6865

RestrictiveFilePermissionsTest fails on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.13.1.0
    • Fix Version/s: 10.13.1.0
    • Component/s: Test
    • Labels:
      None
    • Environment:
      Windows 10
      JDK 8u71
      Derby trunk revision 1728459
    • Bug behavior facts:
      Regression Test Failure

      Description

      .F.F.F.F.F.F.F.F.F.F.F.F.F..
      Time: 48,93
      There were 13 failures:
      1) testBackupRestoreFiles(org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest)junit.framework.AssertionFailedError: unexpected uid \OPPRETTER EIER can access file C:\cygwin64\tmp\derbytst\system\RFPT_backup
      	at org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest$2.run(RestrictiveFilePermissionsTest.java:758)
      	at org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest$2.run(RestrictiveFilePermissionsTest.java:597)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest.checkAccessToOwner(RestrictiveFilePermissionsTest.java:597)
      	at org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest.checkAccessToOwner(RestrictiveFilePermissionsTest.java:582)
      	at org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest.testBackupRestoreFiles(RestrictiveFilePermissionsTest.java:372)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:120)
      	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:443)
      	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:460)
      	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      	at junit.extensions.TestSetup.run(TestSetup.java:27)
      	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      	at junit.extensions.TestSetup.run(TestSetup.java:27)
      	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
      	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      	at junit.extensions.TestSetup.run(TestSetup.java:27)
      	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      	at junit.extensions.TestSetup.run(TestSetup.java:27)
      

        Attachments

          Activity

            People

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: