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

(JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)

      this problem was resloved in durable-task-plugin v1.26,however it doesn't work in durable-task-plugin v1.33,help me please

       

       
      wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/craasci_sprint-0.8.0@tmp/durable-488985a1
      (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
       

       

          [JENKINS-60069] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)

          tangruoqi tangruoqi created issue -

          Carroll Chiou added a comment -

          There's not much here in this ticket to go by. Can you post the Jenkinsfile?
          If you are on an x86 machine that is running *NIX, you can try passing in the property -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true

          Carroll Chiou added a comment - There's not much here in this ticket to go by. Can you post the Jenkinsfile? If you are on an x86 machine that is running *NIX, you can try passing in the property -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true
          tangruoqi tangruoqi made changes -
          Attachment New: Jenkinsfile.txt [ 49413 ]

          I have upload  my Jenkinsfile,it was worked fine

          tangruoqi tangruoqi added a comment - I have upload  my Jenkinsfile,it was worked fine

          Carroll Chiou added a comment -

          Apologies, I also meant to ask if you could post of the error you are seeing when you run your pipeline.

          If you are on an x86 machine that is running *NIX, have you tried my earlier suggestion of passing in the property -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true?
          That might handle the laggy filesystem better because the binary does not poll the log file.

          I would also be curious to know if durable-task 1.30 exhibits the same problem for you.

          Carroll Chiou added a comment - Apologies, I also meant to ask if you could post of the error you are seeing when you run your pipeline. If you are on an x86 machine that is running *NIX, have you tried my earlier suggestion of passing in the property -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true? That might handle the laggy filesystem better because the binary does not poll the log file. I would also be curious to know if durable-task 1.30 exhibits the same problem for you.
          tangruoqi tangruoqi made changes -
          Comment [ I have tried your suggestion of passing in the property -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true? ]

          tangruoqi tangruoqi added a comment - - edited

          I have  tried your  suggestion of passing in the property -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true,however it was skipped my script in my Jenkinsfile,so it wasn't resloved this problem

          tangruoqi tangruoqi added a comment - - edited I have  tried your  suggestion of passing in the property -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true,however it was skipped my script in my Jenkinsfile,so it wasn't resloved this problem
          tangruoqi tangruoqi made changes -
          Attachment New: image-2019-11-12-10-40-25-089.png [ 49450 ]

          tangruoqi tangruoqi added a comment - - edited

          my jnkins config:

            1. Path: Development/Jenkins
            2. Description: Jenkins Automation Server
            3. Type: string
            4. Default: "/var/lib/jenkins"
            5. ServiceRestart: jenkins
              #
          1. Directory where Jenkins store its configuration and working
          2. files (checkouts, build reports, artifacts, ...).
            #
            JENKINS_HOME="/var/lib/jenkins"
            1. Type: string
            2. Default: ""
            3. ServiceRestart: jenkins
              #
          1. Java executable to run Jenkins
          2. When left empty, we'll try to find the suitable Java.
            #
            JENKINS_JAVA_CMD=""
            1. Type: string
            2. Default: "jenkins"
            3. ServiceRestart: jenkins
              #
          1. Unix user account that runs the Jenkins daemon
          2. Be careful when you change this, as you need to update
          3. permissions of $JENKINS_HOME and /var/log/jenkins.
            #
            JENKINS_USER="root"
            1. Type: string
            2. Default: "false"
            3. ServiceRestart: jenkins
              #
          1. Whether to skip potentially long-running chown at the
          2. $JENKINS_HOME location. Do not enable this, "true", unless
          3. you know what you're doing. See JENKINS-23273.
            #
            #JENKINS_INSTALL_SKIP_CHOWN="false"
            1. Type: string
            2. Default: "-Djava.awt.headless=true"
            3. ServiceRestart: jenkins
              #
          1. Options to pass to java when running Jenkins.
            #
            JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true"
            #JENKINS_JAVA_OPTIONS="-Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true"
            #JENKINS_JAVA_OPTIONS=""
            1. Type: integer(0:65535)
            2. Default: 8080
            3. ServiceRestart: jenkins
              #
          2. Port Jenkins is listening on.
          3. Set to -1 to disable
            #
            JENKINS_PORT="8080"
            1. Type: string
            2. Default: ""
            3. ServiceRestart: jenkins
              #
          1. IP address Jenkins listens on for HTTP requests.
          2. Default is all interfaces (0.0.0.0).
            #
            JENKINS_LISTEN_ADDRESS=""
            1. Type: integer(0:65535)
            2. Default: ""
            3. ServiceRestart: jenkins
              #
          1. HTTPS port Jenkins is listening on.
          2. Default is disabled.
            #
            JENKINS_HTTPS_PORT=""
            1. Type: string
            2. Default: ""
            3. ServiceRestart: jenkins
              #
          1. Path to the keystore in JKS format (as created by the JDK 'keytool').
          2. Default is disabled.
            #
            JENKINS_HTTPS_KEYSTORE=""
            1. Type: string
            2. Default: ""
            3. ServiceRestart: jenkins
              #
          1. Password to access the keystore defined in JENKINS_HTTPS_KEYSTORE.
          2. Default is disabled.
            #
            JENKINS_HTTPS_KEYSTORE_PASSWORD=""
            1. Type: string
            2. Default: ""
            3. ServiceRestart: jenkins
              #
          1. IP address Jenkins listens on for HTTPS requests.
          2. Default is disabled.
            #
            JENKINS_HTTPS_LISTEN_ADDRESS=""
            1. Type: integer(0:65535)
            2. Default: ""
            3. ServiceRestart: jenkins
              #
          1. HTTP2 port Jenkins is listening on.
          2. Default is disabled.
            #
          3. Notice: HTTP2 support may require additional configuration, see Winstone
          4. documentation for more information.
            #
            JENKINS_HTTP2_PORT=""
            1. Type: string
            2. Default: ""
            3. ServiceRestart: jenkins
              #
          1. IP address Jenkins listens on for HTTP2 requests.
          2. Default is disabled.
            #
          3. Notice: HTTP2 support may require additional configuration, see Winstone
          4. documentation for more information.
            #
            JENKINS_HTTP2_LISTEN_ADDRESS=""
            1. Type: integer(1:9)
            2. Default: 5
            3. ServiceRestart: jenkins
              #
          1. Debug level for logs – the higher the value, the more verbose.
          2. 5 is INFO.
            #
            JENKINS_DEBUG_LEVEL="5"
            1. Type: yesno
            2. Default: no
            3. ServiceRestart: jenkins
              #
          1. Whether to enable access logging or not.
            #
            JENKINS_ENABLE_ACCESS_LOG="no"
            1. Type: integer
            2. Default: 100
            3. ServiceRestart: jenkins
              #
          1. Maximum number of HTTP worker threads.
            #
            JENKINS_HANDLER_MAX="100"
            1. Type: integer
            2. Default: 20
            3. ServiceRestart: jenkins
              #
          1. Maximum number of idle HTTP worker threads.
            #
            JENKINS_HANDLER_IDLE="20"
            1. Type: string
            2. Default: ""
            3. ServiceRestart: jenkins
              #
          1. Folder for additional jar files to add to the Jetty class loader.
          2. See Winstone documentation for more information.
          3. Default is disabled.
            #
            JENKINS_EXTRA_LIB_FOLDER=""
            1. Type: string
            2. Default: ""
            3. ServiceRestart: jenkins
              #
          1. Pass arbitrary arguments to Jenkins.
          2. Full option list: java -jar jenkins.war --help
            #
            JENKINS_ARGS=""

          tangruoqi tangruoqi added a comment - - edited my jnkins config: Path: Development/Jenkins Description: Jenkins Automation Server Type: string Default: "/var/lib/jenkins" ServiceRestart: jenkins # Directory where Jenkins store its configuration and working files (checkouts, build reports, artifacts, ...). # JENKINS_HOME="/var/lib/jenkins" Type: string Default: "" ServiceRestart: jenkins # Java executable to run Jenkins When left empty, we'll try to find the suitable Java. # JENKINS_JAVA_CMD="" Type: string Default: "jenkins" ServiceRestart: jenkins # Unix user account that runs the Jenkins daemon Be careful when you change this, as you need to update permissions of $JENKINS_HOME and /var/log/jenkins. # JENKINS_USER="root" Type: string Default: "false" ServiceRestart: jenkins # Whether to skip potentially long-running chown at the $JENKINS_HOME location. Do not enable this, "true", unless you know what you're doing. See JENKINS-23273 . # #JENKINS_INSTALL_SKIP_CHOWN="false" Type: string Default: "-Djava.awt.headless=true" ServiceRestart: jenkins # Options to pass to java when running Jenkins. # JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true" #JENKINS_JAVA_OPTIONS="-Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true" #JENKINS_JAVA_OPTIONS="" Type: integer(0:65535) Default: 8080 ServiceRestart: jenkins # Port Jenkins is listening on. Set to -1 to disable # JENKINS_PORT="8080" Type: string Default: "" ServiceRestart: jenkins # IP address Jenkins listens on for HTTP requests. Default is all interfaces (0.0.0.0). # JENKINS_LISTEN_ADDRESS="" Type: integer(0:65535) Default: "" ServiceRestart: jenkins # HTTPS port Jenkins is listening on. Default is disabled. # JENKINS_HTTPS_PORT="" Type: string Default: "" ServiceRestart: jenkins # Path to the keystore in JKS format (as created by the JDK 'keytool'). Default is disabled. # JENKINS_HTTPS_KEYSTORE="" Type: string Default: "" ServiceRestart: jenkins # Password to access the keystore defined in JENKINS_HTTPS_KEYSTORE. Default is disabled. # JENKINS_HTTPS_KEYSTORE_PASSWORD="" Type: string Default: "" ServiceRestart: jenkins # IP address Jenkins listens on for HTTPS requests. Default is disabled. # JENKINS_HTTPS_LISTEN_ADDRESS="" Type: integer(0:65535) Default: "" ServiceRestart: jenkins # HTTP2 port Jenkins is listening on. Default is disabled. # Notice: HTTP2 support may require additional configuration, see Winstone documentation for more information. # JENKINS_HTTP2_PORT="" Type: string Default: "" ServiceRestart: jenkins # IP address Jenkins listens on for HTTP2 requests. Default is disabled. # Notice: HTTP2 support may require additional configuration, see Winstone documentation for more information. # JENKINS_HTTP2_LISTEN_ADDRESS="" Type: integer(1:9) Default: 5 ServiceRestart: jenkins # Debug level for logs – the higher the value, the more verbose. 5 is INFO. # JENKINS_DEBUG_LEVEL="5" Type: yesno Default: no ServiceRestart: jenkins # Whether to enable access logging or not. # JENKINS_ENABLE_ACCESS_LOG="no" Type: integer Default: 100 ServiceRestart: jenkins # Maximum number of HTTP worker threads. # JENKINS_HANDLER_MAX="100" Type: integer Default: 20 ServiceRestart: jenkins # Maximum number of idle HTTP worker threads. # JENKINS_HANDLER_IDLE="20" Type: string Default: "" ServiceRestart: jenkins # Folder for additional jar files to add to the Jetty class loader. See Winstone documentation for more information. Default is disabled. # JENKINS_EXTRA_LIB_FOLDER="" Type: string Default: "" ServiceRestart: jenkins # Pass arbitrary arguments to Jenkins. Full option list: java -jar jenkins.war --help # JENKINS_ARGS=""
          tangruoqi tangruoqi made changes -
          Attachment New: image-2019-11-12-10-43-46-013.png [ 49451 ]

            Unassigned Unassigned
            tangruoqi tangruoqi tangruoqi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: