SDP-246 | Sourcing p4_vars hangs if live_checkpoint.sh is running. Clearly the 'p4d -cs...how' check is the culprit here. There is a reasonable expectation when sourcing an environment file that: * it'll take about a millisecond, perhaps only a nanosecond, and * it won't do anything 'active', only setup the environment. With the recent fix to avoid calling 'p4d -cshow' if there are no db.* files, we are no longer doing anything active. Yay. This was first experienced when doing a 'sudo su - perforce' was done; it hanged when a live_checkpoint.sh was running, as the ~perforce/.bashrc file contained a line to do 'source /p4/common/bin/p4_vars N', which is a common and reasonable thing to do. This may be related to SDP-245. « | |
Add Job |