[JIRA] [integrity-plugin] (JENKINS-25450) Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job).
SCM/JIRA link daemon commented on JENKINS-25450 Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job). Code changed in jenkins User: Cletus D'Souza Path: src/main/java/hudson/scm/DerbyUtils.java src/main/java/hudson/scm/IntegrityCMProject.java src/main/java/hudson/scm/IntegrityCheckpointAction.java src/main/java/hudson/scm/IntegrityDeleteNonMembersTask.java src/main/java/hudson/scm/IntegritySCM.java http://jenkins-ci.org/commit/integrity-plugin/fcdc20ec7f63153531b484b3173a2e8373b94c9d Log: Additional changes to completely isolate DB access via static synchronized functions. Relevant issues are: JENKINS-25228 - Using the integrity-plugin together with concurrent builds causes SQL Exceptions JENKINS-14675 - Schema 'DBUSER' does not exist error in integrity plugin JENKINS-25450 - Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job). This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [integrity-plugin] (JENKINS-25450) Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job).
SCM/JIRA link daemon commented on JENKINS-25450 Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job). Code changed in jenkins User: Cletus D'Souza Path: pom.xml src/main/java/hudson/scm/DerbyUtils.java src/main/java/hudson/scm/IntegrityCMProject.java src/main/java/hudson/scm/IntegrityRevisionState.java src/main/java/hudson/scm/IntegritySCM.java src/main/resources/hudson/scm/IntegritySCM/config.jelly src/main/resources/hudson/scm/IntegritySCM/global.jelly http://jenkins-ci.org/commit/integrity-plugin/43ad415f293ffc23861b23fa4caae3d7ef52da7c Log: Moved from single derby db for each job/build to a single db for the entire Jenkins instance. Relevant issues are: JENKINS-25228 - Using the integrity-plugin together with concurrent builds causes SQL Exceptions JENKINS-14675 - Schema 'DBUSER' does not exist error in integrity plugin JENKINS-25450 - Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job). This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [integrity-plugin] (JENKINS-25450) Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job).
Cletus DSouza resolved JENKINS-25450 as Duplicate Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job). This is another duplicate of JENKINS-25228 Change By: Cletus DSouza (03/Feb/15 7:50 AM) Status: Open Resolved Resolution: Duplicate This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [integrity-plugin] (JENKINS-25450) Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job).
Martin Hohl updated JENKINS-25450 Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job). Change By: Martin Hohl (05/Nov/14 2:55 PM) Summary: Unexpectedbehaviorof Jenkins Integritypluginafter A SQLException wascaught!Table/ViewCM_PROJECTdoesnotexist insideplugin(noerrorreturnedtobuildjob) . Description: UnexpectedbehaviorofIntegritypluginaftermessageASQLExceptionwascaught!Table/ViewCM_PROJECTdoesnotexist.: TheIntegrity-CMPollingLogsaysStartedonNov5,20147:00:00AMPreparingtoexecutesiprojectinfofor#p=p:/PROJEKTE/2230/2230.pj#s=Software/Software.pj#s=PC/PC.pj#s=StLib/StLib.pjPreparingtoexecutesiviewprojectfor#p=p:/PROJEKTE/2230/2230.pj#s=Software/Software.pj#s=PC/PC.pj#s=StLib/StLib.pjASQLExceptionwascaught!Table/ViewCM_PROJECTdoesnotexist.Done.Took7.8secNochangesandthejobstatusofthebuildjobisnotFAILED.Normally,ifthepluginsaysFailedtoestablishanAPIconnectiontotheIntegrityServer!itfailsthebuildjob(asexpected).IwouldnotexpectthataJenkinsjobcanhavestatusOK,iftheworkspacecannotbepopulatedorupdatedwiththeSCMconfiguredforthatjob.TheissueoccurredthefirsttimeafteranupgradeoftheIntegrityplugin(previousversionwas1.24,currentversionis1.28).Withoutadministratorinterventionthepseudo-goodbuildswithoutdatedworkspacecontentswereconsistenlyoccurringsincethatmoment... This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [integrity-plugin] (JENKINS-25450) Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job).
Martin Hohl commented on JENKINS-25450 Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job). If during comparing the current workspace (stored locally on the Jenkins site in a SQL database) with the current content of the SCM archive it becomes obvious, that the database scheme of that local database needs DB schema versioning, the SCM plugin should either try to automatically perform DB schema versioning for that job or if that can't be done, it would be a good idea to fall back to "Clean workspace" operation mode and start over with the local database (instead of compiling old workspace content and rating it "OK"). This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [integrity-plugin] (JENKINS-25450) Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job).
Martin Hohl commented on JENKINS-25450 Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job). Occurs with older versions of Jenkins Integrity plugin too, whenever an SQL Exception occurs due to outdated DB schema (after upgrading). A required condition for the behavior to appear is that the "Clean workspace" option is disabled for the particular build queue (which is not really to be considered as "best practice" for quality assurance of production builds, but might be used by some people for development builds to save some extra time for fetching the complete SCM archive). This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [integrity-plugin] (JENKINS-25450) Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job).
Martin Hohl updated JENKINS-25450 Unexpected behavior of Jenkins Integrity plugin after SQL Exception inside plugin (no error returned to build job). Change By: Martin Hohl (05/Nov/14 6:02 PM) Description: UnexpectedbehaviorofIntegritypluginaftermessageASQLExceptionwascaught!Table/ViewCM_PROJECTdoesnotexist.:TheIntegrity-CMPollingLogsaysStartedonNov5,20147:00:00AMPreparingtoexecutesiprojectinfofor#p=p:/PROJEKTE/2230/2230.pj#s=Software/Software.pj#s=PC/PC.pj#s=StLib/StLib.pjPreparingtoexecutesiviewprojectfor#p=p:/PROJEKTE/2230/2230.pj#s=Software/Software.pj#s=PC/PC.pj#s=StLib/StLib.pjASQLExceptionwascaught!Table/ViewCM_PROJECTdoesnotexist.Done.Took7.8secNochangesandthejobstatusofthebuildjobisnotFAILED ,butFinished:SUCCESS .Normally,ifthepluginsaysFailedtoestablishanAPIconnectiontotheIntegrityServer!itfailsthebuildjob(asexpected).IwouldnotexpectthataJenkinsjobcanhavestatusOK,iftheworkspacecannotbepopulatedorupdatedwiththeSCMconfiguredforthatjob.TheissueoccurredthefirsttimeafteranupgradeoftheIntegrityplugin(previousversionwas1.24,currentversionis1.28).Withoutadministratorinterventionthepseudo-goodbuildswithoutdatedworkspacecontentswereconsistenlyoccurringsincethatmoment... This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.