-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
CentOS release 5.9
Jenkins version 2.7.1
I have a jenkins job that triggers a job on a remote server(another jenkins instance), but the job fails with this error on the console
Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. Triggering this remote job: <job-name> Not checking if the remote job <job-name> is building. Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. ERROR: Remote build failed for the following reason, but the build will continue: ERROR : Got a blank response from Remote Jenkins Server [ http://jenkins-instance.org.com ], cannot continue. ERROR : Build step failed with exception java.lang.NullPointerException Build step 'Trigger a remote parameterized job' marked build as failure [BFA] Scanning build for known causes... [BFA] No failure causes found [BFA] Done. 0s Finished: FAILURE
[JENKINS-53813] Jenkins parameterized remote trigger plugin shows null pointer exception
Description |
Original:
I have a jenkins job that triggers a job on a remote server(another jenkins instance), but the job fails with this error on the console Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. Triggering this remote job: mbissaro_test_smokejob Not checking if the remote job mbissaro_test_smokejob is building. Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. ERROR: Remote build failed for the following reason, but the build will continue: [ERROR|http://stacktrace.jenkins-ci.org/search?query=ERROR] : Got a blank response from Remote Jenkins Server [ [http://jenkins-instance.org.com|http://winter-soldier.mot.com/] ], cannot continue. [ERROR|http://stacktrace.jenkins-ci.org/search?query=ERROR] : Build step failed with exception [java.lang.NullPointerException |http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException] Build step 'Trigger a remote parameterized job' marked build as failure [BFA] Scanning build for known causes... [BFA] No failure causes found [BFA] Done. 0s Finished: FAILURE |
New:
I have a jenkins job that triggers a job on a remote server(another jenkins instance), but the job fails with this error on the console {code:java} Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. Triggering this remote job: mbissaro_test_smokejob Not checking if the remote job mbissaro_test_smokejob is building. Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. ERROR: Remote build failed for the following reason, but the build will continue: ERROR : Got a blank response from Remote Jenkins Server [ http://jenkins-instance.org.com ], cannot continue. ERROR : Build step failed with exception java.lang.NullPointerException Build step 'Trigger a remote parameterized job' marked build as failure [BFA] Scanning build for known causes... [BFA] No failure causes found [BFA] Done. 0s Finished: FAILURE{code} |
Description |
Original:
I have a jenkins job that triggers a job on a remote server(another jenkins instance), but the job fails with this error on the console {code:java} Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. Triggering this remote job: mbissaro_test_smokejob Not checking if the remote job mbissaro_test_smokejob is building. Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. ERROR: Remote build failed for the following reason, but the build will continue: ERROR : Got a blank response from Remote Jenkins Server [ http://jenkins-instance.org.com ], cannot continue. ERROR : Build step failed with exception java.lang.NullPointerException Build step 'Trigger a remote parameterized job' marked build as failure [BFA] Scanning build for known causes... [BFA] No failure causes found [BFA] Done. 0s Finished: FAILURE{code} |
New:
I have a jenkins job that triggers a job on a remote server(another jenkins instance), but the job fails with this error on the console {code:java} Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. Triggering this remote job: <job-name> Not checking if the remote job <job-name> is building. Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build. ERROR: Remote build failed for the following reason, but the build will continue: ERROR : Got a blank response from Remote Jenkins Server [ http://jenkins-instance.org.com ], cannot continue. ERROR : Build step failed with exception java.lang.NullPointerException Build step 'Trigger a remote parameterized job' marked build as failure [BFA] Scanning build for known causes... [BFA] No failure causes found [BFA] Done. 0s Finished: FAILURE{code} |
Attachment | New: jobconfig.PNG [ 44621 ] | |
Attachment | New: remoteserverconfig.PNG [ 44622 ] |
Update: updating the parameterized remote trigger plugin fixed the issue, but there is a different error now
fail to accquire lock because of timeout, skip locking...
Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.org.com/job/job_name/api/json, parameters:
Retry attempt #1 out of 5
Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.org.com/job/job_name/api/json, parameters, parameters:
Retry attempt #2 out of 5
Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.org.com/job/job_name/api/json, parameters, parameters:
Retry attempt #3 out of 5
Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.org.com/job/job_name/api/json, parameters, parameters:
Retry attempt #4 out of 5
Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: https://jenkins.org.com/job/job_name/api/json, parameters, parameters:
Retry attempt #5 out of 5
FATAL: Max number of connection retries have been exeeded.
org.jenkinsci.plugins.ParameterizedRemoteTrigger.exceptions.ExceedRetryLimitException: Max number of connection retries have been exeeded.
at org.jenkinsci.plugins.ParameterizedRemoteTrigger.utils.HttpHelper.sendHTTPCall(HttpHelper.java:526)
at org.jenkinsci.plugins.ParameterizedRemoteTrigger.utils.HttpHelper.sendHTTPCall(HttpHelper.java:521)
at org.jenkinsci.plugins.ParameterizedRemoteTrigger.utils.HttpHelper.sendHTTPCall(HttpHelper.java:521)