Skip to content

TestCopyRange fails on Windows 2025 #10164

Closed
Closed

Description

@rasa

What happened?

Locally, on Windows 11, and on the windows-2025 GitHub runner (go 1.23 and 1.24), the TestCopyRange test is failing with The request is not supported.

To fix this, we need to change:

err == syscall.ENOTSUP

to

errors.Is(err, errors.ErrUnsupported)

a PR is forthcoming.

See also https://forum.syncthing.net/t/the-request-is-not-supported/24462

Syncthing version

v2.0.0-rc.20

Platform & operating system

Windows 11

Browser version

n/a

Relevant log output

=== RUN   TestCopyRange
=== RUN   TestCopyRange/tmp
=== RUN   TestCopyRange/tmp/duplicate_extents
=== RUN   TestCopyRange/tmp/duplicate_extents/append_to_end
    filesystem_copy_range_test.go:339: The request is not supported.
--- FAIL: TestCopyRange/tmp/duplicate_extents/append_to_end (0.02s)
=== RUN   TestCopyRange/tmp/duplicate_extents/append_to_end_offsets_at_start
    filesystem_copy_range_test.go:339: The request is not supported.
--- FAIL: TestCopyRange/tmp/duplicate_extents/append_to_end_offsets_at_start (0.02s)
=== RUN   TestCopyRange/tmp/duplicate_extents/overwrite_part_of_destination_region
    filesystem_copy_range_test.go:339: The request is not supported.
--- FAIL: TestCopyRange/tmp/duplicate_extents/overwrite_part_of_destination_region (0.02s)
=== RUN   TestCopyRange/tmp/duplicate_extents/overwrite_all_of_destination
    filesystem_copy_range_test.go:339: The request is not supported.
--- FAIL: TestCopyRange/tmp/duplicate_extents/overwrite_all_of_destination (0.02s)
=== RUN   TestCopyRange/tmp/duplicate_extents/overwrite_part_of_destination
    filesystem_copy_range_test.go:339: The request is not supported.
--- FAIL: TestCopyRange/tmp/duplicate_extents/overwrite_part_of_destination (0.02s)
=== RUN   TestCopyRange/tmp/duplicate_extents/destination_gets_expanded_as_it_is_being_wri

Activity

  1. self-assigned this
    on Jun 9, 2025
  2. added theissue type on Jun 9, 2025
  3. added
    bug
    on Jun 9, 2025
  4. added 3 commits that reference this issue on Jun 9, 2025
    9dcfc50
    9ed9739
    fbf7b7b
  5. added a commit that references this issue on Jun 9, 2025
    064213c
  6. added this to the v2.0.0 milestone on Aug 12, 2025
  7. added
    frozen-due-to-age
    on Jul 1, 2026
  8. locked and limited conversation to collaborators on Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugfrozen-due-to-age

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions