Skip to content

Make scheduler jobs configurable#503

Merged
mishaschwartz merged 28 commits intomasterfrom
configurable-crontab
May 27, 2025
Merged

Make scheduler jobs configurable#503
mishaschwartz merged 28 commits intomasterfrom
configurable-crontab

Conversation

@mishaschwartz
Copy link
Copy Markdown
Collaborator

@mishaschwartz mishaschwartz commented Mar 7, 2025

Overview

The scheduler component automatically enables three jobs (autodeploy, logrotate, notebookdeploy). If someone wants to use the scheduler component but does not want these jobs, there is no obvious way to disable any one of these jobs.

This change makes it possible to enable/disable jobs as required by the user and adds documentation to explain how to do this.

This change also converts existing jobs to be optional components. This makes the jobs more in-line with the way the stack is deployed (since version 1.24.0) and ensures that settings set as environment variables in the local environment file are not so sensitive to the order that they were declared in.

Breaking Change:

  • the three jobs that were automatically enabled previously are now no longer enabled by default.
  • to re-enable these three jobs, source the relevant component in the optional-components subdirectory.

Deprecations

  • setting additional scheduler jobs using the BIRDHOUSE_AUTODEPLOY_EXTRA_SCHEDULER_JOBS variable. Users should create additional jobs by adding them as custom components instead.

What about... ?

  • just schedule these jobs for a non-existant day like February 31st?
    • Answer: This would technically work but is not obvious to the user. It is better to make this explicit.
  • just set the schedule to the '#' string?
    • Answer: This is a hack that would work based on the specific way that the docker-crontab image sets schedules.
      However, this is not obvious to the user and is unreliable since it is not documented.

Changes

Non-breaking changes

Breaking changes

  • See above

Related Issue / Discussion

Additional Information

I would really like to use the scheduler for other things but I do not want to have to enable the autodeploy mechanism.
It seems like the scheduler component was designed with the autodeploy mechanism in mind since that is added by default but it could be much more useful if it was more configurable.

CI Operations

birdhouse_daccs_configs_branch: master
birdhouse_skip_ci: false

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Mar 7, 2025
@crim-jenkins-bot
Copy link
Copy Markdown
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3099/
ResultSUCCESS

BIRDHOUSE_DEPLOY_BRANCH : configurable-crontab
DACCS_IAC_BRANCH : master
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH :
PAVICS_SDI_BRANCH : master

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

PAVICS-e2e-workflow-tests Pipeline Results

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

NOTEBOOK TEST RESULTS
    
[2025-03-07T18:58:42.884Z] ============================= test session starts ==============================
[2025-03-07T18:58:42.884Z] platform linux -- Python 3.11.10, pytest-8.3.3, pluggy-1.5.0
[2025-03-07T18:58:42.884Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2025-03-07T18:58:42.884Z] plugins: anyio-4.6.2.post1, dash-2.18.1, nbval-0.11.0, tornasync-0.6.0.post2, xdist-3.6.1
[2025-03-07T18:58:42.884Z] collected 545 items
[2025-03-07T18:58:42.884Z] 
[2025-03-07T18:58:52.046Z] notebooks-auth/geoserver.ipynb ..................                        [  3%]
[2025-03-07T18:59:42.581Z] notebooks-auth/test_cowbird_jupyter.ipynb ..........                     [  5%]
[2025-03-07T18:59:45.887Z] notebooks-auth/test_thredds.ipynb ...........                            [  7%]
[2025-03-07T19:01:31.186Z] pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb ......          [  8%]
[2025-03-07T19:11:41.806Z] pavics-sdi-master/docs/source/notebooks/FAQ_dask_parallel.ipynb ..s..... [  9%]
[2025-03-07T19:12:14.173Z] .                                                                        [  9%]
[2025-03-07T19:12:23.809Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb ......         [ 11%]
[2025-03-07T19:12:30.601Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb .....          [ 11%]
[2025-03-07T19:23:21.717Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 14%]
[2025-03-07T19:23:21.718Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 14%]
[2025-03-07T19:23:28.783Z] ...............                                                          [ 17%]
[2025-03-07T19:23:36.900Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 17%]
[2025-03-07T19:24:19.008Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb .......           [ 19%]
[2025-03-07T19:24:34.520Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 20%]
[2025-03-07T19:24:43.142Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 21%]
[2025-03-07T19:24:48.016Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 22%]
[2025-03-07T19:28:12.549Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 25%]
[2025-03-07T19:29:22.265Z] .............                                                            [ 27%]
[2025-03-07T19:29:25.394Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb .....            [ 28%]
[2025-03-07T19:29:27.200Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 30%]
[2025-03-07T19:29:50.181Z] .................                                                        [ 33%]
[2025-03-07T19:29:58.050Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 34%]
[2025-03-07T19:29:59.438Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 34%]
[2025-03-07T19:30:09.076Z] .........                                                                [ 36%]
[2025-03-07T19:30:20.427Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 38%]
[2025-03-07T19:30:29.405Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 39%]
[2025-03-07T19:30:30.793Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 39%]
[2025-03-07T19:30:35.836Z] .....                                                                    [ 40%]
[2025-03-07T19:31:43.581Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 40%]
[2025-03-07T19:32:05.677Z] ............                                                             [ 42%]
[2025-03-07T19:33:01.976Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 42%]
[2025-03-07T19:33:52.132Z] .....s.                                                                  [ 44%]
[2025-03-07T19:34:00.263Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 44%]
[2025-03-07T19:34:09.803Z] ..                                                                       [ 44%]
[2025-03-07T19:34:31.751Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 44%]
[2025-03-07T19:35:29.447Z] .........                                                                [ 46%]
[2025-03-07T19:35:51.411Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-6Regridding_Conversion.ipynb . [ 46%]
[2025-03-07T19:42:27.236Z] ....                                                                     [ 47%]
[2025-03-07T19:42:27.237Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-01_Intro.ipynb . [ 47%]
[2025-03-07T19:42:31.710Z] ....                                                                     [ 48%]
[2025-03-07T19:42:35.918Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-02_Calibration.ipynb . [ 48%]
[2025-03-07T19:42:45.039Z] .....                                                                    [ 49%]
[2025-03-07T19:42:49.240Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-03_Watershed_properties.ipynb . [ 49%]
[2025-03-07T19:43:06.532Z] .............                                                            [ 52%]
[2025-03-07T19:43:11.824Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-04_Time_series_analysis.ipynb . [ 52%]
[2025-03-07T19:43:12.865Z] ......                                                                   [ 53%]
[2025-03-07T19:43:27.526Z] raven-main/docs/source/notebooks/Region_selection.ipynb .........        [ 55%]
[2025-03-07T19:43:28.102Z] raven-main/docs/source/notebooks/Subset_climate_data_over_watershed.ipynb . [ 55%]
[2025-03-07T19:43:52.740Z] ......                                                                   [ 56%]
[2025-03-07T19:43:54.645Z] RavenPy-master/docs/notebooks/00_Introduction_to_JupyterLab.ipynb ...... [ 57%]
[2025-03-07T19:43:54.645Z]                                                                          [ 57%]
[2025-03-07T19:43:57.119Z] RavenPy-master/docs/notebooks/01_Getting_watershed_boundaries.ipynb .... [ 58%]
[2025-03-07T19:44:07.128Z] ....                                                                     [ 58%]
[2025-03-07T19:44:13.717Z] RavenPy-master/docs/notebooks/02_Extract_geographical_watershed_properties.ipynb . [ 59%]
[2025-03-07T19:44:19.089Z] .............                                                            [ 61%]
[2025-03-07T19:44:48.202Z] RavenPy-master/docs/notebooks/03_Extracting_forcing_data.ipynb ......... [ 63%]
[2025-03-07T19:46:01.533Z] ..                                                                       [ 63%]
[2025-03-07T19:46:05.418Z] RavenPy-master/docs/notebooks/04_Emulating_hydrological_models.ipynb ... [ 64%]
[2025-03-07T19:46:15.078Z] .................                                                        [ 67%]
[2025-03-07T19:46:21.262Z] RavenPy-master/docs/notebooks/05_Advanced_RavenPy_configuration.ipynb .. [ 67%]
[2025-03-07T19:46:31.170Z] ...........                                                              [ 69%]
[2025-03-07T19:46:42.062Z] RavenPy-master/docs/notebooks/06_Raven_calibration.ipynb ......          [ 70%]
[2025-03-07T19:46:47.365Z] RavenPy-master/docs/notebooks/07_Making_and_using_hotstart_files.ipynb . [ 70%]
[2025-03-07T19:46:52.270Z] .....                                                                    [ 71%]
[2025-03-07T19:46:53.660Z] RavenPy-master/docs/notebooks/08_Getting_and_bias_correcting_CMIP6_data.ipynb . [ 71%]
[2025-03-07T19:54:48.696Z] ................                                                         [ 74%]
[2025-03-07T19:54:53.992Z] RavenPy-master/docs/notebooks/09_Hydrological_impacts_of_climate_change.ipynb . [ 75%]
[2025-03-07T19:55:02.599Z] ....                                                                     [ 75%]
[2025-03-07T19:55:41.213Z] RavenPy-master/docs/notebooks/10_Data_assimilation.ipynb ........        [ 77%]
[2025-03-07T19:56:03.177Z] RavenPy-master/docs/notebooks/11_Climatological_ESP_forecasting.ipynb .. [ 77%]
[2025-03-07T19:56:28.877Z] ......                                                                   [ 78%]
[2025-03-07T19:56:50.867Z] RavenPy-master/docs/notebooks/12_Performing_hindcasting_experiments.ipynb . [ 78%]
[2025-03-07T19:56:59.310Z] .......                                                                  [ 80%]
[2025-03-07T19:57:06.552Z] RavenPy-master/docs/notebooks/Assess_probabilistic_flood_risk.ipynb .... [ 80%]
[2025-03-07T19:57:36.371Z] ....                                                                     [ 81%]
[2025-03-07T19:57:58.341Z] RavenPy-master/docs/notebooks/Comparing_hindcasts_and_ESP_forecasts.ipynb . [ 81%]
[2025-03-07T19:58:15.326Z] .......                                                                  [ 83%]
[2025-03-07T19:58:20.642Z] RavenPy-master/docs/notebooks/Distributed_hydrological_modelling.ipynb . [ 83%]
[2025-03-07T19:58:40.843Z] ......                                                                   [ 84%]
[2025-03-07T19:59:04.215Z] RavenPy-master/docs/notebooks/Hydrological_realtime_forecasting.ipynb .. [ 84%]
[2025-03-07T19:59:13.471Z] ....                                                                     [ 85%]
[2025-03-07T19:59:23.090Z] RavenPy-master/docs/notebooks/Managing_Jupyter_Environments.ipynb ...    [ 86%]
[2025-03-07T19:59:51.803Z] RavenPy-master/docs/notebooks/Perform_Regionalization.ipynb .......      [ 87%]
[2025-03-07T19:59:51.803Z] RavenPy-master/docs/notebooks/Running_HMETS_with_CANOPEX_dataset.ipynb . [ 87%]
[2025-03-07T20:00:11.366Z] .............                                                            [ 89%]
[2025-03-07T20:00:31.606Z] RavenPy-master/docs/notebooks/Sensitivity_analysis.ipynb .....           [ 90%]
[2025-03-07T20:00:38.460Z] RavenPy-master/docs/notebooks/time_series_analysis.ipynb ...........     [ 92%]
[2025-03-07T20:01:00.453Z] RavenPy-master/docs/notebooks/paper/Perform_a_climate_change_impact_study_on_a_watershed.ipynb . [ 93%]
[2025-03-07T20:08:10.476Z] ....................                                                     [ 96%]
[2025-03-07T20:08:12.883Z] notebooks/hummingbird.ipynb ............                                 [ 98%]
[2025-03-07T20:10:37.525Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2025-03-07T20:10:37.525Z] 
[2025-03-07T20:10:37.525Z] =============================== warnings summary ===============================
    
  

Comment thread birdhouse/components/scheduler/pre-docker-compose-up.include Outdated
Comment thread birdhouse/components/README.rst Outdated
Comment thread birdhouse/components/README.rst Outdated
Comment thread birdhouse/components/scheduler/config.yml.template Outdated
@crim-jenkins-bot

This comment was marked as outdated.

@crim-jenkins-bot

This comment was marked as outdated.

@crim-jenkins-bot
Copy link
Copy Markdown
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3107/
ResultSUCCESS

BIRDHOUSE_DEPLOY_BRANCH : configurable-crontab
DACCS_IAC_BRANCH : master
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH :
PAVICS_SDI_BRANCH : master

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

PAVICS-e2e-workflow-tests Pipeline Results

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

NOTEBOOK TEST RESULTS
    
[2025-03-10T17:17:08.976Z] ============================= test session starts ==============================
[2025-03-10T17:17:08.976Z] platform linux -- Python 3.11.10, pytest-8.3.3, pluggy-1.5.0
[2025-03-10T17:17:08.976Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2025-03-10T17:17:08.976Z] plugins: anyio-4.6.2.post1, dash-2.18.1, nbval-0.11.0, tornasync-0.6.0.post2, xdist-3.6.1
[2025-03-10T17:17:08.976Z] collected 545 items
[2025-03-10T17:17:08.976Z] 
[2025-03-10T17:17:17.757Z] notebooks-auth/geoserver.ipynb ..................                        [  3%]
[2025-03-10T17:18:17.587Z] notebooks-auth/test_cowbird_jupyter.ipynb ..........                     [  5%]
[2025-03-10T17:18:17.588Z] notebooks-auth/test_thredds.ipynb ...........                            [  7%]
[2025-03-10T17:19:51.621Z] pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb ......          [  8%]
[2025-03-10T17:28:52.640Z] pavics-sdi-master/docs/source/notebooks/FAQ_dask_parallel.ipynb ..s..... [  9%]
[2025-03-10T17:29:31.413Z] .                                                                        [  9%]
[2025-03-10T17:29:40.740Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb ......         [ 11%]
[2025-03-10T17:29:47.533Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb .....          [ 11%]
[2025-03-10T17:39:24.139Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 14%]
[2025-03-10T17:39:24.140Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 14%]
[2025-03-10T17:39:31.796Z] ...............                                                          [ 17%]
[2025-03-10T17:39:39.909Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 17%]
[2025-03-10T17:40:29.929Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb .......           [ 19%]
[2025-03-10T17:40:44.147Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 20%]
[2025-03-10T17:40:49.755Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 21%]
[2025-03-10T17:40:54.204Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 22%]
[2025-03-10T17:44:18.561Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 25%]
[2025-03-10T17:45:26.726Z] .............                                                            [ 27%]
[2025-03-10T17:45:29.531Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb .....            [ 28%]
[2025-03-10T17:45:31.412Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 30%]
[2025-03-10T17:45:54.295Z] .................                                                        [ 33%]
[2025-03-10T17:46:01.470Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 34%]
[2025-03-10T17:46:02.851Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 34%]
[2025-03-10T17:46:12.601Z] .........                                                                [ 36%]
[2025-03-10T17:46:22.859Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 38%]
[2025-03-10T17:46:31.968Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 39%]
[2025-03-10T17:46:32.918Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 39%]
[2025-03-10T17:46:37.059Z] .....                                                                    [ 40%]
[2025-03-10T17:47:15.819Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 40%]
[2025-03-10T17:47:41.021Z] ............                                                             [ 42%]
[2025-03-10T17:48:07.611Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 42%]
[2025-03-10T17:48:43.281Z] .....s.                                                                  [ 44%]
[2025-03-10T17:48:51.420Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 44%]
[2025-03-10T17:49:01.480Z] ..                                                                       [ 44%]
[2025-03-10T17:49:23.446Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 44%]
[2025-03-10T17:50:20.868Z] .........                                                                [ 46%]
[2025-03-10T17:50:42.847Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-6Regridding_Conversion.ipynb . [ 46%]
[2025-03-10T17:56:49.895Z] ....                                                                     [ 47%]
[2025-03-10T17:56:50.840Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-01_Intro.ipynb . [ 47%]
[2025-03-10T17:56:57.642Z] ....                                                                     [ 48%]
[2025-03-10T17:57:01.847Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-02_Calibration.ipynb . [ 48%]
[2025-03-10T17:57:11.197Z] .....                                                                    [ 49%]
[2025-03-10T17:57:15.407Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-03_Watershed_properties.ipynb . [ 49%]
[2025-03-10T17:57:31.769Z] .............                                                            [ 52%]
[2025-03-10T17:57:37.056Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-04_Time_series_analysis.ipynb . [ 52%]
[2025-03-10T17:57:37.578Z] ......                                                                   [ 53%]
[2025-03-10T17:57:50.019Z] raven-main/docs/source/notebooks/Region_selection.ipynb .........        [ 55%]
[2025-03-10T17:57:51.945Z] raven-main/docs/source/notebooks/Subset_climate_data_over_watershed.ipynb . [ 55%]
[2025-03-10T17:58:16.238Z] ......                                                                   [ 56%]
[2025-03-10T17:58:18.147Z] RavenPy-master/docs/notebooks/00_Introduction_to_JupyterLab.ipynb ...... [ 57%]
[2025-03-10T17:58:18.147Z]                                                                          [ 57%]
[2025-03-10T17:58:20.326Z] RavenPy-master/docs/notebooks/01_Getting_watershed_boundaries.ipynb .... [ 58%]
[2025-03-10T17:58:30.322Z] ....                                                                     [ 58%]
[2025-03-10T17:58:35.614Z] RavenPy-master/docs/notebooks/02_Extract_geographical_watershed_properties.ipynb . [ 59%]
[2025-03-10T17:58:40.278Z] .............                                                            [ 61%]
[2025-03-10T17:59:09.567Z] RavenPy-master/docs/notebooks/03_Extracting_forcing_data.ipynb ......... [ 63%]
[2025-03-10T18:00:22.859Z] ..                                                                       [ 63%]
[2025-03-10T18:00:23.435Z] RavenPy-master/docs/notebooks/04_Emulating_hydrological_models.ipynb ... [ 64%]
[2025-03-10T18:00:32.978Z] .................                                                        [ 67%]
[2025-03-10T18:00:39.100Z] RavenPy-master/docs/notebooks/05_Advanced_RavenPy_configuration.ipynb .. [ 67%]
[2025-03-10T18:00:49.164Z] ...........                                                              [ 69%]
[2025-03-10T18:01:00.543Z] RavenPy-master/docs/notebooks/06_Raven_calibration.ipynb ......          [ 70%]
[2025-03-10T18:01:04.746Z] RavenPy-master/docs/notebooks/07_Making_and_using_hotstart_files.ipynb . [ 70%]
[2025-03-10T18:01:10.541Z] .....                                                                    [ 71%]
[2025-03-10T18:01:11.931Z] RavenPy-master/docs/notebooks/08_Getting_and_bias_correcting_CMIP6_data.ipynb . [ 71%]
[2025-03-10T18:09:03.843Z] ................                                                         [ 74%]
[2025-03-10T18:09:06.396Z] RavenPy-master/docs/notebooks/09_Hydrological_impacts_of_climate_change.ipynb . [ 75%]
[2025-03-10T18:09:15.531Z] ....                                                                     [ 75%]
[2025-03-10T18:09:54.010Z] RavenPy-master/docs/notebooks/10_Data_assimilation.ipynb ........        [ 77%]
[2025-03-10T18:10:15.989Z] RavenPy-master/docs/notebooks/11_Climatological_ESP_forecasting.ipynb .. [ 77%]
[2025-03-10T18:10:42.036Z] ......                                                                   [ 78%]
[2025-03-10T18:11:03.996Z] RavenPy-master/docs/notebooks/12_Performing_hindcasting_experiments.ipynb . [ 78%]
[2025-03-10T18:11:12.706Z] .......                                                                  [ 80%]
[2025-03-10T18:11:20.238Z] RavenPy-master/docs/notebooks/Assess_probabilistic_flood_risk.ipynb .... [ 80%]
[2025-03-10T18:11:50.090Z] ....                                                                     [ 81%]
[2025-03-10T18:12:12.066Z] RavenPy-master/docs/notebooks/Comparing_hindcasts_and_ESP_forecasts.ipynb . [ 81%]
[2025-03-10T18:12:30.428Z] .......                                                                  [ 83%]
[2025-03-10T18:12:35.724Z] RavenPy-master/docs/notebooks/Distributed_hydrological_modelling.ipynb . [ 83%]
[2025-03-10T18:12:56.024Z] ......                                                                   [ 84%]
[2025-03-10T18:13:18.936Z] RavenPy-master/docs/notebooks/Hydrological_realtime_forecasting.ipynb .. [ 84%]
[2025-03-10T18:13:27.878Z] ....                                                                     [ 85%]
[2025-03-10T18:13:37.065Z] RavenPy-master/docs/notebooks/Managing_Jupyter_Environments.ipynb ...    [ 86%]
[2025-03-10T18:14:05.806Z] RavenPy-master/docs/notebooks/Perform_Regionalization.ipynb .......      [ 87%]
[2025-03-10T18:14:05.806Z] RavenPy-master/docs/notebooks/Running_HMETS_with_CANOPEX_dataset.ipynb . [ 87%]
[2025-03-10T18:14:29.949Z] .............                                                            [ 89%]
[2025-03-10T18:14:50.144Z] RavenPy-master/docs/notebooks/Sensitivity_analysis.ipynb .....           [ 90%]
[2025-03-10T18:14:57.519Z] RavenPy-master/docs/notebooks/time_series_analysis.ipynb ...........     [ 92%]
[2025-03-10T18:15:24.112Z] RavenPy-master/docs/notebooks/paper/Perform_a_climate_change_impact_study_on_a_watershed.ipynb . [ 93%]
[2025-03-10T18:22:21.870Z] ....................                                                     [ 96%]
[2025-03-10T18:22:23.835Z] notebooks/hummingbird.ipynb ............                                 [ 98%]
[2025-03-10T18:24:40.512Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2025-03-10T18:24:40.512Z] 
[2025-03-10T18:24:40.512Z] =============================== warnings summary ===============================
    
  

Comment thread birdhouse/components/scheduler/deploy_data_job.env Outdated
Copy link
Copy Markdown
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.

Very nice PR. I spotted some suspicious change below.

Have you tried enabling all the 6 new .env file and see the cron daemon fire the jobs according to schedule (ie, no syntax error with the generation of the jobs)?

Comment thread birdhouse/components/README.rst
Comment thread birdhouse/components/README.rst Outdated
Comment thread birdhouse/components/README.rst
Comment thread birdhouse/components/scheduler/deploy_raven_testdata_to_thredds.env Outdated
Comment thread birdhouse/components/scheduler/pre-docker-compose-up.include Outdated
Comment thread birdhouse/components/scheduler/notebookdeploy_job.env
Comment thread birdhouse/components/scheduler/deploy_data_job.env
@crim-jenkins-bot
Copy link
Copy Markdown
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3109/
ResultFAILURE

BIRDHOUSE_DEPLOY_BRANCH : configurable-crontab
DACCS_IAC_BRANCH : master
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH :
PAVICS_SDI_BRANCH : master

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

PAVICS-e2e-workflow-tests Pipeline Results

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

NOTEBOOK TEST RESULTS
    
[2025-03-11T16:18:11.921Z] ============================= test session starts ==============================
[2025-03-11T16:18:11.921Z] platform linux -- Python 3.11.10, pytest-8.3.3, pluggy-1.5.0
[2025-03-11T16:18:11.921Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2025-03-11T16:18:11.921Z] plugins: anyio-4.6.2.post1, dash-2.18.1, nbval-0.11.0, tornasync-0.6.0.post2, xdist-3.6.1
[2025-03-11T16:18:11.921Z] collected 545 items
[2025-03-11T16:18:11.921Z] 
[2025-03-11T16:18:20.819Z] notebooks-auth/geoserver.ipynb ..................                        [  3%]
[2025-03-11T16:19:46.088Z] notebooks-auth/test_cowbird_jupyter.ipynb ........F.                     [  5%]
[2025-03-11T16:19:46.088Z] notebooks-auth/test_thredds.ipynb ...........                            [  7%]
[2025-03-11T16:23:28.947Z] pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb ......          [  8%]
[2025-03-11T16:40:00.149Z] pavics-sdi-master/docs/source/notebooks/FAQ_dask_parallel.ipynb ..s..... [  9%]
[2025-03-11T16:41:36.690Z] F                                                                        [  9%]
[2025-03-11T16:41:36.957Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb ......         [ 11%]
[2025-03-11T16:41:44.016Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb .....          [ 11%]
[2025-03-11T16:56:35.899Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 14%]
[2025-03-11T16:56:36.838Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 14%]
[2025-03-11T16:56:45.428Z] ...............                                                          [ 17%]
[2025-03-11T16:56:55.328Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 17%]
[2025-03-11T16:57:01.787Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb .......           [ 19%]
[2025-03-11T16:57:17.880Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 20%]
[2025-03-11T16:57:29.614Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 21%]
[2025-03-11T16:57:33.956Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 22%]
[2025-03-11T17:00:47.739Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 25%]
[2025-03-11T17:02:03.937Z] .............                                                            [ 27%]
[2025-03-11T17:02:09.283Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb .....            [ 28%]
[2025-03-11T17:02:11.187Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 30%]
[2025-03-11T17:02:29.240Z] .................                                                        [ 33%]
[2025-03-11T17:02:36.943Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 34%]
[2025-03-11T17:02:37.882Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 34%]
[2025-03-11T17:02:47.813Z] .........                                                                [ 36%]
[2025-03-11T17:02:58.618Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 38%]
[2025-03-11T17:03:08.084Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 39%]
[2025-03-11T17:03:09.480Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 39%]
[2025-03-11T17:03:12.601Z] .....                                                                    [ 40%]
[2025-03-11T17:03:59.340Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 40%]
[2025-03-11T17:04:20.260Z] ............                                                             [ 42%]
[2025-03-11T17:04:46.856Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 42%]
[2025-03-11T17:05:35.253Z] .....s.                                                                  [ 44%]
[2025-03-11T17:05:43.401Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 44%]
[2025-03-11T17:05:53.504Z] ..                                                                       [ 44%]
[2025-03-11T17:06:20.102Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 44%]
[2025-03-11T17:07:21.883Z] .........                                                                [ 46%]
[2025-03-11T17:07:48.487Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-6Regridding_Conversion.ipynb . [ 46%]
[2025-03-11T17:15:47.271Z] ....                                                                     [ 47%]
[2025-03-11T17:15:47.845Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-01_Intro.ipynb . [ 47%]
[2025-03-11T17:15:54.630Z] ....                                                                     [ 48%]
[2025-03-11T17:15:58.828Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-02_Calibration.ipynb . [ 48%]
[2025-03-11T17:16:07.940Z] .....                                                                    [ 49%]
[2025-03-11T17:16:12.158Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-03_Watershed_properties.ipynb . [ 49%]
[2025-03-11T17:16:24.989Z] .............                                                            [ 52%]
[2025-03-11T17:16:31.573Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-04_Time_series_analysis.ipynb . [ 52%]
[2025-03-11T17:16:31.840Z] ......                                                                   [ 53%]
[2025-03-11T17:16:52.515Z] raven-main/docs/source/notebooks/Region_selection.ipynb .........        [ 55%]
[2025-03-11T17:16:53.456Z] raven-main/docs/source/notebooks/Subset_climate_data_over_watershed.ipynb . [ 55%]
[2025-03-11T17:17:19.402Z] ......                                                                   [ 56%]
[2025-03-11T17:17:21.044Z] RavenPy-master/docs/notebooks/00_Introduction_to_JupyterLab.ipynb ...... [ 57%]
[2025-03-11T17:17:21.044Z]                                                                          [ 57%]
[2025-03-11T17:17:23.571Z] RavenPy-master/docs/notebooks/01_Getting_watershed_boundaries.ipynb .... [ 58%]
[2025-03-11T17:17:35.795Z] ....                                                                     [ 58%]
[2025-03-11T17:17:41.085Z] RavenPy-master/docs/notebooks/02_Extract_geographical_watershed_properties.ipynb . [ 59%]
[2025-03-11T17:17:46.813Z] .............                                                            [ 61%]
[2025-03-11T17:18:20.807Z] RavenPy-master/docs/notebooks/03_Extracting_forcing_data.ipynb ......... [ 63%]
[2025-03-11T17:19:39.687Z] ..                                                                       [ 63%]
[2025-03-11T17:19:41.655Z] RavenPy-master/docs/notebooks/04_Emulating_hydrological_models.ipynb ... [ 64%]
[2025-03-11T17:19:52.040Z] .................                                                        [ 67%]
[2025-03-11T17:19:58.801Z] RavenPy-master/docs/notebooks/05_Advanced_RavenPy_configuration.ipynb .. [ 67%]
[2025-03-11T17:20:08.555Z] FFFF.......                                                              [ 69%]
[2025-03-11T17:20:20.900Z] RavenPy-master/docs/notebooks/06_Raven_calibration.ipynb ......          [ 70%]
[2025-03-11T17:20:25.108Z] RavenPy-master/docs/notebooks/07_Making_and_using_hotstart_files.ipynb . [ 70%]
[2025-03-11T17:20:31.039Z] .....                                                                    [ 71%]
[2025-03-11T17:20:32.442Z] RavenPy-master/docs/notebooks/08_Getting_and_bias_correcting_CMIP6_data.ipynb . [ 71%]
[2025-03-11T17:33:45.889Z] ................                                                         [ 74%]
[2025-03-11T17:33:52.489Z] RavenPy-master/docs/notebooks/09_Hydrological_impacts_of_climate_change.ipynb . [ 75%]
[2025-03-11T17:34:00.376Z] ....                                                                     [ 75%]
[2025-03-11T17:34:40.272Z] RavenPy-master/docs/notebooks/10_Data_assimilation.ipynb ........        [ 77%]
[2025-03-11T17:35:06.853Z] RavenPy-master/docs/notebooks/11_Climatological_ESP_forecasting.ipynb .. [ 77%]
[2025-03-11T17:35:32.561Z] ......                                                                   [ 78%]
[2025-03-11T17:35:54.525Z] RavenPy-master/docs/notebooks/12_Performing_hindcasting_experiments.ipynb . [ 78%]
[2025-03-11T17:36:05.089Z] .......                                                                  [ 80%]
[2025-03-11T17:36:12.837Z] RavenPy-master/docs/notebooks/Assess_probabilistic_flood_risk.ipynb .... [ 80%]
[2025-03-11T17:36:44.114Z] ....                                                                     [ 81%]
[2025-03-11T17:37:06.085Z] RavenPy-master/docs/notebooks/Comparing_hindcasts_and_ESP_forecasts.ipynb . [ 81%]
[2025-03-11T17:37:25.610Z] .......                                                                  [ 83%]
[2025-03-11T17:37:30.895Z] RavenPy-master/docs/notebooks/Distributed_hydrological_modelling.ipynb . [ 83%]
[2025-03-11T17:37:52.149Z] ......                                                                   [ 84%]
[2025-03-11T17:38:16.653Z] RavenPy-master/docs/notebooks/Hydrological_realtime_forecasting.ipynb .. [ 84%]
[2025-03-11T17:38:25.332Z] ....                                                                     [ 85%]
[2025-03-11T17:38:34.755Z] RavenPy-master/docs/notebooks/Managing_Jupyter_Environments.ipynb ...    [ 86%]
[2025-03-11T17:39:03.949Z] RavenPy-master/docs/notebooks/Perform_Regionalization.ipynb .......      [ 87%]
[2025-03-11T17:39:04.900Z] RavenPy-master/docs/notebooks/Running_HMETS_with_CANOPEX_dataset.ipynb . [ 87%]
[2025-03-11T17:39:27.697Z] .............                                                            [ 89%]
[2025-03-11T17:39:47.913Z] RavenPy-master/docs/notebooks/Sensitivity_analysis.ipynb .....           [ 90%]
[2025-03-11T17:39:56.318Z] RavenPy-master/docs/notebooks/time_series_analysis.ipynb ...........     [ 92%]
[2025-03-11T17:40:22.916Z] RavenPy-master/docs/notebooks/paper/Perform_a_climate_change_impact_study_on_a_watershed.ipynb . [ 93%]
[2025-03-11T17:50:55.391Z] ....................                                                     [ 96%]
[2025-03-11T17:50:58.015Z] notebooks/hummingbird.ipynb ............                                 [ 98%]
[2025-03-11T17:53:14.701Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2025-03-11T17:53:14.701Z] 
[2025-03-11T17:53:14.701Z] =================================== FAILURES ===================================
    
  

@crim-jenkins-bot
Copy link
Copy Markdown
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3110/
ResultFAILURE

BIRDHOUSE_DEPLOY_BRANCH : configurable-crontab
DACCS_IAC_BRANCH : master
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH :
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/77/

NOTEBOOK TEST RESULTS
    
[2025-03-11T16:19:09.175Z] ============================= test session starts ==============================
[2025-03-11T16:19:09.175Z] platform linux -- Python 3.11.10, pytest-8.3.3, pluggy-1.5.0
[2025-03-11T16:19:09.175Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master@2
[2025-03-11T16:19:09.175Z] plugins: anyio-4.6.2.post1, dash-2.18.1, nbval-0.11.0, tornasync-0.6.0.post2, xdist-3.6.1
[2025-03-11T16:19:09.175Z] collected 545 items
[2025-03-11T16:19:09.175Z] 
[2025-03-11T16:19:17.948Z] notebooks-auth/geoserver.ipynb ..................                        [  3%]
[2025-03-11T16:20:08.552Z] notebooks-auth/test_cowbird_jupyter.ipynb ..........                     [  5%]
[2025-03-11T16:20:08.553Z] notebooks-auth/test_thredds.ipynb ...........                            [  7%]
[2025-03-11T16:24:57.662Z] pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb ......          [  8%]
[2025-03-11T16:40:57.211Z] pavics-sdi-master/docs/source/notebooks/FAQ_dask_parallel.ipynb ..s..... [  9%]
[2025-03-11T16:41:43.906Z] .                                                                        [  9%]
[2025-03-11T16:41:47.312Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb ......         [ 11%]
[2025-03-11T16:41:54.081Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb .....          [ 11%]
[2025-03-11T16:56:34.800Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 14%]
[2025-03-11T16:56:36.713Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 14%]
[2025-03-11T16:56:45.612Z] ...............                                                          [ 17%]
[2025-03-11T16:56:54.032Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 17%]
[2025-03-11T16:57:01.394Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb .......           [ 19%]
[2025-03-11T16:57:17.705Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 20%]
[2025-03-11T16:57:24.610Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 21%]
[2025-03-11T16:57:29.483Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 22%]
[2025-03-11T17:00:48.071Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 25%]
[2025-03-11T17:02:02.641Z] .............                                                            [ 27%]
[2025-03-11T17:02:07.998Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb .....            [ 28%]
[2025-03-11T17:02:09.908Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 30%]
[2025-03-11T17:02:27.559Z] .................                                                        [ 33%]
[2025-03-11T17:02:35.330Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 34%]
[2025-03-11T17:02:36.713Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 34%]
[2025-03-11T17:02:46.738Z] .........                                                                [ 36%]
[2025-03-11T17:02:57.624Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 38%]
[2025-03-11T17:03:06.935Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 39%]
[2025-03-11T17:03:08.318Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 39%]
[2025-03-11T17:03:11.908Z] .....                                                                    [ 40%]
[2025-03-11T17:03:58.636Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 40%]
[2025-03-11T17:04:20.631Z] ............                                                             [ 42%]
[2025-03-11T17:04:47.270Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 42%]
[2025-03-11T17:05:35.107Z] .....s.                                                                  [ 44%]
[2025-03-11T17:05:43.231Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 44%]
[2025-03-11T17:05:52.369Z] ..                                                                       [ 44%]
[2025-03-11T17:06:18.956Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 44%]
[2025-03-11T17:07:21.022Z] .........                                                                [ 46%]
[2025-03-11T17:07:47.614Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-6Regridding_Conversion.ipynb . [ 46%]
[2025-03-11T17:16:16.435Z] ....                                                                     [ 47%]
[2025-03-11T17:16:16.435Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-01_Intro.ipynb . [ 47%]
[2025-03-11T17:16:17.017Z] ....                                                                     [ 48%]
[2025-03-11T17:16:22.314Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-02_Calibration.ipynb . [ 48%]
[2025-03-11T17:16:31.194Z] .....                                                                    [ 49%]
[2025-03-11T17:16:35.407Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-03_Watershed_properties.ipynb . [ 49%]
[2025-03-11T17:16:43.721Z] .............                                                            [ 52%]
[2025-03-11T17:16:49.014Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-04_Time_series_analysis.ipynb . [ 52%]
[2025-03-11T17:16:49.533Z] ......                                                                   [ 53%]
[2025-03-11T17:17:04.328Z] raven-main/docs/source/notebooks/Region_selection.ipynb .........        [ 55%]
[2025-03-11T17:17:05.273Z] raven-main/docs/source/notebooks/Subset_climate_data_over_watershed.ipynb . [ 55%]
[2025-03-11T17:17:29.461Z] ......                                                                   [ 56%]
[2025-03-11T17:17:31.375Z] RavenPy-master/docs/notebooks/00_Introduction_to_JupyterLab.ipynb ...... [ 57%]
[2025-03-11T17:17:31.376Z]                                                                          [ 57%]
[2025-03-11T17:17:33.556Z] RavenPy-master/docs/notebooks/01_Getting_watershed_boundaries.ipynb .... [ 58%]
[2025-03-11T17:17:43.550Z] ....                                                                     [ 58%]
[2025-03-11T17:17:48.849Z] RavenPy-master/docs/notebooks/02_Extract_geographical_watershed_properties.ipynb . [ 59%]
[2025-03-11T17:17:53.876Z] .............                                                            [ 61%]
[2025-03-11T17:18:24.255Z] RavenPy-master/docs/notebooks/03_Extracting_forcing_data.ipynb ......... [ 63%]
[2025-03-11T17:19:43.102Z] ..                                                                       [ 63%]
[2025-03-11T17:19:43.102Z] RavenPy-master/docs/notebooks/04_Emulating_hydrological_models.ipynb ... [ 64%]
[2025-03-11T17:19:52.746Z] .................                                                        [ 67%]
[2025-03-11T17:19:58.336Z] RavenPy-master/docs/notebooks/05_Advanced_RavenPy_configuration.ipynb .. [ 67%]
[2025-03-11T17:20:08.280Z] FFFF.......                                                              [ 69%]
[2025-03-11T17:20:21.548Z] RavenPy-master/docs/notebooks/06_Raven_calibration.ipynb ......          [ 70%]
[2025-03-11T17:20:25.772Z] RavenPy-master/docs/notebooks/07_Making_and_using_hotstart_files.ipynb . [ 70%]
[2025-03-11T17:20:31.572Z] .....                                                                    [ 71%]
[2025-03-11T17:20:32.962Z] RavenPy-master/docs/notebooks/08_Getting_and_bias_correcting_CMIP6_data.ipynb . [ 71%]
[2025-03-11T17:33:47.630Z] ................                                                         [ 74%]
[2025-03-11T17:33:51.843Z] RavenPy-master/docs/notebooks/09_Hydrological_impacts_of_climate_change.ipynb . [ 75%]
[2025-03-11T17:34:23.710Z] ....                                                                     [ 75%]
[2025-03-11T17:35:01.024Z] RavenPy-master/docs/notebooks/10_Data_assimilation.ipynb ........        [ 77%]
[2025-03-11T17:35:23.952Z] RavenPy-master/docs/notebooks/11_Climatological_ESP_forecasting.ipynb .. [ 77%]
[2025-03-11T17:35:51.107Z] ......                                                                   [ 78%]
[2025-03-11T17:36:13.087Z] RavenPy-master/docs/notebooks/12_Performing_hindcasting_experiments.ipynb . [ 78%]
[2025-03-11T17:36:23.849Z] .......                                                                  [ 80%]
[2025-03-11T17:36:31.365Z] RavenPy-master/docs/notebooks/Assess_probabilistic_flood_risk.ipynb .... [ 80%]
[2025-03-11T17:37:02.279Z] ....                                                                     [ 81%]
[2025-03-11T17:37:24.271Z] RavenPy-master/docs/notebooks/Comparing_hindcasts_and_ESP_forecasts.ipynb . [ 81%]
[2025-03-11T17:37:42.224Z] .......                                                                  [ 83%]
[2025-03-11T17:37:47.514Z] RavenPy-master/docs/notebooks/Distributed_hydrological_modelling.ipynb . [ 83%]
[2025-03-11T17:38:09.562Z] ......                                                                   [ 84%]
[2025-03-11T17:38:32.126Z] RavenPy-master/docs/notebooks/Hydrological_realtime_forecasting.ipynb .. [ 84%]
[2025-03-11T17:38:40.791Z] ....                                                                     [ 85%]
[2025-03-11T17:38:50.401Z] RavenPy-master/docs/notebooks/Managing_Jupyter_Environments.ipynb ...    [ 86%]
[2025-03-11T17:39:20.243Z] RavenPy-master/docs/notebooks/Perform_Regionalization.ipynb .......      [ 87%]
[2025-03-11T17:39:20.243Z] RavenPy-master/docs/notebooks/Running_HMETS_with_CANOPEX_dataset.ipynb . [ 87%]
[2025-03-11T17:39:37.187Z] .............                                                            [ 89%]
[2025-03-11T17:39:57.394Z] RavenPy-master/docs/notebooks/Sensitivity_analysis.ipynb .....           [ 90%]
[2025-03-11T17:40:04.492Z] RavenPy-master/docs/notebooks/time_series_analysis.ipynb ...........     [ 92%]
[2025-03-11T17:40:31.069Z] RavenPy-master/docs/notebooks/paper/Perform_a_climate_change_impact_study_on_a_watershed.ipynb . [ 93%]
[2025-03-11T17:51:02.587Z] ....................                                                     [ 96%]
[2025-03-11T17:51:04.747Z] notebooks/hummingbird.ipynb ............                                 [ 98%]
[2025-03-11T17:53:21.360Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2025-03-11T17:53:21.360Z] 
[2025-03-11T17:53:21.360Z] =================================== FAILURES ===================================
    
  

Comment thread birdhouse/components/scheduler/logrotate.conf Outdated
Comment thread birdhouse/components/scheduler/deploy_xclim_testdata_to_thredds.env Outdated
Comment thread birdhouse/components/scheduler/notebookdeploy_job.env Outdated
Comment thread birdhouse/components/README.rst
Comment thread birdhouse/components/README.rst
Comment thread birdhouse/components/scheduler/config.yml.template
@crim-jenkins-bot
Copy link
Copy Markdown
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3112/
ResultSUCCESS

BIRDHOUSE_DEPLOY_BRANCH : configurable-crontab
DACCS_IAC_BRANCH : master
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH :
PAVICS_SDI_BRANCH : master

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

PAVICS-e2e-workflow-tests Pipeline Results

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

NOTEBOOK TEST RESULTS
    
[2025-03-12T13:07:24.495Z] ============================= test session starts ==============================
[2025-03-12T13:07:24.495Z] platform linux -- Python 3.11.10, pytest-8.3.3, pluggy-1.5.0
[2025-03-12T13:07:24.495Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2025-03-12T13:07:24.495Z] plugins: anyio-4.6.2.post1, dash-2.18.1, nbval-0.11.0, tornasync-0.6.0.post2, xdist-3.6.1
[2025-03-12T13:07:24.495Z] collected 545 items
[2025-03-12T13:07:24.495Z] 
[2025-03-12T13:07:31.964Z] notebooks-auth/geoserver.ipynb ..................                        [  3%]
[2025-03-12T13:08:21.998Z] notebooks-auth/test_cowbird_jupyter.ipynb ..........                     [  5%]
[2025-03-12T13:08:24.348Z] notebooks-auth/test_thredds.ipynb ...........                            [  7%]
[2025-03-12T13:09:56.614Z] pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb ......          [  8%]
[2025-03-12T13:19:08.970Z] pavics-sdi-master/docs/source/notebooks/FAQ_dask_parallel.ipynb ..s..... [  9%]
[2025-03-12T13:19:41.091Z] .                                                                        [  9%]
[2025-03-12T13:19:50.689Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb ......         [ 11%]
[2025-03-12T13:19:57.012Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb .....          [ 11%]
[2025-03-12T13:28:45.783Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 14%]
[2025-03-12T13:28:45.783Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 14%]
[2025-03-12T13:28:51.287Z] ...............                                                          [ 17%]
[2025-03-12T13:28:59.668Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 17%]
[2025-03-12T13:29:07.566Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb .......           [ 19%]
[2025-03-12T13:29:21.275Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 20%]
[2025-03-12T13:29:26.876Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 21%]
[2025-03-12T13:29:31.303Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 22%]
[2025-03-12T13:32:12.223Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 25%]
[2025-03-12T13:33:19.521Z] .............                                                            [ 27%]
[2025-03-12T13:33:21.175Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb .....            [ 28%]
[2025-03-12T13:33:23.085Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 30%]
[2025-03-12T13:33:41.982Z] .................                                                        [ 33%]
[2025-03-12T13:33:49.375Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 34%]
[2025-03-12T13:33:50.759Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 34%]
[2025-03-12T13:34:12.724Z] .........                                                                [ 36%]
[2025-03-12T13:34:21.057Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 38%]
[2025-03-12T13:34:29.923Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 39%]
[2025-03-12T13:34:31.313Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 39%]
[2025-03-12T13:34:34.875Z] .....                                                                    [ 40%]
[2025-03-12T13:35:13.665Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 40%]
[2025-03-12T13:35:31.595Z] ............                                                             [ 42%]
[2025-03-12T13:35:58.186Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 42%]
[2025-03-12T13:36:22.638Z] .....s.                                                                  [ 44%]
[2025-03-12T13:36:29.230Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 44%]
[2025-03-12T13:36:38.376Z] ..                                                                       [ 44%]
[2025-03-12T13:37:00.357Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 44%]
[2025-03-12T13:37:56.764Z] .........                                                                [ 46%]
[2025-03-12T13:38:18.735Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-6Regridding_Conversion.ipynb . [ 46%]
[2025-03-12T13:43:54.503Z] ....                                                                     [ 47%]
[2025-03-12T13:43:57.821Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-01_Intro.ipynb . [ 47%]
[2025-03-12T13:44:03.637Z] ....                                                                     [ 48%]
[2025-03-12T13:44:07.840Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-02_Calibration.ipynb . [ 48%]
[2025-03-12T13:44:16.460Z] .....                                                                    [ 49%]
[2025-03-12T13:44:20.669Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-03_Watershed_properties.ipynb . [ 49%]
[2025-03-12T13:44:38.689Z] .............                                                            [ 52%]
[2025-03-12T13:44:43.977Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-04_Time_series_analysis.ipynb . [ 52%]
[2025-03-12T13:44:44.244Z] ......                                                                   [ 53%]
[2025-03-12T13:44:56.843Z] raven-main/docs/source/notebooks/Region_selection.ipynb .........        [ 55%]
[2025-03-12T13:44:58.762Z] raven-main/docs/source/notebooks/Subset_climate_data_over_watershed.ipynb . [ 55%]
[2025-03-12T13:45:21.896Z] ......                                                                   [ 56%]
[2025-03-12T13:45:23.813Z] RavenPy-master/docs/notebooks/00_Introduction_to_JupyterLab.ipynb ...... [ 57%]
[2025-03-12T13:45:23.813Z]                                                                          [ 57%]
[2025-03-12T13:45:26.299Z] RavenPy-master/docs/notebooks/01_Getting_watershed_boundaries.ipynb .... [ 58%]
[2025-03-12T13:45:34.704Z] ....                                                                     [ 58%]
[2025-03-12T13:45:41.307Z] RavenPy-master/docs/notebooks/02_Extract_geographical_watershed_properties.ipynb . [ 59%]
[2025-03-12T13:45:46.011Z] .............                                                            [ 61%]
[2025-03-12T13:46:17.493Z] RavenPy-master/docs/notebooks/03_Extracting_forcing_data.ipynb ......... [ 63%]
[2025-03-12T13:47:30.814Z] ..                                                                       [ 63%]
[2025-03-12T13:47:30.814Z] RavenPy-master/docs/notebooks/04_Emulating_hydrological_models.ipynb ... [ 64%]
[2025-03-12T13:47:59.866Z] .................                                                        [ 67%]
[2025-03-12T13:48:06.618Z] RavenPy-master/docs/notebooks/05_Advanced_RavenPy_configuration.ipynb .. [ 67%]
[2025-03-12T13:48:16.121Z] ...........                                                              [ 69%]
[2025-03-12T13:48:27.841Z] RavenPy-master/docs/notebooks/06_Raven_calibration.ipynb ......          [ 70%]
[2025-03-12T13:48:32.053Z] RavenPy-master/docs/notebooks/07_Making_and_using_hotstart_files.ipynb . [ 70%]
[2025-03-12T13:48:37.945Z] .....                                                                    [ 71%]
[2025-03-12T13:48:39.325Z] RavenPy-master/docs/notebooks/08_Getting_and_bias_correcting_CMIP6_data.ipynb . [ 71%]
[2025-03-12T13:56:34.077Z] ................                                                         [ 74%]
[2025-03-12T13:56:36.634Z] RavenPy-master/docs/notebooks/09_Hydrological_impacts_of_climate_change.ipynb . [ 75%]
[2025-03-12T13:56:45.784Z] ....                                                                     [ 75%]
[2025-03-12T13:57:23.324Z] RavenPy-master/docs/notebooks/10_Data_assimilation.ipynb ........        [ 77%]
[2025-03-12T13:57:42.410Z] RavenPy-master/docs/notebooks/11_Climatological_ESP_forecasting.ipynb .. [ 77%]
[2025-03-12T13:58:09.275Z] ......                                                                   [ 78%]
[2025-03-12T13:58:27.396Z] RavenPy-master/docs/notebooks/12_Performing_hindcasting_experiments.ipynb . [ 78%]
[2025-03-12T13:58:37.745Z] .......                                                                  [ 80%]
[2025-03-12T13:58:44.295Z] RavenPy-master/docs/notebooks/Assess_probabilistic_flood_risk.ipynb .... [ 80%]
[2025-03-12T13:59:11.430Z] ....                                                                     [ 81%]
[2025-03-12T13:59:33.423Z] RavenPy-master/docs/notebooks/Comparing_hindcasts_and_ESP_forecasts.ipynb . [ 81%]
[2025-03-12T13:59:50.492Z] .......                                                                  [ 83%]
[2025-03-12T13:59:55.791Z] RavenPy-master/docs/notebooks/Distributed_hydrological_modelling.ipynb . [ 83%]
[2025-03-12T14:00:16.961Z] ......                                                                   [ 84%]
[2025-03-12T14:00:38.927Z] RavenPy-master/docs/notebooks/Hydrological_realtime_forecasting.ipynb .. [ 84%]
[2025-03-12T14:00:47.702Z] ....                                                                     [ 85%]
[2025-03-12T14:00:57.142Z] RavenPy-master/docs/notebooks/Managing_Jupyter_Environments.ipynb ...    [ 86%]
[2025-03-12T14:01:25.850Z] RavenPy-master/docs/notebooks/Perform_Regionalization.ipynb .......      [ 87%]
[2025-03-12T14:01:25.850Z] RavenPy-master/docs/notebooks/Running_HMETS_with_CANOPEX_dataset.ipynb . [ 87%]
[2025-03-12T14:01:45.902Z] .............                                                            [ 89%]
[2025-03-12T14:02:06.099Z] RavenPy-master/docs/notebooks/Sensitivity_analysis.ipynb .....           [ 90%]
[2025-03-12T14:02:12.747Z] RavenPy-master/docs/notebooks/time_series_analysis.ipynb ...........     [ 92%]
[2025-03-12T14:02:34.732Z] RavenPy-master/docs/notebooks/paper/Perform_a_climate_change_impact_study_on_a_watershed.ipynb . [ 93%]
[2025-03-12T14:09:53.097Z] ....................                                                     [ 96%]
[2025-03-12T14:09:55.529Z] notebooks/hummingbird.ipynb ............                                 [ 98%]
[2025-03-12T14:12:11.787Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2025-03-12T14:12:11.787Z] 
[2025-03-12T14:12:11.787Z] =============================== warnings summary ===============================
    
  

@crim-jenkins-bot
Copy link
Copy Markdown
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3170/
ResultFAILURE

BIRDHOUSE_DEPLOY_BRANCH : configurable-crontab
DACCS_IAC_BRANCH : master
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH :
PAVICS_SDI_BRANCH : master

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

PAVICS-e2e-workflow-tests Pipeline Results

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

NOTEBOOK TEST RESULTS
    
[2025-03-26T17:43:23.450Z] ============================= test session starts ==============================
[2025-03-26T17:43:23.450Z] platform linux -- Python 3.11.10, pytest-8.3.3, pluggy-1.5.0
[2025-03-26T17:43:23.450Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2025-03-26T17:43:23.450Z] plugins: anyio-4.6.2.post1, dash-2.18.1, nbval-0.11.0, tornasync-0.6.0.post2, xdist-3.6.1
[2025-03-26T17:43:23.450Z] collected 545 items
[2025-03-26T17:43:23.450Z] 
[2025-03-26T17:43:32.602Z] notebooks-auth/geoserver.ipynb ..................                        [  3%]
[2025-03-26T17:44:32.676Z] notebooks-auth/test_cowbird_jupyter.ipynb ........F.                     [  5%]
[2025-03-26T17:44:32.676Z] notebooks-auth/test_thredds.ipynb ...........                            [  7%]
[2025-03-26T17:46:06.843Z] pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb ......          [  8%]
[2025-03-26T17:55:50.161Z] pavics-sdi-master/docs/source/notebooks/FAQ_dask_parallel.ipynb ..s..... [  9%]
[2025-03-26T17:56:28.935Z] .                                                                        [  9%]
[2025-03-26T17:56:36.848Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb ......         [ 11%]
[2025-03-26T17:56:43.015Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb .....          [ 11%]
[2025-03-26T18:05:45.020Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 14%]
[2025-03-26T18:05:46.960Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 14%]
[2025-03-26T18:05:55.521Z] ...............                                                          [ 17%]
[2025-03-26T18:06:03.622Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 17%]
[2025-03-26T18:06:55.031Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb .......           [ 19%]
[2025-03-26T18:07:10.030Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 20%]
[2025-03-26T18:07:15.579Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 21%]
[2025-03-26T18:07:20.031Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 22%]
[2025-03-26T18:10:20.110Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 25%]
[2025-03-26T18:11:22.942Z] .............                                                            [ 27%]
[2025-03-26T18:11:27.388Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb .....            [ 28%]
[2025-03-26T18:11:28.900Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 30%]
[2025-03-26T18:11:47.999Z] .................                                                        [ 33%]
[2025-03-26T18:11:55.849Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 34%]
[2025-03-26T18:11:57.233Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 34%]
[2025-03-26T18:12:13.955Z] .........                                                                [ 36%]
[2025-03-26T18:12:22.833Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 38%]
[2025-03-26T18:12:32.147Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 39%]
[2025-03-26T18:12:33.529Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 39%]
[2025-03-26T18:12:37.663Z] .....                                                                    [ 40%]
[2025-03-26T18:13:24.395Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 40%]
[2025-03-26T18:13:43.170Z] ............                                                             [ 42%]
[2025-03-26T18:14:09.751Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 42%]
[2025-03-26T18:14:58.152Z] .....s.                                                                  [ 44%]
[2025-03-26T18:15:06.307Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 44%]
[2025-03-26T18:15:14.526Z] ..                                                                       [ 44%]
[2025-03-26T18:15:36.509Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 44%]
[2025-03-26T18:16:32.662Z] .........                                                                [ 46%]
[2025-03-26T18:16:54.638Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-6Regridding_Conversion.ipynb . [ 46%]
[2025-03-26T18:22:41.194Z] ....                                                                     [ 47%]
[2025-03-26T18:22:41.195Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-01_Intro.ipynb . [ 47%]
[2025-03-26T18:22:45.025Z] ....                                                                     [ 48%]
[2025-03-26T18:22:49.250Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-02_Calibration.ipynb . [ 48%]
[2025-03-26T18:22:58.112Z] .....                                                                    [ 49%]
[2025-03-26T18:23:02.314Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-03_Watershed_properties.ipynb . [ 49%]
[2025-03-26T18:23:17.108Z] .............                                                            [ 52%]
[2025-03-26T18:23:22.393Z] PAVICS-landing-master/content/notebooks/hydrology/PAVICStutorial_Hydrology-04_Time_series_analysis.ipynb . [ 52%]
[2025-03-26T18:23:23.174Z] ......                                                                   [ 53%]
[2025-03-26T18:23:35.367Z] raven-main/docs/source/notebooks/Region_selection.ipynb .........        [ 55%]
[2025-03-26T18:23:37.282Z] raven-main/docs/source/notebooks/Subset_climate_data_over_watershed.ipynb . [ 55%]
[2025-03-26T18:24:00.826Z] ......                                                                   [ 56%]
[2025-03-26T18:24:02.735Z] RavenPy-master/docs/notebooks/00_Introduction_to_JupyterLab.ipynb ...... [ 57%]
[2025-03-26T18:24:02.735Z]                                                                          [ 57%]
[2025-03-26T18:24:04.906Z] RavenPy-master/docs/notebooks/01_Getting_watershed_boundaries.ipynb .... [ 58%]
[2025-03-26T18:24:14.924Z] ....                                                                     [ 58%]
[2025-03-26T18:24:20.213Z] RavenPy-master/docs/notebooks/02_Extract_geographical_watershed_properties.ipynb . [ 59%]
[2025-03-26T18:24:25.018Z] .............                                                            [ 61%]
[2025-03-26T18:24:54.076Z] RavenPy-master/docs/notebooks/03_Extracting_forcing_data.ipynb ......... [ 63%]
[2025-03-26T18:26:07.414Z] ..                                                                       [ 63%]
[2025-03-26T18:26:08.799Z] RavenPy-master/docs/notebooks/04_Emulating_hydrological_models.ipynb ... [ 64%]
[2025-03-26T18:26:18.086Z] .................                                                        [ 67%]
[2025-03-26T18:26:24.845Z] RavenPy-master/docs/notebooks/05_Advanced_RavenPy_configuration.ipynb .. [ 67%]
[2025-03-26T18:26:34.873Z] ...........                                                              [ 69%]
[2025-03-26T18:26:45.962Z] RavenPy-master/docs/notebooks/06_Raven_calibration.ipynb ......          [ 70%]
[2025-03-26T18:26:51.250Z] RavenPy-master/docs/notebooks/07_Making_and_using_hotstart_files.ipynb . [ 70%]
[2025-03-26T18:26:56.327Z] .....                                                                    [ 71%]
[2025-03-26T18:26:57.706Z] RavenPy-master/docs/notebooks/08_Getting_and_bias_correcting_CMIP6_data.ipynb . [ 71%]
[2025-03-26T18:36:05.868Z] ................                                                         [ 74%]
[2025-03-26T18:36:08.419Z] RavenPy-master/docs/notebooks/09_Hydrological_impacts_of_climate_change.ipynb . [ 75%]
[2025-03-26T18:36:17.021Z] ....                                                                     [ 75%]
[2025-03-26T18:36:54.520Z] RavenPy-master/docs/notebooks/10_Data_assimilation.ipynb ........        [ 77%]
[2025-03-26T18:37:16.498Z] RavenPy-master/docs/notebooks/11_Climatological_ESP_forecasting.ipynb .. [ 77%]
[2025-03-26T18:37:43.384Z] ......                                                                   [ 78%]
[2025-03-26T18:38:05.364Z] RavenPy-master/docs/notebooks/12_Performing_hindcasting_experiments.ipynb . [ 78%]
[2025-03-26T18:38:14.611Z] .......                                                                  [ 80%]
[2025-03-26T18:38:21.830Z] RavenPy-master/docs/notebooks/Assess_probabilistic_flood_risk.ipynb .... [ 80%]
[2025-03-26T18:38:51.684Z] ....                                                                     [ 81%]
[2025-03-26T18:39:13.712Z] RavenPy-master/docs/notebooks/Comparing_hindcasts_and_ESP_forecasts.ipynb . [ 81%]
[2025-03-26T18:39:31.028Z] .......                                                                  [ 83%]
[2025-03-26T18:39:35.252Z] RavenPy-master/docs/notebooks/Distributed_hydrological_modelling.ipynb . [ 83%]
[2025-03-26T18:39:56.358Z] ......                                                                   [ 84%]
[2025-03-26T18:40:19.293Z] RavenPy-master/docs/notebooks/Hydrological_realtime_forecasting.ipynb .. [ 84%]
[2025-03-26T18:40:28.334Z] ....                                                                     [ 85%]
[2025-03-26T18:40:37.520Z] RavenPy-master/docs/notebooks/Managing_Jupyter_Environments.ipynb ...    [ 86%]
[2025-03-26T18:41:06.695Z] RavenPy-master/docs/notebooks/Perform_Regionalization.ipynb .......      [ 87%]
[2025-03-26T18:41:06.695Z] RavenPy-master/docs/notebooks/Running_HMETS_with_CANOPEX_dataset.ipynb . [ 87%]
[2025-03-26T18:41:27.042Z] .............                                                            [ 89%]
[2025-03-26T18:41:47.243Z] RavenPy-master/docs/notebooks/Sensitivity_analysis.ipynb .....           [ 90%]
[2025-03-26T18:41:53.581Z] RavenPy-master/docs/notebooks/time_series_analysis.ipynb ...........     [ 92%]
[2025-03-26T18:42:15.554Z] RavenPy-master/docs/notebooks/paper/Perform_a_climate_change_impact_study_on_a_watershed.ipynb . [ 93%]
[2025-03-26T18:49:15.096Z] ....................                                                     [ 96%]
[2025-03-26T18:49:17.573Z] notebooks/hummingbird.ipynb ............                                 [ 98%]
[2025-03-26T18:51:42.057Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2025-03-26T18:51:42.057Z] 
[2025-03-26T18:51:42.057Z] =================================== FAILURES ===================================
    
  

@crim-jenkins-bot
Copy link
Copy Markdown
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3180/
ResultFAILURE

BIRDHOUSE_DEPLOY_BRANCH : configurable-crontab
DACCS_IAC_BRANCH : master
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH :
PAVICS_SDI_BRANCH : master

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

⚠️ Infrastructure deployment failed. ⚠️
Instance destroyed due to CI execution.
To debug, launch an instance manually with PR reference
configurable-crontab.

@mishaschwartz
Copy link
Copy Markdown
Collaborator Author

@tlvu

Can you please let me know if you're ok with this PR so that we can merge it since we have a few others that are dependent on this one.

If you're not going to have time to review it more then can we please pull it in and we can make additional changes later if needed. I don't think this will affect PAVICS since you're still running version 1.42.1

Copy link
Copy Markdown
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.

@mishaschwartz

Very sorry for the delay. I took a few days off the past 2 weeks.

The only thing I didn't like was the job repetition for all "deploy-data" jobs (deploy xclim and raven testdata). These are just example usage of "deploy-data" style of jobs.

In-house we have a ton of other "deploy-data" jobs and it's much more convenient to update the jobs to match any deploy-data code changes when all the jobs are generated from the same template instead of having to separately update 10+ separate jobs in 6-7 different external repos. Having one common template will make job update completely transparent for all external jobs in all external repos.

I agree this is not show stopper. I will send a separate PR for this. I was hoping I could send this PR sooner but all the back-compat config vars problems prevented me from really testing autodeploy so my attention was to fix autodeploy first.

I quickly skimmed over the PR again and there some env var removed I am not sure, I probably missed during my first review. The rest is fine.

environment:
COMPOSE_DIR: ${PWD}
BIRDHOUSE_AUTODEPLOY_DEPLOY_KEY_ROOT_DIR: ${BIRDHOUSE_AUTODEPLOY_DEPLOY_KEY_ROOT_DIR}
CODE_OWNERSHIP: ${BIRDHOUSE_AUTODEPLOY_CODE_OWNERSHIP:-}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is it normal all the env var are removed? I can't remember at this moment, but is it possible one of the jobs that can be enabled on-demand use those?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

They're added in templated files so they're not needed as environment variables in the scheduler container directly.

@tlvu
Copy link
Copy Markdown
Collaborator

tlvu commented May 26, 2025

@tlvu please don't force push to an open PR, especially if multiple people are working on it. I have to reset my local branch now instead of being able to just pull your changes.

@mishaschwartz
Total mistake. I thought I was on my perso branch (I branched off your branch for a common job template). I usually use force push only when a branch is not shared with other.

@mishaschwartz
Copy link
Copy Markdown
Collaborator Author

@tlvu

I've created a secondary PR to address the data deploy jobs. See #538

Let's continue the discussion there and I'll merge this in for now

@github-actions github-actions Bot added the ci/operations Continuous Integration components label May 27, 2025
@mishaschwartz mishaschwartz merged commit ae66ef1 into master May 27, 2025
4 of 5 checks passed
@mishaschwartz mishaschwartz deleted the configurable-crontab branch May 27, 2025 15:10
@tlvu
Copy link
Copy Markdown
Collaborator

tlvu commented Jun 9, 2025

@mishaschwartz I've merged my other fix back-compat branch with master which include this fix. I've enabled

  ./optional-components/scheduler-job-deploy_xclim_testdata/
  ./optional-components/scheduler-job-deploy_raven_testdata/
  ./optional-components/scheduler-job-autodeploy/
  ./optional-components/scheduler-job-renew_letsencrypt_ssl_cert/
  ./optional-components/scheduler-job-notebookdeploy/
  ./optional-components/scheduler-job-logrotate/

in env.local to migrate to this new mechanism.

But I am not getting the existing jobs back in the scheduler container.

I found this:

$ docker exec scheduler bash -c 'cat /scheduler-job-configs/*'          
cat: read error: Is a directory                                                                                                                                                                                   
cat: read error: Is a directory                                                                
cat: read error: Is a directory                
cat: read error: Is a directory                                             
cat: read error: Is a directory                                  
cat: read error: Is a directory 

(...)

Basically all the new job config.yml files are mounted as directory.

It's as if all the new config.yml are instantiated after the volume-mount so at volume-mount (compose up) time, those files do not exist yet and then they are created as empty dir.

I am in my back-compat config so maybe it's due to this. Is there something special/additional to do in the case of back-compat?

@mishaschwartz
Copy link
Copy Markdown
Collaborator Author

@tlvu

It could be related to this (#508 (comment)). Did you bring the stack down before you migrated to the new version?

Is this code not working for you?

if ! rmdir "${DEST}" 2>/dev/null; then

That addition was meant to avoid any situation where empty directories were created by docker in place of templated files.

@tlvu
Copy link
Copy Markdown
Collaborator

tlvu commented Jun 9, 2025

Did you bring the stack down before you migrated to the new version?

Did not bring the entire stack down, but I did delete the scheduler container before ./pavics-compose.sh up -d. That was not enough?

@tlvu
Copy link
Copy Markdown
Collaborator

tlvu commented Jun 9, 2025

It could be related to this (#508 (comment))

That comment says stop docker daemon, then delete instanciated template file, then restart docker deamon.

But I did not start/stop the docker daemon and those problematic files are all the new jobs config.yml files, not the existing one in ./scheduler/config.yml. That existing one is the only one that still work actually.

@mishaschwartz
Copy link
Copy Markdown
Collaborator Author

Ok, there's nothing special about those files, they're just template files like we have elsewhere in the stack.

I'm not really sure what would be different about those ones but in general the code I mentioned here (#503 (comment)) in birdhouse-compose.sh should handle that case where directories are created.

If you figure out why that isn't working as intended please let me know so we can add a fix.

In the meantime, I'd recommend always bringing the stack down before you update the source code just so you know that you're starting fresh and docker doesn't get put in an unexpected state.

@tlvu
Copy link
Copy Markdown
Collaborator

tlvu commented Jun 11, 2025

I'd recommend always bringing the stack down before you update the source code

There was a power outage yesterday so I restarted clean with down -v then up -d and now it's worse with ERROR: Cannot remove non-empty directory [./optional-components/scheduler-job-deploy_xclim_testdata/config.yml]. This directory should not exist as it conflicts with destination of [./optional-components/scheduler-job-deploy_xclim_testdata/config.yml.template]. Please remove it and try starting up the birdhouse stack again.

Ok, there's nothing special about those files, they're just template files like we have elsewhere in the stack.

I know, this is so weird. Nothing in the PR looks like it would trigger these weird behavior.

Am I the only person with all of these enabled at the same time? Maybe it's the combination of all of these that trigger this behavior?

  ./optional-components/scheduler-job-deploy_xclim_testdata/
  ./optional-components/scheduler-job-deploy_raven_testdata/
  ./optional-components/scheduler-job-autodeploy/
  ./optional-components/scheduler-job-renew_letsencrypt_ssl_cert/
  ./optional-components/scheduler-job-notebookdeploy/
  ./optional-components/scheduler-job-logrotate/

@mishaschwartz
Copy link
Copy Markdown
Collaborator Author

What is in the non-empty directories?

Am I the only person with all of these enabled at the same time?

I have everything enabled too

@tlvu
Copy link
Copy Markdown
Collaborator

tlvu commented Jun 11, 2025

What is in the non-empty directories?

$ find ./optional-components/scheduler-job-deploy_xclim_testdata/config.yml
./optional-components/scheduler-job-deploy_xclim_testdata/config.yml
$ ls -la ./optional-components/scheduler-job-deploy_xclim_testdata/config.yml
total 0
drwxr-xr-x. 2 root root   6 Jun 11 14:48 .
drwxr-xr-x. 4 root root 139 Jun 11 14:48 ..

@mishaschwartz
Copy link
Copy Markdown
Collaborator Author

So the issue is that it's owned by root?

@tlvu
Copy link
Copy Markdown
Collaborator

tlvu commented Jun 11, 2025

So the issue is that it's owned by root?

Oh true ... but that's not supposed to happen since I have AUTODEPLOY_CODE_OWNERSHIP="1000:1000" in env.local.

That's probably because it was created by the volume-mount because the instantiated template file is not there. And the instantiated was not there because the parent is also owned by root. Weird permission problem.

I can now start the stack finally.

mishaschwartz added a commit that referenced this pull request Jun 16, 2025
…n and as a scheduler job) (#532)

## Overview

### Changes

- Add `backup` command in `bin/birdhouse` to backup and restore data to
a restic repository

  This allows users to backup and restore:
    - application data, user data, and log data for all components
    - birdhouse logs
    - docker container logs
    - local environement file
  
Restoring data either involves restoring it to a named volume
(determined by `BIRDHOUSE_BACKUP_VOLUME`) or in the case
of user data and application data, to overwrite the current data with
the backup.

  For full details run the `bin/birdhouse backup --help` command.

Backups are stored in a
[restic](https://restic.readthedocs.io/en/stable/) repository which can
be configured by creating
a file at `BIRDHOUSE_BACKUP_RESTIC_ENV_FILE` (default:
`birdhouse/restic.env`) which contains the
[environment
variables](https://restic.readthedocs.io/en/stable/040_backup.html#environment-variables)
necessary for restic to create, and access a repository (see
`birdhouse/restic.env.example` for details).

The backup and restore commands can be further customized by setting any
of the following variables:

  - `BIRDHOUSE_BACKUP_SSH_KEY_DIR`: 
- The location of a directory that contains an SSH key used to access a
remote machine where the restic repository
is hosted. Required if accessing a restic repository using the sftp
protocol.
  - `BIRDHOUSE_BACKUP_RESTIC_BACKUP_ARGS`: 
- Additional options to pass to the `restic backup` command when running
the `birdhouse backup create` command.
For example: `BIRDHOUSE_BACKUP_RESTIC_BACKUP_ARGS='--skip-if-unchanged
--exclude-file "file-i-do-not-want-backedup.py"`
  - `BIRDHOUSE_BACKUP_RESTIC_FORGET_ARGS`:
- Additional options to pass to the `restic forget` command after
running the backup job. This allows you to ensure
that restic deletes old backups according to your backup retention
policy. If this is set, then restic will also
run the `restic prune` command after every backup to clean up old backup
files.
For example, to store backups daily for 1 week, weekly for 1 month, and
monthly for a year:
`BIRDHOUSE_BACKUP_RESTIC_FORGET_ARGS='--keep-daily=7 --keep-weekly=4
--keep-monthly=12'`
    
- Add scheduler job to automatically backup data

Create a new scheduler job at `optional-components/scheduler-job-backup`
which runs the `bin/birdhouse backup create`
command at regular intervals to ensure that the birdhouse stack's data
is regularly backed up.

  To configure this job you may set the following variables:
    - `SCHEDULER_JOB_BACKUP_FREQUENCY`:
- Cron schedule when to run this scheduler job (default is `'1 1 * *
*'`, at 1:01 am daily)
    - `SCHEDULER_JOB_BACKUP_ARGS`:
- Extra arguments to pass to the 'bin/birdhouse backup create' command
when backing up data.
By default this backs up everything (default is `'-a \* -u \* -l \*
--birdhouse-logs --local-env-file'`)

- Add `configs --print-log-command` option in `bin/birdhouse`

This allows users to print a command that can be used to load the
birdhouse logging functions in the current
process. This is very similar to the `bin/birdhouse configs
--print-config-command` except that it only loads
  the logging functions.

  Example usage:

  ```sh
  eval $(bin/birdhouse configs --print-log-command)
  log INFO 'here is an example log message'
  ```

It is important to have a distinct option to just load the log commands
because functions are not inherited
  by subprocesses which means that if you do something like:

  ```sh
  eval $(bin/birdhouse configs --print-config-command)
  log INFO 'this one works'
  sh -c 'log ERROR "this one does not"'
  ```

the log command in the subprocess does not work. We would have to re-run
the `eval` in the subprocess which would
unnecessarily redefine all the existing configuration variables. Instead
we can now do this:

  ```sh
  eval $(bin/birdhouse configs --print-log-command)
  log INFO 'this one works'
sh -c 'eval $(bin/birdhouse configs --print-log-command); log INFO "this
one does work now"'
  ```

which is much quicker and does not require redefining all configuration
variables.

Note: this was introduced as a helper for the `bin/birdhouse backup`
commands but was made part of the public
interface because it is potentially very useful for other scripts that
want to use the birdhouse logging mechanism.
For example, the `components/weaver/post-docker-compose-up` script
defines its own logging functions which could
  now be easily replaced using this method.

- Add `BIRDHOUSE_COMPOSE_TEMPLATE_SKIP` environment variable to
explicitly skip rebuilding template files if `true`

This gives us the option to skip re-building template files even if the
command to `bin/birdhouse compose` is `up`
or `restart`. This is essentially the opposite of
`BIRDHOUSE_COMPOSE_TEMPLATE_FORCE`.

This option is necessary when running a command while the birdhouse
stack is already running and we don't want to
  change the template files for the running stack.

### Fixes

- Replace non-portable `sed -z` option

The `birdhouse/scripts/get-services-json.include.sh` script includes the
`sed` command using the `-z` flag. The
`-z` flag is non-standard and is not supported by several well-used
versions of `sed`.

This became apparent when this script is run by the
`optional-components/scheduler-job-backup` job which runs
  in an alpine based docker container.


## Changes

**Non-breaking changes**
- Adds several new command line options
- Adds a new scheduler job
- Minor bug fixes and improvements

**Breaking changes**
- None

## Related Issue / Discussion

- This depends on #503

## Additional Information

Links to other issues or sources.

## CI Operations

<!--
The test suite can be run using a different DACCS config with
``birdhouse_daccs_configs_branch: branch_name`` in the PR description.
To globally skip the test suite regardless of the commit message use
``birdhouse_skip_ci`` set to ``true`` in the PR description.

Using ``[<cmd>]`` (with the brackets) where ``<cmd> = skip ci`` in the
commit message will override ``birdhouse_skip_ci`` from the PR
description.
Such commit command can be used to override the PR description behavior
for a specific commit update.
However, a commit message cannot 'force run' a PR which the description
turns off the CI.
To run the CI, the PR should instead be updated with a ``true`` value,
and a running message can be posted in following PR comments to trigger
tests once again.
-->

birdhouse_daccs_configs_branch: master
birdhouse_skip_ci: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/deployment Related to deployment utilities and scripts ci/operations Continuous Integration components component/jupyterhub Related to JupyterHub as development frontend with notebooks documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants