Project

General

Profile

Actions

Bug #57754

open
LF LF

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

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

Added by Laura Flores about 4 years ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Tags (freeform):

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 open — 1 closed)

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

Actions

RZ Updated by Radoslaw Zarzynski about 4 years ago Actions #1

  • Project changed from RADOS to Infrastructure

No GCC11 installed?

AK Updated by adam kraitman about 4 years ago Actions #2

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

LF Updated by Laura Flores about 4 years ago Actions #3

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

LF Updated by Laura Flores about 4 years ago Actions #4

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

MB Updated by Matan Breizman about 4 years ago Actions #5

  • 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.

LF Updated by Laura Flores almost 4 years ago Actions #6

  • Status changed from In Progress to Closed

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

LF Updated by Laura Flores almost 4 years ago Actions #7

  • 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

LF Updated by Laura Flores almost 4 years ago Actions #8

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}} 

SS Updated by Sridhar Seshasayee over 3 years ago Actions #9

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

KS Updated by Kamoltat (Junior) Sirivadhna over 3 years ago Actions #10

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

DG Updated by David Galloway 7 months ago Actions #11

@Laura Flores Is this fixed?

Actions

Also available in: PDF Atom