SDP-635

russell_jackson (Russell C. Jackson (Rusty))
Russell C. Jackson (Rusty) created this job , modified by swarm-user
Closed
Get verify_sdp.sh to find bogus script/symlink targets.

A customer had an issue due to /p4/1/bin/p4d_1 being a script
that calls /p4/common/bin/p4d, when it should have been calling
/p4/common/bin/p4d_1_bin.  The verify_sdp.sh script should
check for this sort of thing.

In this specific case, /p4/1/bin/p4d_1 can be a script (if
case-insensitive) or a symlink (for a case-sensitive instance).
In either case, we want to make sure the symlink target is
correct.

See also: SDP-636
28422verify_sdp.sh v5.20.0:
* New checks: /p4/N/bin/p4{d,p,broker}_N need correct symlink target,
and must exist if the corresponding _init script exists.

For p4d, it can be a symlink (for a case-sensitive instance) or script
(for a case-insensitive instance to pass the C1 flag). Either way the
target is checked.

These checks cannot be skipped or converted to warnings.

* Added check that /p4/N/bin/p4{d,p,broker}_N_init scripts have content
that matches templates. This can be skipped with '-skip' or reported as
mere warnings (with '-warn') with a new and documented 'init' category
of test skipping/warning.
28421verify_sdp.sh v5.20.0:
* New checks: /p4/N/bin/p4{d,p,broker}_N need correct symlink target,
and must exist if the corresponding _init script exists.

For p4d, it can be a symlink (for a case-sensitive instance) or script
(for a case-insensitive instance to pass the C1 flag). Either way the
target is checked.

These checks cannot be skipped or converted to warnings.

* Added check that /p4/N/bin/p4{d,p,broker}_N_init scripts have content
that matches templates. This can be skipped with '-skip' or reported as
mere warnings (with '-warn') with a new and documented 'init' category
of test skipping/warning.

#review-28422
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
Russell C. Jackson (Rusty)
Reported Date
Modified By
swarm-user
Modified Date
Owned By
tom_tyler
Component
setup
Type
Feature