Synopsis
EC2055: I/O read error during E2A_PUT_BIG_FILE_DATA request from emake: unexpected end of data.
EC2055: error writing cache file [path]: [error]
Description
This error code is used whenever the CloudBees Build Acceleration agent encounters a problem during transfer of build files over the network from emake to the agent. Because this is a multi-phase operation involving reading from the network, verifying transmission checksums, decompressing the data, and writing to the agent’s temporary directory, there are many possible specific failure modes. The text of the error message provides specific information about the nature of the failure.
Reasons
The reason for the error depends on the specific error received. For example, if the message states “error writing cache file [path]: There is not enough space on the disk”, then the free space on the disk holding the agent’s temporary storage location has become exhausted.
Conversely, if the error is “I/O read error during E2A_PUT_BIG_FILE_DATA request from emake: unexpected end of data”, then emake has abnormally terminated the connection to the agent – possibly due to a network connectivity problem, or because emake was forcibly terminated by the user or administrator, or even because emake itself has crashed for some other reason.
Fixes
The remedy again depends on the specific error received. If the error indicates that the agent ran out of disk space for temporary files, ensure that the agent is configured to store temporary files on a filesystem large enough to accommodate the build input and output files. If the error indicates that the connection with emake was terminated abnormally, check the emake output and debug logs for more information.