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

log/syslog: failure on Dragonfly #30460

Closed
bradfitz opened this issue Feb 28, 2019 · 1 comment
Closed

log/syslog: failure on Dragonfly #30460

bradfitz opened this issue Feb 28, 2019 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. new-builder OS-Dragonfly
Milestone

Comments

@bradfitz
Copy link
Contributor

I'm working on setting up a new Dragonfly 5.4 builder on GCE and seeing:

--- FAIL: TestFlap (0.00s)
    syslog_test.go:269: Got "<14>2019-02-28T06:17:20-08:00  syslog_test[5133]: Moo 2\n", does not match template "<14>%s %s syslog_test[%d]: Moo 2\n" (2 input does not match format)
    syslog_test.go:269: Got "<14>2019-02-28T06:17:20-08:00  syslog_test[5133]: Moo 3\n", does not match template "<14>%s %s syslog_test[%d]: Moo 3\n" (2 input does not match format)
--- FAIL: TestWithSimulated (0.90s)
    syslog_test.go:269: Got "<14>2019-02-28T06:17:20-08:00  syslog_test[5133]: Test 123\n", does not match template "<14>%s %s syslog_test[%d]: Test 123\n" (2 input does not match format)
    syslog_test.go:269: Got "<14>2019-02-28T06:17:20-08:00  syslog_test[5133]: Test 123\n", does not match template "<14>%s %s syslog_test[%d]: Test 123\n" (2 input does not match format)
    syslog_test.go:269: Got "<14>2019-02-28T06:17:21-08:00 127.0.0.1:51356 syslog_test[5133]: Test 123\n", does not match template "<14>%s %s syslog_test[%d]: Test 123\n" (3 %!s(<nil>))
    syslog_test.go:269: Got "<14>2019-02-28T06:17:21-08:00 127.0.0.1:52175 syslog_test[5133]: Test 123\n", does not match template "<14>%s %s syslog_test[%d]: Test 123\n" (3 %!s(<nil>))
--- FAIL: TestWrite (1.36s)
    syslog_test.go:310: s.Info() = '"<11>2019-02-28T06:17:20-08:00 127.0.0.1:52896 syslog_test[5133]: \n"', didn't match '"<11>%s %s syslog_test[%d]: \n"' (3 %!s(<nil>))
    syslog_test.go:310: s.Info() = '"<11>2019-02-28T06:17:21-08:00 127.0.0.1:59064 syslog_test[5133]: write test\n"', didn't match '"<11>%s %s syslog_test[%d]: write test\n"' (3 %!s(<nil>))   
    syslog_test.go:310: s.Info() = '"<11>2019-02-28T06:17:21-08:00 127.0.0.1:61108 syslog_test[5133]: write test 2\n"', didn't match '"<11>%s %s syslog_test[%d]: write test 2\n"' (3 %!s(<nil>))
FAIL
FAIL    log/syslog      1.397s
@bradfitz bradfitz added OS-Dragonfly NeedsFix The path to resolution is known, but the work has not been done. new-builder labels Feb 28, 2019
@bradfitz bradfitz added this to the Go1.13 milestone Feb 28, 2019
@bradfitz
Copy link
Contributor Author

Nevermind. It's because the machine lacked a hostname, thus making the expected patterns not match.

The os package also fails if the machine lacks a hostname, so closing this.

@golang golang locked and limited conversation to collaborators Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. new-builder OS-Dragonfly
Projects
None yet
Development

No branches or pull requests

2 participants