You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "driftx (via GitHub)" <gi...@apache.org> on 2026/08/27 14:43:37 UTC

[PR] CASSANDRA-21624: Reduce CI console logging [cassandra]

driftx opened a new pull request, #5072:
URL: https://github.com/apache/cassandra/pull/5072

   * dtest: pytest --log-cli-level=DEBUG dropped to WARNING
   * Jenkinsfile: filter ant "Forking using command" classpath echoes
   
   Patch by brandonwilliams, reviewed by TBD
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] CASSANDRA-21624: Reduce CI console logging [cassandra]

Posted by "driftx (via GitHub)" <gi...@apache.org>.
driftx commented on code in PR #5072:
URL: https://github.com/apache/cassandra/pull/5072#discussion_r3929114901


##########
.build/run-python-dtests.sh:
##########
@@ -196,7 +196,9 @@ fi
 SPLIT_TESTS="${SPLIT_TESTS//$'\n'/ }"
 
 pytest_results_file="${DIST_DIR}/test/output/nosetests.xml"
-pytest_opts="-vv --log-cli-level=DEBUG --junit-xml=${pytest_results_file} --junit-prefix=${DTEST_TARGET} -s"
+# WARNING (not DEBUG): the driver's reconnect loop logs full tracebacks at DEBUG, which
+#  floods the Jenkins console (tens of MB per cell) and the controller's in-memory step log
+pytest_opts="-vv --log-cli-level=WARNING --junit-xml=${pytest_results_file} --junit-prefix=${DTEST_TARGET} -s"

Review Comment:
   :man_shrugging: 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] CASSANDRA-21624: Reduce CI console logging [cassandra]

Posted by "driftx (via GitHub)" <gi...@apache.org>.
driftx closed pull request #5072: CASSANDRA-21624: Reduce CI console logging
URL: https://github.com/apache/cassandra/pull/5072


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] CASSANDRA-21624: Reduce CI console logging [cassandra]

Posted by "michaelsembwever (via GitHub)" <gi...@apache.org>.
michaelsembwever commented on code in PR #5072:
URL: https://github.com/apache/cassandra/pull/5072#discussion_r3919566476


##########
.build/run-python-dtests.sh:
##########
@@ -196,7 +196,9 @@ fi
 SPLIT_TESTS="${SPLIT_TESTS//$'\n'/ }"
 
 pytest_results_file="${DIST_DIR}/test/output/nosetests.xml"
-pytest_opts="-vv --log-cli-level=DEBUG --junit-xml=${pytest_results_file} --junit-prefix=${DTEST_TARGET} -s"
+# WARNING (not DEBUG): the driver's reconnect loop logs full tracebacks at DEBUG, which
+#  floods the Jenkins console (tens of MB per cell) and the controller's in-memory step log
+pytest_opts="-vv --log-cli-level=WARNING --junit-xml=${pytest_results_file} --junit-prefix=${DTEST_TARGET} -s"

Review Comment:
   not info ? 🤷🏼



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] CASSANDRA-21624: Reduce CI console logging [cassandra]

Posted by "michaelsembwever (via GitHub)" <gi...@apache.org>.
michaelsembwever commented on code in PR #5072:
URL: https://github.com/apache/cassandra/pull/5072#discussion_r3919558598


##########
.jenkins/Jenkinsfile:
##########
@@ -359,14 +356,14 @@ def build(command, cell) {
                 test -f .jenkins/Jenkinsfile || { echo "Invalid git fork/branch"; exit 1; }
                 grep -q "Jenkins CI declaration" .jenkins/Jenkinsfile || { echo "Only Cassandra 5.0+ supported"; exit 1; }
               """
-            fetchDockerImages("redhat" == cell.step ? ['almalinux-build'] : ['debian-build'])
+            fetchDockerImages("redhat" == cell.step ? ['almalinux-build'] : ['bullseye-build'])
             def cell_suffix = "_jdk${cell.jdk}_${cell.arch}"
             def logfile = "stage-logs/${JOB_NAME}_${BUILD_NUMBER}_${cell.step}${cell_suffix}_attempt${attempt}.log.xz"
             def script_vars = "#!/bin/bash \n set -o pipefail ; " // pipe to tee needs pipefail
             script_vars = "${script_vars} m2_dir=\'${WORKSPACE}/build/m2\'"
             timeout(time: 1, unit: 'HOURS') {
               try {
-                def status = sh label: "RUNNING ${cell.step}...", script: "${script_vars} ${build_script} ${cell.jdk} 2>&1 | tee >( xz -c > build/${logfile} )", returnStatus: true
+                def status = sh label: "RUNNING ${cell.step}...", script: "${script_vars} ${build_script} ${cell.jdk} 2>&1 | tee >( xz -c > build/${logfile} ) | sed -e '/Forking using command/d'", returnStatus: true

Review Comment:
   could we define a list of ignores/filters , and re/use it in each place.  
   
   (just reads odd popping up here, but a well named variable will make more sense)
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org