Skip to content

Commit

Permalink
Remove swiftshader gfxtrace from build artifacts (#183)
Browse files Browse the repository at this point in the history
This was a temporary measure to fix b/151297033
See actual fix in #169

b/151297033
  • Loading branch information
hevrard authored Mar 27, 2020
1 parent 9f81060 commit 621013c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions kokoro/linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ test "${APP_EXIT_STATUS}" -eq 130

# TODO(https://github.com/google/gapid/issues/3163): The coherent memory
# tracker must be disabled with SwiftShader for now.
xvfb-run -e xvfb.log -a bazel-bin/pkg/gapit trace -device host -disable-coherentmemorytracker -disable-pcs -disable-unknown-extensions -record-errors -no-buffer -api vulkan -start-at-frame 5 -capture-frames 10 -observe-frames 1 -out $KOKORO_ARTIFACTS_DIR/vulkan_sample.gfxtrace bazel-bin/cmd/vulkan_sample/vulkan_sample
xvfb-run -e xvfb.log -a bazel-bin/pkg/gapit trace -device host -disable-coherentmemorytracker -disable-pcs -disable-unknown-extensions -record-errors -no-buffer -api vulkan -start-at-frame 5 -capture-frames 10 -observe-frames 1 -out vulkan_sample.gfxtrace bazel-bin/cmd/vulkan_sample/vulkan_sample

xvfb-run -e xvfb.log -a bazel-bin/pkg/gapit video -gapir-nofallback -type sxs -frames-minimum 10 -out vulkan_sample.mp4 $KOKORO_ARTIFACTS_DIR/vulkan_sample.gfxtrace
xvfb-run -e xvfb.log -a bazel-bin/pkg/gapit video -gapir-nofallback -type sxs -frames-minimum 10 -out vulkan_sample.mp4 vulkan_sample.gfxtrace

##
## Collect swarming test result
Expand Down
2 changes: 0 additions & 2 deletions kokoro/linux/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ action {
regex: "out/dist/agi*.deb"
regex: "out/dist/agi*.zip"
regex: "out/dist/*gapir*.sym"
# b/151297033: save trace of sample on swiftshader, for debug purposes
regex: "*.gfxtrace"
strip_prefix: "out/dist"
}
}

0 comments on commit 621013c

Please sign in to comment.