• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • flow-plugin
    • None

      The flow plugin at startup will delete all old data because it performs a save operation:

       

      "Jenkins initialization thread@2736" daemon prio=5 tid=0x27 nid=NA runnable
       java.lang.Thread.State: RUNNABLE
       at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81)
       at hudson.model.AbstractItem.save(AbstractItem.java:521)
       - locked <0x3690> (a hudson.model.FreeStyleProject)
       at hudson.model.Job.save(Job.java:180)
       at hudson.model.AbstractProject.save(AbstractProject.java:306)
       at hudson.model.Job.addProperty(Job.java:523)
       at hudson.model.AbstractProject.addProperty(AbstractProject.java:786)
       at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.addFlowProperty(FlowProjectListener.java:33)
       at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.onLoaded(FlowProjectListener.java:17)
       at jenkins.model.Jenkins.<init>(Jenkins.java:857)
       at hudson.model.Hudson.<init>(Hudson.java:83)
       at hudson.model.Hudson.<init>(Hudson.java:79)
       at hudson.WebAppMain$3.run(WebAppMain.java:225)
      

       
      At startup a flow property is added to each job which triggers a save operation. This happens for any project. 

      On another note: I am unable to locate the source code for this plugin.

          [JENKINS-42522] FLOW plugin deletes old data on startup

          Steven Christou created issue -
          Ryan Campbell made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Tony Bridges made changes -
          Resolution Original: Incomplete [ 4 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Tony Bridges made changes -
          Assignee Original: rsandell [ rsandell ] New: Ryan Campbell [ recampbell ]
          Steven Christou made changes -
          Component/s New: flow-plugin [ 17646 ]
          Component/s Original: metadata-plugin [ 17222 ]
          Description Original: The metadata plugin will delete old data content at the start of Jenkins. In order to re-build the metadata information the plugin triggers a save operation (https://github.com/jenkinsci/metadata-plugin/blob/master/src/main/java/com/sonyericsson/hudson/plugins/metadata/contributors/JobContributorsController.java#L89-L91)&#xA0;at the start of Jenkins for each job. Because of this save operation it will delete any old data and override it. There should be a way to trigger the rebuilding of metadata information without having to perform a save operation at the start of Jenkins. New: The flow plugin at startup will delete all old data because it performs a save operation:

           

          \{noformat}

          {{"Jenkins initialization thread@2736" daemon prio=5 tid=0x27 nid=NA runnable java.lang.Thread.State: RUNNABLE at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81) at hudson.model.AbstractItem.save(AbstractItem.java:521) - locked <0x3690> (a hudson.model.FreeStyleProject) at hudson.model.Job.save(Job.java:180) at hudson.model.AbstractProject.save(AbstractProject.java:306) at hudson.model.Job.addProperty(Job.java:523) at hudson.model.AbstractProject.addProperty(AbstractProject.java:786) at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.addFlowProperty(FlowProjectListener.java:33) at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.onLoaded(FlowProjectListener.java:17) at jenkins.model.Jenkins.<init>(Jenkins.java:857) at hudson.model.Hudson.<init>(Hudson.java:83) at hudson.model.Hudson.<init>(Hudson.java:79) at hudson.WebAppMain$3.run(WebAppMain.java:225) }}

          \{noformat}

           

          At startup a flow property is added to each job which triggers a save operation. This happens for _any_ project. 

           

          On another note: I am unable to locate the source code for this plugin.
          Summary Original: Metadata plugin deletes old data on startup New: FLOW plugin deletes old data on startup
          Steven Christou made changes -
          Description Original: The flow plugin at startup will delete all old data because it performs a save operation:

           

          \{noformat}

          {{"Jenkins initialization thread@2736" daemon prio=5 tid=0x27 nid=NA runnable java.lang.Thread.State: RUNNABLE at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81) at hudson.model.AbstractItem.save(AbstractItem.java:521) - locked <0x3690> (a hudson.model.FreeStyleProject) at hudson.model.Job.save(Job.java:180) at hudson.model.AbstractProject.save(AbstractProject.java:306) at hudson.model.Job.addProperty(Job.java:523) at hudson.model.AbstractProject.addProperty(AbstractProject.java:786) at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.addFlowProperty(FlowProjectListener.java:33) at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.onLoaded(FlowProjectListener.java:17) at jenkins.model.Jenkins.<init>(Jenkins.java:857) at hudson.model.Hudson.<init>(Hudson.java:83) at hudson.model.Hudson.<init>(Hudson.java:79) at hudson.WebAppMain$3.run(WebAppMain.java:225) }}

          \{noformat}

           

          At startup a flow property is added to each job which triggers a save operation. This happens for _any_ project. 

           

          On another note: I am unable to locate the source code for this plugin.
          New: The flow plugin at startup will delete all old data because it performs a save operation:

           

          {{\{\{"Jenkins initialization thread@2736" daemon prio=5 tid=0x27 nid=NA runnable java.lang.Thread.State: RUNNABLE at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81) at hudson.model.AbstractItem.save(AbstractItem.java:521) - locked <0x3690> (a hudson.model.FreeStyleProject) at hudson.model.Job.save(Job.java:180) at hudson.model.AbstractProject.save(AbstractProject.java:306) at hudson.model.Job.addProperty(Job.java:523) at hudson.model.AbstractProject.addProperty(AbstractProject.java:786) at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.addFlowProperty(FlowProjectListener.java:33) at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.onLoaded(FlowProjectListener.java:17) at jenkins.model.Jenkins.<init>(Jenkins.java:857) at hudson.model.Hudson.<init>(Hudson.java:83) at hudson.model.Hudson.<init>(Hudson.java:79) at hudson.WebAppMain$3.run(WebAppMain.java:225) }}}}

           

          At startup a flow property is added to each job which triggers a save operation. This happens for _any_ project. 

           

          On another note: I am unable to locate the source code for this plugin.
          Steven Christou made changes -
          Description Original: The flow plugin at startup will delete all old data because it performs a save operation:

           

          {{\{\{"Jenkins initialization thread@2736" daemon prio=5 tid=0x27 nid=NA runnable java.lang.Thread.State: RUNNABLE at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81) at hudson.model.AbstractItem.save(AbstractItem.java:521) - locked <0x3690> (a hudson.model.FreeStyleProject) at hudson.model.Job.save(Job.java:180) at hudson.model.AbstractProject.save(AbstractProject.java:306) at hudson.model.Job.addProperty(Job.java:523) at hudson.model.AbstractProject.addProperty(AbstractProject.java:786) at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.addFlowProperty(FlowProjectListener.java:33) at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.onLoaded(FlowProjectListener.java:17) at jenkins.model.Jenkins.<init>(Jenkins.java:857) at hudson.model.Hudson.<init>(Hudson.java:83) at hudson.model.Hudson.<init>(Hudson.java:79) at hudson.WebAppMain$3.run(WebAppMain.java:225) }}}}

           

          At startup a flow property is added to each job which triggers a save operation. This happens for _any_ project. 

           

          On another note: I am unable to locate the source code for this plugin.
          New: The flow plugin at startup will delete all old data because it performs a save operation:

           {noformat}
          "Jenkins initialization thread@2736" daemon prio=5 tid=0x27 nid=NA runnable
           java.lang.Thread.State: RUNNABLE
           at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81)
           at hudson.model.AbstractItem.save(AbstractItem.java:521)
           - locked <0x3690> (a hudson.model.FreeStyleProject)
           at hudson.model.Job.save(Job.java:180)
           at hudson.model.AbstractProject.save(AbstractProject.java:306)
           at hudson.model.Job.addProperty(Job.java:523)
           at hudson.model.AbstractProject.addProperty(AbstractProject.java:786)
           at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.addFlowProperty(FlowProjectListener.java:33)
           at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.onLoaded(FlowProjectListener.java:17)
           at jenkins.model.Jenkins.<init>(Jenkins.java:857)
           at hudson.model.Hudson.<init>(Hudson.java:83)
           at hudson.model.Hudson.<init>(Hudson.java:79)
           at hudson.WebAppMain$3.run(WebAppMain.java:225)
          {noformat}
           
          At startup a flow property is added to each job which triggers a save operation. This happens for _any_ project. 

          On another note: I am unable to locate the source code for this plugin.
          Ryan Campbell made changes -
          Assignee Original: Ryan Campbell [ recampbell ]
          James Dumay made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-2085 (Web Link)" [ 18426 ]

            Unassigned Unassigned
            schristou Steven Christou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: