"deregisterDriver" is a new permission in Java 8 b89 (updated yesterday). We have to add it to our policy file.
Compare: http://download.java.net/jdk8/docs/api/java/sql/SQLPermission.html With: http://docs.oracle.com/javase/7/docs/api/java/sql/SQLPermission.html I'll take care. Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Policeman Jenkins Server [mailto:[email protected]] > Sent: Thursday, May 16, 2013 9:27 AM > To: [email protected] > Subject: [JENKINS] Lucene-Solr-trunk-Linux (64bit/jdk1.8.0-ea-b89) - Build # > 5678 - Failure! > > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/5678/ > Java: 64bit/jdk1.8.0-ea-b89 -XX:-UseCompressedOops - > XX:+UseConcMarkSweepGC > > 3 tests failed. > FAILED: > junit.framework.TestSuite.org.apache.solr.handler.dataimport.TestSqlEntity > ProcessorDelta > > Error Message: > access denied ("java.sql.SQLPermission" "deregisterDriver") > > Stack Trace: > java.security.AccessControlException: access denied > ("java.sql.SQLPermission" "deregisterDriver") > at __randomizedtesting.SeedInfo.seed([756CA78971FEDC3E]:0) > at > java.security.AccessControlContext.checkPermission(AccessControlContext.j > ava:364) > at > java.security.AccessController.checkPermission(AccessController.java:562) > at > java.lang.SecurityManager.checkPermission(SecurityManager.java:549) > at java.sql.DriverManager.deregisterDriver(DriverManager.java:399) > at > org.apache.derby.jdbc.AutoloadedDriver.unregisterDriverModule(Unknown > Source) > at org.apache.derby.jdbc.Driver20.stop(Unknown Source) > at > org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source) > at > org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown > Source) > at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) > at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown > Source) > at java.sql.DriverManager.getConnection(DriverManager.java:661) > at java.sql.DriverManager.getConnection(DriverManager.java:270) > at > org.apache.solr.handler.dataimport.AbstractDIHJdbcTestCase.afterClassDihJ > dbcTest(AbstractDIHJdbcTestCase.java:77) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:491) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(Randomize > dRunner.java:1559) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(Rando > mizedRunner.java:79) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(Rando > mizedRunner.java:700) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(Stat > ementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1. > evaluate(SystemPropertiesRestoreRule.java:53) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeA > fterRule.java:46) > at > org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreCl > assName.java:42) > at > com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1 > .evaluate(SystemPropertiesInvariantRule.java:55) > at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMet > hodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) > at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMet > hodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(Stat > ementAdapter.java:36) > at > org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAss > ertionsRequired.java:43) > at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure > .java:48) > at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRule > IgnoreAfterMaxFailures.java:70) > at > org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnore > TestSuites.java:55) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(Stat > ementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner. > run(ThreadLeakControl.java:358) > at java.lang.Thread.run(Thread.java:724) > > > FAILED: > junit.framework.TestSuite.org.apache.solr.handler.dataimport.TestSqlEntity > ProcessorDelta > > Error Message: > 1 thread leaked from SUITE scope at > org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta: 1) > Thread[id=49, name=Timer-0, state=WAITING, group=TGRP- > TestSqlEntityProcessorDelta] at java.lang.Object.wait(Native Method) > at java.lang.Object.wait(Object.java:502) at > java.util.TimerThread.mainLoop(Timer.java:526) at > java.util.TimerThread.run(Timer.java:505) > > Stack Trace: > com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from > SUITE scope at > org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta: > 1) Thread[id=49, name=Timer-0, state=WAITING, group=TGRP- > TestSqlEntityProcessorDelta] > at java.lang.Object.wait(Native Method) > at java.lang.Object.wait(Object.java:502) > at java.util.TimerThread.mainLoop(Timer.java:526) > at java.util.TimerThread.run(Timer.java:505) > at __randomizedtesting.SeedInfo.seed([756CA78971FEDC3E]:0) > > > FAILED: > junit.framework.TestSuite.org.apache.solr.handler.dataimport.TestSqlEntity > ProcessorDelta > > Error Message: > There are still zombie threads that couldn't be terminated: 1) > Thread[id=49, > name=Timer-0, state=WAITING, group=TGRP-TestSqlEntityProcessorDelta] > at java.lang.Object.wait(Native Method) at > java.lang.Object.wait(Object.java:502) at > java.util.TimerThread.mainLoop(Timer.java:526) at > java.util.TimerThread.run(Timer.java:505) > > Stack Trace: > com.carrotsearch.randomizedtesting.ThreadLeakError: There are still zombie > threads that couldn't be terminated: > 1) Thread[id=49, name=Timer-0, state=WAITING, group=TGRP- > TestSqlEntityProcessorDelta] > at java.lang.Object.wait(Native Method) > at java.lang.Object.wait(Object.java:502) > at java.util.TimerThread.mainLoop(Timer.java:526) > at java.util.TimerThread.run(Timer.java:505) > at __randomizedtesting.SeedInfo.seed([756CA78971FEDC3E]:0) > > > > > Build Log: > [...truncated 12960 lines...] > [junit4:junit4] Suite: > org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta > [junit4:junit4] 2> Creating dataDir: /mnt/ssd/jenkins/workspace/Lucene- > Solr-trunk-Linux/solr/build/contrib/solr- > dataimporthandler/test/J0/./solrtest-TestSqlEntityProcessorDelta- > 1368689186048 > [junit4:junit4] 2> 5402 T47 ccr.ThreadLeakControl.checkThreadLeaks > WARNING Will linger awaiting termination of 1 leaked thread(s). > [junit4:junit4] 2> 25455 T47 ccr.ThreadLeakControl.checkThreadLeaks > SEVERE 1 thread leaked from SUITE scope at > org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta: > [junit4:junit4] 2> 1) Thread[id=49, name=Timer-0, state=WAITING, > group=TGRP-TestSqlEntityProcessorDelta] > [junit4:junit4] 2> at java.lang.Object.wait(Native Method) > [junit4:junit4] 2> at java.lang.Object.wait(Object.java:502) > [junit4:junit4] 2> at > java.util.TimerThread.mainLoop(Timer.java:526) > [junit4:junit4] 2> at java.util.TimerThread.run(Timer.java:505) > [junit4:junit4] 2> 25455 T47 ccr.ThreadLeakControl.tryToInterruptAll > Starting > to interrupt leaked threads: > [junit4:junit4] 2> 1) Thread[id=49, name=Timer-0, state=WAITING, > group=TGRP-TestSqlEntityProcessorDelta] > [junit4:junit4] 2> 28457 T47 ccr.ThreadLeakControl.tryToInterruptAll SEVERE > There are still zombie threads that couldn't be terminated: > [junit4:junit4] 2> 1) Thread[id=49, name=Timer-0, state=WAITING, > group=TGRP-TestSqlEntityProcessorDelta] > [junit4:junit4] 2> at java.lang.Object.wait(Native Method) > [junit4:junit4] 2> at java.lang.Object.wait(Object.java:502) > [junit4:junit4] 2> at > java.util.TimerThread.mainLoop(Timer.java:526) > [junit4:junit4] 2> at java.util.TimerThread.run(Timer.java:505) > [junit4:junit4] 2> NOTE: test params are: codec=Lucene42: > {AddAColumn_s=PostingsFormat(name=Memory doPackFST= false), > countryAdded_s=PostingsFormat(name=Memory doPackFST= false), > timestamp=PostingsFormat(name=Memory doPackFST= false), > COUNTRY_CODE_s=PostingsFormat(name=Memory doPackFST= false), > id=MockFixedIntBlock(blockSize=1812), > COUNTRY_CODES_mult_s=PostingsFormat(name=Memory doPackFST= > false), NAME_mult_s=PostingsFormat(name=Direct), > COUNTRY_NAME_s=PostingsFormat(name=Direct)}, docValues:{}, > sim=DefaultSimilarity, locale=iw, timezone=Pacific/Samoa > [junit4:junit4] 2> NOTE: Linux 3.2.0-41-generic amd64/Oracle Corporation > 1.8.0-ea (64-bit)/cpus=8,threads=2,free=64703648,total=126418944 > [junit4:junit4] 2> NOTE: All tests run in this JVM: > [TestContentStreamDataSource, TestXPathRecordReader, > TestPlainTextEntityProcessor, TestBuiltInEvaluators, > TestEntityProcessorBase, TestSqlEntityProcessorDelta] > [junit4:junit4] 2> NOTE: reproduce with: ant test - > Dtestcase=TestSqlEntityProcessorDelta -Dtests.seed=756CA78971FEDC3E - > Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=iw - > Dtests.timezone=Pacific/Samoa -Dtests.file.encoding=ISO-8859-1 > [junit4:junit4] ERROR 0.00s | TestSqlEntityProcessorDelta (suite) <<< > [junit4:junit4] > Throwable #1: java.security.AccessControlException: > access > denied ("java.sql.SQLPermission" "deregisterDriver") > [junit4:junit4] > at > __randomizedtesting.SeedInfo.seed([756CA78971FEDC3E]:0) > [junit4:junit4] > at > java.security.AccessControlContext.checkPermission(AccessControlContext.j > ava:364) > [junit4:junit4] > at > java.security.AccessController.checkPermission(AccessController.java:562) > [junit4:junit4] > at > java.lang.SecurityManager.checkPermission(SecurityManager.java:549) > [junit4:junit4] > at > java.sql.DriverManager.deregisterDriver(DriverManager.java:399) > [junit4:junit4] > at > org.apache.derby.jdbc.AutoloadedDriver.unregisterDriverModule(Unknown > Source) > [junit4:junit4] > at org.apache.derby.jdbc.Driver20.stop(Unknown > Source) > [junit4:junit4] > at > org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source) > [junit4:junit4] > at > org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown > Source) > [junit4:junit4] > at > org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown > Source) > [junit4:junit4] > at > org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown > Source) > [junit4:junit4] > at > org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) > [junit4:junit4] > at > org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) > [junit4:junit4] > at > java.sql.DriverManager.getConnection(DriverManager.java:661) > [junit4:junit4] > at > java.sql.DriverManager.getConnection(DriverManager.java:270) > [junit4:junit4] > at > org.apache.solr.handler.dataimport.AbstractDIHJdbcTestCase.afterClassDihJ > dbcTest(AbstractDIHJdbcTestCase.java:77) > [junit4:junit4] > at java.lang.Thread.run(Thread.java:724)Throwable > #2: com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked > from SUITE scope at > org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta: > [junit4:junit4] > 1) Thread[id=49, name=Timer-0, state=WAITING, > group=TGRP-TestSqlEntityProcessorDelta] > [junit4:junit4] > at java.lang.Object.wait(Native Method) > [junit4:junit4] > at java.lang.Object.wait(Object.java:502) > [junit4:junit4] > at java.util.TimerThread.mainLoop(Timer.java:526) > [junit4:junit4] > at java.util.TimerThread.run(Timer.java:505) > [junit4:junit4] > at > __randomizedtesting.SeedInfo.seed([756CA78971FEDC3E]:0)Throwable #3: > com.carrotsearch.randomizedtesting.ThreadLeakError: There are still zombie > threads that couldn't be terminated: > [junit4:junit4] > 1) Thread[id=49, name=Timer-0, state=WAITING, > group=TGRP-TestSqlEntityProcessorDelta] > [junit4:junit4] > at java.lang.Object.wait(Native Method) > [junit4:junit4] > at java.lang.Object.wait(Object.java:502) > [junit4:junit4] > at java.util.TimerThread.mainLoop(Timer.java:526) > [junit4:junit4] > at java.util.TimerThread.run(Timer.java:505) > [junit4:junit4] > at > __randomizedtesting.SeedInfo.seed([756CA78971FEDC3E]:0) > [junit4:junit4] Completed in 28.55s, 4 tests, 3 errors <<< FAILURES! > > [...truncated 96 lines...] > BUILD FAILED > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:377: The > following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:357: The > following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:39: The > following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build.xml:201: > The following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/common- > build.xml:405: The following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/common- > build.xml:437: The following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common- > build.xml:1240: The following error occurred while executing this line: > /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common- > build.xml:884: There were test failures: 35 suites, 141 tests, 3 suite-level > errors, 102 ignored > > Total time: 39 minutes 5 seconds > Build step 'Invoke Ant' marked build as failure Description set: Java: > 64bit/jdk1.8.0-ea-b89 -XX:-UseCompressedOops - > XX:+UseConcMarkSweepGC Archiving artifacts Recording test results Email > was triggered for: Failure Sending email for trigger: Failure > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
