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

The case print incomplete.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8u60, 9
    • client-libs
    • solaris 11 sparc/JDK 9 b65(64bit)/lexmark-260dn printer

    • 2d
    • b96
    • sparc
    • solaris_11

      Testsuite name: 2D Regression
      Test name(s): java/awt/print/PageFormat/ImageableAreaTest.java
      Product(s) tested: JDK 9 b65
      OS/architecture: Solaris11 sparc

      Error log file : http://aurora.ru.oracle.com/slot-gw/913252.ManualSubmit-1/workDir/java/awt/print/PageFormat/ImageableAreaTest.jtr

      Reproducible: Always
      Reproducible on machine: Evergreen-machine
      [If Sometimes] Also reproducible on machine:

      Is it a Regression: No
      [If Regression] Regression introduced in release/build: b33 (JDK 9 b33 on the same OS: Failed as the same issue
                                                                                            JDK 9 b60 on the same OS: Failed as the same issue)
      Test result on the last GAed release for this train: Fail (JDK 8u51 b14 on the same OS: Failed as the same issue)
      [if Fail] Test result on FCS: Fail (JDK 1.8.0 b132 on the same OS: Failed as No print service found)

      Is it a platform specific issue: Yes (same build on win7 sp1 x64: Failed as the same issue
                                                         same build on mac 10.9 x64: Pass
                                                         same build on ubuntu 14.04 x64: Failed as the same issue
                                                         same build on solaris10 x64: the case failed automatically and shows Execution failed: `main' threw exception: java.nio.charset.UnsupportedCharsetException: sun.font.X11Dingbats in the harness.)

      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No
      [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Steps to reproduce:

      1. Download regression workspace from http://jre.us.oracle.com/java/re/jdk/9/promoted/ea/b65/ws/jdk/test/ to /export/home/egtc/workspace/regression
      2. Install test bundle JDK9b65 (download from http://jre.us.oracle.com/java/re/jdk/9/promoted/ea/b65/bundles) to /export/home/egtc/workspace/regression/jdk1.9.0
      3. Install stable JDK7u45b18 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles) to /export/home/egtc/workspace/regression/jdk1.7.0_45
      4. Download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b11/bundles/jtreg_bin-4.1.zip locate at /export/home/egtc/workspace/regression
      5. Create the script regression.sh as follows and run it
      export JT_JAVA=/export/home/egtc/workspace/regression/jdk1.7.0_45
      /export/home/egtc/workspace/regression/jtreg/bin/jtreg -v -m -ignore:quiet -jdk:/export/home/egtc/workspace/regression/jdk1.9.0 -r:/export/home/egtc/workspace/regression/results/reportDir -w:/export/home/egtc/workspace/regression/results/workDir /export/home/egtc/workspace/regression/ws/jdk/test/java/awt/print/PageFormat/ImageableAreaTest.java

      Case Instruction:

      Test1:
      1. Press the Print Table button
       Java print dialog should appear.
      2. Press the Print button on the Java Print dialog.
      2. Check that the page number is correctly printed.
      If so, press PASS, else press FAIL.

      Test2:
      1. Press the Print Table button
       The table should be printed without the print dialog.
      2. Check that the page number is correctly printed.
      If so, press PASS, else press FAIL.

      Test3:
      1. Press the Print Table button
       Java print dialog should appear.
      2. Press the Print button on the Java Print dialog.
      3. Check that the table has about half size of the printed page
      If so, press PASS, else press FAIL.
       

      Actual behavior:
      1)When the paper format is set to letter(default setting)Test1 print incomplete refer to incomplete.jpg. By the way our printer machine is lexmark260dn.

      We also tried to set the paper format to A4, then the Test1 is passed but Test2 print incomplete refer to incomplete.jpg,

      2)If one of the case fail, the subsequent cases can't be loaded.

        1. setSize..png
          setSize..png
          235 kB
        2. pack.png
          pack.png
          274 kB
        3. incomplete.jpg
          incomplete.jpg
          1.94 MB

            psadhukhan Prasanta Sadhukhan
            tolli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: