tap2subunit: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/tap2subunit - from package: python-subunit

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/tap2subunit - from package: subunit

You may install the required package with command apt-get install {package}
Error in other languages:
tap2subunit: bevel nie gevind nie
tap2subunit: comandă negăsită
tap2subunit: comando não encontrado
tap2subunit: commande introuvable
tap2subunit: command not found
tap2subunit: käsku ei ole
tap2subunit: không tìm thấy lệnh
tap2subunit: komanda nerasta
tap2subunit: Kommando nicht gefunden.
tap2subunit: kommandot finns inte
tap2subunit: komut yok
tap2subunit: nie znaleziono polecenia
tap2subunit: níor aimsíodh an t-ordú
tap2subunit: no se encontró la orden
tap2subunit: no s'ha trobat l'ordre
tap2subunit: opdracht niet gevonden
tap2subunit: parancs nem található
tap2subunit: perintah tidak ditemukan
tap2subunit: príkaz nenájdený
tap2subunit: příkaz nenalezen
tap2subunit: команда не найдена
tap2subunit: командата не е открита
tap2subunit: 命令找不到
tap2subunit: コマンドが見つかりません