Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[grizzly] Remove grizzly working directory artifact code #467

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions services/bugmon/launch-bugmon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,3 @@ case "$BUG_ACTION" in
exit 1
;;
esac >"$ARTIFACT_DEST/live.log" 2>&1

# Record grizzly logs as an artifact
if [[ -d /tmp/grizzly ]]; then
cp -r /tmp/grizzly "$ARTIFACT_DEST/tmp-grizzly"
fi
4 changes: 0 additions & 4 deletions services/grizzly-win/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ echo "returned $exit_code" >&2
echo "sleeping so logs can flush" >&2
sleep 15

# Archive grizzly working directory
# Excludes the target directory because on Windows it may contain open files
7z a -tzip tmp_grizzly.zip AppData/Local/Temp/grizzly/* -x\!AppData/Local/Temp/grizzly/target/ || touch tmp_grizzly.zip

case $exit_code in
5) # grizzly.common.utils.Exit
# expected results not reproduced (opposite of SUCCESS)
Expand Down
5 changes: 0 additions & 5 deletions services/grizzly/launch-grizzly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ function onexit () {
sleep 15
killall -INT td-agent-bit || true
sleep 15
if [[ -d /tmp/grizzly ]]
then
echo "Saving grizzly logs..." >&2
cp -r /tmp/grizzly /logs/tmp-grizzly
fi
tysmith marked this conversation as resolved.
Show resolved Hide resolved
}
trap onexit EXIT

Expand Down
Loading