Cloudbees is pleased to announce the availability of the Cloudbees Build Acceleration 13.0 long-term support release.
Cloudbees Build Acceleration is a software build accelerator that dramatically reduces build times by distributing the build over a large cluster of inexpensive servers. Cloudbees Build Acceleration uses a patented dependency-management system to identify and fix problems in real time that break traditional parallel builds. Cloudbees Build Acceleration plugs seamlessly into existing software development environments and includes web-based management and reporting tools.
Cloudbees Build Acceleration includes the following components:
-
Electric Make ("eMake")
-
Electric File System (EFS)
-
Cloudbees Build Acceleration agents ("Agents")
-
Cluster Manager
-
Electrify
Security fixes
-
Added XSS protections
-
Fixed privilege management issues in Electrify (EC-14833-14843)
-
Addressed numerous CWEs and CVEs (EC-14523-14525)
-
Updated PHP to 8.3.37 (EC-14237)
-
Updated Apache to 2.4.71
== New features
- Support for containerized agents (EC-14209)
-
Linux kernels 6.x are incompatible with the Loopback Filesystem (LOFS) used for sandboxing individual agents running on the same host. Because of this, LOFS is deprecated and will no longer be updated. Going forward, agents use Docker containers to do this sandboxing. This requires a one-time configuration of a Docker container that the agents will use. This also has the advantage of introducing a slight speedup in builds.
- Support for receivers (EC-14511)
-
Later kernel versions cause builds heavily depending on NFS mounts to clear caches each time privileges are dropped for every job. Since the agent’s execserver did this for every job, this caused a serious slowdown indicated by excess NFS
accesscalls. To address this, the execserver is now able to delegate the privilege drop to a new receiver component. The receiver component is enabled by creating a receiver.conf file in the Cloudbees Build Acceleration installation conf directory.
== New platform support
Support is added for the following platforms:
-
Red Hat Enterprise Linux 9.7 and 9.8 (EC-14428)
-
Ubuntu 22.04.4 (EC-14347)
-
Ubuntu 24.04 (EC-14249)
-
Android (AOSP) 15 (Vanilla Ice Cream) r17 and up (EC-14432)
Documentation: Cloudbees Build Acceleration supported platforms
No database support changes.
No browser support changes.
== Resolved issues
- Android builds ignore
--emake-tmpdir(EC-14434) -
Android builds would mistakenly ignore an attempt to change the temporary directory when specifying
--emake-tmpdiron the command line. This has been resolved. - InvalidQuery errors in Cluster Manager job searches (EC-14538)
-
Attempting to perform a job search in the Cluster Manager could result in an InvalidQuery error, preventing the search from going forward. This has been addressed.
== Behavior changes
No behavior changes beyond bug fixes.
== Installation notes
- Cloud bursting
-
Because the agent to Cluster Manager communication uses TLS by default, the agent image used for AWS EC2, GCP or Azure cloud bursting must also be upgraded to the 13.0 release or later in order for cloud bursting to work.
For details about the new release strategy, refer to the Cloudbees maintenance lifecycle policies web page.
- Hardware requirements
-
The recommended total amount of RAM for an agent host is 2 GB per agent plus the amount of RAM normally needed to execute your build. For example, if you are running four agents, and your build normally needs 16 GB, you will need ((2 * 4) + 16) = 24 GB.
- Backing up before you upgrade
-
The upgrade process does not preserve the existing files. Back up the
/opt/ecloud/<arch>/clouddirectory for Linux or theC:\ECloud\<arch>folder for Windows to a safe location.
For additional security, back up the database by following the recommended procedure from your database vendor.
- Installing JDBC drivers for MySQL or Oracle databases
-
Cloudbees no longer distributes the JDBC drivers for MySQL or Oracle databases. To use one of these databases, you must download its driver directly from the Oracle website, then copy it to the appropriate directory on the Cluster Manager server, and then restart the Cluster Manager service. For details, refer to Installing JDBC Drivers for MySQL or Oracle Databases.
- If you relocate eMake
-
If you copy the
emakeexecutable to a new location, you must also copy theexecserverexecutable to that location. By default, the path to theexecserverexecutable is/opt/ecloud/i686_Linux/32/bin/execserver(for 32-bit eMake) or/opt/ecloud/i686_Linux/64/bin/execserver(for 64-bit eMake).
== Known issues
- Linux kernel issue that affects Cloudbees Build Acceleration performance
-
Affected kernel versions:
-
RHEL kernel versions later than 2.6.18-194.32 and earlier than 2.6.32-131
-
Ubuntu Linux kernel versions 2.6.31, 2.6.32, 2.6.33, and 2.6.34
-
Symptoms:
Affected systems might encounter reduced performance on both ext3 and ext4 file systems. Symptoms might include
-
hung_task_timeout_secsmessages in system dmesg logs -
Widely variable agent availability (entering and exiting agent "penalty" status frequently)
-
Contention over the
ecagent.statefile -
Slower builds (with unexplained variances)
To help determine if this issue exists, run the dmesg | grep hung_task_timeout command. hung_task_timeout errors show that this issue is present. Contact your kernel provider for another version of the precompiled kernel.
- Deadlock hang in eMake client using ledger due to glibc on SLES 15.2 and 15.3
-
Some versions of glibc — releases roughly in the range 2.26 through 2.30, such as that present in SLES 15 SP2 and SP3 — have a bug in the try read-write lock pthread call that can result in deadlocks. This can cause builds with heavy ledger usage to intermittently hang in the eMake client. As a workaround for this, add the command line option
--emake-try-chain-locks=0to your build, which will avoid the try lock calls, though this will render the tracking of time waiting for locks in the resulting annotation file invalid. Other options would be upgrading your version of glibc, or switching to another distribution. - Other known issues
-
-
If you kill a build manually, and the agents running on an Amazon EC2 instance fail to connect, the instance will continue to run. You must kill the instance manually.
-
If the Cluster Manager goes down while agents are running on an Amazon EC2 instance, they will still connect but will not be associated with a resource. You must kill the corresponding instance manually.
-
The cmtool
importDatacommand does not import license properties (such asmaxAgents). To work around this issue, re-import the license after usingimportData. (EC-12371) -
You cannot control breakpoints from the Cluster Manager. (EC-12322)
-
If Apache fails to start properly after a new Cluster Manager installation, reboot the system.
-