SDP-579

ashaikh (ashaikh)
ashaikh created this job , modified by C. Thomas Tyler
Closed
Edge recover script fails to run if p4_vars not sourced first.

The recover_edge.sh SDP script errors out because a variable is accessed before it is declared.

In this case, the following line throws an error:

declare EdgeCheckpointsDir="${CHECKPOINTS}.${SERVERID#p4d_}"

Error:
/p4/common/bin/recover_edge.sh: line 27: CHECKPOINTS: unbound variable
27178The recover_edge.sh SDP script errors out because a variable is accessed before it is declared.

In this case, the following line throws an error:

declare EdgeCheckpointsDir="${CHECKPOINTS}.${SERVERID#p4d_}"

Error:
/p4/common/bin/recover_edge.sh: line 27: CHECKPOINTS: unbound variable

Opened a job regarding this error: https://swarm.workshop.perforce.com/jobs/SDP-579
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
ashaikh
Reported Date
Modified By
C. Thomas Tyler
Modified Date
Owned By
ashaikh
Type
Bug