Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7144086

TEST_BUG: java/nio/file/WatchService/SensitivityModifier.java failing intermittently

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P4
    • Resolution: Fixed
    • 8
    • 8
    • core-libs
    • b27
    • generic
    • generic
    • Verified

    Backports

      Description

        This test was originally checked in with an incorrect @run tag and so has not been running. The @run tag was fixed recently via 7142847 and it turns out that the test hangs periodically on some systems.


        #Test Results (version 2)
        #Tue Feb 07 18:47:23 PST 2012
        #checksum:45585b8293ef41b
        #-----testdescription-----
        $file=/export/home/aurora/sandbox/testbase/test/java/nio/file/WatchService/SensitivityModifier.java
        $root=/export/home/aurora/sandbox/testbase/test
        keywords=bug4313887
        library=..
        maxTimeout=240
        run=USER_SPECIFIED main/timeout\=240 SensitivityModifier\n
        source=SensitivityModifier.java
        title=Sanity test for Sun-specific sensitivity level watch event modifier

        #-----environment-----

        #-----testresult-----
        description=file\:/export/home/aurora/sandbox/testbase/test/java/nio/file/WatchService/SensitivityModifier.java
        elapsed=960182 0\:16\:00.182
        end=Tue Feb 07 18\:47\:23 PST 2012
        environment=regtest
        execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.InterruptedException
        hostname=jsn-vw2-00-vm5
        javatestOS=Linux 2.6.32-100.28.5.el6.x86_64 (amd64)
        javatestVersion=4.4
        script=com.sun.javatest.regtest.RegressionScript
        sections=script_messages build compile main
        start=Tue Feb 07 18\:31\:23 PST 2012
        test=java/nio/file/WatchService/SensitivityModifier.java
        user.name=aurora
        work=/export/home/aurora/sandbox/gresults/testoutput/jdk_nio1/JTwork/java/nio/file/WatchService

        #section:script_messages
        ----------messages:(4/226)----------
        JDK under test: (/export/home/aurora/sandbox/jdk)
        java version "1.8.0-ea"
        Java(TM) SE Runtime Environment (build 1.8.0-ea-langtools-nightly-h164-20120207-b25-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 23.0-b11, mixed mode)

        #section:build
        ----------messages:(3/104)----------
        command: build SensitivityModifier
        reason: Named class compiled on demand
        elapsed time (seconds): 0.125
        result: Passed. Build successful

        #section:compile
        ----------messages:(3/191)----------
        command: compile /export/home/aurora/sandbox/testbase/test/java/nio/file/WatchService/SensitivityModifier.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.124
        result: Passed. Compilation successful

        #section:main
        ----------messages:(4/175)----------
        command: main SensitivityModifier
        reason: User specified action: run main/timeout=240 SensitivityModifier
        Timeout signalled after 960 seconds
        elapsed time (seconds): 960.056
        ----------System.out:(9/237)----------
        Modify: /tmp/name7007379819053583530/dir19/file9
        Waiting for event...
        Event OK
        Modify: /tmp/name7007379819053583530/dir6/file35
        Waiting for event...
        Event OK
        Modify: /tmp/name7007379819053583530/dir4/file40
        Waiting for event...
        Event OK
        ----------System.err:(18/1113)----------
        java.lang.InterruptedException
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1219)
        at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340)
        at java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
        at java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:682)
        at sun.nio.fs.AbstractWatchService.poll(AbstractWatchService.java:108)
        at SensitivityModifier.doTest(SensitivityModifier.java:100)
        at SensitivityModifier.main(SensitivityModifier.java:115)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:474)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:690)
        at java.lang.Thread.run(Thread.java:722)

        JavaTest Message: Test threw exception: java.lang.InterruptedException
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: java.lang.InterruptedException


        test result: Failed. Execution failed: `main' threw exception: java.lang.InterruptedException

        Attachments

          Issue Links

            Activity

              People

                alanb Alan Bateman
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: