dump logs
This commit is contained in:
parent
fb64c3e966
commit
fcfb07fee2
1 changed files with 14 additions and 2 deletions
16
Makefile
16
Makefile
|
|
@ -227,9 +227,21 @@ test-ci:
|
||||||
sleep 2; \
|
sleep 2; \
|
||||||
done; \
|
done; \
|
||||||
if [ "$$JWT_AUTH_READY" = "false" ]; then \
|
if [ "$$JWT_AUTH_READY" = "false" ]; then \
|
||||||
|
echo ""; \
|
||||||
|
echo "========================================================================"; \
|
||||||
echo "✗ ERROR: OpenSearch JWT authentication failed to work after 120 seconds!"; \
|
echo "✗ ERROR: OpenSearch JWT authentication failed to work after 120 seconds!"; \
|
||||||
echo " This likely means the OIDC security configuration was not applied correctly."; \
|
echo "========================================================================"; \
|
||||||
echo " Check OpenSearch logs: docker logs os"; \
|
echo ""; \
|
||||||
|
echo "Dumping OpenSearch container logs:"; \
|
||||||
|
echo "------------------------------------------------------------------------"; \
|
||||||
|
docker logs os --tail 100; \
|
||||||
|
echo "------------------------------------------------------------------------"; \
|
||||||
|
echo ""; \
|
||||||
|
echo "Dumping backend container logs:"; \
|
||||||
|
echo "------------------------------------------------------------------------"; \
|
||||||
|
docker logs openrag-backend --tail 50; \
|
||||||
|
echo "------------------------------------------------------------------------"; \
|
||||||
|
echo ""; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
echo "Waiting for Langflow..."; \
|
echo "Waiting for Langflow..."; \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue