Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-17525

WLS end-to-end testing

    XMLWordPrintable

    Details

      Description

      Need to develop tests that fully exercise the WLS CSC through SAL, where we send it a message or command through SAL, and then look for an event on SAL as a result. 

        Attachments

          Activity

          Hide
          cwinslow Colin Winslow [X] (Inactive) added a comment -

          currently blocked due to network issues. 

          Show
          cwinslow Colin Winslow [X] (Inactive) added a comment - currently blocked due to network issues. 
          Hide
          cwinslow Colin Winslow [X] (Inactive) added a comment -

          Finally resolved a docker firewall issue and was able to test the component in a realistic, auxtel-like environment. Stop by and see!

          Show
          cwinslow Colin Winslow [X] (Inactive) added a comment - Finally resolved a docker firewall issue and was able to test the component in a realistic, auxtel-like environment. Stop by and see!
          Hide
          cwinslow Colin Winslow [X] (Inactive) added a comment -

          This testing is the last step before testing with the actual KiloArc hardware. What I did was setup the ADAM I/O device with a multimeter so I can measure the voltage it's sending on the output channel, and also with one of the input channels connected to an external power supply, so that we can simulate the KiloArc sending an error signal (or other signal) to the ADAM. Then I exercised the White Light CSC through sal commands, testing the following events and transitions worked as designed:

          -Can signal KiloArc to power on and off, and measure appropriate voltages on the analog output channel.

          -15m cooldown and warmup periods are enforced by the software

          -Receiving a signal of >=3v on the error channel triggers the CSC to enter a fault state

          -CSC will not allow us to leave a fault state until the error signal is cleared

          -loss of network connectivity to the ADAM device will cause the CSC to enter a fault state (within a few seconds) 

           

          KiloArc has four channels for communicating status... a change on any one channel will trigger a SAL event that reports and logs whatever changed, but currently the error channel is the only one that can trigger a change of state in the CSC, and my test setup only allows me to send voltage to one channel at a time, so most of my testing has focused on the error channel. In a future task, we will connect to the real KiloArc hardware and exercise all four channels at once

          Show
          cwinslow Colin Winslow [X] (Inactive) added a comment - This testing is the last step before testing with the actual KiloArc hardware. What I did was setup the ADAM I/O device with a multimeter so I can measure the voltage it's sending on the output channel, and also with one of the input channels connected to an external power supply, so that we can simulate the KiloArc sending an error signal (or other signal) to the ADAM. Then I exercised the White Light CSC through sal commands, testing the following events and transitions worked as designed: -Can signal KiloArc to power on and off, and measure appropriate voltages on the analog output channel. -15m cooldown and warmup periods are enforced by the software -Receiving a signal of >=3v on the error channel triggers the CSC to enter a fault state -CSC will not allow us to leave a fault state until the error signal is cleared -loss of network connectivity to the ADAM device will cause the CSC to enter a fault state (within a few seconds)    KiloArc has four channels for communicating status... a change on any one channel will trigger a SAL event that reports and logs whatever changed, but currently the error channel is the only one that can trigger a change of state in the CSC, and my test setup only allows me to send voltage to one channel at a time, so most of my testing has focused on the error channel. In a future task, we will connect to the real KiloArc hardware and exercise all four channels at once
          Hide
          jbuffill James Buffill [X] (Inactive) added a comment -

          Good to go.

          Show
          jbuffill James Buffill [X] (Inactive) added a comment - Good to go.
          Hide
          jbuffill James Buffill [X] (Inactive) added a comment -

          Done

          Show
          jbuffill James Buffill [X] (Inactive) added a comment - Done

            People

            Assignee:
            cwinslow Colin Winslow [X] (Inactive)
            Reporter:
            cwinslow Colin Winslow [X] (Inactive)
            Reviewers:
            James Buffill [X] (Inactive)
            Watchers:
            Colin Winslow [X] (Inactive), James Buffill [X] (Inactive), Patrick Ingraham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Start date:
              End date:

                Jenkins

                No builds found.