Bug 1609199 - Jenkins fails to start because of missing file for plugin
Summary: Jenkins fails to start because of missing file for plugin
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: jenkins-antisamy-markup-formatter-plugin
Version: 31
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-27 09:16 UTC by Amitay Isaacs
Modified: 2019-09-22 11:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-22 11:30:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Amitay Isaacs 2018-07-27 09:16:40 UTC
Description of problem:

Jenkins fails to start since it cannot find /var/lib/jenkins/plugins/antisamy-markup-formatter/WEB-INF/lib/guava-SYSTEM.jar.

# ls -l /var/lib/jenkins/plugins/antisamy-markup-formatter/WEB-INF/lib/guava-SYSTEM.jar 
lrwxrwxrwx. 1 jenkins jenkins 25 Jul 27 18:15 /var/lib/jenkins/plugins/antisamy-markup-formatter/WEB-INF/lib/guava-SYSTEM.jar -> /usr/share/java/guava.jar

There is no such file as /usr/share/java/guava.jar.

There are 2 guava packages installed.

# rpm -qa | grep guava
guava-24.0-3.fc28.noarch

This installs /usr/share/java/guava/guava/jar

# rpm -q guava20
guava20-20.0-6.module_1885+a6f9b3e6.noarch

This installs /usr/share/java/guava20/guava-20.0.jar


Version-Release number of selected component (if applicable):

# rpm -q jenkins-antisamy-markup-formatter-plugin
jenkins-antisamy-markup-formatter-plugin-1.3-2.fc24.noarch

# rpm -q jenkins
jenkins-1.651.3-7.fc28.noarch

How reproducible:

Always

Steps to Reproduce:
1.  On a fresh install, dnf install jenkins
2.  systemctl start jenkins
3.  Check /var/log/jenkins/jenkins.log

Actual results:

SEVERE: Failed Inspecting plugin /var/lib/jenkins/plugins/antisamy-markup-formatter.jpi
java.io.FileNotFoundException: /var/lib/jenkins/plugins/antisamy-markup-formatter/WEB-INF/lib/guava-SYSTEM.jar (No such file or directory)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:225)
        at java.util.zip.ZipFile.<init>(ZipFile.java:155)
        at java.util.jar.JarFile.<init>(JarFile.java:166)
        at java.util.jar.JarFile.<init>(JarFile.java:130)
        at jenkins.util.AntClassLoader.addPathFile(AntClassLoader.java:502)
        at hudson.ClassicPluginStrategy$AntClassLoader2.addPathFiles(ClassicPluginStrategy.java:800)
        at hudson.ClassicPluginStrategy.createClassLoader(ClassicPluginStrategy.java:282)
        at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:258)
        at hudson.PluginManager$1$3$1.run(PluginManager.java:289)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
        at jenkins.model.Jenkins$8.runTask(Jenkins.java:926)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        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)



Expected results:

Should find the required files and jenkins should start.

Additional info:

Comment 1 Ben Cotton 2019-05-02 21:14:59 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. 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 '28'.

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 28 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 2 Ben Cotton 2019-08-13 19:22:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Miro Hrončok 2019-09-22 11:30:13 UTC
Automation has figured out the package is retired in Fedora 31.

If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement


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