CVS Checkouts Fail When Using Tags

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

The Bamboo build is reporting the following error:

1 Failed to execute build: /path/to/bamboo-home/xml-data/build-dir/PROJ-PLAN/hubproj doesn't exist.

The CVS logs are reporting the following:

1 2 3 4 cvs checkout: warning: skipping invalid entry in password file at line 5 pserver server: cannot find module `14:39:02' - ignored pserver server: cannot find module `-0500' - ignored cvs [checkout aborted]: cannot expand modules"
1 2 cvs checkout: cannot find module `10:11:33' - ignored cvs checkout: cannot find module `-0700' - ignored

Cause

Bamboo is not able to use the "-D" parameter correctly when performing a CVS checkout for an specific tag.

Resolution

Set Bamboo to omit the "-D" parameter by starting it with the following parameter:

1 -DCVS_FORCE_CHECKOUT_TO_LATEST=true

Problems with the "-D" parameter are being tracked at the following issues: BAM-6304 and BAM-6420

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.