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

Build.xml is disappearing or not creating for failed builds

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • core

      Hi, I am using Jenkins 2.387.2 LTS version. I encountered my builds are disappearing for some jobs, when I login to the Jenkins server(Ubuntu), I don't see build.xml exist  for the disappeared build,(this build is running on Windows) but I still see the log. When I look into the logs I see the build is failed with connection issue to the Jenkins master. But in the previous versions of Jenkins I don’t see this missing builds.

       

      Build Failed Reason: (disconnected from Jenkins master)
      FATAL: command execution failed
      java.nio.channels.ClosedChannelException
              at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:241)
              at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:221)
              at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:825)
              at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:289)
              at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:177)
              at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:279)
              at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:501)
              at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:244)
              at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:196)
              at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend(SSLEngineFilterLayer.java:209)
              at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:793)
              at org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:172)
              at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:343)
              at hudson.remoting.Channel.close(Channel.java:1494)
              at hudson.remoting.Channel.close(Channel.java:1447)
              at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:940)
              at hudson.slaves.SlaveComputer.kill(SlaveComputer.java:906)
              at hudson.model.AbstractCIBase.killComputer(AbstractCIBase.java:97)
              at jenkins.model.Jenkins.lambda$_cleanUpDisconnectComputers$11(Jenkins.java:3727)
              at hudson.model.Queue._withLock(Queue.java:1395)
              at hudson.model.Queue.withLock(Queue.java:1269)
              at jenkins.model.Jenkins._cleanUpDisconnectComputers(Jenkins.java:3723)
              at jenkins.model.Jenkins.cleanUp(Jenkins.java:3604)
              at hudson.WebAppMain.contextDestroyed(WebAppMain.java:374)
              at org.eclipse.jetty.server.handler.ContextHandler.callContextDestroyed(ContextHandler.java:1058)
              at org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:636)
              at org.eclipse.jetty.server.handler.ContextHandler.contextDestroyed(ContextHandler.java:1015)
              at org.eclipse.jetty.servlet.ServletHandler.doStop(ServletHandler.java:306)

          [JENKINS-71165] Build.xml is disappearing or not creating for failed builds

          heiden added a comment -

          Concerns are undoubtedly raised by the removal of builds and the lack of build.xml files, particularly when paired with the connection problems you mentioned. This might have to do with certain modifications made to the most recent version or a possible incompatibility issue between the Jenkins master and your Windows build agent. https://retrobowlonline.co/

          heiden added a comment - Concerns are undoubtedly raised by the removal of builds and the lack of build.xml files, particularly when paired with the connection problems you mentioned. This might have to do with certain modifications made to the most recent version or a possible incompatibility issue between the Jenkins master and your Windows build agent. https://retrobowlonline.co/

            naveenboni Naveen Boni
            nithink Nithin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: