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

DIO VTS 1.1 sqe/uart/functional/index.html#UARTListenerDataAvailableByTrigger test fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • None
    • embedded
    • None
    • dio
    • generic
    • generic

      On dio-1.1-b41-linux-armv6hf.jar executed with DIO VTS 1.1 test
      sqe/uart/functional/index.html#UARTListenerDataAvailableByTrigger
      fails.

      In the RPI board console output there is following output:
      1479724724303: Agent has been registered:7fe16817
      1479724724308: New registration ticket: [RegistrationTicket: id=7fe16817 validity=true created=1479724724303 duration=120sec validUntil=1479724844303]
      [Dynamic-linking native method java.lang.System.identityHashCode ... JNI]
      1479724724330: EXECUTOR 7fe16817:0 STARTED com.sun.tck.j2me.execution.client.Agent
      1479724725345: EXECUTOR:7fe16817:0: starts (ExecutionRequest: id=sqe/uart/functional/index.html#UARTListenerDataAvailableByTrigger_uart0, name=com.sun.tck.cdc.lib.ExecCLDCTestOnCDCSameJVMCmd args=sqe.uart.functional.UARTListenerDataAvailableByTrigger -uart {"shareable":"false","stopBits":["1"],"flowcontrol":["0"],"externalDevice":"No","performanceDataLengthPerRound":"128","parity":["0"],"session":[],"dataBits":["8"],"deviceId":"100","baudRate":["9600"],"uartType":"UART","performanceThreshold":"130000","performanceDataAmount":"2","loopbackControl":"Yes","intfClassName":"jdk.dio.uart.UART"} isRemote=true)
      [Dynamic-linking native method java.io.UnixFileSystem.getLength ... JNI]
          OK - In checkListenerDataAvailableByTrigger() ...
      [Dynamic-linking native method java.lang.Class.isInstance ... JNI]
      [Dynamic-linking native method com.oracle.dio.uart.impl.UARTImpl.openUARTByConfig0 ... JNI]
      [Dynamic-linking native method com.oracle.dio.impl.EventQueue.setNativeEntries ... JNI]
      [Dynamic-linking native method com.oracle.dio.uart.impl.UARTImpl.setEventListener0 ... JNI]
          OK - Successfully set an event listener for INPUT_DATA_AVAILABLE on the Device
          OK - The UART DOES support Receive Trigger Level, and have successfully set the UART's Receive Trigger Level to 4
      [Dynamic-linking native method com.oracle.dio.uart.impl.UARTImpl.write0 ... JNI]
      [Dynamic-linking native method com.oracle.dio.uart.impl.UARTImpl.read0 ... JNI]
          OK - Successfully written out 8 bytes to the UART
      [Dynamic-linking native method com.oracle.dio.uart.impl.UARTImpl.stopReading0 ... JNI]

      and then it hangs.

      Please find attached used interview file.

            bkvartsk Boris Kvartskhava
            mpakhnus Marina Pakhnusheva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: