Benchmarking for the DisplayServer and its spawned application #268
Test results ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
junit-mir_kiosk-3.10.xml | 7✅ | 6❌ | 97s | |
junit-mir_kiosk-3.8.xml | 7✅ | 6❌ | 98s | |
junit-self-3.10.xml | 5✅ | 1❌ | 13s |
❌ junit-mir_kiosk-3.10.xml
13 tests were completed in 97s with 7 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 7✅ | 6❌ | 97s |
❌ pytest
test_apps_can_run.TestAppsCanRun
❌ test_app_can_run[mir_kiosk-wpe-webkit-mir-kiosk]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86fdf0>
❌ test_app_can_run[mir_kiosk-mir-kiosk-neverputt]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86fe80>
❌ test_app_can_run[mir_kiosk-mir-kiosk-scummvm]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86ff10>
❌ test_app_can_run[mir_kiosk-mir-kiosk-kodi]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86ffa0>
❌ test_app_can_run[mir_kiosk-pluma]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d8bc070>
❌ test_app_can_run[mir_kiosk-qterminal]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d8bc100>
test_screencopy_bandwidth.TestScreencopyBandwidth
✅ test_active_app[mir_kiosk-asciinema]
✅ test_active_app[mir_kiosk-mir-kiosk-neverputt]
✅ test_compositor_alone[mir_kiosk]
✅ test_inactive_app[mir_kiosk-qterminal]
✅ test_inactive_app[mir_kiosk-pluma]
✅ test_inactive_app[mir_kiosk-mir-kiosk-kodi]
test_server.TestServerCanRun
✅ test_server_can_run[mir_kiosk]
❌ junit-mir_kiosk-3.8.xml
13 tests were completed in 98s with 7 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 7✅ | 6❌ | 98s |
❌ pytest
test_apps_can_run.TestAppsCanRun
❌ test_app_can_run[mir_kiosk-wpe-webkit-mir-kiosk]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34d9a0>
❌ test_app_can_run[mir_kiosk-mir-kiosk-neverputt]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34da60>
❌ test_app_can_run[mir_kiosk-mir-kiosk-scummvm]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34db20>
❌ test_app_can_run[mir_kiosk-mir-kiosk-kodi]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34dbe0>
❌ test_app_can_run[mir_kiosk-pluma]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34dca0>
❌ test_app_can_run[mir_kiosk-qterminal]
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34dd60>
test_screencopy_bandwidth.TestScreencopyBandwidth
✅ test_active_app[mir_kiosk-asciinema]
✅ test_active_app[mir_kiosk-mir-kiosk-neverputt]
✅ test_compositor_alone[mir_kiosk]
✅ test_inactive_app[mir_kiosk-qterminal]
✅ test_inactive_app[mir_kiosk-pluma]
✅ test_inactive_app[mir_kiosk-mir-kiosk-kodi]
test_server.TestServerCanRun
✅ test_server_can_run[mir_kiosk]
❌ junit-self-3.10.xml
6 tests were completed in 13s with 5 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 5✅ | 1❌ | 13s |
❌ pytest
test_tests.TestTest
❌ test_project_typechecks
self = <mir_ci.test_tests.TestTest object at 0x7f86102ba950>
test_tests.TestProgram
✅ test_program_gives_output
✅ test_program_can_be_waited_for
✅ test_program_can_be_terminated
✅ test_program_is_killed_when_terminate_fails
✅ test_program_command_has_prefix_when_systemd_slice_is_set
Annotations
Check failure on line 0 in junit-mir_kiosk-3.10.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-wpe-webkit-mir-kiosk]
Failed test found in:
junit-mir_kiosk-3.10.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86fdf0>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86fdf0>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f913d86e410>
record_property = <function record_property.<locals>.append_property at 0x7f913d689cf0>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f913d6a2350>
record_property = <function record_property.<locals>.append_property at 0x7f913d689cf0>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError
Check failure on line 0 in junit-mir_kiosk-3.10.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-mir-kiosk-neverputt]
Failed test found in:
junit-mir_kiosk-3.10.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86fe80>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86fe80>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f913d86e4a0>
record_property = <function record_property.<locals>.append_property at 0x7f913d6f2950>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f913c50e020>
record_property = <function record_property.<locals>.append_property at 0x7f913d6f2950>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError
Check failure on line 0 in junit-mir_kiosk-3.10.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-mir-kiosk-scummvm]
Failed test found in:
junit-mir_kiosk-3.10.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86ff10>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86ff10>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f913d86e5c0>
record_property = <function record_property.<locals>.append_property at 0x7f913d6f3eb0>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f913d6a3eb0>
record_property = <function record_property.<locals>.append_property at 0x7f913d6f3eb0>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError
Check failure on line 0 in junit-mir_kiosk-3.10.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-mir-kiosk-kodi]
Failed test found in:
junit-mir_kiosk-3.10.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86ffa0>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d86ffa0>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f913d86e7d0>
record_property = <function record_property.<locals>.append_property at 0x7f913d6f2e60>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f913c50c5b0>
record_property = <function record_property.<locals>.append_property at 0x7f913d6f2e60>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError
Check failure on line 0 in junit-mir_kiosk-3.10.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-pluma]
Failed test found in:
junit-mir_kiosk-3.10.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d8bc070>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d8bc070>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f913d86eb00>
record_property = <function record_property.<locals>.append_property at 0x7f913d6f32e0>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f913c546290>
record_property = <function record_property.<locals>.append_property at 0x7f913d6f32e0>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError
Check failure on line 0 in junit-mir_kiosk-3.10.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-qterminal]
Failed test found in:
junit-mir_kiosk-3.10.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d8bc100>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f913d8bc100>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f913d86ee30>
record_property = <function record_property.<locals>.append_property at 0x7f913d6f3880>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f913d6a2320>
record_property = <function record_property.<locals>.append_property at 0x7f913d6f3880>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError
Check failure on line 0 in junit-mir_kiosk-3.8.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-wpe-webkit-mir-kiosk]
Failed test found in:
junit-mir_kiosk-3.8.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34d9a0>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34d9a0>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f71ec3dcb50>
record_property = <function record_property.<locals>.append_property at 0x7f71ec0def70>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f71ec0f5f40>
record_property = <function record_property.<locals>.append_property at 0x7f71ec0def70>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError
Check failure on line 0 in junit-mir_kiosk-3.8.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-mir-kiosk-neverputt]
Failed test found in:
junit-mir_kiosk-3.8.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34da60>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34da60>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f71ec3dce50>
record_property = <function record_property.<locals>.append_property at 0x7f71ec0bbd30>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f71ec0c1490>
record_property = <function record_property.<locals>.append_property at 0x7f71ec0bbd30>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError
Check failure on line 0 in junit-mir_kiosk-3.8.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-mir-kiosk-scummvm]
Failed test found in:
junit-mir_kiosk-3.8.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34db20>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34db20>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f71ec3dce80>
record_property = <function record_property.<locals>.append_property at 0x7f71eb029310>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f71ec0c4ee0>
record_property = <function record_property.<locals>.append_property at 0x7f71eb029310>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError
Check failure on line 0 in junit-mir_kiosk-3.8.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-mir-kiosk-kodi]
Failed test found in:
junit-mir_kiosk-3.8.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34dbe0>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34dbe0>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f71ec3dcfd0>
record_property = <function record_property.<locals>.append_property at 0x7f71eb029700>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f71eb0530d0>
record_property = <function record_property.<locals>.append_property at 0x7f71eb029700>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError
Check failure on line 0 in junit-mir_kiosk-3.8.xml
github-actions / Test results
pytest ► test_apps_can_run.TestAppsCanRun ► test_app_can_run[mir_kiosk-pluma]
Failed test found in:
junit-mir_kiosk-3.8.xml
Error:
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34dca0>
Raw output
self = <mir_ci.test_apps_can_run.TestAppsCanRun object at 0x7f71ec34dca0>
server = ('mir-kiosk',), app = <mir_ci.apps.Dependency object at 0x7f71ec3e33a0>
record_property = <function record_property.<locals>.append_property at 0x7f71eb029c10>
@pytest.mark.smoke
@pytest.mark.parametrize('app', [
apps.wpe(),
apps.snap('mir-kiosk-neverputt'),
apps.snap('mir-kiosk-scummvm'),
apps.snap('mir-kiosk-kodi'),
apps.pluma(),
apps.qterminal(),
])
async def test_app_can_run(self, server, app, record_property) -> None:
server_instance = DisplayServer(server)
program = server_instance.program(app.command, app_type=app.app_type)
benchmarker = Benchmarker(server_instance, program, poll_time_seconds=0.1)
async with benchmarker:
await asyncio.sleep(short_wait_time)
> benchmarker.generate_report(record_property)
test_apps_can_run.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mir_ci.benchmarker.Benchmarker object at 0x7f71eafdd7c0>
record_property = <function record_property.<locals>.append_property at 0x7f71eb029c10>
def generate_report(self, record_property: Callable[[str, object], None]):
> for item in self.get_data():
E AttributeError: 'Benchmarker' object has no attribute 'get_data'
benchmarker.py:146: AttributeError