Skip to content

Extend logs of error cases/improve diagnostics#22

Open
vjardin wants to merge 4 commits into
microchip-ung:masterfrom
vjardin:vj_demo_diag
Open

Extend logs of error cases/improve diagnostics#22
vjardin wants to merge 4 commits into
microchip-ung:masterfrom
vjardin:vj_demo_diag

Conversation

@vjardin

@vjardin vjardin commented Jul 9, 2026

Copy link
Copy Markdown

Following the former pull request #16 that will be into 2026.09, it would nice if it can be extended with those traces too.

please ?

vjardin added 2 commits July 6, 2026 18:54
json_req.buf carries the generated parser's topics; without it a bad
conf file fails with a bare "Error in the json configuration"
and is undebuggable.

Signed-off-by: Vincent Jardin <vjardin@free.fr>

---
misc information:
pushed to:
  microchip-ung/sw-mepa#10
  microchip-ung#16
From mepa-cmd a failed command was indistinguishable from a
successful one (rc 0, no output).

Signed-off-by: Vincent Jardin <vjardin@free.fr>
Eye-scan polls report
  "Timed out after N ms - bailing out"

which cannot be mapped to a port or side when several scans run in
sequence.

Signed-off-by: Vincent Jardin <vjardin@free.fr>
vjardin added a commit to vjardin/mesa that referenced this pull request Jul 9, 2026
From mepa-cmd a failed command was indistinguishable from a
successful one (rc 0, no output).

Signed-off-by: Vincent Jardin <vjardin@free.fr>

---
misc information:
integration (vj_integration_allPR):
  cherry-picked from: vj_demo_diag @ 793e9ca
  pull request: microchip-ung#22 (open)
vjardin added a commit to vjardin/mesa that referenced this pull request Jul 9, 2026
Eye-scan polls report
  "Timed out after N ms - bailing out"

which cannot be mapped to a port or side when several scans run in
sequence.

Signed-off-by: Vincent Jardin <vjardin@free.fr>

---
misc information:
integration (vj_integration_allPR):
  cherry-picked from: vj_demo_diag @ 8fbd674
  pull request: microchip-ung#22 (open)
vjardin added a commit to vjardin/mesa that referenced this pull request Jul 9, 2026
From mepa-cmd a failed command was indistinguishable from a
successful one (rc 0, no output).

Signed-off-by: Vincent Jardin <vjardin@free.fr>

---
misc information:
integration (vj_integration_allPR):
  cherry-picked from: vj_demo_diag @ 793e9ca
  pull request: microchip-ung#22 (open)
vjardin added a commit to vjardin/mesa that referenced this pull request Jul 9, 2026
Eye-scan polls report
  "Timed out after N ms - bailing out"

which cannot be mapped to a port or side when several scans run in
sequence.

Signed-off-by: Vincent Jardin <vjardin@free.fr>

---
misc information:
integration (vj_integration_allPR):
  cherry-picked from: vj_demo_diag @ 8fbd674
  pull request: microchip-ung#22 (open)
…aces

The failure traces have a "%d" that has no matching argument !

The printed number is a stack leftover ("failed 22" for my case) that
misleads whoever reads the log. Capture the return code and print it.

Signed-off-by: Vincent Jardin <vjardin@free.fr>
vjardin added a commit to vjardin/mesa that referenced this pull request Jul 10, 2026
…aces

The failure traces have a "%d" that has no matching argument !

The printed number is a stack leftover ("failed 22" for my case) that
misleads whoever reads the log. Capture the return code and print it.

Signed-off-by: Vincent Jardin <vjardin@free.fr>

misc information:
pushed to:
  microchip-ung#22
integration (vj_integration_allPR):
  cherry-picked from: vj_demo_diag @ a0b2a6b
  pull request: microchip-ung#22 (open)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant