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

java/nio/channels/FileChannel/Size.java failed once in the same binary run

    Details

    • Subcomponent:
    • Resolved In Build:
      b119
    • OS:
      windows
    • Verification:
      Verified

      Description

      #Test Results (version 2)
      #Thu Nov 14 06:16:43 PST 2013
      #checksum:4547af2f78703cb4
      #-----testdescription-----
      $file=C\:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel\\Size.java
      $root=C\:\\Users\\aurora\\sandbox_keepme\\testbase\\test
      keywords=bug4563125 othervm
      run=USER_SPECIFIED main/othervm Size\r\n
      source=Size.java
      title=Test size method of FileChannel

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

      #-----testresult-----
      description=file\:/C\:/Users/aurora/sandbox_keepme/testbase/test/java/nio/channels/FileChannel/Size.java
      elapsed=1120 0\:00\:01.120
      end=Thu Nov 14 06\:16\:43 PST 2013
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.io.FileNotFoundException\: C\:\\Users\\aurora\\AppData\\Local\\Temp\\blah4828501825445467927.tmp (Access is denied)
      hostname=SC11136076.us.oracle.com
      javatestOS=Windows 7 6.1 (amd64)
      javatestVersion=4.4
      jtregVersion=jtreg 4.1 fcs b07
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Thu Nov 14 06\:16\:42 PST 2013
      test=java/nio/channels/FileChannel/Size.java
      user.name=aurora
      work=C\:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\java\\nio\\channels\\FileChannel

      #section:script_messages
      ----------messages:(5/195)*----------
      JDK under test: (C:\\Users\\aurora\\SANDBO~1\\jdk)
      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-b115)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b57, mixed mode)


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

      #section:compile
      ----------messages:(3/222)*----------
      command: compile -XDignore.symbol.file=true C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel\\Size.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.101
      ----------rerun:(23/2304)*----------
      'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\
      SystemDrive=C: \\
      'SystemRoot=C:\\Windows' \\
      'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
      'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
      'windir=C:\\Windows' \\
          'C:\\Users\\aurora\\SANDBO~1\\jdk\\bin\\javac' \\
              -J-ea \\
              -J-esa \\
              -J-Xmx512m \\
              -J-Dtest.vm.opts='-ea -esa -Xmx512m' \\
              -J-Dcompile.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
              -J-Dtest.src.path='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel' \\
              -J-Dtest.src='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel' \\
              -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
              -J-Dtest.class.path='C:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\FileChannel' \\
              -J-Dtest.timeout.factor=4.0 \\
              -J-Dtest.classes='C:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\FileChannel' \\
              -J-Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\FileChannel;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel' \\
              -J-Dtest.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
              -J-Dtest.java.opts= \\
              -J-Dtest.compiler.opts= \\
              -d 'C:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\FileChannel' -classpath 'C:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\FileChannel;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel;C:\\Users\\aurora\\SANDBO~1\\jdk\\lib\\tools.jar' -sourcepath 'C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel' -XDignore.symbol.file=true 'C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel\\Size.java'
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/106)----------
      command: main Size
      reason: User specified action: run main/othervm Size
      elapsed time (seconds): 1.017
      ----------System.out:(0/0)----------
      ----------System.err:(18/1168)*----------
      java.io.FileNotFoundException: C:\\Users\\aurora\\AppData\\Local\\Temp\\blah4828501825445467927.tmp (Access is denied)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:206)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:156)
      at Size.initTestFile(Size.java:95)
      at Size.test1(Size.java:56)
      at Size.main(Size.java:47)
      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:483)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)

      JavaTest Message: Test threw exception: java.io.FileNotFoundException: C:\\Users\\aurora\\AppData\\Local\\Temp\\blah4828501825445467927.tmp (Access is denied)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.io.FileNotFoundException: C:\\Users\\aurora\\AppData\\Local\\Temp\\blah4828501825445467927.tmp (Access is denied)
      ----------rerun:(22/2191)*----------
      'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\
      SystemDrive=C: \\
      'SystemRoot=C:\\Windows' \\
      'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
      'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
      'windir=C:\\Windows' \\
      'CLASSPATH=C:\\Users\\aurora\\sandbox_keepme\\jtreg\\lib\\javatest.jar;C:\\Users\\aurora\\sandbox_keepme\\jtreg\\lib\\jtreg.jar;C:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\FileChannel;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel;C:\\Users\\aurora\\SANDBO~1\\jdk\\lib\\tools.jar' \\
          'C:\\Users\\aurora\\SANDBO~1\\jdk\\bin\\java' \\
              -Dtest.vm.opts='-ea -esa -Xmx512m' \\
              -Dcompile.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
              -Dtest.src.path='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel' \\
              -Dtest.src='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel' \\
              -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
              -Dtest.class.path='C:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\FileChannel' \\
              -Dtest.timeout.factor=4.0 \\
              -Dtest.classes='C:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\FileChannel' \\
              -Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\FileChannel;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\FileChannel' \\
              -Dtest.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
              -Dtest.java.opts= \\
              -Dtest.compiler.opts= \\
              -ea -esa -Xmx512m \\
              com.sun.javatest.regtest.MainWrapper 'C:\\Users\\aurora\\sandbox_keepme\\results\\run_35\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\FileChannel\\Size.jta'
      result: Failed. Execution failed: `main' threw exception: java.io.FileNotFoundException: C:\Users\aurora\AppData\Local\Temp\blah4828501825445467927.tmp (Access is denied)


      test result: Failed. Execution failed: `main' threw exception: java.io.FileNotFoundException: C:\Users\aurora\AppData\Local\Temp\blah4828501825445467927.tmp (Access is denied)

        Attachments

          Activity

            People

            • Assignee:
              dxu Dan Xu (Inactive)
              Reporter:
              dxu Dan Xu (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: