Activity log for bug #1897909

Date Who What changed Old value New value Message
2020-09-30 14:27:29 John Walker bug added bug
2020-09-30 15:14:18 John Walker description While installing a plugin, the plugin appears to install correctly, but when install_plugin() checks if a restart is necessary, the function fails on response = response_str.split(':')[1].strip().lower() == 'true' with an IndexError. It appears that the response coming back from both the install call and the is_restart_required query is ')]}.' for some reason, hence splitting on the colon doesn't do anything and there is no second element to grab. This issue persists whether executing against a local server or a server running elsewhere. I can ignore the is_restart_required query for now, but the nonsense brackets are still puzzling and perhaps a sign of an issue elsewhere if I can't actually get the expected 'Result: true/false' string. While installing a plugin, the plugin appears to install correctly, but when install_plugin() checks if a restart is necessary, the function fails on response = response_str.split(':')[1].strip().lower() == 'true' with an IndexError. It appears that the response coming back from both the install call and the is_restart_required query is ')]}.' for some reason, hence splitting on the colon doesn't do anything and there is no second element to grab. This issue persists whether executing against a local server or a server running elsewhere. I can ignore the is_restart_required query for now, but the nonsense brackets are still puzzling and perhaps a sign of an issue elsewhere if I can't actually get the expected 'Result: true/false' string. Edit: This is with Python-Jenkins 1.7.0 and Jenkins 2.249.1.