Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47779

Could not attach 'plugins/active.txt' to support bundle

      With Support Core plugin 2.42 I see exceptions:

      Could not attach 'plugins/active.txt' to support bundle
      java.lang.UnsupportedOperationException
      	at java.util.Collections$UnmodifiableList.sort(Unknown Source)
      	at java.util.Collections.sort(Unknown Source)
      	at com.cloudbees.jenkins.support.impl.AboutJenkins$ActivePlugins.printTo(AboutJenkins.java:709)
      	at com.cloudbees.jenkins.support.api.PrintedContent.writeTo(PrintedContent.java:47)
      	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:359)
      	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:273)
      	at com.cloudbees.jenkins.support.SupportPlugin$PeriodicWorkImpl$1.run(SupportPlugin.java:761)
      	at java.lang.Thread.run(Unknown Source)
      
      Nov 02, 2017 8:23:38 AM WARNING com.cloudbees.jenkins.support.SupportPlugin writeBundle
      Could not attach 'plugins/disabled.txt' to support bundle
      java.lang.UnsupportedOperationException
      	at java.util.Collections$UnmodifiableList.sort(Unknown Source)
      	at java.util.Collections.sort(Unknown Source)
      	at com.cloudbees.jenkins.support.impl.AboutJenkins$DisabledPlugins.printTo(AboutJenkins.java:727)
      	at com.cloudbees.jenkins.support.api.PrintedContent.writeTo(PrintedContent.java:47)
      	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:359)
      	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:273)
      	at com.cloudbees.jenkins.support.SupportPlugin$PeriodicWorkImpl$1.run(SupportPlugin.java:761)
      	at java.lang.Thread.run(Unknown Source)
      
      Nov 02, 2017 8:23:38 AM WARNING com.cloudbees.jenkins.support.SupportPlugin writeBundle
      Could not attach 'docker/Dockerfile' to support bundle
      java.lang.UnsupportedOperationException
      	at java.util.Collections$UnmodifiableList.sort(Unknown Source)
      	at java.util.Collections.sort(Unknown Source)
      	at com.cloudbees.jenkins.support.impl.AboutJenkins$Dockerfile.printTo(AboutJenkins.java:775)
      	at com.cloudbees.jenkins.support.api.PrintedContent.writeTo(PrintedContent.java:47)
      	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:359)
      	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:273)
      	at com.cloudbees.jenkins.support.SupportPlugin$PeriodicWorkImpl$1.run(SupportPlugin.java:761)
      	at java.lang.Thread.run(Unknown Source)
      

          [JENKINS-47779] Could not attach 'plugins/active.txt' to support bundle

          PR-121 sent.

          Emilio Escobar added a comment - PR-121 sent.

          Mark Waite added a comment - - edited

          escoemI'm seeing that same stack trace in 2.89.  I assume that is expected.

          Since 2.89 has been chosen as the next long term support release, should PR-121 be recommended for backporting to 2.89?

          Mark Waite added a comment - - edited escoem I'm seeing that same stack trace in 2.89.  I assume that is expected. Since 2.89 has been chosen as the next long term support release, should PR-121  be recommended for backporting to 2.89?

          Emilio Escobar added a comment - - edited

          Hi markewaite, this is a support-core-plugin issue, not a core one, I'm just waiting for someone to merge https://github.com/jenkinsci/support-core-plugin/pull/121 and release the plugin.

          Emilio Escobar added a comment - - edited Hi markewaite , this is a support-core-plugin issue, not a core one, I'm just waiting for someone to merge https://github.com/jenkinsci/support-core-plugin/pull/121 and release the plugin.

          Mark Waite added a comment -

          escoem thanks. I assumed the bug report was against the support-core-plugin, but mistakenly inferred that Jenkins core changes were needed since there were references to core changes.

          I've been testing the 2.89 weekly release since it is the version selected for the next long term support release. When I saw the same stack trace in 2.89 as had been reported in 2.87, I was worried that we'd deliver a long term support release which could not create fully detailed support bundles.

          Mark Waite added a comment - escoem thanks. I assumed the bug report was against the support-core-plugin, but mistakenly inferred that Jenkins core changes were needed since there were references to core changes. I've been testing the 2.89 weekly release since it is the version selected for the next long term support release. When I saw the same stack trace in 2.89 as had been reported in 2.87, I was worried that we'd deliver a long term support release which could not create fully detailed support bundles.

          Hi markewaite,

          _ I was worried that we'd deliver a long term support release which could not create fully detailed support bundles._

          In fact, it's going to happen until the PR is merged and the new version released.

          Emilio Escobar added a comment - Hi markewaite , _ I was worried that we'd deliver a long term support release which could not create fully detailed support bundles._ In fact, it's going to happen until the PR is merged and the new version released.

          Code changed in jenkins
          User: Emilio Escobar
          Path:
          src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java
          http://jenkins-ci.org/commit/support-core-plugin/f27bdd1c6ec8b8869526fb34ece86e689f46f492
          Log:
          JENKINS-47779 copy list before sorting

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Emilio Escobar Path: src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java http://jenkins-ci.org/commit/support-core-plugin/f27bdd1c6ec8b8869526fb34ece86e689f46f492 Log: JENKINS-47779 copy list before sorting

          Code changed in jenkins
          User: Emilio Escobar
          Path:
          src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java
          http://jenkins-ci.org/commit/support-core-plugin/069fb03379d51f6784156e95dd153d4d2c6bfb0c
          Log:
          JENKINS-47779 comments addressed

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Emilio Escobar Path: src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java http://jenkins-ci.org/commit/support-core-plugin/069fb03379d51f6784156e95dd153d4d2c6bfb0c Log: JENKINS-47779 comments addressed

          Code changed in jenkins
          User: Emilio Escobar
          Path:
          src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java
          http://jenkins-ci.org/commit/support-core-plugin/292dbb48f5c94528a34885ab6ef595a501c9869f
          Log:
          JENKINS-47779 why not

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Emilio Escobar Path: src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java http://jenkins-ci.org/commit/support-core-plugin/292dbb48f5c94528a34885ab6ef595a501c9869f Log: JENKINS-47779 why not

          Code changed in jenkins
          User: Baptiste Mathus
          Path:
          src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java
          http://jenkins-ci.org/commit/support-core-plugin/eabbb45750fcfb43537f08fc2c0292b437baaf1e
          Log:
          Merge pull request #121 from escoem/JENKINS-47779

          [FIXED JENKINS-47779] Could not attach 'plugins/active.txt' to support bundle

          Compare: https://github.com/jenkinsci/support-core-plugin/compare/9fc6229ea50c...eabbb45750fc

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Baptiste Mathus Path: src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java http://jenkins-ci.org/commit/support-core-plugin/eabbb45750fcfb43537f08fc2c0292b437baaf1e Log: Merge pull request #121 from escoem/ JENKINS-47779 [FIXED JENKINS-47779] Could not attach 'plugins/active.txt' to support bundle Compare: https://github.com/jenkinsci/support-core-plugin/compare/9fc6229ea50c...eabbb45750fc

          released as 2.43

          Emilio Escobar added a comment - released as 2.43

            escoem Emilio Escobar
            davida2009 David Aldrich
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: