Skip to content
Snippets Groups Projects
Commit ca50f4ed authored by Simon McVittie's avatar Simon McVittie
Browse files

tests: Time how long is taken for various aspects of containers test

parent 03dba23f
No related branches found
No related tags found
No related merge requests found
Pipeline #14255 failed
......@@ -28,6 +28,7 @@ variables:
pandoc
python3
python3.5
time
zlib1g
IMAGES_DOWNLOAD_URL: ''
......
......@@ -93,6 +93,7 @@ import shutil
import struct
import sys
import tempfile
import time
import unittest
try:
......@@ -524,6 +525,9 @@ class TestContainers(BaseTest):
if not os.path.isdir(runtime):
self.skipTest('{} not found'.format(runtime))
start_time = time.time()
logger.info('Testing: %s', test_name)
artifacts = os.path.join(
self.artifacts,
test_name,
......@@ -829,6 +833,11 @@ class TestContainers(BaseTest):
require_flag_file=require_flag_file,
)
logger.info(
'Time elapsed in %s: %.1f',
test_name, time.time() - start_time,
)
def _assert_mutable_sysroot(
self,
tree: str,
......
......@@ -25,7 +25,7 @@ else
fi
for suite in $suites; do
python3 ./pressure-vessel/populate-depot.py \
time python3 ./pressure-vessel/populate-depot.py \
--depot="$builddir/depots/$suite" \
--pressure-vessel "${PRESSURE_VESSEL}" \
--source-dir="$builddir/depot-template" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment