shinrich commented on issue #10881: URL: https://github.com/apache/trafficserver/issues/10881#issuecomment-1832933606
Looking into this some more, I came across the following reference https://docs.python.org/3/library/subprocess.html#subprocess.CompletedProcess.returncode This implies that a return code of -2 as identified by python could mean that traffic_server shutdown as the result of a SIGINT (2). @dragon512 said that the autest infrastructure would first try to send a SIGINT and then a SIGTERM to shutdown traffic_server. Perhaps the issue is the different versions of python handle this differently. In that case -2 should be an allowable return value. Although I am unclear on how you specify allowable exit codes for the traffic_server process in autest. In my dev box, I'm running the following python > $ python3 --version Python 3.10.12 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
