From d0c2d40c7b9dccfec75d6ba936861b792db1cce9 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Tue, 25 Jun 2024 14:03:56 +0530 Subject: [PATCH] chore: Logs and potential fix for CI startup flakiness (#34461) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `tlog` command isn't predictably getting the executable permission, so we're explicitly setting that up in `Dockerfile` here. As well as in the setup script for Cypress, if we get a 502 even after 90 seconds, we print the logs of the `appsmith` container, so we're not guessing the causes. This should provide us more information next time we see such flakiness. **/test sanity** > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: 96c777dd9a1bd8c28477bf1dcd1d4748ced0022e > Cypress dashboard. > Tags: `@tag.Sanity` ## Summary by CodeRabbit - **Chores** - Updated Dockerfile to ensure custom command-scripts in `/opt/bin/` have executable permissions. - Enhanced `setup-test-ci.sh` script to output `appsmith` logs when the server connection fails. --- Dockerfile | 3 +++ app/client/cypress/setup-test-ci.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7d30696d4a..51c91bc542 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,9 @@ RUN <