• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core

      Hello all.

      I have a problem when I use Jenkins to call Trace32 software. Sometime, Jenkins cannot launch the Trace32 software and he is suspended. I have to click button to stop job. Then I see in the console the error message:

      "Executing debugger... ERROR: Build step failed with exceptionExecuting debugger... ERROR: Build step failed with exceptionorg.jvnet.winp.WinpException: Process with pid=12108 is not a 32bit process (or it is not running). Cannot query it from a 32bit library error=268435458 at envvar-cmdline.cpp:183 at org.jvnet.winp.Native.getCmdLine(Native Method) at org.jvnet.winp.WinProcess.parseCmdLine(WinProcess.java:132) at org.jvnet.winp.WinProcess.getCommandLine(WinProcess.java:107) at hudson.util.ProcessTree$WindowsOSProcess.getArguments(ProcessTree.java:522) at hudson.plugins.msbuild.MsBuildKillingVeto.vetoProcessKilling(MsBuildKillingVeto.java:56) at hudson.util.ProcessTree$OSProcess$CheckVetoes.call(ProcessTree.java:337) at hudson.util.ProcessTree$OSProcess$CheckVetoes.call(ProcessTree.java:327) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.util.ProcessTree$OSProcess.getVeto(ProcessTree.java:263) at hudson.util.ProcessTree$WindowsOSProcess.killRecursively(ProcessTree.java:500) at hudson.util.ProcessTree.killAll(ProcessTree.java:157) at hudson.Proc$LocalProc.destroy(Proc.java:384) at hudson.Proc$LocalProc.join(Proc.java:357) at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:155) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:109) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) 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:1815) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)Build step 'Execute shell' marked build as failure"

       

      I see that the error code: 268435458. But I cannot figure out anything about it from google. Could you help me to find the root cause and solution for it.

          [JENKINS-52865] Jenkins has error code 268435458.

          Nam Khuc created issue -

          Oleg Nenashev added a comment -

          Most likely you are running with 32-bit JVM on a 64-bit operating system. Please verify that.

          Oleg Nenashev added a comment - Most likely you are running with 32-bit JVM on a 64-bit operating system. Please verify that.
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Labels New: winp

          Nam Khuc added a comment -

          My computer is windows10 64bit and my Jenkins is 32 bit version. My Trace32 software is 64-bit also. Maybe it is root cause?

          Nam Khuc added a comment - My computer is windows10 64bit and my Jenkins is 32 bit version. My Trace32 software is 64-bit also. Maybe it is root cause?

          Nam Khuc added a comment -

          I had checked my Java, it is 64 bit version. Maybe I need to install Jenkins 64bit version?

          Nam Khuc added a comment - I had checked my Java, it is 64 bit version. Maybe I need to install Jenkins 64bit version?

          Oleg Nenashev added a comment -

          Yes, this is the root cause: https://github.com/kohsuke/winp#platform-support

          On 64-bit machines you should be running with 64-bit Java. The main problem is that we offer only the 32-bit package in jenkins.io/download, so it is not quite uncommon. I have created JENKINS-52868 so that we have a tracking issue for packaging

          So a resolution for you will be to update Java to 64bit.

          Oleg Nenashev added a comment - Yes, this is the root cause: https://github.com/kohsuke/winp#platform-support On 64-bit machines you should be running with 64-bit Java. The main problem is that we offer only the 32-bit package in jenkins.io/download, so it is not quite uncommon. I have created JENKINS-52868 so that we have a tracking issue for packaging So a resolution for you will be to update Java to 64bit.
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-52868 [ JENKINS-52868 ]

          Nam Khuc added a comment - - edited

          Oh,I had checked my Java and it is 64 bit version (because Java is installed into "Program Files" folder). But my Jenkins is 32 bit version (because Jenkins is installed into "Program Files (x86)" folder). 

          So the solution that, I should update Jenkins to 64 bit version, right? (Because, I saw that, you said ".... update Java to 64bit.").

          Nam Khuc added a comment - - edited Oh,I had checked my Java and it is 64 bit version (because Java is installed into "Program Files" folder). But my Jenkins is 32 bit version (because Jenkins is installed into "Program Files (x86)" folder).  So the solution that, I should update Jenkins to 64 bit version, right? (Because, I saw that, you said ".... update Java to 64bit.").

          Oleg Nenashev added a comment -

          Jenkins itself is a Java application, which supports both 32 and 64 bits. Please check jenkins.xml in the Root, most likely it references the Java version embedded in the Jenkins package.

           

          Oleg Nenashev added a comment - Jenkins itself is a Java application, which supports both 32 and 64 bits. Please check jenkins.xml in the Root, most likely it references the Java version embedded in the Jenkins package.  

            Unassigned Unassigned
            namkd Nam Khuc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: