This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 106d675  branch autests on fedora:42 instead of rocky 8 (#385)
106d675 is described below

commit 106d675b53449a6705e1b79b2cef2a18bfda0273
Author: Brian Neradt <[email protected]>
AuthorDate: Thu Jul 24 11:23:13 2025 -0500

    branch autests on fedora:42 instead of rocky 8 (#385)
---
 jenkins/branch/autest.pipeline | 7 +++----
 jenkins/github/autest.pipeline | 7 +++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/jenkins/branch/autest.pipeline b/jenkins/branch/autest.pipeline
index fdca5dd..0c40690 100644
--- a/jenkins/branch/autest.pipeline
+++ b/jenkins/branch/autest.pipeline
@@ -1,13 +1,12 @@
 pipeline {
        agent {
                docker {
+                       image 'ci.trafficserver.apache.org/ats/fedora:42'
                        registryUrl 'https://ci.trafficserver.apache.org/'
-                       image 'ci.trafficserver.apache.org/ats/rockylinux:8'
                        args '--init --cap-add=SYS_PTRACE --network=host -v 
${HOME}/ccache:/tmp/ccache:rw'
                        label 'branch'
                }
        }
-
        environment {
                CCACHE_DIR = "/tmp/ccache"
        }
@@ -132,9 +131,8 @@ pipeline {
                        steps {
                                echo 'Starting AuTest'
                                dir('src/tests') {
-
                                        sh '''#!/bin/bash -x
-                                               #set +e
+                                               set +e
                                                # We want to pick up the 
OpenSSL-QUIC version of curl in /opt/bin.
                                                # The HTTP/3 AuTests depend 
upon this, so update the PATH accordingly.
                                                export PATH=/opt/bin:${PATH}
@@ -181,6 +179,7 @@ pipeline {
                                                elif [ ${autest_failed} -ne 0 
]; then
                                                        # No sandbox. Probably 
a catestrophic failure, like an exception,
                                                        # that prevented 
execution and the creation of a sandbox.
+                                                       echo "AuTest failed."
                                                        touch 
${export_dir}/Autest_failures
                                                        sudo chmod -R 777 
${WORKSPACE}
                                                        exit 1
diff --git a/jenkins/github/autest.pipeline b/jenkins/github/autest.pipeline
index b67a4ac..156fb41 100644
--- a/jenkins/github/autest.pipeline
+++ b/jenkins/github/autest.pipeline
@@ -136,13 +136,13 @@ pipeline {
 
                                                autest_args=""
                                                testsall=( $( find . -iname 
"*.test.py" | awk -F'/' '{print $NF}' | awk -F'.' '{print $1}' ) )
-                                               if [ -d ../cmake ]; then
-                                                       # CMake: Enter into the 
build's test directory.
+
+                                               if [ -d ../cmake ]
+                                               then
                                                        cd ../build/tests
                                                        pipenv install
                                                        autest_args="--sandbox 
/tmp/sandbox"
                                                else
-                                                       # Autoconf.
                                                        autest_args="--ats-bin 
/tmp/ats/bin/ --sandbox /tmp/sandbox"
                                                fi
 
@@ -161,7 +161,6 @@ pipeline {
                                                        
shardbeg=$((${shardsize} * ${SHARD}))
                                                        
sliced=${testsall[@]:${shardbeg}:${shardsize}}
                                                        ./autest.sh 
${autest_args} -f ${sliced[@]} || autest_failed=1
-
                                                fi
 
                                                if [ -n "$(ls -A 
/tmp/sandbox/)" ]; then

Reply via email to