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

jewel: test fails due to The UNIX domain socket path #12151

Merged
1 commit merged into from Dec 6, 2016
Merged

jewel: test fails due to The UNIX domain socket path #12151

1 commit merged into from Dec 6, 2016

Conversation

ghost
Copy link

@ghost ghost commented Nov 23, 2016

For vstart.sh powered tests, save 9 characters in the path name
by replacing testdir/test- with td/t-

60 characters imposed by jenkins
9 characters for src/test
5 characters for td/t-

33 left (instead of 24) for the test to create asok such as out/client.admin.25327.asok

Moving these files outside of the build directory is a bad idea because
tests should only create/use files within the builddir and not write
outside of this directory. Doing so would make things more complicated
for cleanup in case the test fail and create other problems as a
consequence (filling out disk space, conflicting directories between
runs etc.).

For ceph-helpers.sh tests replace testdir with td, saving 5 characters.
This is not strictly necessary but keeps the directory names consistent:
if the developer wants to get rid of all the test leftovers, it is
enough to remove the a single directory: td.

Fixes: http://tracker.ceph.com/issues/16014

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit cd72ff9)

Conflicts:
	.gitignore : test directories are not ignored in jewel
	src/test/vstart_wrapper.sh : trivial context resolution
@ghost ghost self-assigned this Nov 23, 2016
@ghost ghost added this to the jewel milestone Nov 23, 2016
@ghost ghost added bug-fix core tests and removed core labels Nov 23, 2016
@ghost ghost changed the base branch from jewel to jewel-next November 23, 2016 07:54
ghost pushed a commit that referenced this pull request Nov 23, 2016
…ocket path

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost assigned tchaikov Dec 5, 2016
@ghost
Copy link
Author

ghost commented Dec 5, 2016

@tchaikov does this backport look good to merge ? It passed the rados (http://tracker.ceph.com/issues/17851#note-12) suite. It also passed the upgrade/jewel-x and upgrade/hammer-x (http://tracker.ceph.com/issues/17851#note-15) suites. Note that it won't be included in 10.2.4, reason why it targets jewel-next.

ghost pushed a commit that referenced this pull request Dec 5, 2016
…ocket path

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

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

@dachary lgtm.

@tchaikov tchaikov removed their assignment Dec 6, 2016
@ghost ghost merged commit 0aa4418 into ceph:jewel-next Dec 6, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants