Project

General

Profile

Actions

Bug #80532

closed
NB NB

test_lua.py::test_interrupt_request failed in tentacle teuthology run

Bug #80532: test_lua.py::test_interrupt_request failed in tentacle teuthology run

Added by Nithya Balachandran 3 months ago. Updated about 1 month ago.

Status:
Duplicate
Priority:
Normal
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
Tags:


Related issues 1 (0 open — 1 closed)

Related to rgw - Bug #80602: lua: test_interrupt_request is failingBackportingYuval Lifshitz

Actions

NB Updated by Nithya Balachandran 3 months ago ยท Edited Actions #1

  • 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.

JI Updated by J. Eric Ivancich 2 months ago Actions #3

  • Related to Bug #80602: lua: test_interrupt_request is failing added

AE Updated by Adam Emerson about 1 month ago Actions #4

  • Status changed from New to Duplicate
Actions

Also available in: PDF Atom