Resolving the "TestsFailure" error
Written by
Updated at November 27, 2023
Issue description
When building a Docker image, you see this error during testing:
TestsFailure:It is not possible to start the docker container for testing.
Make sure that the requirements from the documentation are satisfied.
Solution
Correctness tests ensure that the project operates properly on the Docker image. Possible errors:
- The image is intended to launch a service (for example, a web application) rather than Jupyter.
- The error occurs because there is no
jupyter
user in Docker. You can install it using this command:
RUN useradd -ms /bin/bash --uid 1000 jupyter
If the issue persists
If the above actions didn't help, create a request for support
When creating a request, attach your Dockerfile for analysis.