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

Issue with IBM z/OS Connector plugin

XMLWordPrintable

      Hi,

       We have a CloudBees Jenkins Enterprise. We have installed the version 1.2.4.1 of the IBM z/OS Connector plugin. One of the development team has reported an issue using this connector.

        When a job with the step Submit zOS Job added, if the job doesn't have enabled Wait for the completion the build finishes with the following message:

      Job [JXXXXXX] processing failed. Reason: [].

         With Wait for the completion enabled the build fails with the Java error.

      Submitted job [JXXXXXX]
      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at org.jenkinsci.plugins.IBM_zOS_Connector.ZFTPConnector.checkJobAvailability(ZFTPConnector.java:359)
      at org.jenkinsci.plugins.IBM_zOS_Connector.ZFTPConnector.waitForCompletion(ZFTPConnector.java:329)
      at org.jenkinsci.plugins.IBM_zOS_Connector.ZFTPConnector.submit(ZFTPConnector.java:286)
      at org.jenkinsci.plugins.IBM_zOS_Connector.ZFTPConnector.submit(ZFTPConnector.java:223)
      at org.jenkinsci.plugins.IBM_zOS_Connector.ZOSJobSubmitter.perform(ZOSJobSubmitter.java:169)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      at hudson.model.Build$BuildExecution.build(Build.java:206)
      at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      at hudson.model.Run.execute(Run.java:1880)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:428)

       

          I have investigated the issue in our Staging environment of Jenkins. I have upgraded the plugin to different versions with the following results:

      • Version 1.2.6 -  Without enabling Wait for the completion the build finishes with the following message:

                Job *[**JXXXXXX**] processing failed. Reason: []*

                 With Wait for the completion enabled the build fails with the Java error.

      • Version 2.3.1 -  Without enabling Wait for the completion the build finishes with the following message:

                **          Job [**JXXXXXX**] processing finished. Skip waiting.

                With Wait for the completion enabled the build fails with the Java error.

      • Version 2.3.1 -  The last version of the plugin. Without enabling Wait for the completion the build finishes with the following message:

                Job [**JXXXXXX**] processing finished. Skip waiting.

                  With Wait for the completion enabled the Java error doesn't appears. build fails with the Java error. But the build does not finish successfully. The following messages start to appear:

      FTP: connected to mvsprod.asg.com:21
      ERROR: failed to list available jobs
      FTP: connected to mvsprod.asg.com:21
      FTP: connected to mvsprod.asg.com:21
      ERROR: failed to list available jobs
      FTP: connected to mvsprod.asg.com:21
      FTP: connected to mvsprod.asg.com:21
      ERROR: failed to list available jobs

      Testing I have tried differents configuration in the step Submit zOS Job.

       

      Do you know what the reason for this behavior may be?

      If you need more information, please ask me.

       

            candiduslynx Alexander Shcherbakov
            cvigil Carlos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: