Project

General

Profile

Actions

Bug #16014

closed

test fails due to "The UNIX domain socket path"

Added by Kefu Chai almost 8 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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)

Related issues 2 (0 open2 closed)

Has duplicate Ceph - Bug #19116: Sporadic segfaults in lockdep_locked on startupDuplicate03/01/2017

Actions
Copied to Ceph - Backport #18011: jewel: test fails due to "The UNIX domain socket path"ResolvedLoïc DacharyActions
Actions #1

Updated by Kefu Chai almost 8 years ago

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.

Actions #2

Updated by Loïc Dachary almost 8 years ago

It's a duplicate of #15249

Actions #3

Updated by Kefu Chai almost 8 years ago

  • Status changed from 12 to Duplicate
Actions #4

Updated by Loïc Dachary over 7 years ago

  • 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

Actions #5

Updated by Loïc Dachary over 7 years ago

  • Backport set to jewel
Actions #6

Updated by Loïc Dachary over 7 years ago

  • Status changed from 12 to Fix Under Review
  • Assignee set to Loïc Dachary
Actions #7

Updated by Loïc Dachary over 7 years ago

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

Actions #8

Updated by Loïc Dachary over 7 years ago

  • 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"
Actions #10

Updated by Nathan Cutler over 7 years ago

Couldn't the "ceph-pull-requests" component of the path be shortened, say, to "ceph-prs"?

Actions #11

Updated by Loïc Dachary over 7 years ago

@Nathan Weinberg that would help :-)

Actions #12

Updated by Loïc Dachary over 7 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #13

Updated by Loïc Dachary over 7 years ago

  • Copied to Backport #18011: jewel: test fails due to "The UNIX domain socket path" added
Actions #14

Updated by Loïc Dachary over 7 years ago

The source of the problem is http://tracker.ceph.com/issues/15249

Actions #15

Updated by Nathan Cutler about 7 years ago

  • Status changed from Pending Backport to Resolved
Actions #16

Updated by Greg Farnum almost 7 years ago

  • Has duplicate Bug #19116: Sporadic segfaults in lockdep_locked on startup added
Actions

Also available in: Atom PDF