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

Fix Jenkinsfile plantuml for ts_phosim

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      The `plantuml.jar` file appears to be corrupt - the most recent build on Jenkins fails with 

      Error: Invalid or corrupt jarfile /home/jenkins/workspace/scope-and-Site_ts_phosim_develop/plantuml.jar\n'
       WARNING: error while running plantuml
      

      which was seen before with `ts_wep` when 

      PLANTUML_URL = "http://sourceforge.net/projects/plantuml/files/plantuml.jar"
      

      was used. Fix that to a `plantuml.jar` that  is already used in `ts_wep` or `ts_ofc`. 

        Attachments

          Issue Links

            Activity

            No builds found.
            ksuberlak Krzysztof Suberlak created issue -
            ksuberlak Krzysztof Suberlak made changes -
            Field Original Value New Value
            Description The `plantuml.jar` file appears to be corrupt - the most recent build on Jenkins fails with 
            'Error: Invalid or corrupt jarfile /home/jenkins/workspace/scope-and-Site_ts_phosim_develop/plantuml.jar\n'
            WARNING: error while running plantuml
            which was seen before with `ts_wep` when 
            PLANTUML_URL = "http://sourceforge.net/projects/plantuml/files/plantuml.jar"
            was used. Fix that to a `plantuml.jar` that  is already used in `ts_wep` or `ts_ofc`. 
            The `plantuml.jar` file appears to be corrupt - the most recent build on Jenkins fails with 
            {code:java}
            Error: Invalid or corrupt jarfile /home/jenkins/workspace/scope-and-Site_ts_phosim_develop/plantuml.jar\n'
             WARNING: error while running plantuml
            {code}

             which was seen before with `ts_wep` when 
            {code:java}
            PLANTUML_URL = "http://sourceforge.net/projects/plantuml/files/plantuml.jar"
            {code}

             was used. Fix that to a `plantuml.jar` that  is already used in `ts_wep` or `ts_ofc`. 
            Hide
            ksuberlak Krzysztof Suberlak added a comment -

            The fix that worked for `ts_wep` was to use  one of the github links   https://github.com/plantuml/plantuml/releases , as mentioned here  https://lsstc.slack.com/archives/C9BEJU1T3/p1654119592305989?thread_ts=1654107524.467599&cid=C9BEJU1T3 

             

              

            Show
            ksuberlak Krzysztof Suberlak added a comment - The fix that worked for `ts_wep` was to use  one of the github links    https://github.com/plantuml/plantuml/releases  , as mentioned here  https://lsstc.slack.com/archives/C9BEJU1T3/p1654119592305989?thread_ts=1654107524.467599&cid=C9BEJU1T3       
            ksuberlak Krzysztof Suberlak made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            Hide
            ksuberlak Krzysztof Suberlak added a comment -

            It was merged , but the browser started hanging on "Hang in there while we check the branch's status.". In a different browser I confirmed that it got merged to `develop` and deleted the ticket branch. I don't know why Jira ticket shows PR as 'declined' as it has already been merged. I've also tagged develop. 

            Show
            ksuberlak Krzysztof Suberlak added a comment - It was merged , but the browser started hanging on "Hang in there while we check the branch's status.". In a different browser I confirmed that it got merged to `develop` and deleted the ticket branch. I don't know why Jira ticket shows PR as 'declined' as it has already been merged. I've also tagged develop. 
            ksuberlak Krzysztof Suberlak made changes -
            Status In Progress [ 3 ] In Review [ 10004 ]
            ttsai Te-Wei Tsai made changes -
            Component/s ts_aos [ 16712 ]
            Component/s ts_main_telescope [ 16710 ]
            Hide
            ttsai Te-Wei Tsai added a comment -

            Reviewed in GitHub.

            Show
            ttsai Te-Wei Tsai added a comment - Reviewed in GitHub.
            ttsai Te-Wei Tsai made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            ksuberlak Krzysztof Suberlak made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            Hide
            ksuberlak Krzysztof Suberlak added a comment -

            Another PR addressing a fix to plantuml path (introducing PLANTUML_PATH env variable as in https://github.com/lsst-ts/ts_m2com/blob/develop/Jenkinsfile#L86-L87 ) has been merged and released as ts_phosim  v2.2.1 

            Show
            ksuberlak Krzysztof Suberlak added a comment - Another PR addressing a fix to plantuml path (introducing PLANTUML_PATH env variable as in https://github.com/lsst-ts/ts_m2com/blob/develop/Jenkinsfile#L86-L87  ) has been merged and released as ts_phosim  v2.2.1 
            sthomas Sandrine Thomas made changes -
            Remote Link This issue links to "Page (Confluence)" [ 34901 ]

              People

              Assignee:
              ksuberlak Krzysztof Suberlak
              Reporter:
              ksuberlak Krzysztof Suberlak
              Reviewers:
              Te-Wei Tsai
              Watchers:
              Bryce Kalmbach, John Franklin Crenshaw, Krzysztof Suberlak, Te-Wei Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.