illumos.sh env file's LOCKNAME definition is busted
export LOCKNAME="$(basename -- "$CODEMGR_WS")_nightly.lock"
causes LOCKNAME to be equal to "--_nightly.lock" which causes all nightly runs to try to create the same lock file /tmp/--_nightly.lock. While this is ok on a single-user system that never runs multiple unreleated nightlys, it is only a matter of time before multi-user systems run into this problem. (It gets really annoying if you have an automated system like Jenkins locking out everyone from doing a nightly for hours on end.)
This used to work and the commit for bug 450 introduced the regression.
Updated by Electric Monk over 6 years ago
- Status changed from New to Closed
- % Done changed from 30 to 100
commit 60a61f7adabc73a7a0cb70d200ac2a6735f4a6e8 Author: Josef 'Jeff' Sipek <email@example.com> Date: 2014-08-15T20:08:15.000Z 5092 env files don't need to define LOCKNAME by default 5091 illumos.sh env file's LOCKNAME definition is busted Reviewed by: Dan McDonald <firstname.lastname@example.org> Reviewed by: Garrett D'Amore <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>