Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/unittest_bufferlist: check retvals of syscalls #18238

Merged
merged 1 commit into from Oct 16, 2017

Conversation

tchaikov
Copy link
Contributor

so we can have better understanding of failures like

[ RUN ] BufferList.write_fd_offset
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/test/bufferlist.cc:2609:
Failure
Expected: 1024 * 2 + offset
Which is: 2248
To be equal to: (unsigned)st.st_size
Which is: 0
[ FAILED ] BufferList.write_fd_offset (4 ms)

Signed-off-by: Kefu Chai kchai@redhat.com

so we can have better understanding of failures like

[ RUN      ] BufferList.write_fd_offset
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/test/bufferlist.cc:2609:
Failure
      Expected: 1024 * 2 + offset
      Which is: 2248
To be equal to: (unsigned)st.st_size
      Which is: 0
[  FAILED  ] BufferList.write_fd_offset (4 ms)

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov
Copy link
Contributor Author

[ RUN      ] BufferList.write_fd_offset
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/test/bufferlist.cc:2609: Failure
      Expected: 1024 * 2 + offset
      Which is: 2248
To be equal to: (unsigned)st.st_size
      Which is: 0
[  FAILED  ] BufferList.write_fd_offset (4 ms)

see also https://jenkins.ceph.com/job/ceph-pull-requests-arm64/7264/consoleFull#20128553736733401c-e9d0-4737-9832-6594c5da0afa, which is a jenkins "make check" failure at #18233

@tchaikov
Copy link
Contributor Author

@tchaikov
Copy link
Contributor Author

@jdurgin ping?

@jdurgin jdurgin merged commit 804f07f into ceph:master Oct 16, 2017
@tchaikov tchaikov deleted the wip-bufferlist-test branch October 16, 2017 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants