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

D. Hugh Redelmeier hugh at mimosa.com
Tue Sep 1 03:47:16 UTC 2020


After each run of the test suite, I use kvmresults.py to create a useful 
summary of how each test did.

Recently it has crashed when I run it, but only after producing the 
results I want.  So this isn't a big problem.

Here's the most recent traceback:

Traceback (most recent call last):
  File "testing/utils/kvmresults.py", line 264, in <module>
    sys.exit(main())
  File "testing/utils/kvmresults.py", line 166, in main
    exit_code = results(logger, tests, baseline, args, result_stats)
  File "testing/utils/kvmresults.py", line 212, in results
    result = post.mortem(test, args,
  File "/home/build/libreswan/testing/utils/fab/post.py", line 546, in mortem
    test_result = TestResult(logger, test, quick,
  File "/home/build/libreswan/testing/utils/fab/post.py", line 279, in __init__
    if self.grub(pluto_log_filename, "ASSERTION FAILED"):
  File "/home/build/libreswan/testing/utils/fab/post.py", line 475, in grub
    contents = self._file_contents(path)
  File "/home/build/libreswan/testing/utils/fab/post.py", line 466, in _file_contents
    self._file_contents_cache[path] = f.read()
MemoryError


More information about the Swan-dev mailing list