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

Changes are missing in every job after update to 2.426.3

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • None

      I upgraded Jenkins to 2.426.3.

      After upgrade, there is "No changes from last build." message printed in changes tab of Jenkins job.

      Even though Polling job is polled by scm change, I can not see changes in both status and changes tab. 

      In api/xml page, there is 
      <changeSet _class="org.jenkinsci.plugins.p4.changes.P4ChangeSet"/>
      but I can not see <item _class="org.jenkinsci.plugins.p4.changes.P4ChangeEntry">
      I tried with P4 plugin on both 1.13.3 version and 1.15.1 version.

          [JENKINS-72842] Changes are missing in every job after update to 2.426.3

          Kihoon created issue -

          Karl Wirth added a comment -

          Hi zpdleotl - Sorry for the delay. Is this still a problem?

          Does the job run but the changes tab is empty? If that is correct can you get me the console log and the XML. If this contains sensitive data please open a case with Perforce support (support-helix-core@perforce.com).

          If the job is not running please get us the polling log.

          Karl Wirth added a comment - Hi zpdleotl - Sorry for the delay. Is this still a problem? Does the job run but the changes tab is empty? If that is correct can you get me the console log and the XML. If this contains sensitive data please open a case with Perforce support (support-helix-core@perforce.com). If the job is not running please get us the polling log.

          Kihoon added a comment -

          It is still a problem. 

          It is sensitive so that I can get you part of xml.

          The one with a problem ends with this, 

          <changeSet _class="org.jenkinsci.plugins.p4.changes.P4ChangeSet"/>

           
          But the normal one shows p4ChangeEntry list like this,

          <changeSet _class="org.jenkinsci.plugins.p4.changes.P4ChangeSet">

          <item _class="org.jenkinsci.plugins.p4.changes.P4ChangeEntry">

           
          and also there's no culprits list in a problem. 

          Kihoon added a comment - It is still a problem.  It is sensitive so that I can get you part of xml. The one with a problem ends with this,  <changeSet _class="org.jenkinsci.plugins.p4.changes.P4ChangeSet"/>   But the normal one shows p4ChangeEntry list like this, <changeSet _class="org.jenkinsci.plugins.p4.changes.P4ChangeSet"> <item _class="org.jenkinsci.plugins.p4.changes.P4ChangeEntry">   and also there's no culprits list in a problem. 

          Eric Boehm added a comment - - edited

          We saw the same issue but found a workaround by using the Purge Build History plugin.
          We used the following settings

          [  ] Reset build number to 1
          [X] Delete builds marked to be kept forever
          [X] Recurse into sub-folders/sub-jobs

          Downside is that it purges build history.
          Upside is that changes started working after this and we still retain the build number sequence.

          We have Jenkins 2.449
          P4 Plugin 1.15.1

          Eric Boehm added a comment - - edited We saw the same issue but found a workaround by using the Purge Build History plugin. We used the following settings [  ] Reset build number to 1 [X] Delete builds marked to be kept forever [X] Recurse into sub-folders/sub-jobs Downside is that it purges build history. Upside is that changes started working after this and we still retain the build number sequence. We have Jenkins 2.449 P4 Plugin 1.15.1

          Eric Boehm added a comment -

          It looks like I spoke too soon. The 1st change after purging build history showed up but not subsequent changes.

          We have another instances with

          Jenkins 2.440.1

          P4 1.15.1

          which does show the changes correctly.

          I am going to roll back our test system that is at 2.449 back to 2.440.1 and see if it helps.

          Eric Boehm added a comment - It looks like I spoke too soon. The 1st change after purging build history showed up but not subsequent changes. We have another instances with Jenkins 2.440.1 P4 1.15.1 which does show the changes correctly. I am going to roll back our test system that is at 2.449 back to 2.440.1 and see if it helps.

          Kihoon added a comment -

          OK then I won't do Purge Build History plugin thing yet.

          FYI, Our environment with Jenkins 2.426.3 and P4 1.13.3 or 1.15.1 is working on Linux machine now.

          But there's only problem on Window machine. 

          Process is started by Windows service and there's still no changes on changes page.

          Kihoon added a comment - OK then I won't do Purge Build History plugin thing yet. FYI, Our environment with Jenkins 2.426.3 and P4 1.13.3 or 1.15.1 is working on Linux machine now. But there's only problem on Window machine.  Process is started by Windows service and there's still no changes on changes page.

          Eric Boehm added a comment -

          FWIW, 

          We found a solution. This section of /configure had an bad entry for credentials. 

          Perforce: Save Configuration (BETA: Subject to change!)
          Enable Configuration Versioning
          Enabled
           
          Perforce Credentials?

          • none -Add

           
          We changed it back to - none - and we started getting the data we were looking for.

          Eric Boehm added a comment - FWIW,  We found a solution. This section of /configure had an bad entry for credentials.  Perforce: Save Configuration (BETA: Subject to change!) Enable Configuration Versioning Enabled   Perforce Credentials ? none -Add   We changed it back to - none - and we started getting the data we were looking for.

          Andy H added a comment - - edited

          Experiencing the same issue, running Jenkins Version 2.478 and P4 Plugin 1.16.0

          Followed Eric's suggestion to set credential to none in /configure, but still showing 'No changes in any of the builds.'
           

          Andy H added a comment - - edited Experiencing the same issue, running Jenkins Version 2.478 and P4 Plugin 1.16.0 Followed Eric's suggestion to set credential to none in /configure, but still showing 'No changes in any of the builds.'  
          Andy H made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

          Dhaval added a comment - - edited

          andyh200 We tried and are not able to recreate this issue.

          Can you get me the console log and the XML. If this contains sensitive data please open a case with Perforce support (support-helix-core@perforce.com).

          Requesting you to share config.xml, build.xml and log.xml for further investigation to support-helix-core@perforce.com.

          If the job is not running please get us the polling log.

          We tried with jenkins 1.16.0 and jenkins 2.462

          Dhaval added a comment - - edited andyh200 We tried and are not able to recreate this issue. Can you get me the console log and the XML. If this contains sensitive data please open a case with Perforce support (support-helix-core@perforce.com). Requesting you to share config.xml, build.xml and log.xml for further investigation to support-helix-core@perforce.com. If the job is not running please get us the polling log. We tried with jenkins 1.16.0 and jenkins 2.462

            Unassigned Unassigned
            zpdleotl Kihoon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: