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

Mount public wpsoutputs data #360

Merged
merged 19 commits into from
Sep 25, 2023
Merged

Mount public wpsoutputs data #360

merged 19 commits into from
Sep 25, 2023

Conversation

ChaamC
Copy link
Collaborator

@ChaamC ChaamC commented Jul 25, 2023

Overview

This PR addresses the need for users to have access to public wps outputs data. The latest version of Cowbird monitors the wps outputs data directory (which contains public data and user restricted data) and isolates its public data via hardlinks to another directory. This other directory is then mounted on JupyterLab instances to give data access to the users.

cowbird#40 must first be merged before merging this PR.

Changes

Non-breaking changes

  • Add public wps outputs directory to Cowbird and add corresponding volume mount to JupyterHub.
  • Add WPS_OUTPUTS_DIR env variable to manage the location of the wps outputs data.

Breaking changes

  • Update cowbird service from 1.2.0 to latest version
  • Require MongoDB==5.0 Docker image for Cowbird's database.

Because of the new MongoDB==5.0 database requirement for Cowbird that uses (potentially) distinct version from other
birds, a separate Docker image is employed only for Cowbird. If some processes, jobs, or other Cowbird-related data
was already defined on one of your server instances, manual transfer between the generic
${DATA_PERSIST_ROOT}/mongodb_persist to new ${DATA_PERSIST_ROOT}/mongodb_cowbird_persist directory must be
accomplished. The data in the new directory should then be migrated to the new version following the same procedure as
described for Weaver in
Database Migration.

Related Issue / Discussion

  • Related to Jira task DAC-570 and PR cowbird#40

  • Update Cowbird's version after Cowbird's PR is merged

@ChaamC ChaamC requested a review from fmigneault July 25, 2023 16:42
@ChaamC ChaamC self-assigned this Jul 25, 2023
@github-actions github-actions bot added component/cowbird Related to https://github.com/Ouranosinc/cowbird component/jupyterhub Related to JupyterHub as development frontend with notebooks documentation Improvements or additions to documentation labels Jul 25, 2023
@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/1873/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-69.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1229/

NOTEBOOK TEST RESULTS
    
[2023-07-25T16:58:13.216Z] ============================= test session starts ==============================
[2023-07-25T16:58:13.216Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-07-25T16:58:13.216Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2023-07-25T16:58:13.217Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-07-25T16:58:13.217Z] collected 236 items
[2023-07-25T16:58:13.217Z] 
[2023-07-25T16:58:21.678Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-07-25T16:58:27.012Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .FFFFF.        [  7%]
[2023-07-25T16:58:37.351Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-07-25T16:58:47.509Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 13%]
[2023-07-25T17:06:44.437Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-07-25T17:06:44.698Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 19%]
[2023-07-25T17:06:56.390Z] ...............                                                          [ 25%]
[2023-07-25T17:07:05.732Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-07-25T17:07:12.973Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 30%]
[2023-07-25T17:07:30.072Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-07-25T17:07:31.988Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 33%]
[2023-07-25T17:07:37.278Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 36%]
[2023-07-25T17:07:42.177Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 38%]
[2023-07-25T17:11:09.018Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-07-25T17:12:19.263Z] .............                                                            [ 50%]
[2023-07-25T17:12:22.400Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-07-25T17:12:24.733Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 55%]
[2023-07-25T17:12:41.578Z] .................                                                        [ 62%]
[2023-07-25T17:12:49.729Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ....F.          [ 64%]
[2023-07-25T17:12:51.109Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 65%]
[2023-07-25T17:13:06.668Z] ..F......                                                                [ 69%]
[2023-07-25T17:13:16.514Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-07-25T17:13:26.273Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 76%]
[2023-07-25T17:13:27.656Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-07-25T17:13:31.221Z] ......                                                                   [ 79%]
[2023-07-25T17:13:39.365Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-07-25T17:13:53.803Z] .............                                                            [ 85%]
[2023-07-25T17:14:06.023Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-07-25T17:14:42.575Z] ....s.                                                                   [ 88%]
[2023-07-25T17:14:50.706Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-07-25T17:15:03.283Z] ...                                                                      [ 89%]
[2023-07-25T17:15:18.198Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-07-25T17:15:38.777Z] ......                                                                   [ 92%]
[2023-07-25T17:15:41.535Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-07-25T17:18:45.687Z] notebooks/stress-tests.ipynb .....                                       [100%]
[2023-07-25T17:18:45.687Z] 
[2023-07-25T17:18:45.687Z] =================================== FAILURES ===================================
    
  

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/1921/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-46.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1246/

NOTEBOOK TEST RESULTS
    
[2023-08-08T18:41:35.541Z] ============================= test session starts ==============================
[2023-08-08T18:41:35.541Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-08-08T18:41:35.541Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2023-08-08T18:41:35.541Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-08-08T18:41:35.541Z] collected 236 items
[2023-08-08T18:41:35.541Z] 
[2023-08-08T18:41:44.583Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-08-08T18:41:50.659Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .FFFFF.        [  7%]
[2023-08-08T18:42:00.624Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-08-08T18:42:10.110Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 13%]
[2023-08-08T18:49:39.415Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-08-08T18:49:39.985Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 19%]
[2023-08-08T18:49:49.478Z] ...............                                                          [ 25%]
[2023-08-08T18:49:59.182Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-08-08T18:50:07.059Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 30%]
[2023-08-08T18:50:25.929Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-08-08T18:50:27.848Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 33%]
[2023-08-08T18:50:34.371Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 36%]
[2023-08-08T18:50:39.140Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 38%]
[2023-08-08T18:54:39.608Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-08-08T18:56:00.850Z] .............                                                            [ 50%]
[2023-08-08T18:56:05.592Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-08-08T18:56:08.446Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 55%]
[2023-08-08T18:56:26.362Z] .................                                                        [ 62%]
[2023-08-08T18:56:34.756Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-08-08T18:56:36.139Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 65%]
[2023-08-08T18:56:51.724Z] ..F......                                                                [ 69%]
[2023-08-08T18:57:01.479Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-08-08T18:57:10.974Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 76%]
[2023-08-08T18:57:12.358Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-08-08T18:57:15.922Z] ......                                                                   [ 79%]
[2023-08-08T18:57:24.054Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-08-08T18:57:41.590Z] .............                                                            [ 85%]
[2023-08-08T18:57:53.849Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-08-08T18:58:32.914Z] ....s.                                                                   [ 88%]
[2023-08-08T18:58:42.911Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-08-08T18:58:59.737Z] ...                                                                      [ 89%]
[2023-08-08T18:59:14.649Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-08-08T18:59:39.355Z] ......                                                                   [ 92%]
[2023-08-08T18:59:42.111Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-08-08T19:02:46.356Z] notebooks/stress-tests.ipynb .....                                       [100%]
[2023-08-08T19:02:46.356Z] 
[2023-08-08T19:02:46.356Z] =================================== FAILURES ===================================
    
  

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/1928/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-46.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1251/

NOTEBOOK TEST RESULTS
    
[2023-08-09T13:33:35.972Z] ============================= test session starts ==============================
[2023-08-09T13:33:35.972Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-08-09T13:33:35.972Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2023-08-09T13:33:35.972Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-08-09T13:33:35.972Z] collected 236 items
[2023-08-09T13:33:35.972Z] 
[2023-08-09T13:33:43.146Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-08-09T13:33:52.633Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [  7%]
[2023-08-09T13:34:02.595Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-08-09T13:34:10.185Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 13%]
[2023-08-09T13:41:50.721Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-08-09T13:41:50.722Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 19%]
[2023-08-09T13:42:03.261Z] ...............                                                          [ 25%]
[2023-08-09T13:42:13.434Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-08-09T13:42:20.737Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 30%]
[2023-08-09T13:42:37.513Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-08-09T13:42:38.899Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 33%]
[2023-08-09T13:42:46.100Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 36%]
[2023-08-09T13:42:51.043Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 38%]
[2023-08-09T13:48:07.250Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-08-09T13:49:21.457Z] .............                                                            [ 50%]
[2023-08-09T13:49:25.916Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-08-09T13:49:28.649Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 55%]
[2023-08-09T13:49:46.154Z] .................                                                        [ 62%]
[2023-08-09T13:49:54.828Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-08-09T13:49:56.219Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 65%]
[2023-08-09T13:49:57.586Z] .FFFFFFFF                                                                [ 69%]
[2023-08-09T13:50:08.664Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-08-09T13:50:18.389Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 76%]
[2023-08-09T13:50:20.295Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-08-09T13:50:23.696Z] ......                                                                   [ 79%]
[2023-08-09T13:50:31.821Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-08-09T13:50:49.644Z] .............                                                            [ 85%]
[2023-08-09T13:51:01.884Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-08-09T13:51:46.466Z] ....s.                                                                   [ 88%]
[2023-08-09T13:51:54.600Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-08-09T13:52:10.140Z] ...                                                                      [ 89%]
[2023-08-09T13:52:25.045Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-08-09T13:52:50.402Z] ......                                                                   [ 92%]
[2023-08-09T13:52:53.143Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-08-09T13:55:57.607Z] notebooks/stress-tests.ipynb .....                                       [100%]
[2023-08-09T13:55:57.607Z] 
[2023-08-09T13:55:57.607Z] =================================== FAILURES ===================================
    
  

birdhouse/components/cowbird/docker-compose-extra.yml Outdated Show resolved Hide resolved
CHANGES.md Outdated Show resolved Hide resolved
CHANGES.md Outdated Show resolved Hide resolved
CHANGES.md Outdated
- Add public wps outputs directory to Cowbird and add corresponding volume mount to JupyterHub.
- Update `cowbird` service from [1.2.0](https://github.com/Ouranosinc/cowbird/tree/1.2.0)
to [2.0.0](https://github.com/Ouranosinc/cowbird/tree/2.0.0)
- Require `MongoDB==5.0` Docker image for Cowbird's database.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add that Cowbird now uses a dedicated MongoDB instance with a mention that if anyone is migrating data, they need to transfer it over as needed (technically breaking, though I don't expect anyone is using Cowbird yet, so not that critical).

This should also be indicated as "breaking change" in the PR description and included in the merge message once completed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the changelog, I took most of the description that was already used in the precent similar change applied to Weaver.

CHANGES.md Outdated Show resolved Hide resolved
Comment on lines 28 to 30
WPS_OUTPUTS_DIR: ${WPS_OUTPUTS_DIR}
WPS_OUTPUTS_PUBLIC_SUBDIR: ${WPS_OUTPUTS_PUBLIC_SUBDIR}
WORKSPACE_DIR: ${DATA_PERSIST_ROOT}/${USER_WORKSPACES}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the variables themselves actually used in Cowbird (through os.getenv or similar)?
It seems they should already be included in the cowbird/config.yml.template, but maybe I'm mistaken?
Not a big deal though if they are provided again here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variables are indeed also included in the config.yml.template file, but when that template file gets converted to config.yml file, the env variables are not all resolved. I notice for example that the WORKSPACE_DIR and WPS_OUTPUTS_DIR keep their unresolved format ${VAR_NAME}. By including the environment variables here in the docker-compose, the variables can get resolved later in Cowbird if necessary.

When loading the config in Cowbird, it attempts to resolved remaining unresolved env vars found in the config
using os.path.expandvars().

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/1968/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-20.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1266/

NOTEBOOK TEST RESULTS
    
[2023-08-21T16:32:02.407Z] ============================= test session starts ==============================
[2023-08-21T16:32:02.407Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-08-21T16:32:02.407Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2023-08-21T16:32:02.407Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-08-21T16:32:02.407Z] collected 236 items
[2023-08-21T16:32:02.407Z] 
[2023-08-21T16:32:09.900Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-08-21T16:32:19.937Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [  7%]
[2023-08-21T16:32:30.264Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-08-21T16:32:40.196Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 13%]
[2023-08-21T16:40:33.554Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-08-21T16:40:33.554Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 19%]
[2023-08-21T16:40:37.802Z] ...............                                                          [ 25%]
[2023-08-21T16:40:48.797Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-08-21T16:40:56.100Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 30%]
[2023-08-21T16:41:12.968Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-08-21T16:41:14.618Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 33%]
[2023-08-21T16:41:20.253Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 36%]
[2023-08-21T16:41:25.305Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 38%]
[2023-08-21T16:44:40.572Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-08-21T16:46:02.942Z] .............                                                            [ 50%]
[2023-08-21T16:46:07.652Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-08-21T16:46:09.985Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 55%]
[2023-08-21T16:46:27.194Z] .................                                                        [ 62%]
[2023-08-21T16:46:35.277Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-08-21T16:46:36.665Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 65%]
[2023-08-21T16:46:51.945Z] ..F......                                                                [ 69%]
[2023-08-21T16:46:56.078Z] finch-master/docs/source/notebooks/dap_subset.ipynb EEEEEEEEEEE          [ 73%]
[2023-08-21T16:47:05.671Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 76%]
[2023-08-21T16:47:07.588Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-08-21T16:47:10.651Z] ......                                                                   [ 79%]
[2023-08-21T16:47:18.804Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-08-21T16:47:37.522Z] .............                                                            [ 85%]
[2023-08-21T16:47:47.518Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-08-21T16:48:26.870Z] ....s.                                                                   [ 88%]
[2023-08-21T16:48:35.022Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-08-21T16:48:49.807Z] ...                                                                      [ 89%]
[2023-08-21T16:49:04.716Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-08-21T16:49:29.496Z] ......                                                                   [ 92%]
[2023-08-21T16:49:32.191Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-08-21T16:52:36.381Z] notebooks/stress-tests.ipynb .....                                       [100%]
[2023-08-21T16:52:36.382Z] 
[2023-08-21T16:52:36.382Z] ==================================== ERRORS ====================================
    
  

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2031/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-118.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1291/

NOTEBOOK TEST RESULTS
    
[2023-09-07T18:56:16.998Z] ============================= test session starts ==============================
[2023-09-07T18:56:16.998Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-09-07T18:56:16.998Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2023-09-07T18:56:16.998Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-09-07T18:56:16.998Z] collected 236 items
[2023-09-07T18:56:16.998Z] 
[2023-09-07T18:56:24.793Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-09-07T18:56:33.023Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [  7%]
[2023-09-07T18:56:43.104Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-09-07T18:56:51.418Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 13%]
[2023-09-07T19:04:39.867Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-09-07T19:04:39.867Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 19%]
[2023-09-07T19:04:41.843Z] ...............                                                          [ 25%]
[2023-09-07T19:04:51.384Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-09-07T19:04:58.143Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 30%]
[2023-09-07T19:05:16.551Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-09-07T19:05:17.939Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 33%]
[2023-09-07T19:05:24.236Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 36%]
[2023-09-07T19:05:28.485Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 38%]
[2023-09-07T19:08:56.615Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-09-07T19:10:14.117Z] .............                                                            [ 50%]
[2023-09-07T19:10:16.284Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-09-07T19:10:18.505Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 55%]
[2023-09-07T19:10:34.215Z] .................                                                        [ 62%]
[2023-09-07T19:10:41.791Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-09-07T19:10:43.177Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 65%]
[2023-09-07T19:10:59.168Z] .F.......                                                                [ 69%]
[2023-09-07T19:11:09.230Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-09-07T19:11:18.588Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 76%]
[2023-09-07T19:11:19.972Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-09-07T19:11:22.777Z] ......                                                                   [ 79%]
[2023-09-07T19:11:29.358Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-09-07T19:11:44.865Z] .............                                                            [ 85%]
[2023-09-07T19:11:54.871Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-09-07T19:12:29.923Z] ....s.                                                                   [ 88%]
[2023-09-07T19:12:38.177Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-09-07T19:12:50.733Z] ...                                                                      [ 89%]
[2023-09-07T19:13:05.655Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-09-07T19:13:27.449Z] ......                                                                   [ 92%]
[2023-09-07T19:13:30.189Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-09-07T19:16:34.368Z] notebooks/stress-tests.ipynb .....                                       [100%]
[2023-09-07T19:16:34.368Z] 
[2023-09-07T19:16:34.368Z] =================================== FAILURES ===================================
    
  

@github-actions github-actions bot added component/weaver Related to https://github.com/crim-ca/weaver feature/WPS Feature or service related to Web Processing Service labels Sep 18, 2023
@github-actions github-actions bot added the ci/operations Continuous Integration components label Sep 18, 2023
@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2066/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-216.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1311/

NOTEBOOK TEST RESULTS
    
[2023-09-18T19:00:38.893Z] ============================= test session starts ==============================
[2023-09-18T19:00:38.893Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-09-18T19:00:38.893Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2023-09-18T19:00:38.893Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-09-18T19:00:38.893Z] collected 237 items
[2023-09-18T19:00:38.893Z] 
[2023-09-18T19:00:47.006Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-09-18T19:00:56.146Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [  7%]
[2023-09-18T19:01:06.215Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-09-18T19:01:16.260Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb .F......       [ 13%]
[2023-09-18T19:09:41.122Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-09-18T19:09:43.663Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 18%]
[2023-09-18T19:09:56.033Z] ...............                                                          [ 25%]
[2023-09-18T19:10:07.610Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-09-18T19:10:19.295Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 29%]
[2023-09-18T19:10:39.758Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-09-18T19:10:41.427Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 32%]
[2023-09-18T19:11:07.586Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 35%]
[2023-09-18T19:11:12.278Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 37%]
[2023-09-18T19:15:11.630Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-09-18T19:16:35.923Z] .............                                                            [ 49%]
[2023-09-18T19:16:41.521Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-09-18T19:16:44.537Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 54%]
[2023-09-18T19:17:04.207Z] .................                                                        [ 62%]
[2023-09-18T19:17:12.786Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-09-18T19:17:14.172Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 64%]
[2023-09-18T19:17:15.525Z] .FFFFFFFF                                                                [ 68%]
[2023-09-18T19:17:26.363Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-09-18T19:17:36.380Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 75%]
[2023-09-18T19:17:38.298Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-09-18T19:17:41.101Z] ......                                                                   [ 78%]
[2023-09-18T19:17:51.083Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-09-18T19:18:07.987Z] .............                                                            [ 84%]
[2023-09-18T19:18:20.216Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-09-18T19:18:57.005Z] ....s.                                                                   [ 87%]
[2023-09-18T19:19:05.149Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-09-18T19:19:20.677Z] ...                                                                      [ 89%]
[2023-09-18T19:19:35.566Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 89%]
[2023-09-18T19:19:58.472Z] ......                                                                   [ 92%]
[2023-09-18T19:20:00.779Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-09-18T19:22:34.923Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-09-18T19:22:34.923Z] 
[2023-09-18T19:22:34.923Z] =================================== FAILURES ===================================
    
  

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2067/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-133.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1312/

NOTEBOOK TEST RESULTS
    
[2023-09-18T19:08:38.474Z] ============================= test session starts ==============================
[2023-09-18T19:08:38.474Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-09-18T19:08:38.474Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master@2
[2023-09-18T19:08:38.474Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-09-18T19:08:38.474Z] collected 237 items
[2023-09-18T19:08:38.474Z] 
[2023-09-18T19:08:47.158Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-09-18T19:08:55.742Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [  7%]
[2023-09-18T19:09:06.078Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-09-18T19:09:13.128Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb .F......       [ 13%]
[2023-09-18T19:17:02.174Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-09-18T19:17:04.722Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 18%]
[2023-09-18T19:17:13.968Z] ...............                                                          [ 25%]
[2023-09-18T19:17:23.620Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-09-18T19:17:30.331Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 29%]
[2023-09-18T19:17:47.841Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-09-18T19:17:49.224Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 32%]
[2023-09-18T19:17:56.467Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 35%]
[2023-09-18T19:18:01.493Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 37%]
[2023-09-18T19:20:51.686Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-09-18T19:22:11.907Z] .............                                                            [ 49%]
[2023-09-18T19:22:15.464Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-09-18T19:22:18.066Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 54%]
[2023-09-18T19:22:35.130Z] .................                                                        [ 62%]
[2023-09-18T19:22:43.185Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-09-18T19:22:44.834Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 64%]
[2023-09-18T19:22:53.693Z] .........                                                                [ 68%]
[2023-09-18T19:23:05.073Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-09-18T19:23:14.423Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 75%]
[2023-09-18T19:23:15.804Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-09-18T19:23:19.107Z] ......                                                                   [ 78%]
[2023-09-18T19:23:29.122Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-09-18T19:23:45.138Z] .............                                                            [ 84%]
[2023-09-18T19:23:57.359Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-09-18T19:24:35.405Z] ....s.                                                                   [ 87%]
[2023-09-18T19:24:43.559Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-09-18T19:24:59.096Z] ...                                                                      [ 89%]
[2023-09-18T19:25:14.008Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 89%]
[2023-09-18T19:25:37.883Z] ......                                                                   [ 92%]
[2023-09-18T19:25:40.383Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-09-18T19:28:30.075Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-09-18T19:28:30.075Z] 
[2023-09-18T19:28:30.075Z] =================================== FAILURES ===================================
    
  

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2068/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-46.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1313/

NOTEBOOK TEST RESULTS
    
[2023-09-18T19:45:37.102Z] ============================= test session starts ==============================
[2023-09-18T19:45:37.103Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-09-18T19:45:37.103Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2023-09-18T19:45:37.103Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-09-18T19:45:37.103Z] collected 237 items
[2023-09-18T19:45:37.103Z] 
[2023-09-18T19:45:44.617Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-09-18T19:45:53.249Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [  7%]
[2023-09-18T19:46:02.941Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-09-18T19:46:10.086Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb .F......       [ 13%]
[2023-09-18T19:53:40.191Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-09-18T19:53:42.096Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 18%]
[2023-09-18T19:53:49.574Z] ...............                                                          [ 25%]
[2023-09-18T19:53:58.181Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-09-18T19:54:04.907Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 29%]
[2023-09-18T19:54:21.371Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-09-18T19:54:22.759Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 32%]
[2023-09-18T19:54:29.374Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 35%]
[2023-09-18T19:54:34.139Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 37%]
[2023-09-18T19:57:28.740Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-09-18T19:58:38.721Z] .............                                                            [ 49%]
[2023-09-18T19:58:40.380Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-09-18T19:58:42.346Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 54%]
[2023-09-18T19:58:58.700Z] .................                                                        [ 62%]
[2023-09-18T19:59:06.058Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-09-18T19:59:07.438Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 64%]
[2023-09-18T19:59:15.661Z] .........                                                                [ 68%]
[2023-09-18T19:59:25.817Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-09-18T19:59:34.652Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 75%]
[2023-09-18T19:59:36.046Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-09-18T19:59:39.116Z] ......                                                                   [ 78%]
[2023-09-18T19:59:49.128Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-09-18T20:00:03.602Z] .............                                                            [ 84%]
[2023-09-18T20:00:13.614Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-09-18T20:00:57.639Z] ....s.                                                                   [ 87%]
[2023-09-18T20:01:05.772Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-09-18T20:01:20.571Z] ...                                                                      [ 89%]
[2023-09-18T20:01:32.808Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 89%]
[2023-09-18T20:01:55.709Z] ......                                                                   [ 92%]
[2023-09-18T20:01:58.141Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-09-18T20:04:32.274Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-09-18T20:04:32.274Z] 
[2023-09-18T20:04:32.274Z] =================================== FAILURES ===================================
    
  

@ChaamC ChaamC requested a review from tlvu September 20, 2023 16:16
.readthedocs.yml Outdated
image: stable
os: "ubuntu-22.04"
tools:
python: "3.6"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless something breaks during build, 3.8 at least, since this is already EOL for a while.
(could also be a separate PR)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version updated to 3.10, readthedocs seems to build successfully.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very weird that even latest commit built RTD without problem with the options that you found were causing errors:
ce5c14d

But your latest one is also good:
90611a7 (#360)

Funky stuff happening recently on RTD it seems...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason the latest build on master could be successful was because RTD is deprecating the option progressively, doing temporary deprecation enforcements until in a few weeks where the option becomes fully deprecated (see blog here). I just happened to build it on Sept. 18th where I got the deprecation error.

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2086/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-20.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1327/

NOTEBOOK TEST RESULTS
    
[2023-09-22T13:19:10.564Z] ============================= test session starts ==============================
[2023-09-22T13:19:10.564Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-09-22T13:19:10.564Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2023-09-22T13:19:10.564Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-09-22T13:19:10.564Z] collected 237 items
[2023-09-22T13:19:10.564Z] 
[2023-09-22T13:19:18.926Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-09-22T13:19:28.250Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [  7%]
[2023-09-22T13:19:37.299Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-09-22T13:19:46.729Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb .F......       [ 13%]
[2023-09-22T13:31:57.258Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-09-22T13:31:57.258Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 18%]
[2023-09-22T13:32:10.185Z] ...............                                                          [ 25%]
[2023-09-22T13:32:21.825Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-09-22T13:32:31.402Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 29%]
[2023-09-22T13:32:48.070Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-09-22T13:32:49.462Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 32%]
[2023-09-22T13:32:56.566Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 35%]
[2023-09-22T13:33:01.244Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 37%]
[2023-09-22T13:37:00.127Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-09-22T13:38:13.503Z] .............                                                            [ 49%]
[2023-09-22T13:38:16.605Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-09-22T13:38:19.356Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 54%]
[2023-09-22T13:38:35.761Z] .................                                                        [ 62%]
[2023-09-22T13:38:43.508Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-09-22T13:38:45.424Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 64%]
[2023-09-22T13:38:46.530Z] .FFFFFFFF                                                                [ 68%]
[2023-09-22T13:38:58.006Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-09-22T13:39:07.350Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 75%]
[2023-09-22T13:39:08.752Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-09-22T13:39:12.087Z] ......                                                                   [ 78%]
[2023-09-22T13:39:18.664Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-09-22T13:39:34.560Z] .............                                                            [ 84%]
[2023-09-22T13:39:44.566Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-09-22T13:40:24.309Z] ....s.                                                                   [ 87%]
[2023-09-22T13:40:32.427Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-09-22T13:40:47.215Z] ...                                                                      [ 89%]
[2023-09-22T13:41:02.150Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 89%]
[2023-09-22T13:41:25.052Z] ......                                                                   [ 92%]
[2023-09-22T13:41:26.991Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-09-22T13:44:06.804Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-09-22T13:44:06.804Z] 
[2023-09-22T13:44:06.804Z] =================================== FAILURES ===================================
    
  

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2087/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-90.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1328/

NOTEBOOK TEST RESULTS
    
[2023-09-22T13:21:59.908Z] ============================= test session starts ==============================
[2023-09-22T13:21:59.908Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-09-22T13:21:59.908Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master@2
[2023-09-22T13:21:59.908Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-09-22T13:21:59.908Z] collected 237 items
[2023-09-22T13:21:59.908Z] 
[2023-09-22T13:22:08.105Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-09-22T13:22:27.800Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [  7%]
[2023-09-22T13:22:44.406Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-09-22T13:22:52.257Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb .F......       [ 13%]
[2023-09-22T13:33:42.866Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-09-22T13:33:42.866Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 18%]
[2023-09-22T13:33:45.004Z] ...............                                                          [ 25%]
[2023-09-22T13:33:54.386Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-09-22T13:34:01.113Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 29%]
[2023-09-22T13:34:16.787Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-09-22T13:34:18.168Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 32%]
[2023-09-22T13:34:26.079Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 35%]
[2023-09-22T13:34:30.756Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 37%]
[2023-09-22T13:36:56.540Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-09-22T13:38:11.271Z] .............                                                            [ 49%]
[2023-09-22T13:38:14.842Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-09-22T13:38:17.174Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 54%]
[2023-09-22T13:38:34.214Z] .................                                                        [ 62%]
[2023-09-22T13:38:42.567Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-09-22T13:38:43.946Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 64%]
[2023-09-22T13:38:58.913Z] .........                                                                [ 68%]
[2023-09-22T13:39:08.418Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-09-22T13:39:18.054Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 75%]
[2023-09-22T13:39:19.960Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-09-22T13:39:22.764Z] ......                                                                   [ 78%]
[2023-09-22T13:39:30.889Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-09-22T13:39:45.259Z] .............                                                            [ 84%]
[2023-09-22T13:39:55.263Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-09-22T13:40:42.381Z] ....s.                                                                   [ 87%]
[2023-09-22T13:40:50.524Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-09-22T13:41:03.328Z] ...                                                                      [ 89%]
[2023-09-22T13:41:18.217Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 89%]
[2023-09-22T13:41:40.172Z] ......                                                                   [ 92%]
[2023-09-22T13:41:42.596Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-09-22T13:44:28.446Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-09-22T13:44:28.446Z] 
[2023-09-22T13:44:28.446Z] =================================== FAILURES ===================================
    
  

@ChaamC ChaamC merged commit 899e102 into master Sep 25, 2023
3 checks passed
@ChaamC ChaamC deleted the mount-public-wpsoutputs-data branch September 25, 2023 13:11
@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2093/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : mount-public-wpsoutputs-data
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-20.rdext.crim.ca

Infrastructure deployment failed. Instance has not been destroyed. @matprov

Copy link
Collaborator

@tlvu tlvu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late reply. This is a kind of PR I needed to deploy to my test VM for testing but I just don't have the bandwidth to work on multiple PR anymore. The requirement for a VM has increased quite a bit and I am not able to run multiple VMs on my workstation simultaneously anymore.

Anyways, without a real deploy I spot a few changes that I think is worth considering fixing.

volumes:
- ./components/cowbird/config/cowbird/config.yml:/opt/local/src/cowbird/config/cowbird.yml
- ./components/cowbird/config/cowbird/cowbird.ini:/opt/local/src/cowbird/config/cowbird.ini
# even if not running tasks here, they must be registered to send them off to the right place!
- ./components/cowbird/config/cowbird/celeryconfig.py:/opt/local/src/cowbird/config/celeryconfig.py
- "${DATA_PERSIST_ROOT}/${USER_WORKSPACES}:/${USER_WORKSPACES}"
- "${DATA_PERSIST_ROOT}:${DATA_PERSIST_ROOT}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woo, this has write-access to the entire $DATA_PERSIST_ROOT !!! Isn't this too much access?

I am guessing it only needs access to JUPYTERHUB_USER_DATA_DIR="$DATA_PERSIST_ROOT/jupyterhub_user_data" and Thredds wps_output dir?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChaamC correct me if I'm wrong... but the reason for this is that both of those directories need to be mounted in the same volume for hardlinks to work:

@tlvu In #356 we introduce the DATA_PERSIST_SHARED_ROOT variable here instead. This gives us the ability to mount only the required subdirectories as as single volume.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I am a bit behind in most things cowbird. Understood that for hard links to work, the src and dest of the link should be on the same filesystem.

So if we need to expose Thredds wps_outputs and possibly Geoserver workspace in the Jupyter env workspace, then we need to only volume-mount those 3, in the cowbird container, not the entire /data.

If DATA_PERSIST_SHARED_ROOT is the same as DATA_PERSIST_ROOT by default, then it comes back to the same as exposing the entire /data to cowbird writable.

Basically would something like the following works:

services:
  cowbird:
    volumes:
      - ./components/cowbird/config/cowbird/config.yml:/opt/local/src/cowbird/config/cowbird.yml
      - ./components/cowbird/config/cowbird/cowbird.ini:/opt/local/src/cowbird/config/cowbird.ini
      # even if not running tasks here, they must be registered to send them off to the right place!
      - ./components/cowbird/config/cowbird/celeryconfig.py:/opt/local/src/cowbird/config/celeryconfig.py
      - "${DATA_PERSIST_SHARED_ROOT}/jupyter_user_data:${DATA_PERSIST_SHARED_ROOT}/jupyter_user_data"
      - "${DATA_PERSIST_SHARED_ROOT}/datasets/wps_outputs:${DATA_PERSIST_SHARED_ROOT}/datasets/wps_outputs"
      - "${DATA_PERSIST_SHARED_ROOT}/geoserver/workspaces:${DATA_PERSIST_SHARED_ROOT}/geoserver/workspaces"

So the paths inside and outside of the cowbird container is exactly the same, giving it the impression it has access to the entire /data but it's not true.

By the way, I am not sure ${DATA_PERSIST_SHARED_ROOT}/datasets/wps_outputs actually works since I think the actual wps_outputs is in a data-volume https://github.com/bird-house/birdhouse-deploy/blob/master/birdhouse/config/wps_outputs-volume/docker-compose-extra.yml

Usage of that wps_outputs data-volume:

birdhouse/config/raven/config/wps_outputs-volume/docker-compose-extra.yml
6:      - wps_outputs:/data/wpsoutputs

birdhouse/config/thredds/docker-compose-extra.yml
24:      - wps_outputs:/pavics-data/wps_outputs

Anyways, many inter-connected pieces so not simple to wrap my head around.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If DATA_PERSIST_SHARED_ROOT is the same as DATA_PERSIST_ROOT by default, then it comes back to the same as exposing the entire /data to cowbird writable.

Yes it would. But... I would like to see DATA_PERSIST_SHARED_ROOT not be the same as DATA_PERSIST_ROOT. The only reason it is like that by default is to maintain backwards compatibility.

Basically would something like the following works:

No, unfortunately that wouldn't work. They actually need to be mounted at the same mount-point. The relative location matters for symlinks, but a shared mount-point matters for hard-links.

By the way, I am not sure ${DATA_PERSIST_SHARED_ROOT}/datasets/wps_outputs actually works since I think the actual wps_outputs is in a data-volume

I don't have enough knowledge to comment on this. Sorry

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChaamC correct me if I'm wrong... but the reason for this is that both of those directories need to be mounted in the same volume for hardlinks to work:

Yes, exactly. If we want to share the wps_outputs data to the user, we need to use hardlinks, and cowbird requires the src and destination of the hardlinks to be in the same volume/file partition, or it will trigger a Cross-device link.

I needed to mount the full data directory to be able to make hardlinks between files from the /data/wps_outputs and /data/user_workspaces directories.

We can update the volume mount to use the upcoming new variable DATA_PERSIST_SHARED_ROOT as long as all files used by cowbird for this PR's feature are contained in this directory.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to double check, for existing deployments, if we want DATA_PERSIST_SHARED_ROOT=/data_shared_mount different than DATA_PERSIST_ROOT=/data, we have to move

  • /data/wps_outputs => /data_shared_mount/wps_outputs
  • /data/user_workspaces => /data_shared_mount/user_workspaces
  • anything else needed for the migration?

I think this migration should be documented because anyone starting with the current default values and do not want Cowbird to have access to the entire /data will have to perform this manual migration.

Or we set a different value immediately in default.env and in env.local.example we document the backward-compatible value DATA_PERSIST_SHARED_ROOT=/data and warn this gives Cowbird too much write-access. I prefer different default value now to avoid migration later. Cowbird is not in the default enable list right now so this should not break too many existing deployments.

Also, I still do not understand why we are referring to /data/wps_outputs when currently wps_outputs is a data-volume as mentioned in my comment #360 (comment) above.

This means different volume-mount between wps_outputs dir and user_workpaces dir and hardlink probably do not work.

Does Cowbird fallback to a regular copy when hardlink do not work? Does it log somewhere when hardlink do not work?

Is there a notebook or test script that tests Cowbird in the PAVICS stack I can try?

Also question for the future as I heard maybe Cowbird will manage Geoserver workspace too. Does this means we will need to migrate Geoserver data dir under DATA_PERSIST_SHARED_ROOT later?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anything else needed for the migration?

That's it, at least concerning this PR's changes.
Although, I'm thinking about something else to watch out for. Not sure if this variable's path could be affected, but changing the JUPYTERHUB_USER_DATA_DIR variable's path could break the symlink that is used in the cowbird workspace to link to the JUPYTERHUB_USER_DATA_DIR directory. So, maybe something to watch out for. The user workspaces could eventually be resynchable if we decide to change the jupyterhub path, but the resync is not yet implemented in cowbird for this symlink, so for now it would need a manual recreation of symlinks in each user workspace if that variable is changed.

If we know we will eventually do the migration, I don't see any reason not to do it now. I think it would be okay to change it now if you prefer.

Also, I still do not understand why we are referring to /data/wps_outputs when currently wps_outputs is a data-volume as mentioned in my comment #360 (comment) above.
This means different volume-mount between wps_outputs dir and user_workpaces dir and hardlink probably do not work.

I am not sure to understand the problem here. Do you mean the fact that the birds who will produce wps_outputs data only mount the wps_outputs volume (and not the user workspace volume)? Any bird that produces wps_outputs only needs access to the wps_outputs volume. Only cowbird requires the full access to the data directory to allow the creation of hardlinks between the wps_outputs and user workspace directories. After that, when the hardlink is created, the volume mount does not require the full data mount to have the hardlink accessible. It is really only for the moment of creation, in cowbird that we require the full mount of the data directory.

Does Cowbird fallback to a regular copy when hardlink do not work? Does it log somewhere when hardlink do not work?

If the hardlink fails, the failure is only logged in Cowbird's logs. We want to avoid having 2 independant copies that could diverge. We did implement the resync function for the wps_outputs data, so if we need, we can call that API endpoint on cowbird, and cowbird will regenerate any missing hardlinks that could have resulted from a previous failure.

Is there a notebook or test script that tests Cowbird in the PAVICS stack I can try?

Nope, not at the moment, although I am checking to create a notebook to verify the different parts of the user workspace (notebook symlink, wps_outputs hardlinks, geoserver data, etc.), but I am not sure yet if it is achievable.

Also question for the future as I heard maybe Cowbird will manage Geoserver workspace too. Does this means we will need to migrate Geoserver data dir under DATA_PERSIST_SHARED_ROOT later?

Cowbird currently already manages geoserver's file permissions on the user workspace. Since the data is only found in the user workspace directly, it doesn't require any symlink/hardlinks, as data is already accessible to the user,it shouldn't be a problem.
Unless there is external geoserver data to be made accessible to the user that I am not aware of yet?

birdhouse/default.env Show resolved Hide resolved
@fmigneault
Copy link
Collaborator

@ChaamC Can you take a look at the items following @tlvu review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/operations Continuous Integration components component/cowbird Related to https://github.com/Ouranosinc/cowbird component/jupyterhub Related to JupyterHub as development frontend with notebooks component/weaver Related to https://github.com/crim-ca/weaver documentation Improvements or additions to documentation feature/WPS Feature or service related to Web Processing Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants