Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java/beans/XMLEncoder/* failed on AIX jdk16 with java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. #2810

Closed
sophia-guo opened this issue Aug 11, 2021 · 5 comments

Comments

@sophia-guo
Copy link
Contributor

sophia-guo commented Aug 11, 2021

java/beans/XMLEncoder/* failed on AIX jdk16 with _X11TransTRANS(ibmSHMConnect) () can't connect: errno = 78 java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.

java/beans/XMLEncoder/Test4631471.java.Test4631471
java/beans/XMLEncoder/Test4652928.java.Test4652928
java/beans/XMLEncoder/Test4822050.java.Test4822050
java/beans/XMLEncoder/Test4903007.java.Test4903007
java/beans/XMLEncoder/Test6437265.java.Test6437265
java/beans/XMLEncoder/Test6501431.java.Test6501431
java/beans/XMLEncoder/Test6570354.java.Test6570354
java/beans/XMLEncoder/java_awt_CardLayout.java.java_awt_CardLayout
java/beans/XMLEncoder/java_awt_GridBagLayout.java.java_awt_GridBagLayout
java/beans/XMLEncoder/java_awt_ScrollPane.java.java_awt_ScrollPane
java/beans/XMLEncoder/javax_swing_Box.java.javax_swing_Box
java/beans/XMLEncoder/javax_swing_BoxLayout.java.javax_swing_BoxLayout
java/beans/XMLEncoder/javax_swing_Box_Filler.java.javax_swing_Box_Filler
java/beans/XMLEncoder/javax_swing_DefaultCellEditor.java.javax_swing_DefaultCellEditor
java/beans/XMLEncoder/javax_swing_JButton.java.javax_swing_JButton
java/beans/XMLEncoder/javax_swing_JLayeredPane.java.javax_swing_JLayeredPane
java/beans/XMLEncoder/javax_swing_JSplitPane.java.javax_swing_JSplitPane
java/beans/XMLEncoder/javax_swing_JTree.java.javax_swing_JTree
java/beans/XMLEncoder/javax_swing_OverlayLayout.java.javax_swing_OverlayLayout
java/beans/XMLEncoder/javax_swing_border_TitledBorder.java.javax_swing_border_TitledBorder
java/beans/XMLEncoder/javax_swing_plaf_BorderUIResource_TitledBorderUIResource.java.javax_swing_plaf_BorderUIResource_TitledBorderUIResource

https://ci.adoptopenjdk.net/job/Test_openjdk16_hs_extended.openjdk_ppc64_aix_testList_1/9/#showFailuresLink

related adoptium/adoptium#63

Looks like the test set up issue:

if (env.SPEC.startsWith('aix')) {
sh "nohup /usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :0 &"
env.DISPLAY = ":0"
echo "env.DISPLAY is ${env.DISPLAY}"
makeTest("${RUNTEST_CMD}")
}

				if (env.SPEC.startsWith('aix')) {
					sh "nohup /usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :0 &"
					env.DISPLAY = ":0"
					echo "env.DISPLAY is ${env.DISPLAY}"
					makeTest("${RUNTEST_CMD}")
				}
@sophia-guo sophia-guo changed the title java/beans/XMLEncoder/* failed on AIX jdk16 with `java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. java/beans/XMLEncoder/* failed on AIX jdk16 with java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. Aug 11, 2021
sophia-guo added a commit to sophia-guo/openjdk-tests that referenced this issue Aug 11, 2021
@sophia-guo
Copy link
Contributor Author

sophia-guo commented Aug 17, 2021

Trying with env.DISPLAY = ":1" will get similar error _X11TransTRANS(ibmSHMConnect) () can't connect: errno = 68 java.awt.AWTError: Can't connect to X11 window server using ':1' as the value of the DISPLAY variable.

#2810 (comment)

Looks like it's not the value issue, which means probably the way the X11 is setting up.

@smlambert
Copy link
Contributor

https://www.ibm.com/docs/en/db2woc?topic=message-tcpip-errors

errno = 68 -> EADDRNOTAVAIL The specified host name or IP address is not available from the local system.

@sophia-guo
Copy link
Contributor Author

The error code could be different everytime. In the release build, the errno = 78, timeout.

@sophia-guo
Copy link
Contributor Author

sophia-guo commented Aug 18, 2021

Move to infra adoptium/infrastructure#2297, close this one.

@SehrishHussain
Copy link
Contributor

SehrishHussain commented Oct 22, 2021

Test fails for openjdk18, aix-ppc64:
java/beans/XMLEncoder/Test4903007.java
java/beans/PropertyChangeSupport/Test4682386.java

Jenkins URL: https://ci.adoptopenjdk.net/job/Test_openjdk18_hs_extended.openjdk_ppc64_aix_testList_0/6/#showFailuresLink
TRSS Link: https://trss.adoptium.net/allTestsInfo?buildId=616d7be7c6182d02177fff72&limit=5&hasChildren=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants