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

Test the CTIO Jenkins and Docker Image from Nexus

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_main_telescope
    • Labels:
    • Story Points:
      2
    • Sprint:
      TSSW Sprint - Sep 14 - Sep 28, TSSW Sprint - Sep 28 - Oct 12
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      Test the CTIO Jenkins and Docker image from Nexus. This task will figure out the recipe to put in the Jenkinsfile to do the LabVIEW test.

        Attachments

          Issue Links

            Activity

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

            For the latest images by Andrew, I need to do: "yum install libXft" to fix the problem of labview font. In addition, it looks like the file of "/root/.Xauthority" is not there even we tried to vncserver trick in the Dockerfile.

            Show
            ttsai Te-Wei Tsai added a comment - - edited For the latest images by Andrew, I need to do: " yum install libXft " to fix the problem of labview font. In addition, it looks like the file of " /root/.Xauthority " is not there even we tried to vncserver trick in the Dockerfile.
            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            Continue to prompt the user-login window when opening the LabVIEW:

            This blocks the following execution of LabVIEW test.

            I suspect this is related to the version. Maybe use the labview full professional version and set the user in advance will solve this problem.

            Show
            ttsai Te-Wei Tsai added a comment - - edited Continue to prompt the user-login window when opening the LabVIEW: This blocks the following execution of LabVIEW test. I suspect this is related to the version. Maybe use the labview full professional version and set the user in advance will solve this problem.
            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            I can use the xdotool to circumvent the prompt window of LabVIEW. I tested to use the Jenkinsfile to execute the vnc server to get the ".Xauthority" file. However, this did not work. I manually created this file by the xvncserver and push the new image to test.

            The test is successful in the final:

            Show
            ttsai Te-Wei Tsai added a comment - - edited I can use the xdotool  to circumvent the prompt window of LabVIEW. I tested to use the Jenkinsfile to execute the vnc server to get the ".Xauthority" file. However, this did not work. I manually created this file by the xvncserver  and push the new image to test. The test is successful in the final:
            Hide
            ttsai Te-Wei Tsai added a comment -

            Please help to review the PR:
            https://github.com/lsst-ts/ts_SALLabVIEW/pull/7

            The CTIO Jenkins test is here:
            http://cagvm3.ctio.noao.edu/jenkins/job/ts_SALLabVIEW/job/tickets%252FDM-26743/

            Thanks for all the help of docker image and discussion for this ticket!

            Show
            ttsai Te-Wei Tsai added a comment - Please help to review the PR: https://github.com/lsst-ts/ts_SALLabVIEW/pull/7 The CTIO Jenkins test is here: http://cagvm3.ctio.noao.edu/jenkins/job/ts_SALLabVIEW/job/tickets%252FDM-26743/ Thanks for all the help of docker image and discussion for this ticket!
            Hide
            aheyer Andrew Heyer [X] (Inactive) added a comment -

            PR has been reviewed. The Tests are running succesffuly.

            Show
            aheyer Andrew Heyer [X] (Inactive) added a comment - PR has been reviewed. The Tests are running succesffuly.

              People

              Assignee:
              ttsai Te-Wei Tsai
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              Andrew Heyer [X] (Inactive)
              Watchers:
              Andrew Heyer [X] (Inactive), Te-Wei Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

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

                  Jenkins

                  No builds found.