mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
fix: stop printing server log, it is confusing
Some checks failed
Pre-commit / pre-commit (push) Failing after 2s
Python Package Build Test / build (3.13) (push) Failing after 1s
Integration Tests (Replay) / Integration Tests (, , , client=, ) (push) Failing after 4s
API Conformance Tests / check-schema-compatibility (push) Successful in 13s
Integration Auth Tests / test-matrix (oauth2_token) (push) Failing after 1s
SqlStore Integration Tests / test-postgres (3.12) (push) Failing after 0s
SqlStore Integration Tests / test-postgres (3.13) (push) Failing after 0s
Vector IO Integration Tests / test-matrix (push) Failing after 6s
Test External Providers Installed via Module / test-external-providers-from-module (venv) (push) Has been skipped
Python Package Build Test / build (3.12) (push) Failing after 1s
Unit Tests / unit-tests (3.12) (push) Failing after 4s
Test External API and Providers / test-external (venv) (push) Failing after 5s
Unit Tests / unit-tests (3.13) (push) Failing after 5s
UI Tests / ui-tests (22) (push) Successful in 54s
Some checks failed
Pre-commit / pre-commit (push) Failing after 2s
Python Package Build Test / build (3.13) (push) Failing after 1s
Integration Tests (Replay) / Integration Tests (, , , client=, ) (push) Failing after 4s
API Conformance Tests / check-schema-compatibility (push) Successful in 13s
Integration Auth Tests / test-matrix (oauth2_token) (push) Failing after 1s
SqlStore Integration Tests / test-postgres (3.12) (push) Failing after 0s
SqlStore Integration Tests / test-postgres (3.13) (push) Failing after 0s
Vector IO Integration Tests / test-matrix (push) Failing after 6s
Test External Providers Installed via Module / test-external-providers-from-module (venv) (push) Has been skipped
Python Package Build Test / build (3.12) (push) Failing after 1s
Unit Tests / unit-tests (3.12) (push) Failing after 4s
Test External API and Providers / test-external (venv) (push) Failing after 5s
Unit Tests / unit-tests (3.13) (push) Failing after 5s
UI Tests / ui-tests (22) (push) Successful in 54s
This commit is contained in:
parent
5f95c1f8cc
commit
c2fd17474e
1 changed files with 44 additions and 49 deletions
|
|
@ -102,7 +102,6 @@ while [[ $# -gt 0 ]]; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
# Validate required parameters
|
# Validate required parameters
|
||||||
if [[ -z "$STACK_CONFIG" && "$COLLECT_ONLY" == false ]]; then
|
if [[ -z "$STACK_CONFIG" && "$COLLECT_ONLY" == false ]]; then
|
||||||
echo "Error: --stack-config is required"
|
echo "Error: --stack-config is required"
|
||||||
|
|
@ -437,17 +436,13 @@ elif [ $exit_code -eq 5 ]; then
|
||||||
else
|
else
|
||||||
echo "❌ Tests failed"
|
echo "❌ Tests failed"
|
||||||
echo ""
|
echo ""
|
||||||
echo "=== Dumping last 100 lines of logs for debugging ==="
|
|
||||||
|
|
||||||
# Output server or container logs based on stack config
|
# Output server or container logs based on stack config
|
||||||
if [[ "$STACK_CONFIG" == *"server:"* && -f "server.log" ]]; then
|
if [[ "$STACK_CONFIG" == *"server:"* && -f "server.log" ]]; then
|
||||||
echo "--- Last 100 lines of server.log ---"
|
echo "--- Server side failures can be located inside server.log (available from artifacts on CI) ---"
|
||||||
tail -100 server.log
|
|
||||||
elif [[ "$STACK_CONFIG" == *"docker:"* ]]; then
|
elif [[ "$STACK_CONFIG" == *"docker:"* ]]; then
|
||||||
docker_log_file="docker-${DISTRO}-${INFERENCE_MODE}.log"
|
docker_log_file="docker-${DISTRO}-${INFERENCE_MODE}.log"
|
||||||
if [[ -f "$docker_log_file" ]]; then
|
if [[ -f "$docker_log_file" ]]; then
|
||||||
echo "--- Last 100 lines of $docker_log_file ---"
|
echo "--- Server side failures can be located inside $docker_log_file (available from artifacts on CI) ---"
|
||||||
tail -100 "$docker_log_file"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue