Skip to content

i2c-tools: sanity: Add tmt support for i2cdetect-smoke tests.

Hello,

I have tested i2cdetect with both beakerlib and the tmt support by provisioning
the two guests under beaker, one guest for x86_64 and one for aarch64
architecture.

Please find the logs attached, [1] for the aarch64 and [2] for x86_64
accordingly. Also, I have verified that the beaker recipes are going
through successfully.

In order to test the the converted tests with tmt, I have executed:

tmt run -vvv --all provision --how connect \
	--guest ampere-mtsnow-altramax-06.khw4.lab.eng.bos.redhat.com \
	--key ~/.ssh/id_ed25519 \
	test --name /packages/i2c-tools/sanity/i2cdetect-smoke \
	plan --name arch_hw \
tmt run -vvv --all provision --how connect \
	--guest wlan-r2s21.wlan.rhts.eng.bos.redhat.com \
	--key ~/.ssh/id_ed25519 \
	test --name /packages/i2c-tools/sanity/i2cdetect-smoke \
	plan --name arch_hw \

Where the above plan is a minimalist version just to go through with matching
the test and execute it through the provisioned system.

[1]i2c-detect-journal_aarch64.txt [2]i2c-detect-journal_x86_64.txt

Edited by Emmanuil Chatzipetru

Merge request reports