You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "shinrich (via GitHub)" <gi...@apache.org> on 2023/11/29 21:32:08 UTC

[I] prefetch plugin tests fail on ubuntu 22 [trafficserver]

shinrich opened a new issue, #10881:
URL: https://github.com/apache/trafficserver/issues/10881

   prefetch_bignum, prefetch_overlow and prefetch_simple fail on ubuntu 22 with the error that traffic_server's return code is -2 instead of 0.  It appears that the rest of the test passes and we are failing as the traffic_server process is shutting down.  I cannot reproduce this exit state with replay files and traffic_server running in gdb.
   
   Hopefully someone with more expertise in the autest framework can take a look at this.
   
   >      Test : Checking that ReturnCode == 0 - ^[[0m^[[31mFailed^[[0m^[[1m
           Reason: Returned Value -2 != 0


-- 
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: issues-unsubscribe@trafficserver.apache.org.apache.org

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


Re: [I] prefetch plugin tests fail on ubuntu 22 [trafficserver]

Posted by "shinrich (via GitHub)" <gi...@apache.org>.
shinrich commented on issue #10881:
URL: https://github.com/apache/trafficserver/issues/10881#issuecomment-1832920681

   And zzz_strategies_peer and zzz_strategies_peer2 also fail with traffic_server exiting with -2 on shutdown.


-- 
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: issues-unsubscribe@trafficserver.apache.org

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


Re: [I] prefetch plugin tests fail on ubuntu 22 [trafficserver]

Posted by "shinrich (via GitHub)" <gi...@apache.org>.
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: issues-unsubscribe@trafficserver.apache.org

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


Re: [I] prefetch plugin tests fail on ubuntu 22 [trafficserver]

Posted by "shinrich (via GitHub)" <gi...@apache.org>.
shinrich commented on issue #10881:
URL: https://github.com/apache/trafficserver/issues/10881#issuecomment-1845638193

   Another observation is that these tests all have MakeATSProcess that has an explicit command option that executes traffic_server with a stderr redirect, e.g.
   >  ts = Test.MakeATSProcess(f"ts_peer{i}", use_traffic_out=False, command=f"traffic_server 2> trace_peer{i}.log")
   
   Perhaps by pulling the stdio redirect into the python space causes different exit code processing?


-- 
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: issues-unsubscribe@trafficserver.apache.org

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


Re: [I] prefetch plugin tests fail on ubuntu 22 [trafficserver]

Posted by "shinrich (via GitHub)" <gi...@apache.org>.
shinrich commented on issue #10881:
URL: https://github.com/apache/trafficserver/issues/10881#issuecomment-1832854894

   strategies_ch also fails with the same error,


-- 
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: issues-unsubscribe@trafficserver.apache.org

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


Re: [I] prefetch plugin tests fail on ubuntu 22 [trafficserver]

Posted by "shinrich (via GitHub)" <gi...@apache.org>.
shinrich closed issue #10881: prefetch plugin tests fail on ubuntu 22
URL: https://github.com/apache/trafficserver/issues/10881


-- 
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: issues-unsubscribe@trafficserver.apache.org

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