Skip to content

TestSignMessages is flaky #289

@KyleMaas

Description

@KyleMaas

After a bunch of PASSes, two failures in a row:

2023/01/02 12:05:35 [margaret/indexes/badger] overwrote batch limit 0
=== RUN   TestSignMessages
badger 2023/01/02 12:05:35 INFO: All 0 tables opened in 0s
badger 2023/01/02 12:05:35 INFO: Discard stats nextEmptySlot: 0
badger 2023/01/02 12:05:35 INFO: Set nextTxnTs to 0
    publish_test.go:104: msg:0
        {
            "about": "@z+xJSnzIQtg0Dywzvl7VUzTLpj5VFajA8wZ3IRz6ztQ=.ed25519",
            "name": "test user",
            "type": "about"
          }
    publish_test.go:104: msg:1
        {
            "contact": "@p13zSAiOpguI9nsawkGijsnMfWmFd5rlUNpzekEE+vI=.ed25519",
            "following": true,
            "type": "contact"
          }
    publish_test.go:107: 
        	Error Trace:	/home/go-ssb/go-ssb/message/publish_test.go:107
        	Error:      	Expected value not to be nil.
        	Test:       	TestSignMessages
        	Messages:   	msg:1 - previous
    publish_test.go:104: msg:2
        {
            "text": "# hello world!",
            "type": "text"
          }
    publish_test.go:107: 
        	Error Trace:	/home/go-ssb/go-ssb/message/publish_test.go:107
        	Error:      	Expected value not to be nil.
        	Test:       	TestSignMessages
        	Messages:   	msg:2 - previous
badger 2023/01/02 12:05:35 INFO: Lifetime L0 stalled for: 0s
badger 2023/01/02 12:05:35 INFO: 
Level 0 [ ]: NumTables: 01. Size: 264 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 5 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 6 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level Done
--- FAIL: TestSignMessages (0.05s)
FAIL
FAIL	github.com/ssbc/go-ssb/message	0.068s
FAIL
2023/01/02 12:05:38 [margaret/indexes/badger] overwrote batch limit 0
=== RUN   TestSignMessages
badger 2023/01/02 12:05:38 INFO: All 0 tables opened in 0s
badger 2023/01/02 12:05:38 INFO: Discard stats nextEmptySlot: 0
badger 2023/01/02 12:05:38 INFO: Set nextTxnTs to 0
    publish_test.go:104: msg:0
        {
            "about": "@z+xJSnzIQtg0Dywzvl7VUzTLpj5VFajA8wZ3IRz6ztQ=.ed25519",
            "name": "test user",
            "type": "about"
          }
    publish_test.go:104: msg:1
        {
            "contact": "@p13zSAiOpguI9nsawkGijsnMfWmFd5rlUNpzekEE+vI=.ed25519",
            "following": true,
            "type": "contact"
          }
    publish_test.go:107: 
        	Error Trace:	/home/go-ssb/go-ssb/message/publish_test.go:107
        	Error:      	Expected value not to be nil.
        	Test:       	TestSignMessages
        	Messages:   	msg:1 - previous
    publish_test.go:104: msg:2
        {
            "text": "# hello world!",
            "type": "text"
          }
badger 2023/01/02 12:05:38 INFO: Lifetime L0 stalled for: 0s
badger 2023/01/02 12:05:38 INFO: 
Level 0 [ ]: NumTables: 01. Size: 264 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 5 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 6 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level Done
--- FAIL: TestSignMessages (0.04s)
FAIL
FAIL	github.com/ssbc/go-ssb/message	0.064s
FAIL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions