Skip to content

CI test failures on main for TestFallocate #1044

Closed

Description

@anoopcs9
=== RUN   TestFallocate/modeIsZero
    file_test.go:501: 
        	Error Trace:	/go/src/github.com/ceph/go-ceph/cephfs/file_test.go:501
        	Error:      	Received unexpected error:
        	            	cephfs: ret=-95, Operation not supported
        	Test:       	TestFallocate/modeIsZero
    file_test.go:505: 
        	Error Trace:	/go/src/github.com/ceph/go-ceph/cephfs/file_test.go:505
        	Error:      	Not equal: 
        	            	expected: int(10)
        	            	actual  : uint64(0x0)
        	Test:       	TestFallocate/modeIsZero
=== RUN   TestFallocate/increaseSize
    file_test.go:528: 
        	Error Trace:	/go/src/github.com/ceph/go-ceph/cephfs/file_test.go:528
        	Error:      	Received unexpected error:
        	            	cephfs: ret=-95, Operation not supported
        	Test:       	TestFallocate/increaseSize
    file_test.go:532: 
        	Error Trace:	/go/src/github.com/ceph/go-ceph/cephfs/file_test.go:532
        	Error:      	Not equal: 
        	            	expected: int(15)
        	            	actual  : uint64(0xa)
        	Test:       	TestFallocate/increaseSize

Activity

  1. anoopcs9 commented on Nov 7, 2024

    @anoopcs9
    CollaboratorAuthor

    Relevant section from ceph/ceph#59725:

    • CephFS: EOPNOTSUPP (Operation not supported ) is now returned by the CephFS fuse client for fallocate for the default case (i.e. mode == 0) since CephFS does not support disk space reservation. The only flags supported are FALLOC_FL_KEEP_SIZE and FALLOC_FL_PUNCH_HOLE.
  2. phlogistonjohn commented on Nov 7, 2024

    @phlogistonjohn
    Collaborator

    FWIW, I asked the ceph developer to tweak the release note because saying 'fuse client' is a bit misleading if it is impacting us. :-)

  3. anoopcs9 commented on Nov 7, 2024

    @anoopcs9
    CollaboratorAuthor

    FWIW, I asked the ceph developer to tweak the release note because saying 'fuse client' is a bit misleading if it is impacting us. :-)

    May be he missed to notice my earlier comment where I shared the very same thought. Anyway we have a fix in the queue 😊 .

  4. anoopcs9 commented on Nov 8, 2024

    @anoopcs9
    CollaboratorAuthor

    Given that there are suggested backports, are we gonna tackle the change in API behaviour using build tags(and probably separate test file) or direct test code changes detecting the version?

  5. phlogistonjohn commented on Nov 11, 2024

    @phlogistonjohn
    Collaborator

    I have no strong opinion here, but I would prefer whatever causes the least amount of churn generally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions