Bug #16014
closed
test fails due to "The UNIX domain socket path"
Added by Kefu Chai almost 8 years ago.
Updated over 7 years ago.
Description
see https://jenkins.ceph.com/job/ceph-pull-requests/6156/console
FAIL: test/ceph_objectstore_tool.py
-1> 2016-05-25 08:11:25.161032 2b6fd064ff80 -1 asok(0x2b6fd0654580) AdminSocketConfigObs::init:
failed: AdminSocket::bind_and_listen: The UNIX domain socket path
/home/jenkins-build/build/workspace/ceph-pull-requests/src/ceph_objectstore_tool_dir
/out/client.admin.12750.asok is too long! The maximum length on this system is 107
0> 2016-05-25 08:11:25.221041 2b6fdce07700 -1 *** Caught signal (Segmentation fault) **
in thread 2b6fdce07700 thread_name:service
ceph version 10.2.0-1322-g56f4c19 (56f4c1959eede245b926464e7758604a5261fb54)
maybe we should introduce yet another env variable CEPH_TEST_DIR which is set in the Makefile to a temp dir under "/tmp", and populate it to all tests which creates a ceph cluster for testing.
- Status changed from 12 to Duplicate
- Status changed from Duplicate to 12
- Priority changed from Normal to Urgent
marking as urgent and reopening because it happens often on make check runs by jenkins and asking jenkins to run the job using shorter directory names has been politely declined. It makes more sense to write test using shorter directory paths so that jenkins can use longer directory paths.
https://jenkins.ceph.com/job/ceph-pull-requests/14333/console
/home/jenkins-build/build/workspace/ceph-pull-requests/build/ceph_objectstore_tool_dir/out/client.admin.5642.asok is too long! The maximum length on this system is 107
- Status changed from 12 to Fix Under Review
- Assignee set to Loïc Dachary
This was not enough. Jenkins path to run tests is /home/jenkins-build/build/workspace/ceph-pull-requests/build (60 characters) so all tests have less than 47 characters to build a path such as src/test/testdir/test-7202/out/client.admin.25327.asok
- Subject changed from test/ceph_objectstore_tool.py fails in jenkins due to "The UNIX domain socket path" length limit to test fails due to "The UNIX domain socket path"
Couldn't the "ceph-pull-requests" component of the path be shortened, say, to "ceph-prs"?
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #18011: jewel: test fails due to "The UNIX domain socket path" added
- Status changed from Pending Backport to Resolved
- Has duplicate Bug #19116: Sporadic segfaults in lockdep_locked on startup added
Also available in: Atom
PDF