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

smoketest: T5705: use locally connected remote syslog servers (backport #3889) #3890

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 28, 2024

Change Summary

As there has been no route to the configured syslog servers, smoketests produced:

rsyslogd: omfwd: socket 8: error 101 sending via udp: Network is unreachable

Rather use some fake syslog servers from 127.0.0.0/8 which are directly connected and we do not need to look up a route, which will suppress the above error message.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Related PR(s)

Component(s) name

smoketest

Smoketest result

cpo@LR2.wue3:~$ /usr/libexec/vyos/tests/smoke/cli/test_system_syslog.py
test_syslog_basic (__main__.TestRSYSLOGService.test_syslog_basic) ... ok

----------------------------------------------------------------------
Ran 1 test in 3.027s

OK

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

This is an automatic backport of pull request #3889 done by [Mergify](https://mergify.com).

As there has been no route to the configured syslog servers, smoketests produced:

  rsyslogd: omfwd: socket 8: error 101 sending via udp: Network is unreachable

Rather use some fake syslog servers from 127.0.0.0/8 which are directly
connected and we do not need to look up a route, which will suppress the above
error message.

(cherry picked from commit 744ecfe)
@mergify mergify bot requested a review from a team as a code owner July 28, 2024 15:11
@github-actions github-actions bot added the sagitta VyOS 1.4 LTS label Jul 28, 2024
Copy link


warning: Unused import os in smoketest/scripts/cli/test_interfaces_l2tpv3.py:17.

Copy link

👍
No issues in PR Title / Commit Title

@c-po c-po enabled auto-merge July 29, 2024 05:33
@c-po c-po merged commit 6a6b861 into sagitta Jul 29, 2024
7 of 8 checks passed
@mergify mergify bot deleted the mergify/bp/sagitta/pr-3889 branch July 29, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sagitta VyOS 1.4 LTS
Development

Successfully merging this pull request may close these issues.

3 participants