Skip to content

Test fixes#3610

Merged
roman-khimov merged 3 commits intomasterfrom
test-fixes
Oct 2, 2025
Merged

Test fixes#3610
roman-khimov merged 3 commits intomasterfrom
test-fixes

Conversation

@roman-khimov
Copy link
Member

@codecov
Copy link

codecov bot commented Oct 2, 2025

Codecov Report

❌ Patch coverage is 6.66667% with 42 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.59%. Comparing base (900e0a7) to head (f707718).
⚠️ Report is 9 commits behind head on master.

Files with missing lines Patch % Lines
cmd/neofs-node/object.go 0.00% 25 Missing ⚠️
pkg/services/object/acl/v2/service.go 25.00% 9 Missing ⚠️
pkg/network/cache/clients.go 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3610      +/-   ##
==========================================
- Coverage   26.66%   26.59%   -0.08%     
==========================================
  Files         655      653       -2     
  Lines       49866    50002     +136     
==========================================
+ Hits        13296    13297       +1     
- Misses      35521    35656     +135     
  Partials     1049     1049              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@cthulhu-rider cthulhu-rider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems good

After c7d99f8 these all became BadRequest
while they were all ServerInternal. Neither are appropriate in most cases,
it's not a server that is bad, it's not a request that is bad.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
This:

    can't search for LOCK objects: status: code = 1 message = last error: all endpoints failed, first error: /dns4/localhost/tcp/49270: send request over gRPC: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:49270: connect: connection refused"

looks like a total node failure while in fact it's just about a single other
node that we can mention explicitly.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Copy link
Contributor

@cthulhu-rider cthulhu-rider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bugfix worth CL

It never worked correctly (since 1ac26db),
now 3f4bade exposed this leading to test
failures like:

    rpc error: deleting 2UuJ5D8WGqvdt6oF7JwZBRQCQdvaycyRdD2FYciHSHdN object: remove object via client: status: code = 1 message = last error: /dns4/localhost/tcp/60925: status: code = 1026 message = incorrect number of verification headers

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@roman-khimov roman-khimov merged commit 675fccd into master Oct 2, 2025
17 of 19 checks passed
@roman-khimov roman-khimov deleted the test-fixes branch October 2, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants