Skip to content

Commit

Permalink
Debugging benchmark by pusblishing test log artifact
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Avila <sebastianavila@google.com>
  • Loading branch information
sebastianavila5 committed Dec 23, 2024
1 parent 45fbbff commit 442b552
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .azure-pipelines/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,20 @@ stages:
echo "File ls testlogs:"
ls -l bazel-testlogs
BAZEL_OUT=$(readlink bazel-testlogs)
echo "Listing docker cotnainers"
docker ps
CONTAINER_ID=$(docker ps -aqf "name=envoy_ci")
# Copy the testlogs directory to the host
docker cp $CONTAINER_ID:$BAZEL_OUT $(Build.SourcesDirectory)
echo "readlink"
ls -l $BAZEL_OUT
echo "##vso[task.setvariable variable=TARGET_LOG_PATH]$BAZEL_OUT"
ls -l
condition: always()
displayName: "ls"
- task: PublishPipelineArtifact@1
condition: always()
displayName: 'Publish Benchmark Test Log'
inputs:
targetPath: $(TARGET_LOG_PATH)/benchmarks/test_dynamic_benchmarks/test.log
targetPath: $(Build.SourcesDirectory)/testlogs
artifactName: BenchmarkTestLog-$(System.JobAttempt)

- stage: test_gcc
Expand Down

0 comments on commit 442b552

Please sign in to comment.