Bug 1517477 - Jenkins dependency is missing on Fedora 29
Summary: Jenkins dependency is missing on Fedora 29
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: jenkins
Version: 32
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-25 21:44 UTC by Kyle Marek
Modified: 2021-05-25 17:08 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-25 17:08:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
jenkins.log (14.87 KB, text/plain)
2017-11-25 21:44 UTC, Kyle Marek
no flags Details
Jenkins.log (321.40 KB, text/plain)
2018-03-21 17:19 UTC, pawan kumar v
no flags Details

Description Kyle Marek 2017-11-25 21:44:27 UTC
Created attachment 1359038 [details]
jenkins.log

Description of problem:
Upon an upgrade from Fedora 25 to 27 (using dnf-plugin-system-upgrade), Jenkins no longer returns anything on its web interface.

Version-Release number of selected component (if applicable):
jenkins-1.651.3-6.fc27.noarch

Additional info:
Lines of the log that grab my attention

INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet

and

Caused by: java.lang.NoSuchMethodError: org.dom4j.io.HTMLWriter.setEnabled(Z)V

Comment 1 Kyle Marek 2017-11-25 22:51:09 UTC
Same result on a fresh Minimal install, installed from https://download.fedoraproject.org/pub/fedora/linux/releases/27/Everything/x86_64/iso/Fedora-Everything-netinst-x86_64-27-1.6.iso

bd325470b72f93aab608f48612aa06b4decc10ede42d9d803de5d97091a3294a *Fedora-Everything-netinst-x86_64-27-1.6.iso

Comment 2 Tomas Winkler 2017-12-06 05:20:13 UTC
I can confirm this issue

javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/usr/share/jenkins/webroot/WEB-INF/lib/jenkins-core
-1.651.3.jar!/lib/layout/layout.jelly:59:51: <st:contentType> org.dom4j.io.HTMLWriter.setEnabled(Z)V

Looks like caused by  dom4j incompatibility.

Comment 3 Gary 2017-12-21 04:15:01 UTC
Also confirming same issue since upgrading from F26 to F27. This affects the UI only. Jenkins daemon is operating normally so existing jobs are processing. You just cannot edit them which is a serious problem.

Comment 4 Guohua Ouyang 2017-12-21 06:25:43 UTC
Have the same issue on latest Fedora 27

# rpm -q jenkins
jenkins-1.651.3-6.fc27.noarch

Comment 5 Mike P. 2017-12-29 13:27:30 UTC
I can also confirm that the issue exists in Fedora-Cloud-Base-Vagrant-27-1.6.x86_64.vagrant-libvirt.box. It's a F27 release. When I downgraded to the F26 image, I was able to see Jenkins web interface again.

Comment 6 Christian Buchegger 2017-12-30 22:27:25 UTC
This is possibly caused by: https://bugzilla.redhat.com/show_bug.cgi?id=1529892

Comment 7 pawan kumar v 2018-03-21 17:19:22 UTC
Created attachment 1411282 [details]
Jenkins.log

Comment 8 pawan kumar v 2018-03-21 17:21:34 UTC
i can confirm this am not able to run jenkins on fedora 27, is there any other way to run jenkins.

Comment 9 Tomas Winkler 2018-03-21 17:35:25 UTC
Yes(In reply to pawan kumar v from comment #8)
> i can confirm this am not able to run jenkins on fedora 27, is there any
> other way to run jenkins.

Yes, install jenkins directly from https://pkg.jenkins.io/. Use one of the redhat packages. It works just fine. I suggest even switching to 2.X series.

Comment 10 Kyle Marek 2018-03-21 19:20:59 UTC
I kept a snapshot of the VM I ran it on and upgraded to Fedora 26 instead of 27 (26 is still supported).

Comment 11 Mike P. 2018-04-05 06:15:24 UTC
#This downloads the latest stable jenkins direct from website and installs it.
#I use sudo ....use whatever elevation you need.
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo dnf -y install java #java is a dependency...you may or may not need this.
sudo dnf -y install jenkins

#Be sure to start and enable the jenkins service
#And I agree the packaging should be fixed....This is just a workaround

Comment 12 Pete Moore 2018-09-27 23:46:08 UTC
This workaround does not work for me.

I have same error as before. When i added the repo I got no updates from the 

rpm -q jenkins
jenkins-1.651.3-6.fc27.noarch


rpm -qa | grep  java
java-1.8.0-openjdk-1.8.0.181.b15-0.fc27.x86_64
javapackages-tools-5.0.0-8.fc27.noarch
java-1.8.0-openjdk-devel-1.8.0.181.b15-0.fc27.x86_64
owasp-java-html-sanitizer-20160422.1-1.fc25.noarch
abrt-java-connector-1.1.0-14.fc27.x86_64
javamail-1.5.2-5.fc27.noarch
tzdata-java-2018e-1.fc27.noarch
java-1.8.0-openjdk-headless-1.8.0.181.b15-0.fc27.x86_64
jenkins-javadoc-plugin-1.3-4.fc24.noarch

Comment 13 Evan Klitzke 2018-10-23 02:48:05 UTC
I'm also affected by this, on Fedora 29 with the package built from jenkins-1.651.3-8.fc29.src.rpm

Comment 14 Carl Bennett 2018-11-11 02:31:33 UTC
This affected me on fc27, fc28, and fc29. I ended up re-building my Jenkins server over to CentOS 7 since it's a permanent system I'm going to have around. I'm using the jenkins-ci.org repo now and it works.

Comment 15 Ben Cotton 2018-11-27 13:31:40 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 16 Kyle Marek 2018-11-27 14:45:14 UTC
Still applies in Fedora 29.

Comment 17 Jack 2019-02-07 09:34:31 UTC
(In reply to Kyle Marek from comment #16)
> Still applies in Fedora 29.

Indeed.  I just attempted to run Jenkins on a fresh F29 install and got the same:

    [j~]$ wget minibox:8080
    --2019-02-07 10:09:23--  http://minibox:8080/
    Resolving minibox (minibox)... 192.168.1.243, fe80::bdf6:8a4c:b40c:e5fc
    Connecting to minibox (minibox)|192.168.1.243|:8080... connected.
    HTTP request sent, awaiting response... 500 Server Error
    2019-02-07 10:09:23 ERROR 500: Server Error.
    
    [j~]$  

So, I did "dnf remove jenkins", then the following:

   
   99  sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
  100  sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
  101  sudo dnf -y install java #java is a dependency...you may or may not need this.
  102  sudo dnf -y install jenkins
  103  sudo systemctl enable jenkins
  104  sudo systemctl start jenkins
  105  sudo cat /var/lib/jenkins/secrets/initialAdminPassword


Hope this helps.

Comment 18 Satheesh Rajendran 2019-05-03 12:29:05 UTC
this applies to Fedora 30 aswell.

INFO: Jenkins is fully up and running
May 03, 2019 5:56:14 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: 
javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/usr/share/jenkins/webroot/WEB-INF/lib/jenkins-core-1.651.3.jar!/lib/layout/layout.jelly:59:51: <st:contentType> org.dom4j.io.HTMLWriter.setEnabled(Z)V
	at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
	at hudson.init.impl.InstallUncaughtExceptionHandler$1.reportException(InstallUncaughtExceptionHandler.java:28)
	at org.kohsuke.stapler.compression.CompressionFilter.reportException(CompressionFilter.java:77)
	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:55)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
	at org.eclipse.jetty.server.Server.handle(Server.java:370)
	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/usr/share/jenkins/webroot/WEB-INF/lib/jenkins-core-1.651.3.jar!/lib/layout/layout.jelly:59:51: <st:contentType> org.dom4j.io.HTMLWriter.setEnabled(Z)V
	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
	at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95)
	... 34 more
Caused by: java.lang.NoSuchMethodError: org.dom4j.io.HTMLWriter.setEnabled(Z)V
	at org.kohsuke.stapler.jelly.HTMLWriterOutput.useHTML(HTMLWriterOutput.java:78)
	at org.kohsuke.stapler.jelly.ContentTypeTag.doTag(ContentTypeTag.java:52)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	... 43 more

Comment 19 Dennis Payne 2019-07-24 19:48:50 UTC
I tried it on Fedora 30 and got the same error.

Comment 20 David Hill 2020-02-22 17:57:28 UTC
Still a problem with Fedora 32...

Comment 21 David Hill 2020-02-22 18:00:12 UTC
Still a problem with Fedora 32...   I have to frankeinrepo my installation and `yum downgrade dom4j-0:1.6.1-28.fc26.noarch` in order to get jenkins to work.  This has been broken for a while now.

Comment 22 David Hill 2020-02-22 18:01:23 UTC
org.apache.commons.jelly.JellyTagException: jar:file:/usr/share/jenkins/webroot/WEB-INF/lib/jenkins-core-1.651.3.jar!/lib/layout/layout.jelly:59:51: <st:contentType> org.dom4j.io.HTMLWriter.setEnabled(Z)V
        at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
        at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
        at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
        at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
        at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
        at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95)
        at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
        at hudson.init.impl.InstallUncaughtExceptionHandler$1.reportException(InstallUncaughtExceptionHandler.java:28)
        at org.kohsuke.stapler.compression.CompressionFilter.reportException(CompressionFilter.java:77)
        at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:55)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
        at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
        at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
        at org.eclipse.jetty.server.Server.handle(Server.java:370)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
        at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: org.dom4j.io.HTMLWriter.setEnabled(Z)V
        at org.kohsuke.stapler.jelly.HTMLWriterOutput.useHTML(HTMLWriterOutput.java:78)
        at org.kohsuke.stapler.jelly.ContentTypeTag.doTag(ContentTypeTag.java:52)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
        ... 43 more

Comment 23 David Hill 2020-02-22 18:04:56 UTC
[root@wolfe jenkins]# cat /etc/redhat-release 
Fedora release 33 (Rawhide)

Comment 24 Ben Cotton 2020-04-30 20:24:38 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 25 Fedora Program Management 2021-04-29 16:47:20 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 26 Ben Cotton 2021-05-25 17:08:10 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.