File tree 1 file changed +6
-2
lines changed 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -220,14 +220,14 @@ jobs:
220
220
RELEASED_SYNAPSE_VERSION : ${{ vars.RELEASED_SYNAPSE_VERSION }}
221
221
BASE_BRANCH : ${{ needs.read_codeowners.outputs.pr_branch }}
222
222
run : |
223
- LOG_REDIRECTION=">"
223
+ LOG_REDIRECTION="\& >"
224
224
version_regex='^v([0-9]+)\.([0-9]+)\.([0-9]+)_next$'
225
225
if [[ $TARGET_BRANCH =~ $version_regex ]]; then
226
226
synapse_version=${TARGET_BRANCH#v}
227
227
synapse_version=${synapse_version%_*}
228
228
else
229
229
synapse_version=${RELEASED_SYNAPSE_VERSION#v}
230
- LOG_REDIRECTION="\| tee"
230
+ LOG_REDIRECTION="2>\&1 \| tee"
231
231
fi
232
232
echo "Using SynapseAI version ${synapse_version}"
233
233
synapse_build=$(curl "https://dms.habana-labs.com/api/v1.1/branch/info/v$synapse_version" | jq -r ".release_id")
@@ -248,14 +248,18 @@ jobs:
248
248
run : |
249
249
random_string=$(tr -dc 'a-z0-9' </dev/urandom | head -c 10)
250
250
pod_name="vllm-fork-${{github.event.issue.number}}-${random_string}"
251
+ set +e
251
252
hlctl create containers \
252
253
--file=pod.yml \
253
254
--flavor=${{ matrix.tests.flavor}} \
254
255
--name="${pod_name}" \
255
256
--namespace="framework" \
256
257
--retry \
257
258
--shm=10240
259
+ test_status=$?
260
+ set -e
258
261
echo "Logs are available at https://logs-browser.k8s-infra.habana-labs.com/files/${pod_name}-tfjob"
262
+ exit $test_status
259
263
- name : Create Commit Status(Failure)
260
264
uses : actions/github-script@v7
261
265
if : failure()
You can’t perform that action at this time.
0 commit comments