From 09938e0e14aed84cdd2209b438af6d882a3eb165 Mon Sep 17 00:00:00 2001 From: Priyanka Chatterjee Date: Mon, 22 Sep 2025 17:23:39 +0530 Subject: [PATCH 1/4] Update CI workflow to replace CentOS Stream 9 with CentOS Stream 10 for smoke testing --- .../12-test-post-release-linux-distros.yaml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/12-test-post-release-linux-distros.yaml b/.github/workflows/12-test-post-release-linux-distros.yaml index 4e58287a..083968ee 100644 --- a/.github/workflows/12-test-post-release-linux-distros.yaml +++ b/.github/workflows/12-test-post-release-linux-distros.yaml @@ -62,8 +62,8 @@ jobs: docker stop ubuntu-24-test docker rm ubuntu-24-test - smoke_test_centos_9: - name: Smoke test (CentOS Stream 9, x86_64) + smoke_test_centos_10: + name: Smoke test (CentOS Stream 10, x86_64) runs-on: ubuntu-latest steps: - name: Checkout @@ -84,29 +84,29 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0 - - name: Pull CentOS Stream 9 image - run: docker pull quay.io/centos/centos:stream9 + - name: Pull CentOS Stream 10 image + run: docker pull quay.io/centos/centos:stream10 - - name: Create and Start CentOS stream9 Container + - name: Create and Start CentOS stream10 Container run: | - docker run -d --name centos-stream9-test -v ${{ github.workspace }}/artifacts:/artifacts -v ${{ github.workspace }}/scripts:/scripts quay.io/centos/centos:stream9 tail -f /dev/null + docker run -d --name centos-stream10-test -v ${{ github.workspace }}/artifacts:/artifacts -v ${{ github.workspace }}/scripts:/scripts quay.io/centos/centos:stream10 tail -f /dev/null - name: Get runner/container info run: | - docker exec centos-stream9-test /scripts/linux_container_info.sh + docker exec centos-stream10-test /scripts/linux_container_info.sh - name: Install dependencies and setup environment run: | - docker exec centos-stream9-test /scripts/prepare_centos_container.sh + docker exec centos-stream10-test /scripts/prepare_centos_container.sh - name: Run smoke tests run: | - docker exec centos-stream9-test /scripts/smoke_test.sh + docker exec centos-stream10-test /scripts/smoke_test.sh - name: Stop and Remove Container run: | - docker stop centos-stream9-test - docker rm centos-stream9-test + docker stop centos-stream10-test + docker rm centos-stream10-test smoke_test_amazonlinux: name: Smoke test (Amazon Linux 2023, x86_64) @@ -199,7 +199,7 @@ jobs: needs: [ smoke_test_ubuntu_24, - smoke_test_centos_9, + smoke_test_centos_10, smoke_test_amazonlinux, smoke_test_linux_arm64, ] @@ -209,7 +209,7 @@ jobs: run: | # Check if all jobs succeeded UBUNTU_24_RESULT="${{ needs.smoke_test_ubuntu_24.result }}" - CENTOS_9_RESULT="${{ needs.smoke_test_centos_9.result }}" + CENTOS_9_RESULT="${{ needs.smoke_test_centos_10.result }}" AMAZONLINUX_RESULT="${{ needs.smoke_test_amazonlinux.result }}" ARM64_RESULT="${{ needs.smoke_test_linux_arm64.result }}" From d7f25f345f39fee8fae98183e8837f4ab6b2ce52 Mon Sep 17 00:00:00 2001 From: Priyanka Chatterjee Date: Mon, 22 Sep 2025 17:27:24 +0530 Subject: [PATCH 2/4] Update CI workflow to reflect CentOS Stream 10 in smoke test results --- .github/workflows/12-test-post-release-linux-distros.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/12-test-post-release-linux-distros.yaml b/.github/workflows/12-test-post-release-linux-distros.yaml index 083968ee..0a1da89b 100644 --- a/.github/workflows/12-test-post-release-linux-distros.yaml +++ b/.github/workflows/12-test-post-release-linux-distros.yaml @@ -209,13 +209,13 @@ jobs: run: | # Check if all jobs succeeded UBUNTU_24_RESULT="${{ needs.smoke_test_ubuntu_24.result }}" - CENTOS_9_RESULT="${{ needs.smoke_test_centos_10.result }}" + CENTOS_10_RESULT="${{ needs.smoke_test_centos_10.result }}" AMAZONLINUX_RESULT="${{ needs.smoke_test_amazonlinux.result }}" ARM64_RESULT="${{ needs.smoke_test_linux_arm64.result }}" WORKFLOW_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" - if [ "$UBUNTU_24_RESULT" = "success" ] && [ "$CENTOS_9_RESULT" = "success" ] && [ "$AMAZONLINUX_RESULT" = "success" ] && [ "$ARM64_RESULT" = "success" ]; then + if [ "$UBUNTU_24_RESULT" = "success" ] && [ "$CENTOS_10_RESULT" = "success" ] && [ "$AMAZONLINUX_RESULT" = "success" ] && [ "$ARM64_RESULT" = "success" ]; then MESSAGE="āœ… Tailpipe ${{ env.VERSION }} smoke tests passed!\n\nšŸ”— View details: $WORKFLOW_URL" else MESSAGE="āŒ Tailpipe ${{ env.VERSION }} smoke tests failed!\n\nšŸ”— View details: $WORKFLOW_URL" From f22dc01f37f027a6152ae5613753a753e6940a6b Mon Sep 17 00:00:00 2001 From: Priyanka Chatterjee Date: Mon, 22 Sep 2025 20:21:47 +0530 Subject: [PATCH 3/4] Update smoke test script to use init_script_path instead of database_filepath --- scripts/smoke_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/smoke_test.sh b/scripts/smoke_test.sh index 5b283a48..424e0622 100755 --- a/scripts/smoke_test.sh +++ b/scripts/smoke_test.sh @@ -16,7 +16,7 @@ jq --version /usr/local/bin/tailpipe query "SELECT 1 as smoke_test" # verify basic query works # Test connect functionality -DB_FILE=$(/usr/local/bin/tailpipe connect --output json | jq -r '.database_filepath') +DB_FILE=$(/usr/local/bin/tailpipe connect --output json | jq -r '.init_script_path') # Verify the database file exists if [ -f "$DB_FILE" ]; then From 5678502c12ecade9952c1e06f35ec4479420bc49 Mon Sep 17 00:00:00 2001 From: Puskar Basu Date: Mon, 6 Oct 2025 16:42:32 +0530 Subject: [PATCH 4/4] revert: use centos 9 stream --- .../12-test-post-release-linux-distros.yaml | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/12-test-post-release-linux-distros.yaml b/.github/workflows/12-test-post-release-linux-distros.yaml index 0a1da89b..4e58287a 100644 --- a/.github/workflows/12-test-post-release-linux-distros.yaml +++ b/.github/workflows/12-test-post-release-linux-distros.yaml @@ -62,8 +62,8 @@ jobs: docker stop ubuntu-24-test docker rm ubuntu-24-test - smoke_test_centos_10: - name: Smoke test (CentOS Stream 10, x86_64) + smoke_test_centos_9: + name: Smoke test (CentOS Stream 9, x86_64) runs-on: ubuntu-latest steps: - name: Checkout @@ -84,29 +84,29 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0 - - name: Pull CentOS Stream 10 image - run: docker pull quay.io/centos/centos:stream10 + - name: Pull CentOS Stream 9 image + run: docker pull quay.io/centos/centos:stream9 - - name: Create and Start CentOS stream10 Container + - name: Create and Start CentOS stream9 Container run: | - docker run -d --name centos-stream10-test -v ${{ github.workspace }}/artifacts:/artifacts -v ${{ github.workspace }}/scripts:/scripts quay.io/centos/centos:stream10 tail -f /dev/null + docker run -d --name centos-stream9-test -v ${{ github.workspace }}/artifacts:/artifacts -v ${{ github.workspace }}/scripts:/scripts quay.io/centos/centos:stream9 tail -f /dev/null - name: Get runner/container info run: | - docker exec centos-stream10-test /scripts/linux_container_info.sh + docker exec centos-stream9-test /scripts/linux_container_info.sh - name: Install dependencies and setup environment run: | - docker exec centos-stream10-test /scripts/prepare_centos_container.sh + docker exec centos-stream9-test /scripts/prepare_centos_container.sh - name: Run smoke tests run: | - docker exec centos-stream10-test /scripts/smoke_test.sh + docker exec centos-stream9-test /scripts/smoke_test.sh - name: Stop and Remove Container run: | - docker stop centos-stream10-test - docker rm centos-stream10-test + docker stop centos-stream9-test + docker rm centos-stream9-test smoke_test_amazonlinux: name: Smoke test (Amazon Linux 2023, x86_64) @@ -199,7 +199,7 @@ jobs: needs: [ smoke_test_ubuntu_24, - smoke_test_centos_10, + smoke_test_centos_9, smoke_test_amazonlinux, smoke_test_linux_arm64, ] @@ -209,13 +209,13 @@ jobs: run: | # Check if all jobs succeeded UBUNTU_24_RESULT="${{ needs.smoke_test_ubuntu_24.result }}" - CENTOS_10_RESULT="${{ needs.smoke_test_centos_10.result }}" + CENTOS_9_RESULT="${{ needs.smoke_test_centos_9.result }}" AMAZONLINUX_RESULT="${{ needs.smoke_test_amazonlinux.result }}" ARM64_RESULT="${{ needs.smoke_test_linux_arm64.result }}" WORKFLOW_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" - if [ "$UBUNTU_24_RESULT" = "success" ] && [ "$CENTOS_10_RESULT" = "success" ] && [ "$AMAZONLINUX_RESULT" = "success" ] && [ "$ARM64_RESULT" = "success" ]; then + if [ "$UBUNTU_24_RESULT" = "success" ] && [ "$CENTOS_9_RESULT" = "success" ] && [ "$AMAZONLINUX_RESULT" = "success" ] && [ "$ARM64_RESULT" = "success" ]; then MESSAGE="āœ… Tailpipe ${{ env.VERSION }} smoke tests passed!\n\nšŸ”— View details: $WORKFLOW_URL" else MESSAGE="āŒ Tailpipe ${{ env.VERSION }} smoke tests failed!\n\nšŸ”— View details: $WORKFLOW_URL"