[Swan-dev] testing/utils/kvmresults.py has a problem

Andrew Cagney andrew.cagney at gmail.com
Thu Sep 3 19:44:00 UTC 2020


On Thu, 3 Sep 2020 at 13:24, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
>
> | From: Andrew Cagney <andrew.cagney at gmail.com>
>
> | there is a really really really big pluto.log somewhere?
>
> $ ls -s testing/pluto/*/OUTPUT/*pluto.log | sort -n | tail
>     1624 testing/pluto/impair-08-ikev2-key-length-attribute/OUTPUT/east.pluto.log
>     1684 testing/pluto/impair-08-ikev1-key-length-attribute/OUTPUT/west.pluto.log
>     1736 testing/pluto/impair-09-protected-ikev1/OUTPUT/west.pluto.log
>     1740 testing/pluto/impair-08-ikev2-key-length-attribute/OUTPUT/west.pluto.log
>     2264 testing/pluto/interop-ikev2-strongswan-01-ike-algo-responder/OUTPUT/west.pluto.log
>     2856 testing/pluto/ikev1-cryptoload-01/OUTPUT/west.pluto.log
>     3260 testing/pluto/ikev1-cryptoload-01/OUTPUT/east.pluto.log
>    67512 testing/pluto/ikev2-tcp-10-rekey-ike/OUTPUT/west.pluto.log
>    67536 testing/pluto/ikev2-tcp-10-rekey-child/OUTPUT/west.pluto.log
> 33456092 testing/pluto/ikev2-tcp-25-rw-nat/OUTPUT/road.pluto.log
>
> Yup!
>
> It seems as if the output keeps on coming long after the test should
> havea been shut down.  Is that something you can fix?

I suspect that's more of a symptom.

The following would have happened:

- road booted
- pluto started and tests run
- pluto on road left running and, presumably, spewing log messages

even though, pretty much immediately, kvmrunner tries to load the log
file, it's already too late.
First shutting down road likely wouldn't help.

So why is that log file so big?

Hmm ..., TCP. Hmm ...

perhaps you need the custom kernel with the upstream tcp fixes?





> $ ls -ltr testing/pluto/ikev2-tcp-25-rw-nat/OUTPUT/
> total 33664380
> -rw-rw-r--. 1 build build        1423 Sep  3 03:27 road.console.verbose.txt
> -rw-rw-r--. 1 build build        2139 Sep  3 03:27 nic.console.verbose.txt
> -rw-rw-r--. 1 build build         727 Sep  3 03:27 east.console.verbose.txt
> -rw-rw-r--. 1 build build      848099 Sep  3 03:27 debug.log
> -rw-rw-r--. 1 build build         781 Sep  3 03:27 road.console.txt
> -rw-rw-r--. 1 build build        1595 Sep  3 03:27 nic.console.txt
> -rw-rw-r--. 1 build build         263 Sep  3 03:27 east.console.txt
> -rw-rw-r--. 1 build build        3287 Sep  3 03:27 road.console.diff
> -rw-rw-r--. 1 build build         278 Sep  3 03:27 RESULT
> -rw-rw-r--. 1 build build           0 Sep  3 03:27 nic.console.diff
> -rw-rw-r--. 1 build build        1738 Sep  3 03:27 east.console.diff
> -rwxr-xr-x. 1 build qemu       656477 Sep  3 13:21 east.pluto.log
> -rwxr-xr-x. 1 build qemu  34470761890 Sep  3 13:21 road.pluto.log


More information about the Swan-dev mailing list