Bug #41684
closedmgr/dashboard: run-frontend-e2e-tests.sh is failing on docker
0%
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
Updated by Laura Paduano over 4 years ago
Does that also happen with the run-backend-api-tests.sh script?
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
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.
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!
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)
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
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 151 to Testing & QA