[
https://issues.apache.org/jira/browse/SOLR-16135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17519728#comment-17519728
]
Anshum Gupta commented on SOLR-16135:
-------------------------------------
Hi [~krisden], I've attached the output of the test run. Didn't run the entire
smoketest this time, but it's one of the failing tests.
Quoting myself from the email to the dev@ list (Solr 9.0 RC3 vote thread)
{quote}
I've tried:
- Fresh clone of the repository
- Multiple JDK versions from JDK11, 14, 17
- Cleanup gradle cache
- Multiple machines (Macbook and iMac)
At this point I have the HDFS module tests and the adminUI test failing with
SecurityManager related exceptions e.g.
org.apache.solr.hdfs.store.HdfsDirectoryTest > classMethod FAILED
java.security.AccessControlException: access denied
("java.io.FilePermission"
"/Users/anshumg/workspace/apache/solr/solr/modules/hdfs/build/tmp" "write")
I don't have a custom security policy and even running with
-Djava.security.debug=access,failure,policy didn't get any useful information.
{quote}
> Investigate failing smoke tester, possibly due to security manager
> ------------------------------------------------------------------
>
> Key: SOLR-16135
> URL: https://issues.apache.org/jira/browse/SOLR-16135
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Anshum Gupta
> Priority: Major
> Attachments: OUTPUT-org.apache.solr.hdfs.store.HdfsDirectoryTest.txt
>
>
> Creating a new JIRA that is beyond the scope of just fixing the System temp
> directory issue in SOLR-16133.
> Here are the failing tests:
> {code:java}
> ERROR: The following test(s) have failed:
> - org.apache.solr.client.solrj.embedded.JettyWebappTest.testAdminUI
> (:solr:solrj)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/solrj/build/test-results/test/outputs/OUTPUT-org.apache.solr.client.solrj.embedded.JettyWebappTest.txt
> Reproduce with: gradlew :solr:solrj:test --tests
> "org.apache.solr.client.solrj.embedded.JettyWebappTest.testAdminUI"
> -Ptests.jvms=8 -Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -Ptests.seed=41C1082A792D9EC7 -Ptests.badapples=false
> -Ptests.file.encoding=ISO-8859-1
> - org.apache.solr.hdfs.update.TestHdfsUpdateLog.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.update.TestHdfsUpdateLog.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.update.TestHdfsUpdateLog.classMethod" -Ptests.jvms=8
> -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=41C1082A792D9EC7
> -Ptests.badapples=false -Ptests.file.encoding=ISO-8859-1
> - org.apache.solr.hdfs.cloud.HdfsRecoverLeaseTest.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.cloud.HdfsRecoverLeaseTest.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.cloud.HdfsRecoverLeaseTest.classMethod" -Ptests.jvms=8
> -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=41C1082A792D9EC7
> -Ptests.badapples=false -Ptests.file.encoding=ISO-8859-1
> -
> org.apache.solr.hdfs.cloud.api.collections.HdfsCloudIncrementalBackupTest.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.cloud.api.collections.HdfsCloudIncrementalBackupTest.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.cloud.api.collections.HdfsCloudIncrementalBackupTest.classMethod"
> -Ptests.jvms=8 -Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -Ptests.seed=41C1082A792D9EC7 -Ptests.badapples=false
> -Ptests.file.encoding=ISO-8859-1
> - org.apache.solr.hdfs.index.CheckHdfsIndexTest.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.index.CheckHdfsIndexTest.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.index.CheckHdfsIndexTest.classMethod" -Ptests.jvms=8
> -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=41C1082A792D9EC7
> -Ptests.badapples=false -Ptests.file.encoding=ISO-8859-1
> - org.apache.solr.hdfs.HdfsDirectoryFactoryTest.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.HdfsDirectoryFactoryTest.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.HdfsDirectoryFactoryTest.classMethod" -Ptests.jvms=8
> -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=41C1082A792D9EC7
> -Ptests.badapples=false -Ptests.file.encoding=ISO-8859-1
> -
> org.apache.solr.hdfs.backup.repository.HdfsBackupRepositoryIntegrationTest.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.backup.repository.HdfsBackupRepositoryIntegrationTest.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.backup.repository.HdfsBackupRepositoryIntegrationTest.classMethod"
> -Ptests.jvms=8 -Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -Ptests.seed=41C1082A792D9EC7 -Ptests.badapples=false
> -Ptests.file.encoding=ISO-8859-1
> - org.apache.solr.hdfs.cloud.HdfsThreadLeakTest.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.cloud.HdfsThreadLeakTest.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.cloud.HdfsThreadLeakTest.classMethod" -Ptests.jvms=8
> -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=41C1082A792D9EC7
> -Ptests.badapples=false -Ptests.file.encoding=ISO-8859-1
> - org.apache.solr.hdfs.cloud.HdfsNameNodeFailoverTest.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.cloud.HdfsNameNodeFailoverTest.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.cloud.HdfsNameNodeFailoverTest.classMethod"
> -Ptests.jvms=8 -Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -Ptests.seed=41C1082A792D9EC7 -Ptests.badapples=false
> -Ptests.file.encoding=ISO-8859-1
> -
> org.apache.solr.hdfs.cloud.api.collections.TestHdfsCloudBackupRestore.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.cloud.api.collections.TestHdfsCloudBackupRestore.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.cloud.api.collections.TestHdfsCloudBackupRestore.classMethod"
> -Ptests.jvms=8 -Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -Ptests.seed=41C1082A792D9EC7 -Ptests.badapples=false
> -Ptests.file.encoding=ISO-8859-1
> - org.apache.solr.hdfs.cloud.HdfsCollectionsApiTest.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.cloud.HdfsCollectionsApiTest.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.cloud.HdfsCollectionsApiTest.classMethod"
> -Ptests.jvms=8 -Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -Ptests.seed=41C1082A792D9EC7 -Ptests.badapples=false
> -Ptests.file.encoding=ISO-8859-1
> - org.apache.solr.hdfs.store.HdfsDirectoryTest.classMethod
> (:solr:modules:hdfs)
> Test output:
> /private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_6/unpack/solr-9.0.0/solr/modules/hdfs/build/test-results/test/outputs/OUTPUT-org.apache.solr.hdfs.store.HdfsDirectoryTest.txt
> Reproduce with: gradlew :solr:modules:hdfs:test --tests
> "org.apache.solr.hdfs.store.HdfsDirectoryTest.classMethod" -Ptests.jvms=8
> -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=41C1082A792D9EC7
> -Ptests.badapples=false -Ptests.file.encoding=ISO-8859-1
> FAILURE: Build completed with 2 failures.
> {code}
> Something to also fix is that the retry command contains {{.classMethod}}
> e.g.
> {{--tests "org.apache.solr.hdfs.cloud.HdfsRecoverLeaseTest.classMethod"}}
> and so those commands don't really work and fail with the following error as
> expected:
> {code}
> * What went wrong:
> No tests found for the given filters?
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]