Re: [blfs-dev] OpenJDK Test failures
On 06/02/2012 09:32 PM, DJ Lucas wrote: Okay, so digging into the test results on the new OpenJDK/IcedTea, the following jdk test failures can be ignored while testing on icedtea-2.2: Just append the following to icedtea-2.2/test/jtreg/excludelist.jdk.jtx to actually skip the tests Snip In addition to the above, I've found that RedHat is using Xvfb to run the display tests... export DISPLAY=:20 http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l918Xvfb :20 -screen 0 1x1x24 -ac echo $! Xvfb.pid make jtregcheck -k http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l921kill -9 `cat Xvfb.pid` http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l922unset DISPLAY http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l923rm -f Xvfb.pid ...that handles the screensaver and screen blank settings, and gets us away from any WM discrepancies and user interaction. I'm not so sure about 1x1 but if it works, great. I'm going to give that a shot with the tests removed for WM compat put back and see where we are. Hopefully I'll have the book updated later this afternoon with whatever results I have. I have come to the conclusion that the test suite is just too fragile to be run on a system that is doing anything else, though it is much improved over the ~180 failures in the IT6 version. My plan for the book is for any test that I've restored that still results in failure to be removed again, as well as the NSS dependent tests that seem to still be broken, and leave the current note with an estimated 60 failures since my results are fairly consistent on both supported arches. With the other 17 removed, I'm down to zero failures on both if I do nothing, but I'm also in a very limited, and dedicated environment. Test time outs occur while copying the resultant j2sdk out of the source tree for instance. While Xvfb does give some of that back, I'm not convinced that the suite itself is ready for a perfect run by an end user, there are just too many environmental factors to consider (nor would I expect a user to adhere to such a limiting set of expectations). -- DJ Lucas -- This message has been scanned for viruses and dangerous content, and is believed to be clean. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] OpenJDK Test failures
On 06/06/2012 11:09 AM, DJ Lucas wrote: On 06/02/2012 09:32 PM, DJ Lucas wrote: Okay, so digging into the test results on the new OpenJDK/IcedTea, the following jdk test failures can be ignored while testing on icedtea-2.2: Just append the following to icedtea-2.2/test/jtreg/excludelist.jdk.jtx to actually skip the tests Snip In addition to the above, I've found that RedHat is using Xvfb to run the display tests... export DISPLAY=:20 http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l918Xvfb :20 -screen 0 1x1x24 -ac echo $! Xvfb.pid make jtregcheck -k http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l921kill -9 `cat Xvfb.pid` http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l922unset DISPLAY http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l923rm -f Xvfb.pid Oops... That should read export DISPLAY=:20 Xvfb :20 -screen 0 1x1x24 -ac echo $! Xvfb.pid make jtregcheck -k kill -9 `cat Xvfb.pid` unset DISPLAY rm -f Xvfb.pid -- DJ Lucas -- This message has been scanned for viruses and dangerous content, and is believed to be clean. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] OpenJDK Test failures
On 03-06-2012 00:20, Bruce Dubbs wrote: DJ Lucas wrote: I'll try and get an i686 build done on Monday or Tuesday (and book updated at that time). Thanks for your hard work on this DJ. I think it's the most difficult single section of the book. It's certainly the most significant outstanding ticket. -- Bruce I agree with you, Bruce. Thanks, DJ! I am glad to report that I succeeded to build this version, with reasonable test results, similar to DJ's and yours (reproduced below), solving the mistery. I could, before that result build it with the same unreasonable test results as for the previous version, all instructions including the tests being run as root. Then, exited and tried again to sudo su, and for my surprise, could not do it. I had similar problem before, when installing the previous version, but only noticed after reboot, and thought it could have been when installed cpio as required dependency. Noticed then that the shadow file had been overwritten with a zero sized one. Fortunately, shadow- was there, and copying it to shadow solved the problem. This time same problem and solution. So, I believe the older version could have been built without particular problems (tests or shadow), if done as a normal user. Summary: 1. Tests, at least, should not be run as root, or many failures and shadow corruption and probably due to this, causing many of the more test failures. 2. Applied corrections given by DJ using a simple patch I made (pease, find attached. -- []s, Fernando Arquivo jtreg-summary.log (don't remember anymore if I renamed or this is the original filename): --- jtreg console summary for hotspot --- Test results: passed: 154 --- jtreg console summary for jdk --- FAILED: com/oracle/security/ucrypto/TestAES.java FAILED: com/oracle/security/ucrypto/TestDigest.java FAILED: com/oracle/security/ucrypto/TestRSA.java FAILED: com/sun/awt/SecurityWarning/GetSizeShouldNotReturnZero.java FAILED: com/sun/security/auth/login/ConfigFile/InconsistentError.java FAILED: com/sun/security/auth/module/KeyStoreLoginModule/OptionTest.java FAILED: java/awt/Component/NoUpdateUponShow/NoUpdateUponShow.java FAILED: java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java FAILED: java/awt/dnd/URIListBetweenJVMsTest/URIListBetweenJVMsTest.html FAILED: java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java FAILED: java/awt/event/MouseWheelEvent/DisabledComponent/DisabledComponent.java FAILED: java/awt/EventDispatchThread/HandleExceptionOnEDT/HandleExceptionOnEDT.java FAILED: java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.html FAILED: java/awt/Focus/ClearGlobalFocusOwnerTest/ClearGlobalFocusOwnerTest.java FAILED: java/awt/Focus/FocusOwnerFrameOnClick/FocusOwnerFrameOnClick.java FAILED: java/awt/Focus/OwnedWindowFocusIMECrashTest/OwnedWindowFocusIMECrashTest.java FAILED: java/awt/Focus/RemoveAfterRequest/RemoveAfterRequest.java FAILED: java/awt/font/TextLayout/CombiningPerf.java FAILED: java/awt/Frame/FrameSize/TestFrameSize.java FAILED: java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java FAILED: java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java FAILED: java/awt/GridBagLayout/GridBagLayoutIpadXYTest/GridBagLayoutIpadXYTest.html FAILED: java/awt/image/ImagingOpsNoExceptionsTest/ImagingOpsNoExceptionsTest.java FAILED: java/awt/List/EmptyListEventTest/EmptyListEventTest.java FAILED: java/awt/List/ScrollOutside/ScrollOut.java FAILED: java/awt/Mixing/HWDisappear.java FAILED: java/awt/Mixing/JButtonInGlassPane.java FAILED: java/awt/Mixing/LWComboBox.java FAILED: java/awt/Mixing/MixingInHwPanel.java FAILED: java/awt/Mixing/MixingOnShrinkingHWButton.java FAILED: java/awt/Mixing/NonOpaqueInternalFrame.java FAILED: java/awt/Mouse/MouseModifiersUnitTest/ExtraButtonDrag.java FAILED: java/awt/Robot/CtorTest/CtorTest.java FAILED: java/awt/Robot/RobotExtraButton/RobotExtraButton.java Error: java/net/Authenticator/B4933582.sh FAILED: java/net/MulticastSocket/Test.java FAILED: java/nio/channels/DatagramChannel/Connect.java FAILED: java/nio/channels/DatagramChannel/ConnectedSend.java FAILED: java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java FAILED: java/nio/file/Files/probeContentType/ForceLoad.java FAILED: java/rmi/activation/checkusage/CheckUsage.java FAILED: java/util/logging/SimpleFormatterFormat.java MyDeflater had end() called FAILED: javax/management/remote/mandatory/connection/RMIConnectionIdTest.java FAILED: javax/swing/AbstractButton/6711682/bug6711682.java FAILED: javax/swing/JComboBox/4743225/bug4743225.java FAILED: javax/swing/JComponent/4337267/bug4337267.java FAILED: javax/swing/JComponent/6989617/bug6989617.java FAILED: javax/swing/JPopupMenu/6694823/bug6694823.java Error: javax/swing/system/6799345/TestShutdown.java FAILED: javax/swing/text/html/CSS/4530474/bug4530474.java FAILED: javax/swing/text/html/HTMLEditorKit/5043626/bug5043626.java FAILED:
[blfs-dev] OpenJDK Test failures
Okay, so digging into the test results on the new OpenJDK/IcedTea, the following jdk test failures can be ignored while testing on icedtea-2.2: Just append the following to icedtea-2.2/test/jtreg/excludelist.jdk.jtx to actually skip the tests ### # NoClassDefFoundError (-classpath is set incorrectly in the testcase) com/sun/net/httpserver/Test2.java com/sun/net/httpserver/bugs/B6341616.java java/net/Authenticator/B6870935.java java/net/Authenticator/B4722333.java java/net/Authenticator/BasicTest.java java/net/Authenticator/Deadlock.java java/net/Authenticator/B4921848.java java/net/Authenticator/B4962064.java java/net/Authenticator/BasicTest4.java java/net/Authenticator/AuthNPETest.java java/net/Authenticator/B4678055.java java/net/Authenticator/B4933582.java java/net/Authenticator/B4759514.java java/net/Authenticator/BasicTest3.java java/net/Authenticator/B4769350.java java/nio/channels/SocketChannel/ExceptionTranslation.java java/nio/channels/ServerSocketChannel/NonBlockingAccept.java java/nio/channels/etc/NetworkChannelTests.java java/nio/channels/AsynchronousSocketChannel/Basic.java java/nio/channels/AsynchronousServerSocketChannel/Basic.java sun/net/www/AuthHeaderTest.java sun/net/www/protocol/http/DigestTest.java sun/net/www/protocol/http/BasicLongCredentials.java sun/net/www/protocol/http/NTLMTest.java sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/HttpsProxyStackOverflow.java sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxyWithAuth.java sun/security/krb5/auto/HttpNegotiateServer.java # Win32 failure only, exits 0 unexpectedly: java/awt/Choice/ChoiceMouseWheelTest/ChoiceMouseWheelTest.java # Xorg behavior change, test successfully fails to render invalid screen, but return value is unexpected java/awt/GraphicsDevice/CloneConfigsTest.java # Tests fail unexpectedly if no printers defined java/awt/print/PrinterJob/PrtException.java javax/print/attribute/AttributeTest.java javax/print/attribute/GetCopiesSupported.java javax/print/attribute/SidesPageRangesTest.java javax/print/attribute/SupportedPrintableAreas.java javax/print/CheckDupFlavor.java # New Xorg or evdev? Both fail on simulated button 9 press java/awt/Robot/AcceptExtraMouseButtons/AcceptExtraMouseButtons.java java/awt/Toolkit/ToolkitPropertyTest/ToolkitPropertyTest_Enable.java # This test looks to be WM dependent, window was disposed java/awt/Window/Grab/GrabTest.java # Same here: Transparent frame is not transparent! javax/swing/JComponent/6683775/bug6683775.java # And here: robot failure java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.java java/awt/Focus/CloseDialogActivateOwnerTest/CloseDialogActivateOwnerTest.java # Timed out (possibly -samevm issue) java/awt/Window/WindowType/WindowType.java java/awt/WMSpecificTests/Mutter/MutterMaximizeTest.java java/beans/EventHandler/Test6179222.java java/beans/EventHandler/Test6277266.java java/beans/EventHandler/Test6788531.java # Test arguments invalid java/lang/invoke/ClassValueTest.java java/lang/invoke/InvokeGenericTest.java java/lang/invoke/JavaDocExamplesTest.java java/lang/invoke/MethodHandlesTest.java java/lang/invoke/MethodTypeTest.java java/lang/invoke/PermuteArgsTest.java java/lang/invoke/RicochetTest.java java/net/URL/TestHttps.java ## Bad tests (I think, reason given before each) # Unexpected file type in tree java/nio/file/Files/probeContentType/Basic.java # Test passes then fails due to exception: no exception?!?! java/security/KeyPairGenerator/Failover.java # new jpeg library javax/imageio/plugins/shared/BitDepth.java # Access denied error javax/management/openmbean/TabularDataOrderTest.java javax/swing/JFileChooser/6738668/bug6738668.java # Using newer version than expected (using js-1.8.5 when 1.8 is expected) javax/script/VersionTest.java # Tests cause infinite loop (js-1.8.5 version unexpected?) javax/swing/JEditorPane/6917744/bug6917744.java javax/swing/JInternalFrame/Test6325652.java javax/swing/JInternalFrame/Test6505027.java javax/swing/JInternalFrame/Test6802868.java javax/swing/JLabel/6596966/bug6596966.java javax/swing/JLabel/7004134/bug7004134.java javax/swing/JLayer/6824395/bug6824395.java javax/swing/JList/6462008/bug6462008.java javax/swing/JOptionPane/7138665/bug7138665.java javax/swing/JPopupMenu/4966112/bug4966112.java javax/swing/JPopupMenu/6495920/bug6495920.java javax/swing/JPopupMenu/6827786/bug6827786.java javax/swing/JPopupMenu/6987844/bug6987844.java javax/swing/JScrollBar/4708809/bug4708809.java javax/swing/JScrollBar/4865918/bug4865918.java javax/swing/JScrollBar/6542335/bug6542335.java javax/swing/JScrollPane/Test6526631.java javax/swing/JSlider/6348946/bug6348946.java javax/swing/JSlider/6848475/bug6848475.java javax/swing/JSplitPane/4885629/bug4885629.java javax/swing/JTabbedPane/4624207/bug4624207.java javax/swing/JTable/6263446/bug6263446.java javax/swing/JTable/6777378/bug6777378.java javax/swing/JTableHeader/6884066/bug6884066.java
Re: [blfs-dev] OpenJDK Test failures
DJ Lucas wrote: I'll try and get an i686 build done on Monday or Tuesday (and book updated at that time). Thanks for your hard work on this DJ. I think it's the most difficult single section of the book. It's certainly the most significant outstanding ticket. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page