Skip to content

[CI]: Syslog is flaky: TestSyslogNetwork TestSyslogFacilities #4141

Open

Description

@apostasie

Description

This is from #4140 and is one of the failing tests hidden behind retries.

This is not the only log related flaky test.
Either there is some (expected?) delay in logs propagation and we should have a better logic in tests to account for that, or there is an underlying issue with logs generally.

Steps to reproduce the issue

No response

Describe the results you received and expected

=== RUN   TestSyslogNetwork/unixgram_user_rfc5424
    container_run_log_driver_syslog_test.go:109: s.Info() = '""', didn't match '"<14>%d %s %s nerdctl-testsyslognetwork-unixgram_user_rfc5424_syslog_driver %d nerdctl-testsyslognetwork-unixgram_user_rfc5424_syslog_driver - hello, nerdctl-testsyslognetwork-unixgram_user_rfc5424_syslog_driver\n"' (0 unexpected EOF)
--- FAIL: TestSyslogNetwork/unixgram_user_rfc5424 (0.55s)
FAIL cmd/nerdctl/container.TestSyslogNetwork/unixgram_user_rfc5424 (0.55s)
=== RUN   TestSyslogNetwork/unixgram_1_rfc5424
    container_run_log_driver_syslog_test.go:109: s.Info() = '""', didn't match '"<14>%d %s %s nerdctl-testsyslognetwork-unixgram_1_rfc5424_syslog_driver %d nerdctl-testsyslognetwork-unixgram_1_rfc5424_syslog_driver - hello, nerdctl-testsyslognetwork-unixgram_1_rfc5424_syslog_driver\n"' (0 unexpected EOF)
--- FAIL: TestSyslogNetwork/unixgram_1_rfc5424 (0.80s)
FAIL cmd/nerdctl/container.TestSyslogNetwork/unixgram_1_rfc5424 (0.80s)
=== RUN   TestSyslogNetwork
--- FAIL: TestSyslogNetwork (5.65s)

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

Activity

  1. apostasie commented on May 15, 2025

    @apostasie
    ContributorAuthor

    This applies as well to

    === RUN   TestSyslogFacilities/unix_9_rfc5424
        container_run_log_driver_syslog_test.go:112: timeout with unix_9_rfc5424
    

    Closed duplicate.

  2. changed the title [-][CI]: flaky with forceful retry: TestSyslogNetwork[/-] [+][CI]: Syslog is flaky[/+] on May 15, 2025
  3. changed the title [-][CI]: Syslog is flaky[/-] [+][CI]: Syslog is flaky: TestSyslogNetwork TestSyslogFacilities[/+] on Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cie.g., CI failurebugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions