Project

General

Profile

Actions

Bug #14723

closed

make check bot broken: execvp: /bin/sh: Argument list too long

Added by Loïc Dachary about 8 years ago. Updated about 8 years ago.

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

0%

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

Description

A number of errors similar started happening in the past few days. Noone has been able to reproduce it outside of the Jenkins environment.

https://jenkins.ceph.com/job/ceph-pull-requests/1261/console

.......
PASS: test/osd/osd-scrub-repair.sh
make[5]: execvp: /bin/sh: Argument list too long
make[5]: *** [test-suite.log] Error 127
make[5]: Leaving directory
`/home/jenkins-build/build/workspace/ceph-pull-requests/src'
make[4]: *** [check-TESTS] Error 2
make[4]: Leaving directory
`/home/jenkins-build/build/workspace/ceph-pull-requests/src'
make[3]: *** [check-am] Error 2
Actions #1

Updated by Loïc Dachary about 8 years ago

  • Subject changed from make check bot broken to make check bot broken: execvp: /bin/sh: Argument list too long
Actions #4

Updated by Kefu Chai about 8 years ago

turns out, MAKEFILE_LIST is too long to be passed as a parameter for sh

am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'

and @am__is_gnu_make is evaluated when running

make test-suite.log

evaluation chain:

"make test-suite.log" => am__make_dryrun => am__make_running_with_option => am__is_gnu_make

and it's a known automake bug, reported at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18744

the bug was fixed in automake 1.15. while centos7 has 1.13.4.

Actions #5

Updated by Kefu Chai about 8 years ago

  • Status changed from New to In Progress
  • Assignee set to Kefu Chai
Actions #6

Updated by Kefu Chai about 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #7

Updated by Kefu Chai about 8 years ago

  • Project changed from sepia to Ceph
  • Source changed from other to Development
Actions #8

Updated by Kefu Chai about 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF