element-hq / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://element-hq.github.io/dendrite/
GNU Affero General Public License v3.0
13 stars 3 forks source link

Unit tests have been failing on 32-bit architectures only since 0.8.7 #2528

Closed matrixbot closed 2 weeks ago

matrixbot commented 2 weeks ago

This issue was originally created by @PureTryOut at https://github.com/matrix-org/dendrite/issues/2528.

Background information

Description

Since 0.8.7 (might have been 0.8.6 too, I skipped that one) the unit tests have been failing for Dendrite on the Alpine Linux CI, but on 32-bit architectures only.

2022/06/09 13:20:28 OK    20201211125500_sequences.go
2022/06/09 13:20:28 OK    20210112130000_sendtodevice_sentcolumn.go
--- FAIL: TestSyncAPIUpdatePresenceImmediately (0.00s)
    --- FAIL: TestSyncAPIUpdatePresenceImmediately/sqlite (0.09s)
        user.go:72: NewUser: missing signing server credentials; using default.
        user.go:76: NewUser: created user @5:test
        syncapi_test.go:300: expected 1 presence events, got: []
FAIL
FAIL    github.com/matrix-org/dendrite/syncapi  1.357s
?       github.com/matrix-org/dendrite/syncapi/consumers    [no test files]
ok      github.com/matrix-org/dendrite/syncapi/internal 0.003s
ok      github.com/matrix-org/dendrite/syncapi/notifier 1.016s
?       github.com/matrix-org/dendrite/syncapi/producers    [no test files]
ok      github.com/matrix-org/dendrite/syncapi/routing  0.010s
ok      github.com/matrix-org/dendrite/syncapi/storage  0.798s
?       github.com/matrix-org/dendrite/syncapi/storage/postgres [no test files]
?       github.com/matrix-org/dendrite/syncapi/storage/postgres/deltas  [no test files]
?       github.com/matrix-org/dendrite/syncapi/storage/shared   [no test files]
?       github.com/matrix-org/dendrite/syncapi/storage/sqlite3  [no test files]
?       github.com/matrix-org/dendrite/syncapi/storage/sqlite3/deltas   [no test files]
ok      github.com/matrix-org/dendrite/syncapi/storage/tables   0.130s
?       github.com/matrix-org/dendrite/syncapi/streams  [no test files]
ok      github.com/matrix-org/dendrite/syncapi/sync 0.163s
ok      github.com/matrix-org/dendrite/syncapi/types    0.004s
?       github.com/matrix-org/dendrite/test [no test files]
?       github.com/matrix-org/dendrite/test/testrig [no test files]
ok      github.com/matrix-org/dendrite/userapi  0.689s
?       github.com/matrix-org/dendrite/userapi/api  [no test files]
?       github.com/matrix-org/dendrite/userapi/consumers    [no test files]
?       github.com/matrix-org/dendrite/userapi/internal [no test files]
?       github.com/matrix-org/dendrite/userapi/inthttp  [no test files]
?       github.com/matrix-org/dendrite/userapi/producers    [no test files]
ok      github.com/matrix-org/dendrite/userapi/storage  1.397s
?       github.com/matrix-org/dendrite/userapi/storage/postgres [no test files]
?       github.com/matrix-org/dendrite/userapi/storage/postgres/deltas  [no test files]
?       github.com/matrix-org/dendrite/userapi/storage/shared   [no test files]
?       github.com/matrix-org/dendrite/userapi/storage/sqlite3  [no test files]
?       github.com/matrix-org/dendrite/userapi/storage/sqlite3/deltas   [no test files]
ok      github.com/matrix-org/dendrite/userapi/storage/tables   1.456s
?       github.com/matrix-org/dendrite/userapi/types    [no test files]
?       github.com/matrix-org/dendrite/userapi/util [no test files]
FAIL

Steps to reproduce

Run the unit tests on a 32-bit Alpine Linux system.

matrixbot commented 2 weeks ago

This comment was originally posted by @neilalexander at https://github.com/matrix-org/dendrite/issues/2528#issuecomment-1169792600.

Is this happening on every run?