Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libssh: Use more verbose logging #638

Closed
wants to merge 3 commits into from

Conversation

Jakuje
Copy link

@Jakuje Jakuje commented May 23, 2024

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:

ansible/pylibssh#597

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

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

connection/libssh

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:

ansible/pylibssh#597
Copy link
Contributor

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

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

Copy link
Contributor

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

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

@rohitthakur2590
Copy link
Contributor

As discussed closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants