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

com/sun/jndi/ldap/privconn/RunTest.java failed due to hang in LdapRequest.getReplyBer

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      x86_64
    • OS:
      linux

      Backports

        Description

        The following closed test failed in the JDK13 CI:

        com/sun/jndi/ldap/privconn/RunTest.java

        Here's a snippet of the log file:

        ----------System.out:(25/1615)----------
        Adding Main.class to main.jar

        Adding Core.class to core.jar

        Adding MySocketFactory$MySocket.class to factory.jar
        Adding MySocketFactory.class to factory.jar
        Adding MySocketFactory$MyFilterInputStream.class to factory.jar

        Adding MySecuritymanager.class to sm.jar

        Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1006/linux-x64.jdk/jdk-13/bin/java -Xmx512m -XX:MaxRAMPercentage=6 -ea -esa --add-exports java.naming/com.sun.jndi.ldap=ALL-UNNAMED -Xbootclasspath/a:sm.jar -Djava.security.manager=MySecuritymanager -Djava.security.policy=my.policy -cp main.jar:core.jar:factory.jar Main]
        Caught: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "bad" "read")
        Caught: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
        Caught: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "evil" "read")
        Caught: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
        Exception in thread "Thread-0" java.lang.RuntimeException: BadAttributeValueException:
        at MySocketFactory$MyFilterInputStream.read(MySocketFactory.java:74)
        at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
        at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:292)
        at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:351)
        at java.naming/com.sun.jndi.ldap.Connection.run(Connection.java:793)
        at java.base/java.lang.Thread.run(Thread.java:830)
        Caused by: BadAttributeValueException:
        ... 6 more

        result: Error. Agent error: java.lang.Exception: Agent 3 timed out with a timeout of 480 seconds; check console log for any additional details


        test result: Error. Agent error: java.lang.Exception: Agent 3 timed out with a timeout of 480 seconds; check console log for any additional details

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  robm Robert Mckenna
                  Reporter:
                  dcubed Daniel Daugherty
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: