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 #3889

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

c-po
Copy link
Member

@c-po c-po 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

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.
@c-po c-po requested a review from a team as a code owner July 28, 2024 06:35
@c-po
Copy link
Member Author

c-po commented Jul 28, 2024

@Mergifyio backport sagitta circinus

Copy link

👍
No issues in PR Title / Commit Title

@c-po c-po enabled auto-merge July 28, 2024 06:35
Copy link
Contributor

mergify bot commented Jul 28, 2024

backport sagitta circinus

✅ Backports have been created

Copy link


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

Copy link

CI integration 👍 passed!

Details

CI logs

  • CLI Smoketests 👍 passed
  • Config tests 👍 passed
  • RAID1 tests 👍 passed

@c-po c-po merged commit b99bcf4 into vyos:current Jul 28, 2024
13 of 14 checks passed
c-po added a commit that referenced this pull request Jul 29, 2024
smoketest: T5705: use locally connected remote syslog servers (backport #3889)
@c-po c-po deleted the syslog-smoketest branch July 29, 2024 05:48
c-po added a commit that referenced this pull request Jul 29, 2024
smoketest: T5705: use locally connected remote syslog servers (backport #3889)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants