Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Error building DFP containers #1346

Closed
2 tasks done
efajardo-nv opened this issue Nov 6, 2023 · 0 comments · Fixed by #1347
Closed
2 tasks done

[BUG]: Error building DFP containers #1346

efajardo-nv opened this issue Nov 6, 2023 · 0 comments · Fixed by #1347
Assignees
Labels
bug Something isn't working dfp [Workflow] Related to the Digital Fingerprinting (DFP) workflow

Comments

@efajardo-nv
Copy link
Contributor

efajardo-nv commented Nov 6, 2023

Version

23.11

Which installation method(s) does this occur on?

Docker

Describe the bug.

I get an error when trying to build the jupyter and morpheus_pipeline containers in the Production DFP example.

Minimum reproducible example

Follow instructions in Production DFP README:
https://github.com/nv-morpheus/Morpheus/tree/branch-23.11/examples/digital_fingerprinting/production

Error occurs when running the following commands in the instructions:

docker compose up jupyter
docker compose run morpheus_pipeline bash

Relevant log output

 => ERROR [morpheus_pipeline base 4/6] RUN source activate morpheus     && mamba env update -n morpheus -f ./conda_env.yml                                                                                                                                                                                       42.4s
------
 > [morpheus_pipeline base 4/6] RUN source activate morpheus     && mamba env update -n morpheus -f ./conda_env.yml:
#0 15.62
#0 15.62
#0 15.62 Looking for: ['boto3', 'dask', 'dill', 'distributed', 'kfp', 'librdkafka', "mlflow[version='>=2.2.1,<3']", 'nodejs=17.4.0', 'nvtabular=23.06', 'papermill', "s3fs[version='>=2023.6']"]
#0 15.62
#0 15.62
#0 42.12 Could not solve for environment specs
#0 42.12 The following package could not be installed
#0 42.12 └─ nodejs 17.4.0**  is installable and it requires
#0 42.12    └─ icu >=69.1,<70.0a0 , which can be installed.
------
failed to solve: failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/bash -c source activate morpheus     && mamba env update -n morpheus -f ./conda_env.yml]: runc did not terminate sucessfully

Full env printout

No response

Other/Misc.

No response

Code of Conduct

  • I agree to follow Morpheus' Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report
@efajardo-nv efajardo-nv added bug Something isn't working dfp [Workflow] Related to the Digital Fingerprinting (DFP) workflow labels Nov 6, 2023
@efajardo-nv efajardo-nv self-assigned this Nov 6, 2023
@jarmak-nv jarmak-nv moved this from Todo to Review - Ready for Review in Morpheus Boards Nov 6, 2023
@rapids-bot rapids-bot bot closed this as completed in #1347 Nov 8, 2023
rapids-bot bot pushed a commit that referenced this issue Nov 8, 2023
- Update `nodejs` in DFP container to match version in Morpheus dev conda environment.
- Update `jupyterlab_nvdashboard` version to fix the following error seen in jupyterlab startup.

```
[W 2023-11-06 23:01:38.953 ServerApp] jupyterlab_nvdashboard | extension failed loading with message: ExtensionLoadingError('_load_jupyter_server_extension function was not found.')
jupyter  |     Traceback (most recent call last):
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 358, in load_extension
jupyter  |         extension.load_all_points(self.serverapp)
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 230, in load_all_points
jupyter  |         return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 230, in <listcomp>
jupyter  |         return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 221, in load_point
jupyter  |         return point.load(serverapp)
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 148, in load
jupyter  |         loader = self._get_loader()
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 117, in _get_loader
jupyter  |         loader = get_loader(loc)
jupyter  |       File "/opt/conda/envs/morpheus/lib/python3.10/site-packages/jupyter_server/extension/utils.py", line 47, in get_loader
jupyter  |         raise ExtensionLoadingError(msg) from None
jupyter  |     jupyter_server.extension.utils.ExtensionLoadingError: _load_jupyter_server_extension function was not found.
```

Fixes #1346

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Eli Fajardo (https://github.com/efajardo-nv)

Approvers:
  - Devin Robison (https://github.com/drobison00)

URL: #1347
@github-project-automation github-project-automation bot moved this from Review - Ready for Review to Done in Morpheus Boards Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dfp [Workflow] Related to the Digital Fingerprinting (DFP) workflow
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant