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

nighly regression test failure in testLeak(org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test) process failed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Test
    • Labels:
      None
    • Bug behavior facts:
      Regression Test Failure

      Description

      Failed for ibm15 jvm, windows against trunk build 1335883

      http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/ibm15/1335883-suites.All_diff.txt

      There was 1 failure:
      1) testLeak(org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test)junit.framework.AssertionFailedError: Process failed:Spawned DERBY-5730 exitCode=1
      STDERR:
      Exception in thread "main" java.sql.SQLException: No suitable driver
      at java.sql.DriverManager.getConnection(DriverManager.java:592)
      at java.sql.DriverManager.getConnection(DriverManager.java:218)
      at org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test.main(Derby5730Test.java:112)

      at org.apache.derbyTesting.functionTests.tests.memory.Derby5730Test.testLeak(Derby5730Test.java:66)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:113)

      FAILURES!!!
      Tests run: 13645, Failures: 1, Errors: 0

      1. d5753-1a.diff
        1 kB
        Knut Anders Hatlen

        Issue Links

          Activity

          Hide
          knutanders Knut Anders Hatlen added a comment -

          The new test for DERBY-5730 didn't take into account that the driver isn't autoloaded on Java 5. The attached patch makes the spawned process load the embedded driver manually in its main() method. The test passed on Java 5 in my environment with these changes.

          Show
          knutanders Knut Anders Hatlen added a comment - The new test for DERBY-5730 didn't take into account that the driver isn't autoloaded on Java 5. The attached patch makes the spawned process load the embedded driver manually in its main() method. The test passed on Java 5 in my environment with these changes.
          Hide
          knutanders Knut Anders Hatlen added a comment -

          Committed revision 1336526.

          Show
          knutanders Knut Anders Hatlen added a comment - Committed revision 1336526.
          Hide
          knutanders Knut Anders Hatlen added a comment -

          [bulk update] Close all resolved issues that haven't been updated for more than one year.

          Show
          knutanders Knut Anders Hatlen added a comment - [bulk update] Close all resolved issues that haven't been updated for more than one year.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 1504205 from Mamta A. Satoor in branch 'code/branches/10'
          [ https://svn.apache.org/r1504205 ]

          DERBY-5730 (DataDictionaryImpl leaks references to itself via SYSFUN_AD)
          DERBY-5753: (Derby5730Test fails on Java 5)

          Backporting to 10.8. Original fix contributed by Knut.

          Show
          jira-bot ASF subversion and git services added a comment - Commit 1504205 from Mamta A. Satoor in branch 'code/branches/10' [ https://svn.apache.org/r1504205 ] DERBY-5730 (DataDictionaryImpl leaks references to itself via SYSFUN_AD) DERBY-5753 : (Derby5730Test fails on Java 5) Backporting to 10.8. Original fix contributed by Knut.

            People

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              mikem Mike Matrigali
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development