Details
-
Bug
-
Resolution: Timed out
-
Medium
-
None
-
2.6.1
-
License Type:
Bamboo Professional: Developer
Operating System:
Linux 2.6.9-89.0.20.IT375994.ELsmp
Java Version:
1.6.0_10
Java Vendor:
Sun Microsystems Inc.
JVM Spec. Version:
1.0
JVM Spec. Vendor:
Sun Microsystems Inc.
JVM Version:
11.0-b15
JVM Vendor:
Sun Microsystems Inc.
JVM Name:
Java HotSpot(TM) 64-Bit Server VM
JRE Version:
1.6.0_10-b33
JRE Name:
Java(TM) SE Runtime EnvironmentLicense Type: Bamboo Professional: Developer Operating System: Linux 2.6.9-89.0.20.IT375994.ELsmp Java Version: 1.6.0_10 Java Vendor: Sun Microsystems Inc. JVM Spec. Version: 1.0 JVM Spec. Vendor: Sun Microsystems Inc. JVM Version: 11.0-b15 JVM Vendor: Sun Microsystems Inc. JVM Name: Java HotSpot(TM) 64-Bit Server VM JRE Version: 1.6.0_10-b33 JRE Name: Java(TM) SE Runtime Environment
-
Severity 2 - Major
-
Description
Code that is under CVS control was not being updated to the latest version when I ran a clean Bamboo build. After digging around in the logs I noticed this was the checkout command being run:
cvs checkout -P -N -kb -D 2010-07-19 10:11:33 -0700 [path to code]
However, because the value of the "-D" argument was not quoted, the time and offset were not used when checking out the code. A "cvs status" call returns this:
===================================================================
File: TestPath.py Status: Up-to-dateWorking revision: 1.82 2010-07-19 14:11:38 -0700
Repository revision: 1.82 /rel/cvsroot/mod/python/studio/utils/path/unittest/TestPath.py,v
Commit Identifier: V8Uplzy0awQYnUxu
Sticky Tag: (none)
Sticky Date: 2010.07.19.07.00.00
Sticky Options: -kb
Notice the correct date, but incorrect time. When I ran that checkout command manually I see these warnings:
cvs checkout: cannot find module `10:11:33' - ignored
cvs checkout: cannot find module `-0700' - ignored
When I quote the timestamp I get the correct code version. I'm currently working around this issue by running Bamboo with the "-DCVS_FORCE_CHECKOUT_TO_LATEST=true" option which doesn't use the "-D" flag on checkout.