Project

General

Profile

Actions

Bug #35849

closed

mimic: test_envlibrados_for_rocksdb.sh: build failed with error: #endif without #if

Added by Neha Ojha over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

2018-09-07T16:51:27.941 INFO:tasks.workunit.client.0.smithi115.stdout:[100%] Building CXX object CMakeFiles/rocksdb-shared.dir/utilities/env_librados.cc.o
2018-09-07T16:51:28.052 INFO:tasks.workunit.client.0.smithi115.stderr:In file included from /home/ubuntu/cephtest/mnt.0/client.0/tmp/rocksdb/utilities/env_librados.cc:4:0:
2018-09-07T16:51:28.052 INFO:tasks.workunit.client.0.smithi115.stderr:/home/ubuntu/cephtest/mnt.0/client.0/tmp/rocksdb/include/rocksdb/utilities/env_librados.h:176:2: error: #endif without #if
2018-09-07T16:51:28.052 INFO:tasks.workunit.client.0.smithi115.stderr: #endif
2018-09-07T16:51:28.053 INFO:tasks.workunit.client.0.smithi115.stderr:  ^~~~~
2018-09-07T16:51:28.862 INFO:tasks.workunit.client.0.smithi115.stdout:CMakeFiles/rocksdb-shared.dir/build.make:5438: recipe for target 'CMakeFiles/rocksdb-shared.dir/utilities/env_librados.cc.o' failed
2018-09-07T16:51:28.862 INFO:tasks.workunit.client.0.smithi115.stderr:make[3]: *** [CMakeFiles/rocksdb-shared.dir/utilities/env_librados.cc.o] Error 1
2018-09-07T16:51:28.863 INFO:tasks.workunit.client.0.smithi115.stdout:CMakeFiles/Makefile2:3649: recipe for target 'CMakeFiles/rocksdb-shared.dir/all' failed
2018-09-07T16:51:28.863 INFO:tasks.workunit.client.0.smithi115.stderr:make[2]: *** [CMakeFiles/rocksdb-shared.dir/all] Error 2
2018-09-07T16:51:28.863 INFO:tasks.workunit.client.0.smithi115.stdout:CMakeFiles/Makefile2:2439: recipe for target 'CMakeFiles/rocksdb_env_librados_test.dir/rule' failed
2018-09-07T16:51:28.863 INFO:tasks.workunit.client.0.smithi115.stdout:Makefile:942: recipe for target 'rocksdb_env_librados_test' failed
2018-09-07T16:51:28.864 INFO:tasks.workunit.client.0.smithi115.stderr:make[1]: *** [CMakeFiles/rocksdb_env_librados_test.dir/rule] Error 2
2018-09-07T16:51:28.864 INFO:tasks.workunit.client.0.smithi115.stderr:make: *** [rocksdb_env_librados_test] Error 2
2018-09-07T16:51:28.865 INFO:tasks.workunit:Stopping ['rados/test_envlibrados_for_rocksdb.sh'] on client.0...

/a/yuriw-2018-09-07_16:33:57-rados-wip-yuriw--9.5.18_mimic-distro-basic-smithi/2989468/

Actions #1

Updated by Brad Hubbard over 5 years ago

Hey Neha,

Can you reproduce this?

I tried mimicking the job in a Bionic container and it builds correctly. I also tried running the original job fifty times in a loop and so far it hasn't failed?

Actions #3

Updated by Brad Hubbard over 5 years ago

  • Status changed from New to 12
  • Assignee set to Brad Hubbard

Ah, I see what happened. The github.com/facebook/rocksdb/ was broken on the day these tasks failed. See https://github.com/facebook/rocksdb/commit/faf529fd7cad9de3ef7811b36f8774ff22081414 for the fix Kefu submitted on the 8th. I doubt we'll see this again so it should be safe to close?

Actions #4

Updated by Neha Ojha over 5 years ago

  • Status changed from 12 to Closed

sure.

Actions

Also available in: Atom PDF