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

69 views
Skip to first unread message

m13821223569@163.com (JIRA)

unread,
Nov 5, 2019, 10:30:03 PM11/5/19
to jenkinsc...@googlegroups.com
tangruoqi tangruoqi created an issue
 
Jenkins / Bug JENKINS-60069
(JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
Issue Type: Bug Bug
Assignee: Unassigned
Components: durable-task-plugin
Created: 2019-11-06 03:29
Labels: plugin pipeline jenkins durability
Priority: Blocker Blocker
Reporter: tangruoqi tangruoqi

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)
 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

cchiou@cloudbees.com (JIRA)

unread,
Nov 6, 2019, 6:01:02 PM11/6/19
to jenkinsc...@googlegroups.com
Carroll Chiou commented on Bug JENKINS-60069
 
Re: (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)

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

m13821223569@163.com (JIRA)

unread,
Nov 6, 2019, 8:55:02 PM11/6/19
to jenkinsc...@googlegroups.com

m13821223569@163.com (JIRA)

unread,
Nov 6, 2019, 8:58:03 PM11/6/19
to jenkinsc...@googlegroups.com

cchiou@cloudbees.com (JIRA)

unread,
Nov 7, 2019, 2:24:03 AM11/7/19
to jenkinsc...@googlegroups.com

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.

m13821223569@163.com (JIRA)

unread,
Nov 7, 2019, 6:57:04 AM11/7/19
to jenkinsc...@googlegroups.com

I have tried your suggestion of passing in the property -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true?

m13821223569@163.com (JIRA)

unread,
Nov 7, 2019, 6:57:04 AM11/7/19
to jenkinsc...@googlegroups.com
tangruoqi tangruoqi updated an issue
Change By: tangruoqi tangruoqi
Comment:
I have tried your suggestion of passing in the property -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_BINARY_WRAPPER=true?

m13821223569@163.com (JIRA)

unread,
Nov 7, 2019, 7:01:03 AM11/7/19
to jenkinsc...@googlegroups.com
 
Re: (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)

think you your suggestion,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

m13821223569@163.com (JIRA)

unread,
Nov 7, 2019, 7:01:03 AM11/7/19
to jenkinsc...@googlegroups.com
tangruoqi tangruoqi edited a comment on Bug JENKINS-60069
think you your suggestion, 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

m13821223569@163.com (JIRA)

unread,
Nov 11, 2019, 9:42:05 PM11/11/19
to jenkinsc...@googlegroups.com

m13821223569@163.com (JIRA)

unread,
Nov 11, 2019, 9:44:03 PM11/11/19
to jenkinsc...@googlegroups.com
tangruoqi tangruoqi commented on Bug JENKINS-60069
 
Re: (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)

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=""

m13821223569@163.com (JIRA)

unread,
Nov 11, 2019, 9:45:02 PM11/11/19
to jenkinsc...@googlegroups.com
tangruoqi tangruoqi edited a comment on Bug JENKINS-60069
!image-2019-11-12-10- 40 43 - 25 46 - 089 013 .png!

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=""

m13821223569@163.com (JIRA)

unread,
Nov 11, 2019, 9:47:02 PM11/11/19
to jenkinsc...@googlegroups.com

m13821223569@163.com (JIRA)

unread,
Nov 11, 2019, 9:47:02 PM11/11/19
to jenkinsc...@googlegroups.com
tangruoqi tangruoqi assigned an issue to Unassigned

m13821223569@163.com (JIRA)

unread,
Nov 12, 2019, 1:20:03 AM11/12/19
to jenkinsc...@googlegroups.com

dnusbaum@cloudbees.com (JIRA)

unread,
Nov 13, 2019, 12:20:03 PM11/13/19
to jenkinsc...@googlegroups.com
Devin Nusbaum commented on Bug JENKINS-60069
 
Re: (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)

Please send an email to the jenkinsci-users mailing list for a general investigation like this. In your email, please add details about whether this was working for you previously, and if so, with what version of the plugin and Jenkins, what version of Jenkins you are running, what OS you are using on the Jenkins master and the agent being used by the shell step, how the agent is configured, what you have tried (did you attempt to change HEARTBEAT_CHECK_INTERVAL as suggested by the error message?), whether the Jenkinsfile has changed recently, etc.

In the future, please include log output via a site like Gist or Pastebin, or attached as text files here, not screenshots, so that we can search them.

I am going to close this issue for now, if it looks like there is a bug after you provide more info on the mailing list, we can reopen the ticket, so please do not open another ticket for your issue.

dnusbaum@cloudbees.com (JIRA)

unread,
Nov 13, 2019, 12:20:03 PM11/13/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages