ansible-collections / ansible.netcommon

Ansible Network Collection for Common Code
GNU General Public License v3.0
143 stars 104 forks source link

libssh: Use more verbose logging #638

Closed Jakuje closed 4 months ago

Jakuje commented 6 months ago
SUMMARY

The INFO log level is usually not enough to get useful information from the libssh regarding the low-level issues that we would like to be able to resolve. This can be made even more fine grained, but I do not think less verbose logs would be much useful anyway.

Related is the issue in pylibssh, which maps the DEBUG verbosity to something that is not debug in libssh itself:

https://github.com/ansible/pylibssh/pull/597

If needed separate change before the pylibssh is fixed, using logging.CRITICAL could do.

ISSUE TYPE
COMPONENT NAME

connection/libssh

softwarefactory-project-zuul[bot] commented 6 months ago

Build failed. https://ansible.softwarefactory-project.io/zuul/buildset/bada95d290a24313838ca3b6b737ff38

:x: ansible-test-network-integration-junos-vsrx-netconf-python36-stable29 FAILURE in 14m 44s (non-voting) :heavy_check_mark: ansible-test-network-integration-junos-vsrx-netconf-python36-stable211 SUCCESS in 1h 18m 12s :heavy_check_mark: ansible-test-network-integration-junos-vsrx-netconf-python39-stable212 SUCCESS in 1h 05m 28s :x: ansible-test-network-integration-junos-vsrx-netconf-python39 RETRY_LIMIT in 9m 09s :x: ansible-test-network-integration-junos-vsrx-network_cli-python36-stable29 FAILURE in 13m 40s (non-voting) :heavy_check_mark: ansible-test-network-integration-junos-vsrx-network_cli-python36-stable211 SUCCESS in 17m 37s :heavy_check_mark: ansible-test-network-integration-junos-vsrx-network_cli-python39-stable212 SUCCESS in 15m 35s :x: ansible-test-network-integration-junos-vsrx-network_cli-python39 RETRY_LIMIT in 10m 15s :x: ansible-test-network-integration-junos-vsrx-network_cli-libssh-python36-stable29 FAILURE in 26m 53s (non-voting) :x: ansible-test-network-integration-junos-vsrx-network_cli-libssh-python36-stable211 RETRY_LIMIT in 4m 27s :heavy_check_mark: ansible-test-network-integration-junos-vsrx-network_cli-libssh-python39-stable212 SUCCESS in 20m 24s :x: ansible-test-network-integration-junos-vsrx-network_cli-libssh-python39 RETRY_LIMIT in 9m 50s :x: ansible-test-network-integration-vyos-paramiko-python39-devel NODE_FAILURE Node request 200-0007220656 failed in 0s :x: ansible-test-network-integration-vyos-paramiko-python39-stable214 NODE_FAILURE Node request 200-0007220657 failed in 0s :x: ansible-test-network-integration-vyos-paramiko-python39-stable213 NODE_FAILURE Node request 200-0007220658 failed in 0s :x: ansible-test-network-integration-vyos-paramiko-python39-stable212 NODE_FAILURE Node request 200-0007220659 failed in 0s :x: ansible-test-network-integration-vyos-paramiko-python36-stable29 NODE_FAILURE Node request 200-0007220660 failed in 0s (non-voting) :x: ansible-test-network-integration-vyos-libssh-python39-devel NODE_FAILURE Node request 200-0007220661 failed in 0s :x: ansible-test-network-integration-vyos-libssh-python39-stable214 NODE_FAILURE Node request 200-0007220662 failed in 0s :x: ansible-test-network-integration-vyos-libssh-python39-stable213 NODE_FAILURE Node request 200-0007220663 failed in 0s :x: ansible-test-network-integration-vyos-libssh-python39-stable212 NODE_FAILURE Node request 200-0007220664 failed in 0s :x: ansible-test-network-integration-vyos-libssh-python36-stable29 NODE_FAILURE Node request 200-0007220665 failed in 0s :heavy_check_mark: build-ansible-collection SUCCESS in 13m 32s :x: ansible-test-network-integration-ansible-netcommon-junos-vsrx-netconf-python39 RETRY_LIMIT in 6m 14s :x: ansible-tox-linters FAILURE in 12m 28s :heavy_check_mark: ansible-galaxy-importer SUCCESS in 5m 06s

softwarefactory-project-zuul[bot] commented 5 months ago

Build failed. https://ansible.softwarefactory-project.io/zuul/buildset/c920189c7299439cb178ee5a349a36b3

:x: ansible-test-network-integration-junos-vsrx-netconf-python36-stable29 FAILURE in 13m 54s (non-voting) :heavy_check_mark: ansible-test-network-integration-junos-vsrx-netconf-python36-stable211 SUCCESS in 1h 17m 51s :heavy_check_mark: ansible-test-network-integration-junos-vsrx-netconf-python39-stable212 SUCCESS in 1h 09m 48s :x: ansible-test-network-integration-junos-vsrx-netconf-python39 RETRY_LIMIT in 10m 22s :x: ansible-test-network-integration-junos-vsrx-network_cli-python36-stable29 FAILURE in 20m 14s (non-voting) :heavy_check_mark: ansible-test-network-integration-junos-vsrx-network_cli-python36-stable211 SUCCESS in 17m 10s :heavy_check_mark: ansible-test-network-integration-junos-vsrx-network_cli-python39-stable212 SUCCESS in 15m 59s :x: ansible-test-network-integration-junos-vsrx-network_cli-python39 RETRY_LIMIT in 6m 47s :x: ansible-test-network-integration-junos-vsrx-network_cli-libssh-python36-stable29 FAILURE in 22m 41s (non-voting) :heavy_check_mark: ansible-test-network-integration-junos-vsrx-network_cli-libssh-python36-stable211 SUCCESS in 18m 03s :heavy_check_mark: ansible-test-network-integration-junos-vsrx-network_cli-libssh-python39-stable212 SUCCESS in 15m 37s :x: ansible-test-network-integration-junos-vsrx-network_cli-libssh-python39 RETRY_LIMIT in 7m 14s :x: ansible-test-network-integration-vyos-paramiko-python39-devel NODE_FAILURE Node request 200-0007241115 failed in 0s :x: ansible-test-network-integration-vyos-paramiko-python39-stable214 NODE_FAILURE Node request 200-0007241116 failed in 0s :x: ansible-test-network-integration-vyos-paramiko-python39-stable213 NODE_FAILURE Node request 200-0007241117 failed in 0s :x: ansible-test-network-integration-vyos-paramiko-python39-stable212 NODE_FAILURE Node request 200-0007241118 failed in 0s :x: ansible-test-network-integration-vyos-paramiko-python36-stable29 NODE_FAILURE Node request 200-0007241119 failed in 0s (non-voting) :x: ansible-test-network-integration-vyos-libssh-python39-devel NODE_FAILURE Node request 200-0007241120 failed in 0s :x: ansible-test-network-integration-vyos-libssh-python39-stable214 NODE_FAILURE Node request 200-0007241121 failed in 0s :x: ansible-test-network-integration-vyos-libssh-python39-stable213 NODE_FAILURE Node request 200-0007241122 failed in 0s :x: ansible-test-network-integration-vyos-libssh-python39-stable212 NODE_FAILURE Node request 200-0007241123 failed in 0s :x: ansible-test-network-integration-vyos-libssh-python36-stable29 NODE_FAILURE Node request 200-0007241124 failed in 0s :heavy_check_mark: build-ansible-collection SUCCESS in 13m 13s :x: ansible-test-network-integration-ansible-netcommon-junos-vsrx-netconf-python39 RETRY_LIMIT in 14m 19s :x: ansible-tox-linters FAILURE in 11m 43s :heavy_check_mark: ansible-galaxy-importer SUCCESS in 3m 33s

rohitthakur2590 commented 4 months ago

As discussed closing this.