Perl live test fail on main today - 32-lp1207533-triggered-events.t
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned |
Bug Description
Preparing for 3.13 release, we're finding a test failing on standard a concerto database. The issue stems from a hard coded ID number in the 950 seed data when inserting a AT definition:
INSERT INTO action_
VALUES (120, 'f', 1, 'Vandelay Background Import Requested', 'vandelay.
$$
....
as well as the next INSERT:
INSERT INTO action_
VALUES (121, 'f', 1, 'Vandelay Background Import Completed', 'vandelay.
$$
.....
The other action_
This test:
32-lp1207533-
Throws this:
not ok 2 - Successfully created atevdef
Because the previous AT event def wasn't successfully inserted. Here's what postgres has to say about it:
2024-05-12 17:23:17.604 EDT [28171] evergreen@evergreen ERROR: duplicate key value violates unique constraint "event_
2024-05-12 17:23:17.604 EDT [28171] evergreen@evergreen DETAIL: Key (id)=(120) already exists.
2024-05-12 17:23:17.604 EDT [28171] evergreen@evergreen STATEMENT: INSERT INTO action_
2024-05-12 17:23:17.604 EDT [28171] evergreen@evergreen ERROR: current transaction is aborted, commands ignored until end of transaction block
Branch forthcoming
Changed in evergreen: | |
status: | New → Confirmed |
Changed in evergreen: | |
assignee: | nobody → Jane Sandberg (sandbergja) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
This fixes it for me:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ blake/lp2065540 _perl_live_ fix
Plus: I think this would have caused our resulting SQL version-upgrade script from running properly on an already-established Evergreen system.