Project

General

Profile

Bug #48365

qa: ffsb build failure on CentOS 8.2

Added by Patrick Donnelly 6 months ago. Updated about 1 month ago.

Status:
Fix Under Review
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

History

#1 Updated by Patrick Donnelly 6 months ago

  • Assignee set to Xiubo Li

#2 Updated by Xiubo Li 5 months ago

  • Status changed from New to In Progress

#3 Updated by Xiubo Li 5 months 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.

#4 Updated by Xiubo Li 5 months 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.

#5 Updated by Patrick Donnelly 5 months 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.

#6 Updated by Patrick Donnelly 4 months 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.

#7 Updated by Patrick Donnelly 4 months ago

  • Status changed from In Progress to Can't reproduce

Haven't seen this anymore.

#8 Updated by Patrick Donnelly about 1 month 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

#9 Updated by Xiubo Li about 1 month 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.

#10 Updated by Xiubo Li about 1 month 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.

#11 Updated by Xiubo Li about 1 month 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

#12 Updated by Xiubo Li about 1 month ago

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

Also available in: Atom PDF