Repository navigation
Labels
bugA problem with current functionality, as opposed to missing functionality (enhancement)buildIssues caused by or requiring changes to the build system (scripts or Docker image)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Milestone
Description
From an attempted 1.8.0 build on fedora rawhide (with go 1.15, but using -tags noquic where necessary):
go test -buildmode pie -compiler gc -ldflags ' -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''' github.com/syncthing/syncthing/lib/fs
--- FAIL: TestCopyRange (1.28s)
--- FAIL: TestCopyRange/tmp (1.28s)
--- FAIL: TestCopyRange/tmp/ioctl (0.22s)
--- FAIL: TestCopyRange/tmp/ioctl/append_to_end (0.02s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/append_to_end_offsets_at_start (0.02s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/overwrite_part_of_destination_region (0.02s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/overwrite_all_of_destination (0.02s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/overwrite_part_of_destination (0.02s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/destination_gets_expanded_as_it_is_being_written_to (0.02s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/unaligned_source_offset_unaligned_size (0.01s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/unaligned_source_offset_aligned_size (0.01s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/unaligned_destination_offset_unaligned_size (0.02s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/unaligned_destination_offset_aligned_size (0.02s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/aligned_offsets_unaligned_size (0.02s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/last_block (0.01s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/whole_file_copy_block_aligned (0.01s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
--- FAIL: TestCopyRange/tmp/ioctl/whole_file_copy_not_block_aligned (0.01s)
filesystem_copy_range_test.go:332: inappropriate ioctl for device
FAIL
FAIL github.com/syncthing/syncthing/lib/fs 1.604s
FAIL
Looks like the ioctl that's used for the new copyRange functionality is not available on ppc64le / POWER.
The build succeeds on all other architectures supported by fedora (x86_64, i686, armv7hl / armhfp, aarch64, s390x / System Z).
Metadata
Metadata
Assignees
Labels
bugA problem with current functionality, as opposed to missing functionality (enhancement)buildIssues caused by or requiring changes to the build system (scripts or Docker image)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Activity
AudriusButkevicius commentedon Aug 18, 2020
Do you know if this fails on ppc, ppc64 arches?
decathorpe commentedon Aug 18, 2020
@AudriusButkevicius I don't have a way to check that since fedora does no longer support ppc (for ages) and ppc64 (for 2 years or so) ... so I think we also no longer have access to test machines for those architectures.
lib/fs: Disable ioctl on ppc (fixes #6898) (#6901)
Merge branch 'main' into trimpath
lib/fs: use file clone ioctl wrappers and types from golang.org/x/sys…
lib/fs: use file clone ioctl wrappers and types from golang.org/x/sys…
lib/fs: use file clone ioctl wrappers and types from golang.org/x/sys…
lib/fs: use file clone ioctl wrappers and types from golang.org/x/sys…
lib/fs: Use file clone ioctl wrappers and types from golang.org/x/sys…