junit.framework.AssertionFailedError: isolation levels: 1 2: exception java.sql.SQLTransactionRollbackException: A lock could not be obtained within the time requested

db-derby-dev | Myrna van Lunteren (JIRA) | 3 years ago
  1. 0

    [jira] [Commented] (DERBY-6437) testLockingWithRollback failing on trunk with AssertionFailedError - isolation levels: 4 2

    db-derby-dev | 3 years ago | Myrna van Lunteren (JIRA)
    junit.framework.AssertionFailedError: isolation levels: 1 2: exception java.sql.SQLTransactionRollbackException: A lock could not be obtained within the time requested
  2. 0

    The following error is being logged by Confluence when run in the CI builds. Presumably this is because the server is being run from a zipped Confluence home directory that does not have Dev Mode enabled. Might need to hack the run command to pass in the devMode=true flag. {noformat} 28-Nov-2010 19:10:29 testAdminUserHasEditPermissionRestrictedPage(it.com.atlassian.confluence.plugins.rpc.permcheck.SoapPermissionCheckerAcceptanceTest) Time elapsed: 0 sec <<< FAILURE! 28-Nov-2010 19:10:29 junit.framework.AssertionFailedError: Expected text not found in current page: [Manage Plugins] 28-Nov-2010 19:10:29 Page content was: [Administrator Access - Confluence 28-Nov-2010 19:10:29 Administrator Access 28-Nov-2010 19:10:29 If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. 28-Nov-2010 19:10:29 You have requested access to an administrative function in Confluence and are required to validate your credentials below. 28-Nov-2010 19:10:29 If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. 28-Nov-2010 19:10:29 Username admin 28-Nov-2010 19:10:29 Password 28-Nov-2010 19:10:29 Confirm Cancel Not You? 28-Nov-2010 19:10:29 28-Nov-2010 19:10:29 ] 28-Nov-2010 19:10:29 at junit.framework.Assert.fail(Assert.java:47) 28-Nov-2010 19:10:29 at net.sourceforge.jwebunit.junit.WebTester.assertTextPresent(WebTester.java:485) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installPluginInternal(JWebUnitConfluenceWebTester.java:350) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installPlugin(JWebUnitConfluenceWebTester.java:299) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installTestLibrary(JWebUnitConfluenceWebTester.java:263) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.AbstractConfluencePluginWebTestCase.installTestLibrary(AbstractConfluencePluginWebTestCase.java:102) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.AbstractConfluencePluginWebTestCase.setUp(AbstractConfluencePluginWebTestCase.java:44) 28-Nov-2010 19:10:29 at it.com.atlassian.confluence.plugins.rpc.permcheck.SoapPermissionCheckerAcceptanceTest.setUp(SoapPermissionCheckerAcceptanceTest.java:42) 28-Nov-2010 19:10:29 at junit.framework.TestCase.runBare(TestCase.java:125) 28-Nov-2010 19:10:29 at net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:93) 28-Nov-2010 19:10:29 at junit.framework.TestResult$1.protect(TestResult.java:106) 28-Nov-2010 19:10:29 at junit.framework.TestResult.runProtected(TestResult.java:124) 28-Nov-2010 19:10:29 at junit.framework.TestResult.run(TestResult.java:109) 28-Nov-2010 19:10:29 at junit.framework.TestCase.run(TestCase.java:118) 28-Nov-2010 19:10:29 at junit.framework.TestSuite.runTest(TestSuite.java:208) 28-Nov-2010 19:10:29 at junit.framework.TestSuite.run(TestSuite.java:203) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.doRun(JUnitTestRunner.java:244) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.start(JUnitTestRunner.java:217) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.run(JUnitTestRunner.java:205) 28-Nov-2010 19:10:29 at org.testng.TestRunner$2.run(TestRunner.java:546) 28-Nov-2010 19:10:29 at org.testng.TestRunner.runWorkers(TestRunner.java:759) 28-Nov-2010 19:10:29 at org.testng.TestRunner.privateRunJUnit(TestRunner.java:558) 28-Nov-2010 19:10:29 at org.testng.TestRunner.run(TestRunner.java:483) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.runTest(SuiteRunner.java:332) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.run(SuiteRunner.java:204) 28-Nov-2010 19:10:29 at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912) 28-Nov-2010 19:10:29 at org.testng.TestNG.runSuitesLocally(TestNG.java:876) 28-Nov-2010 19:10:29 at org.testng.TestNG.run(TestNG.java:784) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:155) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 28-Nov-2010 19:10:29 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 28-Nov-2010 19:10:29 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 28-Nov-2010 19:10:29 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 28-Nov-2010 19:10:29 at java.lang.reflect.Method.invoke(Method.java:597) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) {noformat}

    Atlassian JIRA | 6 years ago | Joe Clark [Atlassian]
    junit.framework.AssertionFailedError: Expected text not found in current page: [Manage Plugins] Page content was: [Administrator Access - Confluence Administrator Access If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. Username admin Password Confirm Cancel Not You? ]
  3. 0

    The following error is being logged by Confluence when run in the CI builds. Presumably this is because the server is being run from a zipped Confluence home directory that does not have Dev Mode enabled. Might need to hack the run command to pass in the devMode=true flag. {noformat} 28-Nov-2010 19:10:29 testAdminUserHasEditPermissionRestrictedPage(it.com.atlassian.confluence.plugins.rpc.permcheck.SoapPermissionCheckerAcceptanceTest) Time elapsed: 0 sec <<< FAILURE! 28-Nov-2010 19:10:29 junit.framework.AssertionFailedError: Expected text not found in current page: [Manage Plugins] 28-Nov-2010 19:10:29 Page content was: [Administrator Access - Confluence 28-Nov-2010 19:10:29 Administrator Access 28-Nov-2010 19:10:29 If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. 28-Nov-2010 19:10:29 You have requested access to an administrative function in Confluence and are required to validate your credentials below. 28-Nov-2010 19:10:29 If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. 28-Nov-2010 19:10:29 Username admin 28-Nov-2010 19:10:29 Password 28-Nov-2010 19:10:29 Confirm Cancel Not You? 28-Nov-2010 19:10:29 28-Nov-2010 19:10:29 ] 28-Nov-2010 19:10:29 at junit.framework.Assert.fail(Assert.java:47) 28-Nov-2010 19:10:29 at net.sourceforge.jwebunit.junit.WebTester.assertTextPresent(WebTester.java:485) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installPluginInternal(JWebUnitConfluenceWebTester.java:350) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installPlugin(JWebUnitConfluenceWebTester.java:299) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installTestLibrary(JWebUnitConfluenceWebTester.java:263) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.AbstractConfluencePluginWebTestCase.installTestLibrary(AbstractConfluencePluginWebTestCase.java:102) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.AbstractConfluencePluginWebTestCase.setUp(AbstractConfluencePluginWebTestCase.java:44) 28-Nov-2010 19:10:29 at it.com.atlassian.confluence.plugins.rpc.permcheck.SoapPermissionCheckerAcceptanceTest.setUp(SoapPermissionCheckerAcceptanceTest.java:42) 28-Nov-2010 19:10:29 at junit.framework.TestCase.runBare(TestCase.java:125) 28-Nov-2010 19:10:29 at net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:93) 28-Nov-2010 19:10:29 at junit.framework.TestResult$1.protect(TestResult.java:106) 28-Nov-2010 19:10:29 at junit.framework.TestResult.runProtected(TestResult.java:124) 28-Nov-2010 19:10:29 at junit.framework.TestResult.run(TestResult.java:109) 28-Nov-2010 19:10:29 at junit.framework.TestCase.run(TestCase.java:118) 28-Nov-2010 19:10:29 at junit.framework.TestSuite.runTest(TestSuite.java:208) 28-Nov-2010 19:10:29 at junit.framework.TestSuite.run(TestSuite.java:203) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.doRun(JUnitTestRunner.java:244) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.start(JUnitTestRunner.java:217) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.run(JUnitTestRunner.java:205) 28-Nov-2010 19:10:29 at org.testng.TestRunner$2.run(TestRunner.java:546) 28-Nov-2010 19:10:29 at org.testng.TestRunner.runWorkers(TestRunner.java:759) 28-Nov-2010 19:10:29 at org.testng.TestRunner.privateRunJUnit(TestRunner.java:558) 28-Nov-2010 19:10:29 at org.testng.TestRunner.run(TestRunner.java:483) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.runTest(SuiteRunner.java:332) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.run(SuiteRunner.java:204) 28-Nov-2010 19:10:29 at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912) 28-Nov-2010 19:10:29 at org.testng.TestNG.runSuitesLocally(TestNG.java:876) 28-Nov-2010 19:10:29 at org.testng.TestNG.run(TestNG.java:784) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:155) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 28-Nov-2010 19:10:29 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 28-Nov-2010 19:10:29 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 28-Nov-2010 19:10:29 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 28-Nov-2010 19:10:29 at java.lang.reflect.Method.invoke(Method.java:597) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) {noformat}

    Atlassian JIRA | 6 years ago | Joe Clark [Atlassian]
    junit.framework.AssertionFailedError: Expected text not found in current page: [Manage Plugins] Page content was: [Administrator Access - Confluence Administrator Access If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. Username admin Password Confirm Cancel Not You? ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    All classes and objects in org.scalatest.junit

    scalatest.org | 9 months ago
    junit.framework.AssertionFailedError: 1 did not equal 2
  6. 0

    All classes and objects in org.scalatest.junit

    scalatest.org | 9 months ago
    junit.framework.AssertionFailedError: 1 did not equal 2

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      isolation levels: 1 2: exception java.sql.SQLTransactionRollbackException: A lock could not be obtained within the time requested

      at org.apache.derbyTesting.functionTests.tests.lang.ConstraintCharacteristicsTest.executeThreads()
    2. org.apache.derbyTesting
      ConstraintCharacteristicsTest.testLockingWithRollback
      1. org.apache.derbyTesting.functionTests.tests.lang.ConstraintCharacteristicsTest.executeThreads(ConstraintCharacteristicsTest.java:1344)
      2. org.apache.derbyTesting.functionTests.tests.lang.ConstraintCharacteristicsTest.testLockingWithRollback(ConstraintCharacteristicsTest.java:1291)
      2 frames
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      3 frames
    4. org.apache.derbyTesting
      BaseJDBCTestCase.runBare
      1. org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
      2. org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:440)
      3. org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:457)
      3 frames
    5. JUnit
      TestSetup.run
      1. junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      2. junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      3. junit.extensions.TestSetup.run(TestSetup.java:25)
      4. junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      5. junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      6. junit.extensions.TestSetup.run(TestSetup.java:25)
      7. junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      8. junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      9. junit.extensions.TestSetup.run(TestSetup.java:25)
      9 frames
    6. org.apache.derbyTesting
      BaseTestSetup.run
      1. org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      1 frame
    7. JUnit
      TestSetup.run
      1. junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      2. junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      3. junit.extensions.TestSetup.run(TestSetup.java:25)
      3 frames