smoketest: T6597: add "commit" debug information
(cherry picked from commit f6485f7df8713298d81ec0d45c548417db111523)