Skip to content

[JENKINS-51136] Jenkins UI hangs 2.117 - 2.119 #22726

Closed

Description

@jenkins-infra-bot

Versions 2.117 to 2.119 of Jenkins hangs when the root context is requested on Solaris 10. The UI hangs indefinitely and never returns. Nothing is reported in the logs that there is an issue. If upgrading a previous installation jobs will continue to run in the back ground normally, however this issue happens on a clean install.

To reproduce download the generic WAR file of versions 2.117, 2.118, or 2.119, which is the latest as of this time. Run the jenkins.war file on Solaris 10. Once it is reported that Jenkins is fully up and running try and get to the home page. The page should hang with no response.

This prevents Jenkins from being usable on the Solaris. Please let me know if I can provide anything else.

 

 


Originally reported by laughingdev, imported from: Jenkins UI hangs 2.117 - 2.119
  • assignee: olamy
  • status: Closed
  • priority: Blocker
  • component(s): core, winstone-jetty
  • label(s): hanging, jetty, regression, ui, winstone-5.0
  • resolution: Fixed
  • resolved: 2018-08-29T21:26:52+00:00
  • votes: 0
  • watchers: 5
  • imported: 2025-11-24
Raw content of original issue

Versions 2.117 to 2.119 of Jenkins hangs when the root context is requested on Solaris 10. The UI hangs indefinitely and never returns. Nothing is reported in the logs that there is an issue. If upgrading a previous installation jobs will continue to run in the back ground normally, however this issue happens on a clean install.

To reproduce download the generic WAR file of versions 2.117, 2.118, or 2.119, which is the latest as of this time. Run the jenkins.war file on Solaris 10. Once it is reported that Jenkins is fully up and running try and get to the home page. The page should hang with no response.

This prevents Jenkins from being usable on the Solaris. Please let me know if I can provide anything else.

 

 

environment
OS: Solaris 10 Sparc<br/>
Java: Tried both jdk1.8.0_162 and jdk1.8.0_172<br/>
Browser: FireFox 59, Chrome 66, and curl<br/>
6 attachments

Activity

  1. jenkins-infra-bot commented on May 4, 2018

    @jenkins-infra-bot
    Author
    oleg_nenashev:

    laughingdev Running Jenkins on Solaris may be a problem for core maintainers. Are there any system logs? Please also enable stapler tracing and provide the report for newly opened pages. https://wiki.jenkins.io/display/JENKINS/Figuring+out+URL+binding+of+Stapler

  2. jenkins-infra-bot commented on May 4, 2018

    @jenkins-infra-bot
    Author
    oleg_nenashev:

    BTW, I would bet that it is caused by Jetty upgrade in 2.117. https://jenkins.io/changelog/#v2.117
    FYI olamy

  3. jenkins-infra-bot commented on May 4, 2018

    @jenkins-infra-bot
    Author
    oleg_nenashev:
    • Original comment link
    • Raw content of original comment:

      Just to make sure, does it happen on versions before 2.117?

    Just to make sure, does it happen on versions before 2.117?

  4. jenkins-infra-bot commented on May 5, 2018

    @jenkins-infra-bot
    Author
    olamy:
    • Original comment link
    • Raw content of original comment:

      could help to have a threaddump collected or logs when the server hangs.

    could help to have a threaddump collected or logs when the server hangs.

  5. jenkins-infra-bot commented on May 10, 2018

    @jenkins-infra-bot
    Author
    laughingdev:
    • Original comment link
    • Raw content of original comment:

      The Jenkins log and thread dump are attached. It does not happen on versions before 2.117. 2.116 is working fine for right now. I could not get the response headers for the stapler tracing as no response is ever returned to the browser.

      I appreciate the help.

    The Jenkins log and thread dump are attached. It does not happen on versions before 2.117. 2.116 is working fine for right now. I could not get the response headers for the stapler tracing as no response is ever returned to the browser.

    I appreciate the help.

  6. jenkins-infra-bot commented on Aug 10, 2018

    @jenkins-infra-bot
    Author
    mikescholze:

    Like I wrote here: https://issues.jenkins-ci.org/browse/JENKINS-33412

    Our docker hosts have 80 cores, with version 2.117 we could not reach jenkins via http, 2.116 works fine. On my local test system with 4 cores everything works fine.

    Maybe thats the reason:
    --> Update Winstone from 4.1.2 to 4.2 to update Jetty from 9.4.5 to 9.4.8 for various bugfixes and improvements. (full changelog, Jetty 9.4.6 changelog, Jetty 9.4.7 changelog, Jetty 9.4.8 changelog)

  7. jenkins-infra-bot commented on Aug 16, 2018

    @jenkins-infra-bot
    Author
    mikescholze:
    • Original comment link
    • Raw content of original comment:

      comment removed, sorry olamy

    comment removed, sorry olamy

  8. jenkins-infra-bot commented on Aug 16, 2018

    @jenkins-infra-bot
    Author
    olamy:
    • Original comment link
    • Raw content of original comment:

      can you try with 2.128?

      Please mikescholze do not hijack issues. here the issue might be related to solaris which is a different case from yours.

    can you try with 2.128?

    Please mikescholze do not hijack issues. here the issue might be related to solaris which is a different case from yours.

  9. jenkins-infra-bot commented on Aug 16, 2018

    @jenkins-infra-bot
    Author
    marco_jacob:
    • Original comment link
    • Raw content of original comment:

      I have the same problem on Solaris 11 when switching from 2.107.3 to 2.121.3 today. I will give 2.128 a try.

       

    I have the same problem on Solaris 11 when switching from 2.107.3 to 2.121.3 today.
    I will give 2.128 a try.

     

  10. jenkins-infra-bot commented on Aug 16, 2018

    @jenkins-infra-bot
    Author
    marco_jacob:

    Not working wih 2.128

    Jenkins-2.128.startup.log

  11. jenkins-infra-bot commented on Aug 16, 2018

    @jenkins-infra-bot
    Author
    marco_jacob:
    • Original comment link
    • Raw content of original comment:

      Is there a chance to change winston to version from 2.107.3 in ear? I just put the old winston.jar in the new EAR but that doesn't work.

    Is there a chance to change winston to version from 2.107.3 in ear? I just put the old winston.jar in the new EAR but that doesn't work.

  12. jenkins-infra-bot commented on Aug 17, 2018

    @jenkins-infra-bot
    Author
    olamy:
    • Original comment link
    • Raw content of original comment:

      marco_jacob thanks for the logs but this doesn't really help as there is no failure neither block in this logs.

      I need a threaddump when Jenkins UI hangs. Please use jstack for that.

      What OS are you using? I see you're using jdk 1.8.0_121-b13. Can you upgrade to recent one?

      Furthermore I need some jetty debug logs.

      You can have those using the following procedures:

      Create a file called jul.properties with the following content:

      handlers=java.util.logging.ConsoleHandler
      .level=INFO
      org.eclipse.jetty.level=ALL
      java.util.logging.ConsoleHandler.level=FINEST
       

      Then start jenkins with the sys prop:

      -Djava.util.logging.config.file=jul.properties 

    marco_jacob thanks for the logs but this doesn't really help as there is no failure neither block in this logs.

    I need a threaddump when Jenkins UI hangs. Please use jstack for that.

    What OS are you using? I see you're using jdk 1.8.0_121-b13. Can you upgrade to recent one?

    Furthermore I need some jetty debug logs.

    You can have those using the following procedures:

    Create a file called jul.properties with the following content:

    handlers=java.util.logging.ConsoleHandler
    .level=INFO
    org.eclipse.jetty.level=ALL
    java.util.logging.ConsoleHandler.level=FINEST
     

    Then start jenkins with the sys prop:

    -Djava.util.logging.config.file=jul.properties 
  13. jenkins-infra-bot commented on Aug 17, 2018

    @jenkins-infra-bot
    Author
    marco_jacob:
    • Original comment link
    • Raw content of original comment:

      Current OS is Solaris 11:

      > uname -a SunOS AP4S201 5.11 11.3 sun4v sparc sun4v

      Logfile with other log level and Thread Dump

      jenkins-2.121.3_2018-08-17.log

    Current OS is Solaris 11:

    > uname -a
    SunOS AP4S201 5.11 11.3 sun4v sparc sun4v

    Logfile with other log level and Thread Dump

    jenkins-2.121.3_2018-08-17.log

  14. jenkins-infra-bot commented on Aug 17, 2018

    @jenkins-infra-bot
    Author
    olamy:
    • Original comment link
    • Raw content of original comment:

      marco_jacob  how do you start Jenkins? do you use special options to start your jvm?

      it looks you're using 1.8.0_121, can you try upgrading?

      80 GC threads is really high!

      are those logs generated with 2.128 or 2.138?

      because I can read

      Running from: /data/apps/jenkins/app/jenkins-2.121.3.war 

       

    marco_jacob  how do you start Jenkins? do you use special options to start your jvm?

    it looks you're using 1.8.0_121, can you try upgrading?

    80 GC threads is really high!

    are those logs generated with 2.128 or 2.138?

    because I can read

    Running from: /data/apps/jenkins/app/jenkins-2.121.3.war 

     

  15. jenkins-infra-bot commented on Aug 17, 2018

    @jenkins-infra-bot
    Author
    marco_jacob:
    • Original comment link
    • Raw content of original comment:

      We use LTS version and so I used 2.121.3.

      Start script:

      #!/bin/bash export LC_ALL="de_DE.ISO8859-15" export LANG="de_DE.ISO8859-15" export DTRACE_DOF_INIT_DISABLE=1 export JAVA_HOME=/data/apps/java/jdk1.8 # Parameter fuer Content Security Policy - siehe SEU-343 export JENKINS_ADD_OPTION_1="-Dhudson.model.DirectoryBrowserSupport.CSP=\"default-src 'none'; img-src 'self'; style-src 'self' 'unsafe-inline'; child-src 'self'; frame-src 'self';\"" export JENKINS_JAVA_OPTIONS="-d64 -Djava.awt.headless=true -Xms4096m -Xmx4096m" export JENKINS_HOME=/data/apps/jenkins-home ulimit -n 4096 nohup $JAVA_HOME/bin/java $JENKINS_JAVA_OPTIONS "$JENKINS_ADD_OPTION_1" -jar /data/apps/jenkins/app/jenkins-2.107.3.war --prefix=/ci > $JENKINS_HOME/jenkins.log 2>&1

    We use LTS version and so I used 2.121.3.

    Start script:

    #!/bin/bash
    export LC_ALL="de_DE.ISO8859-15"
    export LANG="de_DE.ISO8859-15"
    export DTRACE_DOF_INIT_DISABLE=1
    export JAVA_HOME=/data/apps/java/jdk1.8
    # Parameter fuer Content Security Policy - siehe SEU-343
    export JENKINS_ADD_OPTION_1="-Dhudson.model.DirectoryBrowserSupport.CSP=\"default-src 'none'; img-src 'self'; style-src 'self' 'unsafe-inline'; child-src 'self'; frame-src 'self';\""
    export JENKINS_JAVA_OPTIONS="-d64 -Djava.awt.headless=true -Xms4096m -Xmx4096m"
    export JENKINS_HOME=/data/apps/jenkins-home
    ulimit -n 4096
    nohup $JAVA_HOME/bin/java $JENKINS_JAVA_OPTIONS "$JENKINS_ADD_OPTION_1" -jar /data/apps/jenkins/app/jenkins-2.107.3.war --prefix=/ci > $JENKINS_HOME/jenkins.log 2>&1

  16. 7 remaining items

  17. jenkins-infra-bot commented on Aug 27, 2018

    @jenkins-infra-bot
    Author
    marco_jacob:
    • Original comment link
    • Raw content of original comment:

      Back from weekend. I will try it out now.

    Back from weekend. I will try it out now.

  18. jenkins-infra-bot commented on Aug 27, 2018

    @jenkins-infra-bot
    Author
    marco_jacob:
    • Original comment link
    • Raw content of original comment:

      Success! It works! Jenkins 2.139 up and running.

    Success! It works! Jenkins 2.139 up and running.

  19. jenkins-infra-bot commented on Aug 28, 2018

    @jenkins-infra-bot
    Author
    olamy:

    Good to hear feel free to vote/comment for JENKINS-53239 or jenkinsci/winstone#54

  20. jenkins-infra-bot commented on Aug 29, 2018

    @jenkins-infra-bot
    Author
    olamy:

    jenkinsci/winstone@74775cc

  21. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions