[solved] Jenkins Intermittent “Slave went offline during the build”
- Last Updated on: December 6, 2016
- By: scriptcrunch
Issue: I have my Jenkins master and slave setup on AWS instance. I am build i have a maven deploy task to upload a large artifact to nexus. During which the upload is getting timed out and i am getting “Slave went offline during the build” error. How do i solve this issue.
This issue is normally caused by kernel bug in you slave instances. There are many cases in ec2 instances like this. There could be other reasons as well. Here we will discussing a kernel issue that causes this problem.
The Problem
Normally this issue is caused when the TX (packets going outside) are dropped.
Run the following command on the slave machine.
dmesg | grep rocket
If you get the following output, you can confirm that it’s a kernel bug.
xen_netfront: xennet: skb rides the rocket: 20 slots
The Solution
You can solve this issue by dropping all the packet segmentation. Execute the following command on your slave machine
sudo ethtool -K eth0 sg off
The above command should solve the issue. Let us know in the comment section, if your issue has been solved or if there is some other solution to it. Your feedback might help others.
Other Interesting Blogs

CKA Exam Study Guide: Certified Kubernetes Administrator
Passing the cloud-native Certified Kubernetes Administrator (CKA) exam is not a cakewalk. To pass the CKA exam, you should have enough hands-on

Linux Foundation Coupon for 2023
Hi Techies, I wanted to let you know about a pretty sweet deal with the Linux Foundation Coupon that is running now.

[35% OFF] Linux Foundation LFCA, LFCS & LFCT Exam Voucher Codes
Linux Foundation has announced up to a $284 discount on its Linux certification programs Linux Foundation Certified IT Associate (LFCA) and Linux