Flaky test_rest_headers suite #395

Open
opened 2025-12-28 18:16:12 +00:00 by sami · 4 comments
Owner

Originally created by @cthulhu-rider on GitHub (Jun 23, 2025).

Current Behavior

fail occured once

Expected Behavior

either always pass or fail

Possible Solution

perhaps the problem is on NeoFS side. Need to explore

i also noticed that in failure case same OID occured in different suites. In such cases, a read-delete race is usually suspected

Context

https://github.com/nspcc-dev/neofs-node/pull/3406

Regression

maybe

Originally created by @cthulhu-rider on GitHub (Jun 23, 2025). * ubuntu (fail) https://rest.fs.neo.org/HXSaMJXk2g8C14ht8HSi7BBaiYZ1HeWh2xnWPGQCg4H6/3450-1750691261/index.html * macos (pass) https://rest.fs.neo.org/HXSaMJXk2g8C14ht8HSi7BBaiYZ1HeWh2xnWPGQCg4H6/3450-1750691127/index.html * ubuntu (pass) https://rest.fs.neo.org/HXSaMJXk2g8C14ht8HSi7BBaiYZ1HeWh2xnWPGQCg4H6/3450-1750702289/index.html ## Current Behavior fail occured once ## Expected Behavior either always pass or fail ## Possible Solution perhaps the problem is on NeoFS side. Need to explore i also noticed that in failure case same OID occured in different suites. In such cases, a read-delete race is usually suspected ## Context https://github.com/nspcc-dev/neofs-node/pull/3406 ## Regression maybe
Author
Owner

@cthulhu-rider commented on GitHub (Jun 23, 2025):

not reproduced locally after 5 attempts

@cthulhu-rider commented on GitHub (Jun 23, 2025): not reproduced locally after 5 attempts
Author
Owner

@evgeniiz321 commented on GitHub (Jul 3, 2025):

@roman-khimov seems like a bug in rest gw for me, there are 2 objects with same attribute - 'Writer': 'Leo Tolstoy'. Test removes one, then tries to get a second object by this attribute but gets an error status: code = 2052 message = object already removed. get by id works ok. Not sure why it reproduced once, maybe some caching issue?

@evgeniiz321 commented on GitHub (Jul 3, 2025): @roman-khimov seems like a bug in rest gw for me, there are 2 objects with same attribute - `'Writer': 'Leo Tolstoy'`. Test removes one, then tries to get a second object by this attribute but gets an error `status: code = 2052 message = object already removed`. get by id works ok. Not sure why it reproduced once, maybe some caching issue?
Author
Owner

@roman-khimov commented on GitHub (Jul 4, 2025):

It looks like cache or search returning an old ID which is then unavailable. Depending on specifics it's either a feature or a bug. @evgeniiz321, can you look into logs to check what really happens there?

@roman-khimov commented on GitHub (Jul 4, 2025): It looks like cache or search returning an old ID which is then unavailable. Depending on specifics it's either a feature or a bug. @evgeniiz321, can you look into logs to check what really happens there?
Author
Owner

@evgeniiz321 commented on GitHub (Aug 4, 2025):

waiting for a reproduction

@evgeniiz321 commented on GitHub (Aug 4, 2025): waiting for a reproduction
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-testcases#395
No description provided.