Project

General

Profile

Actions

Bug #51101

closed

rados/test_envlibrados_for_rocksdb.sh: cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd in centos

Added by Neha Ojha almost 3 years ago. Updated over 2 years ago.

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

0%

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

Description

2021-06-04T04:52:57.552 INFO:tasks.workunit.client.0.smithi071.stderr:+ cd rocksdb
2021-06-04T04:52:57.552 INFO:tasks.workunit.client.0.smithi071.stderr:+ type cmake3
2021-06-04T04:52:57.553 INFO:tasks.workunit.client.0.smithi071.stderr:+ CMAKE=cmake
2021-06-04T04:52:57.553 INFO:tasks.workunit.client.0.smithi071.stderr:+ '[' -z '' ']'
2021-06-04T04:52:57.553 INFO:tasks.workunit.client.0.smithi071.stderr:+ BUILD_DIR=build
2021-06-04T04:52:57.553 INFO:tasks.workunit.client.0.smithi071.stderr:+ mkdir build
2021-06-04T04:52:57.554 INFO:tasks.workunit.client.0.smithi071.stderr:+ cd build
2021-06-04T04:52:57.554 INFO:tasks.workunit.client.0.smithi071.stderr:+ cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_TESTS=ON -DWITH_LIBRADOS=ON -DWITH_SNAPPY=ON -DWITH_GFLAGS=OFF -DFAIL_ON_WARNINGS=OFF ..
2021-06-04T04:52:57.579 DEBUG:teuthology.orchestra.run:got remote process result: 127
2021-06-04T04:52:57.580 INFO:tasks.workunit.client.0.smithi071.stderr:cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd
2021-06-04T04:52:57.580 INFO:tasks.workunit:Stopping ['rados/test_envlibrados_for_rocksdb.sh'] on client.0...
2021-06-04T04:52:57.581 DEBUG:teuthology.orchestra.run.smithi071:> sudo rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/clone.client.0
2021-06-04T04:52:57.862 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):

/a/yuriw-2021-06-02_18:33:05-rados-wip-yuri3-testing-2021-06-02-0826-pacific-distro-basic-smithi/6147434


Related issues 2 (0 open2 closed)

Copied to RADOS - Backport #51662: octopus: rados/test_envlibrados_for_rocksdb.sh: cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd in centosResolvedNeha OjhaActions
Copied to RADOS - Backport #51663: pacific: rados/test_envlibrados_for_rocksdb.sh: cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd in centosResolvedNeha OjhaActions
Actions #1

Updated by Neha Ojha almost 3 years ago

  • Priority changed from Normal to High

/a/yuriw-2021-06-24_16:54:31-rados-wip-yuri-testing-2021-06-24-0708-pacific-distro-basic-smithi/6190738

Actions #2

Updated by Neha Ojha almost 3 years ago

  • Subject changed from rados/test_envlibrados_for_rocksdb.sh: cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd to rados/test_envlibrados_for_rocksdb.sh: cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd in centos
  • Priority changed from High to Urgent

/a/yuriw-2021-07-12_16:33:44-rados-wip-yuriw-master-7.8.21-distro-basic-smithi/6265227/

This seems to be an issue only with centos.
https://sentry.ceph.com/organizations/ceph/issues/11064/events/2d61caeb6f6946678db6a5e62927115a/events/?project=2

Actions #3

Updated by Neha Ojha almost 3 years ago

fails differently with centos 8.stream

2021-07-11T04:04:51.211 INFO:tasks.workunit.client.0.smithi057.stderr:+ for package in "$@" 
2021-07-11T04:04:51.212 INFO:tasks.workunit.client.0.smithi057.stderr:+ install_one snappy-devel
2021-07-11T04:04:51.212 INFO:tasks.workunit.client.0.smithi057.stderr:+ case $(distro_id) in
2021-07-11T04:04:51.212 INFO:tasks.workunit.client.0.smithi057.stderr:++ distro_id
2021-07-11T04:04:51.213 INFO:tasks.workunit.client.0.smithi057.stderr:++ source /etc/os-release
2021-07-11T04:04:51.214 INFO:tasks.workunit.client.0.smithi057.stderr:+++ NAME='CentOS Stream'
2021-07-11T04:04:51.214 INFO:tasks.workunit.client.0.smithi057.stderr:+++ VERSION=8
2021-07-11T04:04:51.214 INFO:tasks.workunit.client.0.smithi057.stderr:+++ ID=centos
2021-07-11T04:04:51.214 INFO:tasks.workunit.client.0.smithi057.stderr:+++ ID_LIKE='rhel fedora'
2021-07-11T04:04:51.215 INFO:tasks.workunit.client.0.smithi057.stderr:+++ VERSION_ID=8
2021-07-11T04:04:51.215 INFO:tasks.workunit.client.0.smithi057.stderr:+++ PLATFORM_ID=platform:el8
2021-07-11T04:04:51.215 INFO:tasks.workunit.client.0.smithi057.stderr:+++ PRETTY_NAME='CentOS Stream 8'
2021-07-11T04:04:51.215 INFO:tasks.workunit.client.0.smithi057.stderr:+++ ANSI_COLOR='0;31'
2021-07-11T04:04:51.215 INFO:tasks.workunit.client.0.smithi057.stderr:+++ CPE_NAME=cpe:/o:centos:centos:8
2021-07-11T04:04:51.216 INFO:tasks.workunit.client.0.smithi057.stderr:+++ HOME_URL=https://centos.org/
2021-07-11T04:04:51.216 INFO:tasks.workunit.client.0.smithi057.stderr:+++ BUG_REPORT_URL=https://bugzilla.redhat.com/
2021-07-11T04:04:51.216 INFO:tasks.workunit.client.0.smithi057.stderr:+++ REDHAT_SUPPORT_PRODUCT='Red Hat Enterprise Linux 8'
2021-07-11T04:04:51.216 INFO:tasks.workunit.client.0.smithi057.stderr:+++ REDHAT_SUPPORT_PRODUCT_VERSION='CentOS Stream'
2021-07-11T04:04:51.217 INFO:tasks.workunit.client.0.smithi057.stderr:++ echo centos
2021-07-11T04:04:51.218 INFO:tasks.workunit.client.0.smithi057.stderr:+ sudo yum install -y snappy-devel
2021-07-11T04:04:51.709 INFO:tasks.workunit.client.0.smithi057.stdout:Last metadata expiration check: 0:03:48 ago on Sun 11 Jul 2021 04:01:03 AM UTC.
2021-07-11T04:04:52.297 INFO:tasks.workunit.client.0.smithi057.stdout:No match for argument: snappy-devel
2021-07-11T04:04:52.318 INFO:tasks.workunit.client.0.smithi057.stderr:Error: Unable to find a match: snappy-devel
2021-07-11T04:04:52.339 DEBUG:teuthology.orchestra.run:got remote process result: 1
2021-07-11T04:04:52.340 INFO:tasks.workunit:Stopping ['rados/test_envlibrados_for_rocksdb.sh'] on client.0...

/a/ksirivad-2021-07-11_01:45:00-rados-wip-pg-autoscaler-overlap-distro-basic-smithi/6263063

Actions #4

Updated by Neha Ojha almost 3 years ago

Neha Ojha wrote:

fails differently with centos 8.stream

Tracked in https://tracker.ceph.com/issues/51638

[...]

/a/ksirivad-2021-07-11_01:45:00-rados-wip-pg-autoscaler-overlap-distro-basic-smithi/6263063

Actions #5

Updated by Kefu Chai almost 3 years ago

archive_write_add_filter_zstd() was added on libarchive-3.3.3. see https://bugzilla.redhat.com/show_bug.cgi?id=1827927#c13

cmake-3.18.2-9.el8 was built against this version of libarchive. but libarchive didn't bump up the so version. so if we just upgrade cmake cmake-3.18.2 and up without upgrading libarchive, we would run into this issue.

the solution is to install libarchive-3.3.3-1.el8 and up.

Actions #6

Updated by Kefu Chai almost 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 42294
Actions #7

Updated by Neha Ojha almost 3 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Assignee set to Neha Ojha
  • Backport changed from pacific to pacific, octopus

Based on /a/teuthology-2021-06-23_03:30:02-rados-octopus-distro-basic-gibba/6185359

Actions #8

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51662: octopus: rados/test_envlibrados_for_rocksdb.sh: cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd in centos added
Actions #9

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51663: pacific: rados/test_envlibrados_for_rocksdb.sh: cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd in centos added
Actions #10

Updated by Loïc Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF