Closed hakehuang closed 4 months ago
CC @nandojve
Hi @hakehuang, @pdgendt ,
On the log there is an specific message about:
devicetree error: /home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/samples/sensor/qdec/boards/mimxrt1050_evk.overlay:41 (column 1): parse error: undefined node label 'touch_controller'"
Since this is a building error I would say that e6d8ed2 is not the root of the problem. The e6d8ed2 enables all devices with qdec0
to catch any possible build error and maybe this is why you can see this now.
@EmilioCBen please add this to the 3.7 bug sweep
@hakehuang this test fails in v3.6.0. Something changed in your test environment and I suspect it is running test cases outside of twister or something because the sample.yaml for this test case is only for nucleo_f401re (which @nandojve is also pointing out because the failure is the lack of a touchscreen):
tests:
sample.sensor.qdec_sensor:
platform_allow: nucleo_f401re
harness_config:
fixture: fixture_mech_encoder
Also, the bisect is wrong, which I suspect is automated given that it fails with v3.6.0.
Also, the bisect is wrong, which I suspect is automated given that it fails with v3.6.0. @dleach02 this case is never enabled before e6d8ed2e0d99bb25e9c4002b2a14c8c3a15e9e9b, so bisect detect this issue when NXP platform is enabled, as @nandojve comments: Since this is a building error I would say that e6d8ed2 is not the root of the problem. The e6d8ed2 enables all devices with
qdec0
to catch any possible build error and maybe this is why you can see this now.
see below testcase.yml.
tests:
sample.sensor.qdec_sensor:
filter: dt_alias_exists("qdec0")
harness_config:
type: multi_line
ordered: true
regex:
- "Quadrature decoder sensor test"
- "Position = (.*) degrees"
Okay, it was originally broken with a PR #56128 when the touch_controller node name was deprecated, but no automated twister testing caught this. But then further, @danieldegrasse removed the node completely since it was associated with a display to go in favor of shields defining the display in PR #72175. Then @nandojve PR to enable devices with qdec0 to be included in the test set things up for twister to find it the bug...
Describe the bug samples/sensor/qdec build failure
Please also mention any information which could help others to understand the problem you're facing:
To Reproduce Steps to reproduce the behavior:
Expected behavior build pass
Impact sensor supporting
Logs and console output
Environment (please complete the following information):