trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fieck, Brennan" <>
Subject Re: [EXTERNAL] Re: How to skip test when building TS
Date Fri, 19 Apr 2019 14:56:41 GMT
The script runs it in the foreground.

Essentially, we set the container's CMD to `/` and ADD a local script named ``
to the root of the container's filesystem. So, in that script you'd do something like:

   trafficserver start
   exec tail -f /var/log/trafficserver/diags.log

that last line ensures that the ATS diagnostic logs are output from the container.

From: Guofeng Zhang <>
Sent: Thursday, April 18, 2019 8:55 PM
Subject: [EXTERNAL] Re: How to skip test when building TS

That's my fault.I do not notice that I called 'make check' in my build script. Got it.


For the container usage, I think I should not change the config of a running TS server run
in a container. So it is safe to call traffic_server when running TS in a contaner, right?


I cannot understand the python script. If I call 'trafficeserver', i need it to run in the
foreground in a container. I do not know how the script accomplishes it.

Thanks all of you!


On Fri, Apr 19, 2019 at 6:36 AM Bryan Call <<>>
There shouldn't be anything triggering it unless you are running make test or make check.
 Maybe the Makefile got modified and was running the test or check target after all.

There are also regression tests that are built into the traffic_server binary and those are
run with traffic_server -R 1, but it doesn't sound like you are talking about the regression


On Apr 18, 2019, at 9:50 AM, Jason Yang <<>>

I think I had the problem too.
There was a few times, ATS always ran tests during/after make. I don't know why, but the problem
disappeared for me mysteriously after that. So I guess there might be something triggering


On Apr 18, 2019, at 12:47, Leif Hedstrom <<>>

On Apr 18, 2019, at 10:35 AM, Bryan Call <<>>

The tests shouldn't run by default when you do a make or make all.   They only run if you
run make test or make check.


Maybe he's asking how to not build the tests that are in traffic_server? There's a config
option for that, e.g.

% ./configure --disable-tests

That just removes the code from the binary, making it a tiny bit smaller (I don't know if
many people bothers with this :).

- Leif

View raw message