Project

General

Profile

Actions

Bug #57754

open

test_envlibrados_for_rocksdb.sh: update-alternatives: error: alternative path /usr/bin/gcc-11 doesn't exist

Added by Laura Flores over 1 year ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
% Done:

0%

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

Description

/a/yuriw-2022-09-29_16:44:24-rados-wip-lflores-testing-distro-default-smithi/7048086

2022-09-29T22:08:51.589 INFO:tasks.workunit.client.0.smithi124.stdout:Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
2022-09-29T22:08:52.005 INFO:tasks.workunit.client.0.smithi124.stderr:++ distro_id
2022-09-29T22:08:52.006 INFO:tasks.workunit.client.0.smithi124.stderr:++ source /etc/os-release
2022-09-29T22:08:52.006 INFO:tasks.workunit.client.0.smithi124.stderr:+++ NAME=Ubuntu
2022-09-29T22:08:52.006 INFO:tasks.workunit.client.0.smithi124.stderr:+++ VERSION='20.04.5 LTS (Focal Fossa)'
2022-09-29T22:08:52.007 INFO:tasks.workunit.client.0.smithi124.stderr:+++ ID=ubuntu
2022-09-29T22:08:52.007 INFO:tasks.workunit.client.0.smithi124.stderr:+++ ID_LIKE=debian
2022-09-29T22:08:52.007 INFO:tasks.workunit.client.0.smithi124.stderr:+++ PRETTY_NAME='Ubuntu 20.04.5 LTS'
2022-09-29T22:08:52.007 INFO:tasks.workunit.client.0.smithi124.stderr:+++ VERSION_ID=20.04
2022-09-29T22:08:52.008 INFO:tasks.workunit.client.0.smithi124.stderr:+++ HOME_URL=https://www.ubuntu.com/
2022-09-29T22:08:52.008 INFO:tasks.workunit.client.0.smithi124.stderr:+++ SUPPORT_URL=https://help.ubuntu.com/
2022-09-29T22:08:52.008 INFO:tasks.workunit.client.0.smithi124.stderr:+++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/
2022-09-29T22:08:52.008 INFO:tasks.workunit.client.0.smithi124.stderr:+++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
2022-09-29T22:08:52.008 INFO:tasks.workunit.client.0.smithi124.stderr:+++ VERSION_CODENAME=focal
2022-09-29T22:08:52.009 INFO:tasks.workunit.client.0.smithi124.stderr:+++ UBUNTU_CODENAME=focal
2022-09-29T22:08:52.009 INFO:tasks.workunit.client.0.smithi124.stderr:++ echo ubuntu
2022-09-29T22:08:52.009 INFO:tasks.workunit.client.0.smithi124.stderr:+ '[' ubuntu = ubuntu ']'
2022-09-29T22:08:52.009 INFO:tasks.workunit.client.0.smithi124.stderr:+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 11
2022-09-29T22:08:52.015 INFO:tasks.workunit.client.0.smithi124.stderr:update-alternatives: error: alternative path /usr/bin/gcc-11 doesn't exist
2022-09-29T22:08:52.017 DEBUG:teuthology.orchestra.run:got remote process result: 2
2022-09-29T22:08:52.018 INFO:tasks.workunit:Stopping ['rados/test_envlibrados_for_rocksdb.sh'] on client.0...
2022-09-29T22:08:52.019 DEBUG:teuthology.orchestra.run.smithi124:> sudo rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/clone.client.0


Related issues 1 (0 open1 closed)

Related to RADOS - Bug #57632: test_envlibrados_for_rocksdb: free(): invalid pointerClosedLaura Flores

Actions
Actions #1

Updated by Radoslaw Zarzynski over 1 year ago

  • Project changed from RADOS to Infrastructure

No GCC11 installed?

Actions #2

Updated by adam kraitman over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to adam kraitman
Actions #3

Updated by Laura Flores over 1 year ago

/a/yuriw-2022-10-19_18:35:19-rados-wip-yuri10-testing-2022-10-19-0810-distro-default-smithi/7074826

Actions #4

Updated by Laura Flores over 1 year ago

  • Related to Bug #57632: test_envlibrados_for_rocksdb: free(): invalid pointer added
Actions #5

Updated by Matan Breizman over 1 year ago

  • Assignee changed from adam kraitman to Matan Breizman
This failure is caused by https://github.com/ceph/ceph/pull/47900 changes.
The only 2 tests to use `ceph-helpers-root.sh` are
  • test_librados_build.sh
  • test_envlibrados_for_rocksdb.sh

`test_librados_build` failure was fixed by installing g++11 and compiling with c++20 to avoid version mismatch and passing the test. (PR mentioned above)

`test_envlibrados_for_rocksdb` will also be compiled with newer g++/c++ versions since we were hitting a similar error.
The tracker with the suggested changes PR is: https://tracker.ceph.com/issues/57632.

However, applying these changes still didn't resolve the "invalid pointer" failure. Hence it is not merged yet.
Once 57632 will be resolved this tracker (57754) will also resolve.

Actions #6

Updated by Laura Flores over 1 year ago

  • Status changed from In Progress to Closed

"Closed" since we merged a workaround rather than a fix.

Actions #7

Updated by Laura Flores about 1 year ago

  • Status changed from Closed to New
  • Assignee changed from Matan Breizman to Laura Flores

Reopening since this test is still somehow getting scheduled on ubuntu when it shouldn't. I'll have another look:
/a/yuriw-2023-02-15_23:04:45-rados-wip-yuri10-testing-2023-02-15-1245-distro-default-smithi/7175525

Actions #8

Updated by Laura Flores about 1 year ago

Laura Flores wrote:

Reopening since this test is still somehow getting scheduled on ubuntu when it shouldn't. I'll have another look:
/a/yuriw-2023-02-15_23:04:45-rados-wip-yuri10-testing-2023-02-15-1245-distro-default-smithi/7175525

Ah, looks like the test is still getting assigned to a distro from `supported_random_distros` under `rados/singleton`, which is tied to all distros:

rados/singleton/{all/test_envlibrados_for_rocksdb/{supported/centos_latest test_envlibrados_for_rocksdb} mon_election/classic msgr-failures/none msgr/async-v2only objectstore/bluestore-comp-zlib rados supported-random-distro$/{ubuntu_latest}} 

Actions #9

Updated by Sridhar Seshasayee 12 months ago

/a/sseshasa-2023-05-02_03:09:13-rados-wip-sseshasa-testing-2023-05-01-2145-distro-default-smithi/7260264

Actions #10

Updated by Kamoltat (Junior) Sirivadhna 10 months ago

/a/yuriw-2023-07-10_18:41:02-rados-wip-yuri6-testing-2023-07-10-0816-distro-default-smithi/7332612/

Actions

Also available in: Atom PDF