tumbler-thumbnailing automated

medium

Image Types:
basesdk-amd64 / sdk-amd64
Image Deployment:
APT, OSTree
Type:
functional

Description

Check that all thumbnailing features of tumbler are working properly (large, small, videos, documents, images).


Pre Conditions

  1. Clone the tests repository from another computer (Note that the branch being tested may change depending on the release, please make sure to clone the correct branch for the release in question):
  2. $ git clone --branch apertis/v2023dev3 https://gitlab.apertis.org/tests/tumbler-thumbnailing.git
  3. Copy the test directory tumbler-thumbnailing to the target device:
  4. $ DUT_IP=<device-ip>
    $ scp -r tumbler-thumbnailing user@$DUT_IP:
  5. Log into the target device:
  6. $ ssh user@$DUT_IP

Execution Steps

  1. Enter test directory:
  2. $ cd tumbler-thumbnailing
  3. Run the test script:
  4. $ common/run-test-in-systemd --timeout=900 --user=user --name=run-test env DEBUG=2 ./run-test.sh

Expected

The output should be similar to:

>>> Running test 'test_image_normal_thumbnail_generation' ...

>>> Running test 'test_image_large_thumbnail_generation' ...

>>> Running test 'test_document_normal_thumbnail_generation' ...

>>> Running test 'test_document_large_thumbnail_generation' ...

>>> Running test 'test_video_normal_thumbnail_generation' ...

>>> Running test 'test_video_large_thumbnail_generation' ...

>>> All tests PASSED successfully!

If any test failed, they will be listed instead of the success message.

>>> The following tests FAILED:

[list of tests]