[JIRA] (JENKINS-58649) Null Error When Downloading Plugins

11 views
Skip to first unread message

natasha.stopa@gmail.com (JIRA)

unread,
Jul 24, 2019, 4:24:02 PM7/24/19
to jenkinsc...@googlegroups.com
Natasha Stopa created an issue
 
Jenkins / Task JENKINS-58649
Null Error When Downloading Plugins
Issue Type: Task Task
Assignee: Natasha Stopa
Components: plugin-installation-manager-tool
Created: 2019-07-24 20:23
Labels: gsoc-2019 plugin-manager error
Priority: Minor Minor
Reporter: Natasha Stopa

The following error was encountered: 

The command '/bin/sh -c mkdir -p $jenkins_home/plugins && cat $jenkins_home/plugins.txt && java -jar $jenkins_home/install-plugins.jar --plugin-file $jenkins_home/plugins.txt' returned a non-zero code: 1

https://gist.github.com/casz/92b43e9ba4f994114b01d6ae9dc73b10

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

natasha.stopa@gmail.com (JIRA)

unread,
Jul 24, 2019, 4:26:01 PM7/24/19
to jenkinsc...@googlegroups.com
Natasha Stopa commented on Task JENKINS-58649
 
Re: Null Error When Downloading Plugins

After investigating, it turned out that there were a couple of related errors:

The first is that if the dependency info can’t be parsed from the https://updates.jenkins.io/current/plugin-versions.json, it’s parsed from the manifest. I assumed that the "Plugin-Dependencies” field would always be present in the manifest, but apparently this is not the case. This caused a null pointer error and the “null” output string that was being seen earlier.

The second, related issue is that the reason the dependency information was unable to be parsed from the plugins-versions.json was because the requested plugin who dependency info failed was the "node-iterator-api” plugin (needed for the vsphere-cloud he requested) and the plugin-versions.json has dependency information for version 1.5.0, but the version of node-iterator-api that was requested was 1.5, which the tool current views as not equivalent. I had created a Jira task for a similar issue a while back: https://issues.jenkins-ci.org/browse/JENKINS-58537

natasha.stopa@gmail.com (JIRA)

unread,
Jul 24, 2019, 4:26:02 PM7/24/19
to jenkinsc...@googlegroups.com
Natasha Stopa started work on Task JENKINS-58649
 
Change By: Natasha Stopa
Status: Open In Progress

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 30, 2019, 3:29:34 AM7/30/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
 
Change By: Oleg Nenashev
Sprint: GSoC 2019. Coding Phase 2 , GSoC 2019. Coding Phase 3

natasha.stopa@gmail.com (JIRA)

unread,
Aug 5, 2019, 6:08:02 PM8/5/19
to jenkinsc...@googlegroups.com

natasha.stopa@gmail.com (JIRA)

unread,
Aug 5, 2019, 6:09:02 PM8/5/19
to jenkinsc...@googlegroups.com

natasha.stopa@gmail.com (JIRA)

unread,
Aug 5, 2019, 6:11:02 PM8/5/19
to jenkinsc...@googlegroups.com
 

Closing this issue. Will track fix for second part in JENKINS-58537.

Change By: Natasha Stopa
Status: In Review Resolved
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages