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

java/nio/file/WatchService/Basic.java

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 8
    • core-libs
    • b97
    • generic
    • generic

    Description

      JavaTest Message: Test threw exception: java.lang.RuntimeException

      #Test Results (version 2)
      #Tue Jul 02 20:22:37 PDT 2013
      #checksum:421a91d718292924
      #-----testdescription-----
      $file=/home/aurora/sandbox/testbase/test/java/nio/file/WatchService/Basic.java
      $root=/home/aurora/sandbox/testbase/test
      keywords=bug4313887 bug6838333 bug7017446
      library=..
      run=USER_SPECIFIED main Basic\n
      source=Basic.java
      title=Unit test for java.nio.file.WatchService

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

      #-----testresult-----
      description=file\:/home/aurora/sandbox/testbase/test/java/nio/file/WatchService/Basic.java
      elapsed=480875 0\:08\:00.875
      end=Tue Jul 02 20\:22\:37 PDT 2013
      environment=regtest
      execStatus=Error. Timeout
      hostname=jsn-sfx4200-3
      javatestOS=SunOS 5.11 (x86)
      javatestVersion=4.4
      jtregVersion=jtreg 4.1 fcs b06
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Tue Jul 02 20\:14\:36 PDT 2013
      test=java/nio/file/WatchService/Basic.java
      user.name=aurora
      work=/home/aurora/sandbox/gresults/testoutput/jdk_nio/JTwork/java/nio/file/WatchService

      #section:script_messages
      ----------messages:(5/214)----------
      JDK under test: (/home/aurora/sandbox/jdk)
      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-langtools-nightly-h4992-20130702-b97-b00)
      Java HotSpot(TM) Server VM (build 25.0-b38, mixed mode)


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

      #section:compile
      ----------messages:(3/196)----------
      command: compile -XDignore.symbol.file=true /home/aurora/sandbox/testbase/test/java/nio/file/WatchService/Basic.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.11
      result: Passed. Compilation successful

      #section:main
      ----------messages:(4/135)----------
      command: main Basic
      reason: User specified action: run main Basic
      Timeout signalled after 480 seconds
      elapsed time (seconds): 480.761
      ----------System.out:(28/841)----------
      -- Standard Events --
      register /var/tmp/name7535657617000081028 for ENTRY_CREATE
      create /var/tmp/name7535657617000081028/foo
      take events...
      got event: type=ENTRY_CREATE, count=1, context=foo
      reset key
      OKAY
      register /var/tmp/name7535657617000081028 for ENTRY_DELETE
      delete /var/tmp/name7535657617000081028/foo
      take events...
      got event: type=ENTRY_DELETE, count=1, context=foo
      reset key
      OKAY
      register /var/tmp/name7535657617000081028 for ENTRY_MODIFY
      update: /var/tmp/name7535657617000081028/foo
      take events...
      got event: type=ENTRY_MODIFY, count=1, context=foo
      OKAY
      -- Cancel --
      register /var/tmp/name7535657617000081028 for events
      cancel key
      create: /var/tmp/name7535657617000081028/mars
      poll...
      OKAY
      -- Automatic Cancel --
      register /var/tmp/name7535657617000081028/bar for events
      delete: /var/tmp/name7535657617000081028/bar
      take events...
      ----------System.err:(22/1281)----------
      java.lang.RuntimeException: java.lang.InterruptedException
      at Basic.takeExpectedKey(Basic.java:58)
      at Basic.testAutomaticCancel(Basic.java:215)
      at Basic.main(Basic.java:477)
      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:491)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:728)
      at java.lang.Thread.run(Thread.java:724)
      Caused by: java.lang.InterruptedException
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2012)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2046)
      at java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:489)
      at java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:678)
      at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
      at Basic.takeExpectedKey(Basic.java:55)
      ... 8 more

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

      result: Error. Timeout


      test result: Error. Timeout

      Attachments

        Issue Links

          Activity

            People

              alanb Alan Bateman
              xdono Xiomara Jayasena (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: