Project

General

Profile

Actions

Bug #48365

closed

qa: ffsb build failure on CentOS 8.2

Added by Patrick Donnelly over 3 years ago. Updated almost 3 years ago.

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

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
qa-suite
Labels (FS):
qa-failure, task(easy)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2020-11-25T00:26:37.084 INFO:tasks.workunit.client.0.smithi089.stdout:make[1]: Entering directory '/home/ubuntu/cephtest/mnt.0/client.0/tmp/ffsb-6.0-rc2'
2020-11-25T00:26:37.085 INFO:tasks.workunit.client.0.smithi089.stdout:gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE  -g -O2 -D_REENTRANT -MT fileops.o -MD -MP -MF .deps/fileops.Tpo -c -o fileops.o fileops.c
2020-11-25T00:26:37.291 INFO:tasks.workunit.client.0.smithi089.stderr:fileops.c: In function ‘ffsb_stat’:
2020-11-25T00:26:37.292 INFO:tasks.workunit.client.0.smithi089.stderr:fileops.c:542:2: warning: implicit declaration of function ‘fhstat’; did you mean ‘fstat’? [-Wimplicit-function-declaration]
2020-11-25T00:26:37.292 INFO:tasks.workunit.client.0.smithi089.stderr:  fhstat(curfile->name, ft, fs);
2020-11-25T00:26:37.292 INFO:tasks.workunit.client.0.smithi089.stderr:  ^~~~~~
2020-11-25T00:26:37.292 INFO:tasks.workunit.client.0.smithi089.stderr:  fstat
2020-11-25T00:26:37.449 INFO:tasks.workunit.client.0.smithi089.stdout:mv -f .deps/fileops.Tpo .deps/fileops.Po
2020-11-25T00:26:37.452 INFO:teuthology.orchestra.run.smithi089:> sudo logrotate /etc/logrotate.d/ceph-test.conf
2020-11-25T00:26:37.457 INFO:teuthology.orchestra.run.smithi189:> sudo logrotate /etc/logrotate.d/ceph-test.conf
2020-11-25T00:26:37.459 INFO:tasks.workunit.client.0.smithi089.stdout:gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE  -g -O2 -D_REENTRANT -MT rand.o -MD -MP -MF .deps/rand.Tpo -c -o rand.o rand.c
2020-11-25T00:26:37.541 INFO:tasks.mds_thrash.fs.[cephfs]:reviving mds.b
2020-11-25T00:26:37.541 INFO:tasks.ceph.mds.b:Restarting daemon
2020-11-25T00:26:37.542 INFO:teuthology.orchestra.run.smithi189:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage daemon-helper kill ceph-mds -f --cluster ceph -i b
2020-11-25T00:26:37.545 INFO:tasks.ceph.mds.b:Started
2020-11-25T00:26:37.545 INFO:teuthology.orchestra.run.smithi089:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph fs dump --format=json
2020-11-25T00:26:37.572 INFO:tasks.workunit.client.0.smithi089.stdout:mv -f .deps/rand.Tpo .deps/rand.Po
2020-11-25T00:26:37.580 INFO:tasks.workunit.client.0.smithi089.stdout:gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE  -g -O2 -D_REENTRANT -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
2020-11-25T00:26:37.622 INFO:tasks.workunit.client.0.smithi089.stderr:main.c: In function ‘main’:
2020-11-25T00:26:37.622 INFO:tasks.workunit.client.0.smithi089.stderr:main.c:90:40: error: ‘VERSION’ undeclared (first use in this function)
2020-11-25T00:26:37.623 INFO:tasks.workunit.client.0.smithi089.stderr:  printf("FFSB version %s started\n\n", VERSION);
2020-11-25T00:26:37.623 INFO:tasks.workunit.client.0.smithi089.stderr:                                        ^~~~~~~
2020-11-25T00:26:37.623 INFO:tasks.workunit.client.0.smithi089.stderr:main.c:90:40: note: each undeclared identifier is reported only once for each function it appears in
2020-11-25T00:26:37.624 INFO:tasks.ceph.mds.b.smithi189.stdout:starting mds.b at
2020-11-25T00:26:37.646 INFO:tasks.workunit.client.0.smithi089.stderr:make[1]: *** [Makefile:324: main.o] Error 1
2020-11-25T00:26:37.646 INFO:tasks.workunit.client.0.smithi089.stderr:make: *** [Makefile:217: all] Error 2
2020-11-25T00:26:37.646 INFO:tasks.workunit.client.0.smithi089.stdout:make[1]: Leaving directory '/home/ubuntu/cephtest/mnt.0/client.0/tmp/ffsb-6.0-rc2'

From: /ceph/teuthology-archive/pdonnell-2020-11-24_19:01:27-fs-wip-pdonnell-testing-20201123.213848-distro-basic-smithi/5654255/teuthology.log

Actions #1

Updated by Patrick Donnelly over 3 years ago

  • Assignee set to Xiubo Li
Actions #2

Updated by Xiubo Li over 3 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Xiubo Li over 3 years ago

I have freshly installed a new CentOS 8.2 VM and tried it, I didn't hit no any issue for the compiling except some warnings.

Actions #4

Updated by Xiubo Li over 3 years ago

@Patrick,

Checked the teuthology log I didn't see any suspecious error or warning could cause this, and the "config.h" header has been successfully created by automake tool:

2020-11-25T00:26:36.429 INFO:tasks.workunit.client.0.smithi089.stdout:configure: creating ./config.status
2020-11-25T00:26:36.735 INFO:tasks.workunit.client.0.smithi089.stdout:config.status: creating Makefile
2020-11-25T00:26:36.780 INFO:tasks.workunit.client.0.smithi089.stdout:config.status: creating config.h
2020-11-25T00:26:36.827 INFO:tasks.workunit.client.0.smithi089.stdout:config.status: executing depfiles commands
2020-11-25T00:26:36.964 INFO:tasks.workunit.client.0.smithi089.stdout:config.status: executing default commands
2020-11-25T00:26:37.080 INFO:tasks.workunit.client.0.smithi089.stdout:make  all-am

I am not sure whether is the automake tool's bug. Could you add the following PR when you're running the qa testing ? Let's see whether the contents in "config.h" header are all successfully created.

https://github.com/ceph/ceph/pull/38463

Thanks.

Actions #5

Updated by Patrick Donnelly over 3 years ago

Xiubo Li wrote:

@Patrick,

Checked the teuthology log I didn't see any suspecious error or warning could cause this, and the "config.h" header has been successfully created by automake tool:

[...]

I am not sure whether is the automake tool's bug. Could you add the following PR when you're running the qa testing ? Let's see whether the contents in "config.h" header are all successfully created.

https://github.com/ceph/ceph/pull/38463

Thanks.

ACK, I'll include it.

Actions #6

Updated by Patrick Donnelly over 3 years ago

Haven't seen this failure recently but did get this:

