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

Test the Latest Version of Rotator Code on Summit

    XMLWordPrintable

    Details

      Description

      Test the latest version of rotator code on summit. The main update is to use the single socket instead of two. This update also put the CSC as the default commander.

        Attachments

          Issue Links

            Activity

            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            Deployed the ts_rotator_controller v1.4.0 on summit. The following is the system log message that waits for the connections:

            Feb 17 12:41:07 rot-pxi-controller journal: LSST Ethercat Wrapper: Waiting for the connection request in CSC server.
            Feb 17 12:41:07 rot-pxi-controller journal: LSST Ethercat Wrapper: Waiting for the connection request in GUI server.
            Feb 17 12:45:09 rot-pxi-controller kernel: kworker/dying (1120) used greatest stack depth: 11096 bytes left
            Feb 17 12:48:53 rot-pxi-controller journal: LSST Ethercat Wrapper: Get the connection from: 198.19.100.11.
            Feb 17 12:48:53 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of GUI server is connected. socket = 14.
            Feb 17 12:49:24 rot-pxi-controller journal: LSST Ethercat Wrapper: Connection socket being reset in GUI server.
            Feb 17 12:49:24 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of GUI server is disconnected.
            Feb 17 12:50:42 rot-pxi-controller journal: LSST Ethercat Wrapper: Get the connection from: 198.19.100.11.
            Feb 17 12:50:42 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of GUI server is connected. socket = 14.
            Feb 17 12:51:27 rot-pxi-controller journal: LSST Ethercat Wrapper: >>>>>>STO interlock open
            Feb 17 12:51:27 rot-pxi-controller journal: LSST Ethercat Wrapper: clearing faults
            Feb 17 12:51:30 rot-pxi-controller journal: LSST Ethercat Wrapper: >>>>>>STO interlock open
            Feb 17 12:51:30 rot-pxi-controller journal: LSST Ethercat Wrapper: clearing faults
            Feb 17 12:51:44 rot-pxi-controller journal: LSST Ethercat Wrapper: No connection with CSC yet
            Feb 17 12:51:44 rot-pxi-controller journal: LSST Ethercat Wrapper: Command source now == CSC
            Feb 17 12:52:04 rot-pxi-controller journal: LSST Ethercat Wrapper: Connection socket being reset in GUI server.
            Feb 17 12:52:04 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of GUI server is disconnected.
            Feb 17 12:53:51 rot-pxi-controller journal: LSST Ethercat Wrapper: Get the connection from: 198.19.100.11.
            Feb 17 12:53:51 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of CSC server is connected. socket = 14.
            Feb 17 12:54:23 rot-pxi-controller journal: LSST Ethercat Wrapper: >>>>>>STO interlock open
            Feb 17 12:54:23 rot-pxi-controller journal: LSST Ethercat Wrapper: clearing faults
            Feb 17 12:54:26 rot-pxi-controller journal: LSST Ethercat Wrapper: >>>>>>STO interlock open
            Feb 17 12:54:26 rot-pxi-controller journal: LSST Ethercat Wrapper: clearing faults
            Feb 17 12:54:56 rot-pxi-controller journal: LSST Ethercat Wrapper: Connection socket being reset in CSC server.
            Feb 17 12:54:56 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of CSC server is disconnected.
            

            I can use the EUI to reboot the software as well:

            Feb 17 12:57:58 rot-pxi-controller journal: LSST Ethercat Wrapper: Closing the CSC server.
            Feb 17 12:57:58 rot-pxi-controller journal: LSST Ethercat Wrapper: Closing the GUI server.
            Feb 17 12:57:58 rot-pxi-controller journal: LSST Ethercat Wrapper: Fail to send the command status: Bad file descriptor
            Feb 17 12:57:58 rot-pxi-controller journal: LSST Ethercat Wrapper: Failed to send the command status to GUI server
            Feb 17 12:57:58 rot-pxi-controller journal: LSST Ethercat Wrapper: Servers exit...shutting down
            Feb 17 12:57:59 rot-pxi-controller journal: LSST Ethercat Wrapper: Mainloop Quit
            Feb 17 12:57:59 rot-pxi-controller main: Closing the CSC server.
            Feb 17 12:57:59 rot-pxi-controller main: Closing the GUI server.
            Feb 17 12:57:59 rot-pxi-controller main: Stopping rotator wrapper, 10 second delay before re-start
            Feb 17 12:58:09 rot-pxi-controller runmain: Use the default configuration file: /home/rotatoruser/github/ts_rotator_controller/configRotator/default.yaml.
            

            Show
            ttsai Te-Wei Tsai added a comment - - edited Deployed the ts_rotator_controller v1.4.0 on summit. The following is the system log message that waits for the connections: Feb 17 12:41:07 rot-pxi-controller journal: LSST Ethercat Wrapper: Waiting for the connection request in CSC server. Feb 17 12:41:07 rot-pxi-controller journal: LSST Ethercat Wrapper: Waiting for the connection request in GUI server. Feb 17 12:45:09 rot-pxi-controller kernel: kworker/dying (1120) used greatest stack depth: 11096 bytes left Feb 17 12:48:53 rot-pxi-controller journal: LSST Ethercat Wrapper: Get the connection from: 198.19.100.11. Feb 17 12:48:53 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of GUI server is connected. socket = 14. Feb 17 12:49:24 rot-pxi-controller journal: LSST Ethercat Wrapper: Connection socket being reset in GUI server. Feb 17 12:49:24 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of GUI server is disconnected. Feb 17 12:50:42 rot-pxi-controller journal: LSST Ethercat Wrapper: Get the connection from: 198.19.100.11. Feb 17 12:50:42 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of GUI server is connected. socket = 14. Feb 17 12:51:27 rot-pxi-controller journal: LSST Ethercat Wrapper: >>>>>>STO interlock open Feb 17 12:51:27 rot-pxi-controller journal: LSST Ethercat Wrapper: clearing faults Feb 17 12:51:30 rot-pxi-controller journal: LSST Ethercat Wrapper: >>>>>>STO interlock open Feb 17 12:51:30 rot-pxi-controller journal: LSST Ethercat Wrapper: clearing faults Feb 17 12:51:44 rot-pxi-controller journal: LSST Ethercat Wrapper: No connection with CSC yet Feb 17 12:51:44 rot-pxi-controller journal: LSST Ethercat Wrapper: Command source now == CSC Feb 17 12:52:04 rot-pxi-controller journal: LSST Ethercat Wrapper: Connection socket being reset in GUI server. Feb 17 12:52:04 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of GUI server is disconnected. Feb 17 12:53:51 rot-pxi-controller journal: LSST Ethercat Wrapper: Get the connection from: 198.19.100.11. Feb 17 12:53:51 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of CSC server is connected. socket = 14. Feb 17 12:54:23 rot-pxi-controller journal: LSST Ethercat Wrapper: >>>>>>STO interlock open Feb 17 12:54:23 rot-pxi-controller journal: LSST Ethercat Wrapper: clearing faults Feb 17 12:54:26 rot-pxi-controller journal: LSST Ethercat Wrapper: >>>>>>STO interlock open Feb 17 12:54:26 rot-pxi-controller journal: LSST Ethercat Wrapper: clearing faults Feb 17 12:54:56 rot-pxi-controller journal: LSST Ethercat Wrapper: Connection socket being reset in CSC server. Feb 17 12:54:56 rot-pxi-controller journal: LSST Ethercat Wrapper: The state of CSC server is disconnected. I can use the EUI to reboot the software as well: Feb 17 12:57:58 rot-pxi-controller journal: LSST Ethercat Wrapper: Closing the CSC server. Feb 17 12:57:58 rot-pxi-controller journal: LSST Ethercat Wrapper: Closing the GUI server. Feb 17 12:57:58 rot-pxi-controller journal: LSST Ethercat Wrapper: Fail to send the command status: Bad file descriptor Feb 17 12:57:58 rot-pxi-controller journal: LSST Ethercat Wrapper: Failed to send the command status to GUI server Feb 17 12:57:58 rot-pxi-controller journal: LSST Ethercat Wrapper: Servers exit...shutting down Feb 17 12:57:59 rot-pxi-controller journal: LSST Ethercat Wrapper: Mainloop Quit Feb 17 12:57:59 rot-pxi-controller main: Closing the CSC server. Feb 17 12:57:59 rot-pxi-controller main: Closing the GUI server. Feb 17 12:57:59 rot-pxi-controller main: Stopping rotator wrapper, 10 second delay before re-start Feb 17 12:58:09 rot-pxi-controller runmain: Use the default configuration file: /home/rotatoruser/github/ts_rotator_controller/configRotator/default.yaml.
            Hide
            ttsai Te-Wei Tsai added a comment -

            GUI have the information of command status:

            02/17/22 09:50:42 AM (INFO) Set up the TCP/IP server.
            02/17/22 09:50:43 AM (DEBUG) Get the connection: 139.229.178.5
            02/17/22 09:51:30 AM (INFO) Sequence ID=1, command status is NotOK
            02/17/22 09:51:33 AM (INFO) Sequence ID=2, command status is NotOK
            02/17/22 09:51:44 AM (INFO) Sequence ID=3, command status is OK
            02/17/22 09:52:04 AM (DEBUG) Times of the bad telemetry frame data: 0
            02/17/22 09:52:04 AM (DEBUG) Times of the timeout of reading frame data: 0
            02/17/22 09:52:04 AM (INFO) Close the application.
            

            Show
            ttsai Te-Wei Tsai added a comment - GUI have the information of command status: 02/17/22 09:50:42 AM (INFO) Set up the TCP/IP server. 02/17/22 09:50:43 AM (DEBUG) Get the connection: 139.229.178.5 02/17/22 09:51:30 AM (INFO) Sequence ID=1, command status is NotOK 02/17/22 09:51:33 AM (INFO) Sequence ID=2, command status is NotOK 02/17/22 09:51:44 AM (INFO) Sequence ID=3, command status is OK 02/17/22 09:52:04 AM (DEBUG) Times of the bad telemetry frame data: 0 02/17/22 09:52:04 AM (DEBUG) Times of the timeout of reading frame data: 0 02/17/22 09:52:04 AM (INFO) Close the application.
            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            Deployed the ts_rotator_gui v1.2.0 on summit. Run the GUI well:

            Show
            ttsai Te-Wei Tsai added a comment - - edited Deployed the ts_rotator_gui v1.2.0 on summit. Run the GUI well:
            Hide
            ttsai Te-Wei Tsai added a comment -

            Tested on summit this morning already.

            Show
            ttsai Te-Wei Tsai added a comment - Tested on summit this morning already.
            Hide
            rowen Russell Owen added a comment -

            Thank you for this nice enhancement.

            Show
            rowen Russell Owen added a comment - Thank you for this nice enhancement.

              People

              Assignee:
              ttsai Te-Wei Tsai
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              Russell Owen
              Watchers:
              Russell Owen, Te-Wei Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins Builds

                  No builds found.