该问题需要定位,由于用到了python脚本解析,但是python脚本用到了networkx模块,所以需要先解决networkx问题。由于我用的ubuntu16.04版本,默认是3.6的,但是脚本执行需要至少升级到python3.7。
对应问题
[ SKIP ] Ordering cycle found, skipping Sockets
[ SKIP ] Ordering cycle found, skipping test_systemd servicetest_systemd .service - test_systemd service
Loaded: loaded (/lib/systemd/system/test_systemd .service; enabled; vendor preset: enabled)
Active: inactive (dead)
python3.7安装
因此需要先升级python3.7
1> 下载python3.7.1
sudo wget https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tgz
解压 sudo tar xzf Python-3.7.1.tgz
sudo mkdir -p /usr/local/python3