Commit f93be63
committed
ci(system-test): add workflow-layer fallback for missing stest-up.sh
Wrap the stest-up.sh invocation in an existence check, and fall back
to the legacy inline `cp config + nohup java -jar + poll 8090` path
if scripts/stest-up.sh is absent in the checked-out system-test
branch. Same for the stest-down.sh teardown step.
This handles the scenario where merge order across the three
involved repos (tron-deployment / system-test / java-tron) skews —
e.g., the java-tron workflow change lands upstream before the
system-test scripts/ commit does. Without this fallback, every
java-tron PR's CI would go red until system-test catches up.
With it, CI gracefully degrades to the pre-trond bring-up path.
Combined with the script-layer fallback inside stest-up.sh (which
handles trond release URL failures), there are now two independent
safety nets:
Layer 1 (this step): stest-up.sh missing → legacy nohup
Layer 2 (stest-up.sh): trond release unreachable → nohup
Both layers ultimately land at the same end-state: java-tron started
on /usr/bin/java JDK 8, HTTP 8090 reachable, ready for stest TestNG.
Log capture also covers both modes: journalctl + node.log (trond),
fullnode.log (legacy).
Plan: keep the fallback through Phase B and the upstream PR cycle;
remove it in a follow-up PR once the trond-mode path is consistently
green across all three repos.1 parent dcd9076 commit f93be63
1 file changed
Lines changed: 56 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
69 | 80 | | |
70 | 81 | | |
71 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
72 | 105 | | |
73 | 106 | | |
74 | 107 | | |
| |||
81 | 114 | | |
82 | 115 | | |
83 | 116 | | |
84 | | - | |
| 117 | + | |
85 | 118 | | |
86 | 119 | | |
87 | 120 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
94 | 126 | | |
| 127 | + | |
| 128 | + | |
95 | 129 | | |
96 | 130 | | |
97 | 131 | | |
98 | 132 | | |
99 | 133 | | |
100 | 134 | | |
101 | 135 | | |
102 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
103 | 145 | | |
104 | 146 | | |
105 | 147 | | |
| |||
0 commit comments