Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14084

Security manager access denied not causing tests to fail

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • Tests
    • None

    Description

      FYI rcmuir this is from a run where all the tests pass.

      Looking at the output in ./build/solr-core/test/tests-report.txt

      # grep -F 'access denied' tests-report.txt | cut -d':' -f2 | sort | uniq -c
      
         1  access denied ("java.io.FilePermission" "/Users/krisden/repos/apache/lucene-solr/solr/build/solr-core/test/J2/temp/solr.util.TestSolrCLIRunExample_7960AD1EAA781935-001/tempDir-001/failExecuteScript" "execute")
       952  access denied ("java.io.FilePermission" "/Users/krisden/repos/apache/lucene-solr/solr/core/src/test-files/solr/filestore" "write")
        30  access denied ("java.io.FilePermission" "/Users/krisden/repos/apache/lucene-solr/solr/core/src/test-files/solr/userfiles" "write")
        54  access denied ("java.net.SocketPermission" "----------" "resolve")
         2  access denied ("java.net.SocketPermission" "thrasher-T100" "resolve")
         4 127.0.0.1
      

      These didn't cause tests to fail but need to see why these are happening. I wouldn't expect we need most of these.

      Attachments

        1. log.gz
          343 kB
          Ishan Chattopadhyaya

        Issue Links

          Activity

            People

              mdrob Mike Drob
              krisden Kevin Risden
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: