Bug #80532
closedtest_lua.py::test_interrupt_request failed in tentacle teuthology run
0%
Description
There was a Lua test failure during QA: https://qa-proxy.ceph.com/teuthology/anuchaithra-2026-09-11_07:55:07-rgw-wip-anuchaithra-testing-20260910.101604-tentacle-distro-default-trial/551955/teuthology.log
It's part of this QA run: https://tracker.ceph.com/issues/80447
NB Updated by Nithya Balachandran 3 months ago ยท Edited
- Assignee set to Nithya Balachandran
The Lua bytecode cache still contains an the script from an earlier test for the prerequest ctx. The cache has not been invalidated correctly.
From the logs for test_interrupt_request:
//NITHYA: New pre-request script but not processed by the Background thread
2026-09-11T09:51:47.803+0000 7f32c0bc46c0 10 rgw watcher librados: cache put: name=default.rgw.log++script.prerequest. info.flags=0x7
2026-09-11T09:51:47.803+0000 7f32c0bc46c0 10 rgw watcher librados: adding default.rgw.log++script.prerequest. to cache LRU end
2026-09-11T09:51:47.812+0000 7f32d43eb6c0 10 req 12519093112343286105 0.000999980s s->object=hello s->bucket=dqvsdx-5
//NITHYA : This is the wrong script!
2026-09-11T09:51:47.812+0000 7f32d43eb6c0 20 Lua INFO: op was: put_obj
2026-09-11T09:51:47.812+0000 7f32d43eb6c0 20 Lua INFO: context was: prerequest
2026-09-11T09:51:47.812+0000 7f32d43eb6c0 20 req 12519093112343286105 0.000999980s Lua script executed, but did not return an integer. Ignoring return code.
This is the script from test_copyfrom. It was removed from the lua context at the end of the test but it has not been removed from the Lua bytecode cache. As the cache is checked first, the wrong script is executed causing the test to fail.
This is a random failure and is not consistently reproducible on my system.
YL Updated by Yuval Lifshitz 2 months ago
- Tags set to lua
same issue exists on main, see: https://tracker.ceph.com/issues/80602
JI Updated by J. Eric Ivancich 2 months ago
- Related to Bug #80602: lua: test_interrupt_request is failing added
AE Updated by Adam Emerson about 1 month ago
- Status changed from New to Duplicate