UTRS2 / utrs

Unblock Ticket Request System (v2) used on Wikimedia projects
https://en.wikipedia.org/wiki/Wikipedia:Unblock_Ticket_Request_System
GNU Affero General Public License v3.0
25 stars 25 forks source link

continuous integration is broken (Data too long for column 'useragent') #706

Closed NovemLinguae closed 1 year ago

NovemLinguae commented 1 year ago

Broken since June 18, 2023 in 2976de8

https://github.com/UTRS2/utrs/actions/runs/5689042617/job/15419854837

image
Run php artisan dusk

......EE.......                                                   15 / 15 (100%)

There were 2 errors:

1) Tests\Browser\Appeals\AppealCreateTest::test_can_create_account_block_appeal

Illuminate\Database\QueryException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'useragent' at row 1 (SQL: ALTER TABLE privatedatas CHANGE useragent useragent VARCHAR(191) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE language language VARCHAR(191) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`)

2) Tests\Browser\Appeals\AppealCreateTest::test_can_create_ip_block_appeal

Illuminate\Database\QueryException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'useragent' at row 1 (SQL: ALTER TABLE privatedatas CHANGE useragent useragent VARCHAR(191) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE language language VARCHAR(191) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`)
dqwiki commented 1 year ago

I assume it's the type of DB that we are using in tests. Local and live testing show no issues at all. I just haven't had a chance to look at a fix.

supertassu commented 1 year ago

Re-opening as that only solved a part of it.

supertassu commented 1 year ago

Nevermind, the failure was just a flake.