2021-01-08T06:55:04.242 INFO:tasks.workunit.client.1.smithi002.stderr:./config.status: line 1044: warning: here-document at line 838 delimited by end-of-file (wanted `CEOF')
2021-01-08T06:55:04.243 INFO:tasks.workunit.client.1.smithi002.stderr:./config.status: line 1045: syntax error: unexpected end of file
2021-01-08T06:55:04.374 DEBUG:teuthology.orchestra.run:got remote process result: 1
2021-01-08T06:55:04.374 INFO:tasks.workunit:Stopping ['suites/ffsb.sh'] on client.1...

From: /ceph/teuthology-archive/pdonnell-2021-01-08_05:07:01-fs-wip-pdonnell-testing-20210107.220115-distro-basic-smithi/5764563/teuthology.log

Probably not related.

Actions #7

Updated by Patrick Donnelly over 3 years ago

  • Status changed from In Progress to Can't reproduce

Haven't seen this anymore.

Actions #8

Updated by Patrick Donnelly about 3 years ago

  • Status changed from Can't reproduce to New
  • Target version changed from v16.0.0 to v17.0.0

Back from the dead: /ceph/teuthology-archive/pdonnell-2021-04-08_22:42:24-fs-wip-pdonnell-testing-20210408.192301-distro-basic-smithi/6030447/teuthology.log

Actions #9

Updated by Xiubo Li about 3 years ago

Patrick Donnelly wrote:

Back from the dead: /ceph/teuthology-archive/pdonnell-2021-04-08_22:42:24-fs-wip-pdonnell-testing-20210408.192301-distro-basic-smithi/6030447/teuthology.log

2021-04-09T05:32:55.563 INFO:tasks.mds_thrash.fs.[b]:waiting till mds map indicates mds.c is in active, standby or standby-replay
2021-04-09T05:32:55.589 INFO:tasks.workunit.client.1.smithi200.stderr:fileops.c: In function ‘ffsb_stat’:
2021-04-09T05:32:55.589 INFO:tasks.workunit.client.1.smithi200.stderr:fileops.c:542:2: warning: implicit declaration of function ‘fhstat’; did you mean ‘fstat’? [-Wimplicit-function-declaration]
2021-04-09T05:32:55.590 INFO:tasks.workunit.client.1.smithi200.stderr:  fhstat(curfile->name, ft, fs);
2021-04-09T05:32:55.590 INFO:tasks.workunit.client.1.smithi200.stderr:  ^~~~~~
2021-04-09T05:32:55.591 INFO:tasks.workunit.client.1.smithi200.stderr:  fstat
2021-04-09T05:32:55.790 INFO:tasks.workunit.client.1.smithi200.stdout:mv -f .deps/fileops.Tpo .deps/fileops.Po
2021-04-09T05:32:55.815 INFO:tasks.workunit.client.1.smithi200.stdout:gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE  -g -O2 -D_REENTRANT -MT rand.o -MD -MP -MF .deps/rand.Tpo -c -o rand.o rand.c
2021-04-09T05:32:56.213 INFO:tasks.workunit.client.1.smithi200.stdout:mv -f .deps/rand.Tpo .deps/rand.Po
2021-04-09T05:32:56.219 INFO:tasks.workunit.client.1.smithi200.stdout:gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE  -g -O2 -D_REENTRANT -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
2021-04-09T05:32:56.296 INFO:tasks.workunit.client.1.smithi200.stderr:main.c: In function ‘main’:
2021-04-09T05:32:56.297 INFO:tasks.workunit.client.1.smithi200.stderr:main.c:90:40: error: ‘VERSION’ undeclared (first use in this function)
2021-04-09T05:32:56.297 INFO:tasks.workunit.client.1.smithi200.stderr:  printf("FFSB version %s started\n\n", VERSION);
2021-04-09T05:32:56.298 INFO:tasks.workunit.client.1.smithi200.stderr:                                        ^~~~~~~
2021-04-09T05:32:56.298 INFO:tasks.workunit.client.1.smithi200.stderr:main.c:90:40: note: each undeclared identifier is reported only once for each function it appears in
2021-04-09T05:32:56.306 INFO:tasks.workunit.client.1.smithi200.stderr:make[1]: *** [Makefile:324: main.o] Error 1
2021-04-09T05:32:56.306 INFO:tasks.workunit.client.1.smithi200.stdout:make[1]: Leaving directory '/home/ubuntu/cephtest/mnt.1/client.1/tmp/ffsb-6.0-rc2'
2021-04-09T05:32:56.307 INFO:tasks.workunit.client.1.smithi200.stderr:make: *** [Makefile:217: all] Error 2
2021-04-09T05:32:56.309 DEBUG:teuthology.orchestra.run:got remote process result: 2
2021-04-09T05:32:56.310 INFO:tasks.workunit:Stopping ['suites/ffsb.sh'] on client.1...

This still seems the version.h not generated successfully.

Actions #10

Updated by Xiubo Li about 3 years ago

2021-04-09T05:32:40.754 INFO:tasks.workunit.client.0.smithi098.stdout:config.status: creating config.h
2021-04-09T05:32:54.255 INFO:tasks.workunit.client.1.smithi200.stdout:config.status: creating config.h

This time the config.h was generated successfully too.

Actions #11

Updated by Xiubo Li about 3 years ago

From https://www.gnu.org/software/automake/manual/automake.html, it seems the ffsb is using the old form of `AM_INIT_AUTOMAKE`:

If your configure.ac has:

AC_INIT([src/foo.c])
AM_INIT_AUTOMAKE([mumble], [1.5])

you should modernize it as follows:

AC_INIT([mumble], [1.5])
AC_CONFIG_SRCDIR([src/foo.c])
AM_INIT_AUTOMAKE
Actions #12

Updated by Xiubo Li about 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 40842
Actions #13

Updated by Patrick Donnelly almost 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF