Project

General

Profile

Actions

Bug #41684

closed

mgr/dashboard: run-frontend-e2e-tests.sh is failing on docker

Added by Tatjana Dehler over 4 years ago. Updated about 3 years ago.

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

0%

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

Description

The run-frontend-e2e-tests.sh script is failing on my docker environment:

╭─root@ceph-dev /ceph/src/pybind/mgr/dashboard ‹master› 
╰─./run-frontend-e2e-tests.sh                                                                            130 ↵
./run-frontend-e2e-tests.sh: line 44: cd: ../../../..//ceph/build: No such file or directory
Actions #1

Updated by Laura Paduano over 4 years ago

Does that also happen with the run-backend-api-tests.sh script?

Actions #2

Updated by Tatjana Dehler over 4 years ago

Yes, it happens here as well:

╭─root@ceph-dev /ceph/src/pybind/mgr/dashboard ‹master*› 
╰─./run-backend-api-tests.sh                                                                               1 ↵
./run-backend-api-tests.sh: line 32: cd: /ceph/src/pybind/mgr/dashboard/../../../..//ceph/build: No such file or directory
Actions #3

Updated by Volker Theile over 4 years ago

I realized that last week, too. Workaround is to set

export BUILD_DIR=build

and then run the script.

Actions #4

Updated by Laura Paduano over 4 years ago

Volker Theile wrote:

I realized that last week, too. Workaround is to set

export BUILD_DIR=build

and then run the script.

Thanks for the workaround, Volker!

Actions #5

Updated by Kiefer Chang over 4 years ago

Or `unset BUILD_DIR` to workaround.
Do we use the BUILD_DIR variable in Ceph source tree?
If not, maybe we can set it to `build` or remove it from the Dockerfile. (https://github.com/ricardoasmarques/ceph-dev-docker/search?q=BUILD_DIR&unscoped_q=BUILD_DIR)

Actions #6

Updated by Ricardo Marques over 4 years ago

This is a `ceph-dev-docker` issue, not an upstream `ceph` issue.

This is fixed by https://github.com/ricardoasmarques/ceph-dev-docker/pull/79

Actions #7

Updated by Ricardo Marques over 4 years ago

  • Status changed from New to Closed
Actions #8

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 151 to Testing & QA
Actions

Also available in: Atom PDF