rsmp-nordic / rsmp_validator

Official RSMP Nordic automated test tool, build with Ruby and Rpec.
https://rsmp-nordic.github.io/rsmp_validator/
MIT License
4 stars 1 forks source link

latest validator says only core 3.2.2 supported #439

Open sveitech opened 3 weeks ago

sveitech commented 3 weeks ago

When running any tests on the latest validator main (SHA 9a7aa34) we get the following error:

Sentinel warning: RSMP::HandshakeError: RSMP versions [3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.2.0] requested, but only [3.2.2] supported. 2024-09-11T11:10:27.887Z 45360 - - - Site connected from 127.0.0.1:45360 2024-09-11T11:10:27.888Z 45360 AA+BBCCC=DDD - - Using site settings for guest 2024-09-11T11:10:27.888Z 45360 AA+BBCCC=DDD - 419a Version message rejected RSMP versions [3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.2.0] requested, but only [3.2.2] supported. {

emiltin commented 3 weeks ago

Thank you for reporting. This is related to the recent change in the validator to support testing on a range of core version.

If you don't specify a core version in the test config, the latest versions is assumed. If the tested device does not support the version, you will see the error mentioned.

You can set core_version: '3.2.0' in your test config.

The new behaviour is more explicit about what core version you're testing on.

sveitech commented 3 weeks ago

This is what I have in the yaml file:

restrict_testing:
  core_version: 3.1.2
  sxl_version: 1.0.13
sveitech commented 3 weeks ago

Did you move the field location? I tried moving "core_version" into the global segment, outside "restrict_testing". Now it works. You may want to update the documentation: https://rsmp-nordic.github.io/rsmp_validator/config/

emiltin commented 3 weeks ago

You're right, that bit of doc needs fixing.