Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      0.5
    • Sprint:
      Spring 8 : 24 Apr to 8 May, Spring 8 : 11 May to 25 May, Spring 9 : 25 May to 8 Jun, Summer 1: 8 Jun - 19 Jun

      Description

      Suddenly one of the genometry test cases is failing:

      "java.lang.NullPointerException
      at com.affymetrix.genometry.parsers.TwoBitParserTest.testOriginal(TwoBitParserTest.java:67)
      at com.affymetrix.genometry.parsers.TwoBitParserTest.testCaseFiles(TwoBitParserTest.java:47)"

      We need to investigate why this is occurring and correct the problem.

      While fixing the test, improve test coverage to make the code more resilient to bugs and safer to modify.

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Epic Link IGBF-1531 [ 17617 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            Hide
            ann.loraine Ann Loraine added a comment -

            Unfortunately there is another failed test. Please take a look and fix the test, ideally also improving the testing coverage and robustness of the tests.

            Show
            ann.loraine Ann Loraine added a comment - Unfortunately there is another failed test. Please take a look and fix the test, ideally also improving the testing coverage and robustness of the tests.
            ann.loraine Ann Loraine made changes -
            Assignee Srishti Tiwari [ stiwari8 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Show
            stiwari8 Srishti Tiwari (Inactive) added a comment - Please review the fix: https://bitbucket.org/srishtitiwari/integrated-genome-browser/commits/b3976f26b910063373b6fc06158072f440a60313
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Srishti Tiwari [ stiwari8 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            ann.loraine Ann Loraine made changes -
            Assignee Srishti Tiwari [ stiwari8 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Please submit PR.

            Show
            ann.loraine Ann Loraine added a comment - Please submit PR.
            Show
            stiwari8 Srishti Tiwari (Inactive) added a comment - PR submitted: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/790/igbf-2357-fix-failed-test-case/diff
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Srishti Tiwari [ stiwari8 ] Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            Hide
            stiwari8 Srishti Tiwari (Inactive) added a comment -

            https://www.baeldung.com/junit-assert-exception

            From a quick investigation, I figured out that there are changes in implementation around unit assert exception. This could be a possible reason why this test was not previously failing.

            Show
            stiwari8 Srishti Tiwari (Inactive) added a comment - https://www.baeldung.com/junit-assert-exception From a quick investigation, I figured out that there are changes in implementation around unit assert exception. This could be a possible reason why this test was not previously failing.
            ann.loraine Ann Loraine made changes -
            Sprint Spring 8 : 24 Apr to 8 May [ 93 ] Spring 8 : 24 Apr to 8 May, Spring 8 : 11 May to 25 May [ 93, 94 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Spring 8 : 24 Apr to 8 May, Spring 8 : 11 May to 25 May [ 93, 94 ] Spring 8 : 24 Apr to 8 May, Spring 8 : 11 May to 25 May, Spring 9 : 25 May to 8 Jun [ 93, 94, 95 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Spring 8 : 24 Apr to 8 May, Spring 8 : 11 May to 25 May, Spring 9 : 25 May to 8 Jun [ 93, 94, 95 ] Spring 8 : 24 Apr to 8 May, Spring 8 : 11 May to 25 May, Spring 9 : 25 May to 8 Jun, Summer 1: 8 Jun - 19 Jun [ 93, 94, 95, 96 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            pbadzuh Philip Badzuh (Inactive) made changes -
            Link This issue relates to IGBF-2291 [ IGBF-2291 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            The latest version of IGB from the master branch builds successfully and the breaking test now passes. Moving to done.

            -------------------------------------------------------------------------------
            Test set: com.affymetrix.genometry.parsers.TwoBitParserTest
            -------------------------------------------------------------------------------
            Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.335 sec - in com.affymetrix.genometry.parsers.TwoBitParserTest

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - The latest version of IGB from the master branch builds successfully and the breaking test now passes. Moving to done. ------------------------------------------------------------------------------- Test set: com.affymetrix.genometry.parsers.TwoBitParserTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.335 sec - in com.affymetrix.genometry.parsers.TwoBitParserTest
            pbadzuh Philip Badzuh (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]

              People

              • Assignee:
                Unassigned
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: