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

Fatal exception apparently within Xalan code on AIX

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • IBM AIX JDK5

      I was previously using 1.414 and tried upgrading to 1.428, but it didn't work.
      The jobs started failing with the following log:

      Started by user batmat
      ln -s 2011-08-30_22-46-15 /ic/.jenkins/jobs/MyJob/builds/140 failed: -1 
      Building on master
      Reverting /ic/.jenkins/jobs/MyJob/workspace/thejob
      Updating svn://svn/someurl
      At revision 158
      FATAL: org.apache.xml.serializer.ToXMLSAXHandler incompatible with org.apache.xml.serializer.SerializationHandler
      org.apache.xml.serializer.utils.WrappedRuntimeException: org.apache.xml.serializer.ToXMLSAXHandler incompatible with org.apache.xml.serializer.SerializationHandler
      	at org.apache.xml.serializer.SerializerFactory.getSerializer(SerializerFactory.java:177)
      	at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:280)
      	at org.apache.xalan.transformer.TransformerIdentityImpl.setDocumentLocator(TransformerIdentityImpl.java:901)
      	at hudson.scm.SubversionChangeLogBuilder.run(SubversionChangeLogBuilder.java:96)
      	at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:536)
      	at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:653)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
      	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443)
      	at hudson.model.Run.run(Run.java:1376)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:476)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:175)
      

      I'm gonna dive into this bug to identify more precisely when the problem appeared.
      Once I'll have identified the version where the bug appeared, I guess I'll git bisect to find what's changed. I'll keep the information into the comments of this bug report.

      Cheers

          [JENKINS-10851] Fatal exception apparently within Xalan code on AIX

          Dychotomy done. The problem appeared with 1.424.

          (For the record:
          1.414 OK
          1.415
          1.416
          1.417
          1.418
          1.419
          1.420
          1.421 OK
          1.422 KO but other symptom [? bad version anyway ?]
          1.423 OK
          1.424 KO
          1.425
          1.426
          1.427
          1.428 KO
          )

          Baptiste Mathus added a comment - Dychotomy done. The problem appeared with 1.424. (For the record: 1.414 OK 1.415 1.416 1.417 1.418 1.419 1.420 1.421 OK 1.422 KO but other symptom [? bad version anyway ?] 1.423 OK 1.424 KO 1.425 1.426 1.427 1.428 KO )

          I just finished the git bisection:

          1fd7fb2c11dd3cb46843d274fcd4aaf44f34213b is the first bad commit
          commit 1fd7fb2c11dd3cb46843d274fcd4aaf44f34213b
          Author: Kohsuke Kawaguchi <kk@kohsuke.org>
          Date:   Sat Jul 30 09:59:07 2011 -0700
          
              when tried stand-alone, I learned that those dependencies cannot be really excluded.
          
          :040000 040000 afe7deb89dae782db89ee79e36d767f348b6f1b5 e2be3a211e5a211ad0d91fee8e32095a888d4786 M      core
          

          For the record, full log:

          $ git bisect log
          git bisect start
          # good: [aa630f76c8c3e8e0ee894538e5bf262890afb862] [maven-release-plugin] prepare release jenkins-1.423
          git bisect good aa630f76c8c3e8e0ee894538e5bf262890afb862
          # bad: [cbb2e30deb846414c203a36c9b4fdf00c1193c25] [maven-release-plugin] prepare release jenkins-1.424
          git bisect bad cbb2e30deb846414c203a36c9b4fdf00c1193c25
          # good: [a70e867590f9219c86859356756f8d7e1583a3ae] Jenkins!
          git bisect good a70e867590f9219c86859356756f8d7e1583a3ae
          # good: [f9345ad9b52ce60ec378177928e81c23a596cc98] creating an RC branch
          git bisect good f9345ad9b52ce60ec378177928e81c23a596cc98
          # bad: [aca4332e55fb54314f902fcbf358ea091bb08440] bug fix
          git bisect bad aca4332e55fb54314f902fcbf358ea091bb08440
          # good: [19468588eb9c5b273596fdf881c14cd258d5dcc4] check for Oracle account and report if not found
          git bisect good 19468588eb9c5b273596fdf881c14cd258d5dcc4
          # good: [006a1d3fb32e36e3fad43765b8d5a0a657a3f66e] test the page that enters credential
          git bisect good 006a1d3fb32e36e3fad43765b8d5a0a657a3f66e
          # bad: [cbba3c88a9ce76edd47a4ab9b9e54dc9bb05e606] report progress
          git bisect bad cbba3c88a9ce76edd47a4ab9b9e54dc9bb05e606
          # bad: [1fd7fb2c11dd3cb46843d274fcd4aaf44f34213b] when tried stand-alone, I learned that those dependencies cannot be really excluded.
          git bisect bad 1fd7fb2c11dd3cb46843d274fcd4aaf44f34213b
          

          I'll try to have a look in the code this evening.

          Cheers

          Baptiste Mathus added a comment - I just finished the git bisection: 1fd7fb2c11dd3cb46843d274fcd4aaf44f34213b is the first bad commit commit 1fd7fb2c11dd3cb46843d274fcd4aaf44f34213b Author: Kohsuke Kawaguchi <kk@kohsuke.org> Date: Sat Jul 30 09:59:07 2011 -0700 when tried stand-alone, I learned that those dependencies cannot be really excluded. :040000 040000 afe7deb89dae782db89ee79e36d767f348b6f1b5 e2be3a211e5a211ad0d91fee8e32095a888d4786 M core For the record, full log: $ git bisect log git bisect start # good: [aa630f76c8c3e8e0ee894538e5bf262890afb862] [maven-release-plugin] prepare release jenkins-1.423 git bisect good aa630f76c8c3e8e0ee894538e5bf262890afb862 # bad: [cbb2e30deb846414c203a36c9b4fdf00c1193c25] [maven-release-plugin] prepare release jenkins-1.424 git bisect bad cbb2e30deb846414c203a36c9b4fdf00c1193c25 # good: [a70e867590f9219c86859356756f8d7e1583a3ae] Jenkins! git bisect good a70e867590f9219c86859356756f8d7e1583a3ae # good: [f9345ad9b52ce60ec378177928e81c23a596cc98] creating an RC branch git bisect good f9345ad9b52ce60ec378177928e81c23a596cc98 # bad: [aca4332e55fb54314f902fcbf358ea091bb08440] bug fix git bisect bad aca4332e55fb54314f902fcbf358ea091bb08440 # good: [19468588eb9c5b273596fdf881c14cd258d5dcc4] check for Oracle account and report if not found git bisect good 19468588eb9c5b273596fdf881c14cd258d5dcc4 # good: [006a1d3fb32e36e3fad43765b8d5a0a657a3f66e] test the page that enters credential git bisect good 006a1d3fb32e36e3fad43765b8d5a0a657a3f66e # bad: [cbba3c88a9ce76edd47a4ab9b9e54dc9bb05e606] report progress git bisect bad cbba3c88a9ce76edd47a4ab9b9e54dc9bb05e606 # bad: [1fd7fb2c11dd3cb46843d274fcd4aaf44f34213b] when tried stand-alone, I learned that those dependencies cannot be really excluded. git bisect bad 1fd7fb2c11dd3cb46843d274fcd4aaf44f34213b I'll try to have a look in the code this evening. Cheers

          Baptiste Mathus added a comment - For the record, the commit is this one https://github.com/jenkinsci/jenkins/commit/1fd7fb2c11dd3cb46843d274fcd4aaf44f34213b .

          Baptiste Mathus added a comment - - edited

          For the record, it also affects LTS 1.409.2.

          I have been lost in a black hole, hopefully I'll be able to provide a patch for AIX hopefully in the next days (or weeks).

          Baptiste Mathus added a comment - - edited For the record, it also affects LTS 1.409.2. I have been lost in a black hole, hopefully I'll be able to provide a patch for AIX hopefully in the next days (or weeks).

          Pull-request submitted: https://github.com/jenkinsci/jenkins/pull/256

          Cheers

          Baptiste Mathus added a comment - Pull-request submitted: https://github.com/jenkinsci/jenkins/pull/256 Cheers

          Code changed in jenkins
          User: Baptiste Mathus
          Path:
          core/pom.xml
          http://jenkins-ci.org/commit/jenkins/b817ebda907a24e4a30a7afbe0eb2d5ebbcbc3b9
          Log:
          JENKINS-10851 Reverting part of 1fd7fb2c11dd3cb46843d274fcd4aaf44 : excluding xalan because its presence makes Jenkins KO on IBM JVM.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Baptiste Mathus Path: core/pom.xml http://jenkins-ci.org/commit/jenkins/b817ebda907a24e4a30a7afbe0eb2d5ebbcbc3b9 Log: JENKINS-10851 Reverting part of 1fd7fb2c11dd3cb46843d274fcd4aaf44 : excluding xalan because its presence makes Jenkins KO on IBM JVM.

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          core/pom.xml
          http://jenkins-ci.org/commit/jenkins/968442b844863df2cee83d19f1d22af4d2a0ede2
          Log:
          Merge pull request #256 from Batmat/JENKINS-10851

          JENKINS-10851 Re-excluding Xalan as it makes Jenkins KO with IBM JVM

          Compare: https://github.com/jenkinsci/jenkins/compare/9127640...968442b

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: core/pom.xml http://jenkins-ci.org/commit/jenkins/968442b844863df2cee83d19f1d22af4d2a0ede2 Log: Merge pull request #256 from Batmat/ JENKINS-10851 JENKINS-10851 Re-excluding Xalan as it makes Jenkins KO with IBM JVM Compare: https://github.com/jenkinsci/jenkins/compare/9127640...968442b

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/02e73849dabb81b60cc2d7a97ca2fd0240aa2f74
          Log:
          changelog for JENKINS-10851

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: changelog.html http://jenkins-ci.org/commit/jenkins/02e73849dabb81b60cc2d7a97ca2fd0240aa2f74 Log: changelog for JENKINS-10851

          dogfood added a comment -

          dogfood added a comment - Integrated in jenkins_main_trunk #1149

          Jim McCaskey added a comment -

          I think the fix for this caused JENKINS-11420

          Jim McCaskey added a comment - I think the fix for this caused JENKINS-11420

            batmat Baptiste Mathus
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: