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

Cowbird jupyter e2e test #404

Merged
merged 25 commits into from
Nov 30, 2023
Merged

Cowbird jupyter e2e test #404

merged 25 commits into from
Nov 30, 2023

Conversation

ChaamC
Copy link
Collaborator

@ChaamC ChaamC commented Nov 15, 2023

Changes

  • New optional-component test-cowbird-jupyter-access that executes a script to set up a test user along with different
    test files. This component is used for the related e2e test from the
    PAVICS-e2e-workflow-tests repo.

Fixes

  • Updates incorrect WPS outputs resource name in the cowbird config.

Additional Information

  • Related to PR on PAVICS-e2e-workflow-tests : #131
  • Working test on Jenkins (Build #26), but I have to manually clone the cowbird branch with the upcoming changes on the iac instance for now for the test to work(see PR #47)

@ChaamC ChaamC self-assigned this Nov 15, 2023
@github-actions github-actions bot added ci/tests Issues or changes related to tests scripts component/cowbird Related to https://github.com/Ouranosinc/cowbird documentation Improvements or additions to documentation labels Nov 15, 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/2246/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://

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

@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/2247/
Result : success

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : test-cowbird-jupyter-access
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : cowbird-jupyter-e2e-test
PAVICS_SDI_BRANCH : master

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

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

@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/2248/
Result : success

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : test-cowbird-jupyter-access
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : cowbird-jupyter-e2e-test
PAVICS_SDI_BRANCH : master

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

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

Copy link
Collaborator

@fmigneault fmigneault left a comment

Choose a reason for hiding this comment

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

Missing a new section in https://github.com/bird-house/birdhouse-deploy/blob/master/birdhouse/optional-components/README.rst

This section should warn very explicitly that this component should not be used in non-test environments, as it opens public access for certain endpoints, defines admin-tokens for a JupyterHub user for which credentials are clearly visible in the script, and enforces use of root access for the test container. The component is for validation only. If used in a prod stack, it creates a security vulnerability.


import json
import os
import requests
Copy link
Collaborator

Choose a reason for hiding this comment

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

This script basically only need to make http requests, I think any pavics/workflow-tests is fine, no need for the specific version 210216.

And is this script a run once script or it has to continuously run and listen to connections?

If not, can we make it called only once by https://github.com/bird-house/birdhouse-deploy/blob/master/birdhouse/scripts/bootstrap-instance-for-testsuite instead?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Run once and forget.
However, the bootstrap script is not called by our Jenkins CI tests.
Only the PAVICS-E2E testall for running the notebooks are called on the instance swanned with this component added.

Copy link
Collaborator

@tlvu tlvu Nov 21, 2023

Choose a reason for hiding this comment

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

However, the bootstrap script is not called by our Jenkins CI tests.

I am very surprised the boostrap script is called not call by your Jenkins CI tests. That boostrap entrypoint was specifically created for CI pipeline to call, so that new boostrap steps can be added transparently, without having to change the CI steps.

Copy link
Collaborator

@tlvu tlvu Nov 21, 2023

Choose a reason for hiding this comment

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

The bootstrap entrypoint is called.

http://daccs-jenkins.crim.ca/job/DACCS-iac-birdhouse/2255/console
[RESULT] bootstrap-instance-for-testsuite script finished. Exiting.

@tlvu tlvu self-requested a review November 16, 2023 20:35
@github-actions github-actions bot added the feature/WPS Feature or service related to Web Processing Service label Nov 17, 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/2280/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : cowbird-jupyter-e2e-test
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/cowbird-jupyter-e2e-test/40/

NOTEBOOK TEST RESULTS
    
[2023-11-20T21:46:28.897Z] ============================= test session starts ==============================
[2023-11-20T21:46:28.897Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-11-20T21:46:28.897Z] rootdir: /home/jenkins/agent/workspace/w-tests_cowbird-jupyter-e2e-test
[2023-11-20T21:46:28.897Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-11-20T21:46:28.897Z] collected 265 items
[2023-11-20T21:46:28.897Z] 
[2023-11-20T21:46:39.660Z] notebooks-auth/geoserver.ipynb ..................                        [  6%]
[2023-11-20T21:47:06.184Z] notebooks-auth/test_cowbird_jupyter.ipynb ........F.                     [ 10%]
[2023-11-20T21:47:14.101Z] notebooks-auth/test_thredds.ipynb ...........                            [ 14%]
[2023-11-20T21:47:22.019Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [ 17%]
[2023-11-20T21:47:32.101Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 19%]
[2023-11-20T21:47:41.230Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 22%]
[2023-11-20T21:55:26.591Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 27%]
[2023-11-20T21:55:26.591Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 27%]
[2023-11-20T21:55:31.631Z] ...............                                                          [ 33%]
[2023-11-20T21:55:40.788Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 35%]
[2023-11-20T21:55:47.559Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 37%]
[2023-11-20T21:56:04.393Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 39%]
[2023-11-20T21:56:05.778Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 40%]
[2023-11-20T21:56:11.365Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 42%]
[2023-11-20T21:56:16.113Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 44%]
[2023-11-20T21:59:14.483Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 50%]
[2023-11-20T22:00:32.437Z] .............                                                            [ 55%]
[2023-11-20T22:00:34.884Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 56%]
[2023-11-20T22:00:37.218Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 59%]
[2023-11-20T22:00:55.150Z] .................                                                        [ 66%]
[2023-11-20T22:01:02.332Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 68%]
[2023-11-20T22:01:03.712Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 68%]
[2023-11-20T22:01:21.804Z] .........                                                                [ 72%]
[2023-11-20T22:01:31.510Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 76%]
[2023-11-20T22:01:40.450Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 78%]
[2023-11-20T22:01:41.839Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 78%]
[2023-11-20T22:01:44.655Z] ......                                                                   [ 81%]
[2023-11-20T22:01:52.807Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 81%]
[2023-11-20T22:02:07.124Z] .............                                                            [ 86%]
[2023-11-20T22:02:17.110Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 86%]
[2023-11-20T22:02:53.659Z] ....s.                                                                   [ 89%]
[2023-11-20T22:03:01.820Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 89%]
[2023-11-20T22:03:16.561Z] ...                                                                      [ 90%]
[2023-11-20T22:03:31.494Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-11-20T22:03:54.835Z] ......                                                                   [ 93%]
[2023-11-20T22:03:56.448Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-11-20T22:06:42.007Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-11-20T22:06:42.007Z] 
[2023-11-20T22:06:42.007Z] =================================== 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/2284/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : cowbird-jupyter-e2e-test
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/cowbird-jupyter-e2e-test/42/

NOTEBOOK TEST RESULTS
    
[2023-11-21T16:37:24.123Z] ============================= test session starts ==============================
[2023-11-21T16:37:24.123Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-11-21T16:37:24.123Z] rootdir: /home/jenkins/agent/workspace/w-tests_cowbird-jupyter-e2e-test
[2023-11-21T16:37:24.123Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-11-21T16:37:24.123Z] collected 265 items
[2023-11-21T16:37:24.123Z] 
[2023-11-21T16:37:35.592Z] notebooks-auth/geoserver.ipynb ..................                        [  6%]
[2023-11-21T16:38:12.169Z] notebooks-auth/test_cowbird_jupyter.ipynb ........F.                     [ 10%]
[2023-11-21T16:38:15.694Z] notebooks-auth/test_thredds.ipynb ...........                            [ 14%]
[2023-11-21T16:38:24.699Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [ 17%]
[2023-11-21T16:38:35.016Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 19%]
[2023-11-21T16:38:44.169Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 22%]
[2023-11-21T16:46:21.013Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 27%]
[2023-11-21T16:46:22.925Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 27%]
[2023-11-21T16:46:32.109Z] ...............                                                          [ 33%]
[2023-11-21T16:46:41.617Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 35%]
[2023-11-21T16:46:49.144Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 37%]
[2023-11-21T16:47:06.514Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 39%]
[2023-11-21T16:47:07.895Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 40%]
[2023-11-21T16:47:13.298Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 42%]
[2023-11-21T16:47:17.540Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 44%]
[2023-11-21T16:51:29.439Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 50%]
[2023-11-21T16:52:39.212Z] .............                                                            [ 55%]
[2023-11-21T16:52:43.924Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 56%]
[2023-11-21T16:52:46.257Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 59%]
[2023-11-21T16:53:03.868Z] .................                                                        [ 66%]
[2023-11-21T16:53:11.546Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 68%]
Aborted by �[8mha:////4Mr2iAGtinzZOSIoGr77jiVDu3Fl2COPbiGWdioN21HKAAAAmh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAz+EgY+/dLi1CL95NLc3My85AwAG5Wk3sMAAAA=�[0mCharles-William
[2023-11-21T16:53:11.878Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb Sending interrupt signal to process
[2023-11-21T16:53:12.486Z] Terminated
[2023-11-21T16:53:12.490Z] script returned exit code 143
�[8mha:////4ItaOhsIRFfcNciVdA3A5uvEe7JeZm9hBtUZEY4X9BpjAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIi0SCEqNJabniBiY1xYt0Z2yGpeBFf4w8EIlGxxWpnm3m+YJkiHDlabA11jlLjMPjeTgsHjt3F84Atn7FhSuwNSjNI1qaeUXI2MKcoYSFgZajxnBzZDGvRqruqvCJbnXKcvoOA0ukbPKAQkzmrmL8wRthce52Yfp6/AhhDyFBu95/avQGMKkS1vgAAAA==�[0m[Pipeline] }
�[8mha:////4Aio6UelSH6cmkJHznIJktbtMlo1XW0Qqw/RvIKKjzc1AAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOKCQKJBqWgtN7zAJMY4se6C7eBUvIiv8QcsIlGxxWpnm3m9YRk81OwNdpp6S6GxOLjR5IWJfX91nLDjCzZMgZ1GqZPkVp9mlBw1zClKWAhYaWocB0smwlp06qEqp8hU5+jzdxRQ2vYOTyhENkfl4xcmD5vb2Aamn+evAKZhiFDut7l2hw9mQDtDvgAAAA==�[0m[Pipeline] // withCredentials
�[8mha:////4FQEhWYsKsWgvD3Y8RE20WPjUSxuhfFY+TD3rc1qM7IiAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIiQFQoFa3lhheYxBgn1l2wHZyKF/E1/oBFJCq2WO1sM683LIOHmr3BTlNvKTQWBzeavDCx76+OE3Z8wYYpsNModZLc6tOMkqOGOUUJCwErTY3jYMlEWItOPVTlFJnqHH3+jgJK297hCYXI5qh8/MLkYXMb28D08/wVwDQMEcr9Ntfu8AF5wm4RvgAAAA==�[0m[Pipeline] }
�[8mha:////4KNTodaWsetSNNWqE//y+IOyoGMxsdvVSBLk6WKj+MzbAAAApB+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIiBTpEldZKwwtMbIwT687YDknFi/gaf8AiEhVbrHa2mdcb1jHAiYPBXtNgKXYWvRtNXjhxGK6OJ+z5gh1TZKex1VPLSjcLtpw0LClKWAnYaOocR0smwVb08iErJ8lU5xTydxRQWnWHJxQim5MM6QtzgN1tVJHp5/krgNn7BOW+zlUfPkGA/eC+AAAA�[0m[Pipeline] // script
�[8mha:////4KR6tQZJrWFxN0vyZP8vuQmvK2rFt9tOj0oriz2EfOnHAAAApB+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPMKRSImoaC03vMAkh3Fi3Rnbwal4EV/jD1hEomKL1c4283rDOgY4cjBiQBotxc4K7yZTlsgcxqvjLAa+iI4pskOhMCvu8bSg4oSwpKphJWGD1DmOlkyCrRz0QzdOk2nOKZTvIKG2/R2eUMliTjqkL8wBdrepj0w/z18BzN4nqNu21L79AEfGxbW+AAAA�[0m[Pipeline] }
�[8mha:////4F01XPIVLu7JBIaS3rjBN4HkNuOk+B1MGW9P2m5t4llYAAAApB+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIiBTpEldZKwwtMbIwT687YDknFi/gaf8AiEhVbrHa2mdcb1jHAiYPBXtNgKXYWvRtNXjhxGK6OJ+z5gh1TZKex1VPLSjcLtpw0LClKWAnYaOocR0smwVb08iErJ8lU5xTydxRQWnWHJxQim5MM6QtzgN1tVJHp5/krgNn7BOX+kKuuP2nGx9++AAAA�[0m[Pipeline] // stage
�[8mha:////4DuQWrwdSKxqd4Ws+o38dPis/OkEWi6lu/G6AZs3CpBnAAAAqB+LCAAAAAAAAP9tjTEOwjAUQ3+LOrAycohUgJhQJ9aoCycITQhJo/9LkpJOnIircQcClZjwYNmWrPd8QRU8NOQ1swp7g6EzbHCjzokl8v3FUWKWzqwjDOQUa1VqSarjXFuKCmYVJSw4LBV2joJBHWHFrbiL2gnU9Sn6vB04lEbe4AEFz+QofPyWycP6OspA+OP8BcA0RCi3m2y7/edZvQEO/65mwgAAAA==�[0m[Pipeline] stage
�[8mha:////4N4We8ek5/h9OvNnQ1lyXKfM0ybgoVYvsT4MDoMzUNyTAAAApx+LCAAAAAAAAP9tjTEOwjAUQ3+LOrAycoh0QLAgpq5RFk4QmhDSRv+Xn5R24kRcjTvQUokJD5ZtyXqvNxSR4UTsRGOx9RhrL7rQuymJgbi9BhpEQxdRE0YKVig7KDK2WqqiZGFRlsNKwtpiHSh6dAk2stEPXQaNrjwnnrajhNybOzwhkxM5aU7fMjJsb72JhD/OXwCMXYJ8t5/tMD+LD02yRsvCAAAA�[0m[Pipeline] { (Declarative: Post Actions)
�[8mha:////4NSN38fl2W391nE1GYw8ukcOn4eLq1zoMVEI1VLYRceiAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOJSIEGBqNJabniBiY1xYt0Z2yGpeBFf4w8EIlGxxWpnm3m+YJkiHDlabA11jlLjMPjeTgsHjt3F84Atn7FhSuwNSjNI1qaeUXI2MKcoYSFgZajxnBzZDGvRqruqvCJbnXKcvoOA0ukbPKAQkzmrmL8wRthce52Yfp6/AhhDhnK7+9Q+vAF9GxrMvgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:12.919Z] Archiving artifacts
[2023-11-21T16:53:12.965Z] Recording fingerprints
�[8mha:////4ILGmJge/9XDdI8sXXOB4l4xNVkY2uXECYRIerEjIw8oAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOJSICEkRJXWcsMLTGyME+vO2A5JxYv4Gn8gEImKLVY728zzBcsU4cjRYmuoc5Qah8H3dlo4cOwungds+YwNU2JvUJpBsjb1jJKzgTlFCQsBK0ON5+TIZliLVt1V5RXZ6pTj9B0ElE7f4AGFmMxZxfyFMcLm2uvE9PP8FcAYMpTb3af24Q2yB4JLvgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:13.044Z] Archiving artifacts
[2023-11-21T16:53:15.174Z] Recording fingerprints
�[8mha:////4IF5gHMW7IfqA28qOW3Ob2IYZOQWeHvBLJTakZpvnp51AAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOJSICEhRJXWcsMLTGyME+vO2A5JxYv4Gn8gEImKLVY728zzBcsU4cjRYmuoc5Qah8H3dlo4cOwungds+YwNU2JvUJpBsjb1jJKzgTlFCQsBK0ON5+TIZliLVt1V5RXZ6pTj9B0ElE7f4AGFmMxZxfyFMcLm2uvE9PP8FcAYMpTb3af24Q3zNplSvgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:16.211Z] Archiving artifacts
[2023-11-21T16:53:16.239Z] Recording fingerprints
�[8mha:////4MwiYGSbSZDrDt6rb7AjDZgJrIpoAZj8jdfzkkZu3Y6TAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOKCBKJBqWgtN7zAJMY4se6C7eBUvIiv8QcsIlGxxWpnm3m9YRk81OwNdpp6S6GxOLjR5IWJfX91nLDjCzZMgZ1GqZPkVp9mlBw1zClKWAhYaWocB0smwlp06qEqp8hU5+jzdxRQ2vYOTyhENkfl4xcmD5vb2Aamn+evAKYhQrk75Npvhw8/mxSGvgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:16.332Z] Archiving artifacts
[2023-11-21T16:53:16.387Z] Recording fingerprints
�[8mha:////4ChQU0L8b7yzNBK4Qecbahzv6Fki7OHgcCGOzh+FMG2nAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIiBKJBqWgtN7zAJMY4se6C7eBUvIiv8QcsIlGxxWpnm3m9YRk81OwNdpp6S6GxOLjR5IWJfX91nLDjCzZMgZ1GqZPkVp9mlBw1zClKWAhYaWocB0smwlp06qEqp8hU5+jzdxRQ2vYOTyhENkfl4xcmD5vb2Aamn+evAKYhQrk75Npvhw9+qg+fvgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:16.460Z] Archiving artifacts
[2023-11-21T16:53:16.503Z] Recording fingerprints
�[8mha:////4COiEyXTFMQ9+Rm5mJN/AGgyv2+rMMUSUIOmHsB3w2J+AAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIiAaJBqWgtN7zAJMY4se6C7eBUvIiv8QcsIlGxxWpnm3m9YRk81OwNdpp6S6GxOLjR5IWJfX91nLDjCzZMgZ1GqZPkVp9mlBw1zClKWAhYaWocB0smwlp06qEqp8hU5+jzdxRQ2vYOTyhENkfl4xcmD5vb2Aamn+evAKYhQrk75Npvhw+9+SK0vgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:16.567Z] Archiving artifacts
[2023-11-21T16:53:17.496Z] Recording fingerprints
�[8mha:////4J3gLKSOu0/gozlxvjLGfIzNL6Pbiuk1VK63hpZd8S9zAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOJSBNEgqrRWGl5gYmOcWHfGdkgqXsTX+AMWkajYYrWzzbzesI4BThwM9poGS7Gz6N1o8sKJw3B1PGHPF+yYIjuNrZ5aVrpZsOWkYUlRwkrARlPnOFoyCbailw9ZOUmmOqeQv6OA0qo7PKEQ2ZxkSF+YA+xuo4pMP89fAcw+QVkfcu1r/wH8yDmtvgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:17.971Z] Archiving artifacts
[2023-11-21T16:53:18.033Z] Recording fingerprints
�[8mha:////4G5uIRbkJeaig52MLfD9xv8Nb7kfLaqFinRw+RlJonU2AAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPMIpiGgQVVorDS8w8WGcWHfGdkgqXsTX+AMWkajYYrWzzbzesI4BThyM6JEGS7GzwrvR5CUmDsPV8SR6voiOKbJD0eLUssZmwZYTwpKihJWEDVLnOFoyCbayVw9VOUWmOqeQv6OE0uo7PKGQ2ZxUSF+YA+xuo45MP89fAcw+Qbk/5Kpr/wE7XnjivgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:18.089Z] Archiving artifacts
[2023-11-21T16:53:18.155Z] Recording fingerprints
�[8mha:////4Mvo1BkYPEme5kaGYwfMPGdAn3h6z1MZTQvQAXQpd3AkAAAApR+LCAAAAAAAAP9tjTsOwjAQRDdBFLSUHGJT8GlQKlrLDScwiTFOrN1gOzgVJ+Jq3AGLSFRMMZo3zXu9YRk81OwNdpp6S6GxOLjR5IWJfX91nLDjCzZMgZ1GqZPkVp9mlBw1zClKWAhYaWocB0smwlp06qEqp8hU5+jzdxRQ2vYOTyhENkfl4xcmD5vb2Aamn+evAKYhQrk95Nrthw96b2P7vgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:18.270Z] Archiving artifacts
[2023-11-21T16:53:18.739Z] Recording fingerprints
�[8mha:////4BxJcu6Mhf32TKJrQUvGOWd3sHkWoOwAUOJvn78NS6VSAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOJSgNIgqrRWGl5gYmOcWHfGdkgqXsTX+AMWkajYYrWzzbzesI4BThwM9poGS7Gz6N1o8sKJw3B1PGHPF+yYIjuNrZ5aVrpZsOWkYUlRwkrARlPnOFoyCbailw9ZOUmmOqeQv6OA0qo7PKEQ2ZxkSF+YA+xuo4pMP89fAcw+Qbmvcx1q/wG5PE7QvgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:18.836Z] Archiving artifacts
�[8mha:////4GO1B9xqDMc3Y88TWfU6Yi2kkOsY1jMmzauCbLhAJwyKAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOJSgKBAqWgtN7zAJMY4se6C7eBUvIiv8QcsIlGxxWpnm3m9YRk81OwNdpp6S6GxOLjR5IWJfX91nLDjCzZMgZ1GqZPkVp9mlBw1zClKWAhYaWocB0smwlp06qEqp8hU5+jzdxRQ2vYOTyhENkfl4xcmD5vb2Aamn+evAKYhQrnd59odhg/4DVXJvgAAAA==�[0m[Pipeline] archiveArtifacts
[2023-11-21T16:53:18.907Z] Archiving artifacts
�[8mha:////4NPt9oC5FBsaixMpbG2Vgr+pYl8XGjukBsva8CWoEC0LAAAAph+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOJSgBASSkVrueEFJjHGiXUXbAen4kV8jT9gEYmKLVY728zrDcvgoWZvsNPUWwqNxcGNJi9M7Pur44QdX7BhCuw0Sp0kt/o0o+SoYU5RwkLASlPjOFgyEdaiUw9VOUWmOkefv6OA0rZ3eEIhsjkqH78wedjcxjYw/Tx/BTANEcrtPtfuMHwANxHNTr4AAAA=�[0m[Pipeline] emailextrecipients
�[8mha:////4JBwrFm/0BDxJd28CTylmcE02xhjnDQaki1Jq/4AEW2eAAAAph+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOJSgJAQSkVrueEFJjHGiXUXbAen4kV8jT9gEYmKLVY728zrDcvgoWZvsNPUWwqNxcGNJi9M7Pur44QdX7BhCuw0Sp0kt/o0o+SoYU5RwkLASlPjOFgyEdaiUw9VOUWmOkefv6OA0rZ3eEIhsjkqH78wedjcxjYw/Tx/BTANEcrtPtfuMHwAdiDWV74AAAA=�[0m[Pipeline] step
�[8mha:////4KojkB8TKn7pKbfz2v9XOrtuJMHB5JjbAIzrHIHirXQOAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOKChKBBqWgtN7zAJMY4se6C7eBUvIiv8QcsIlGxxWpnm3m9YRk81OwNdpp6S6GxOLjR5IWJfX91nLDjCzZMgZ1GqZPkVp9mlBw1zClKWAhYaWocB0smwlp06qEqp8hU5+jzdxRQ2vYOTyhENkfl4xcmD5vb2Aamn+evAKZhiFDut7l2hw8dRPA5vgAAAA==�[0m[Pipeline] }
�[8mha:////4FScbrhKv8Si2MklnVibpA4A1BxVHfhbvTRVuDRpDSaUAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIihFIhqrRWGl5gYmOcWHfGdkgqXsTX+AMWkajYYrWzzbzesI4BThwM9poGS7Gz6N1o8sKJw3B1PGHPF+yYIjuNrZ5aVrpZsOWkYUlRwkrARlPnOFoyCbailw9ZOUmmOqeQv6OA0qo7PKEQ2ZxkSF+YA+xuo4pMP89fAczeJyjrfa5D/QECxqVrvgAAAA==�[0m[Pipeline] // stage
�[8mha:////4Fw6vIGI2xNAaETf5rX3RXhuvh/PDdAzPQzPyDrn4GsMAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPMIRkagQVVorDS8w8WGcWHfGdkgqXsTX+AMWkajYYrWzzbzesI4BThyM6JEGS7GzwrvR5CUmDsPV8SR6voiOKbJD0eLUssZmwZYTwpKihJWEDVLnOFoyCbayVw9VOUWmOqeQv6OE0uo7PKGQ2ZxUSF+YA+xuo45MP89fAczeJygPda56/wH0QUfzvgAAAA==�[0m[Pipeline] }
�[8mha:////4Gx8ZK4G7s3szfZjQe4yyQGDULl8r/MxuiCfHgkt+hhTAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOKCQFQoFa3lhheYxBgn1l2wHZyKF/E1/oBFJCq2WO1sM683LIOHmr3BTlNvKTQWBzeavDCx76+OE3Z8wYYpsNModZLc6tOMkqOGOUUJCwErTY3jYMlEWItOPVTlFJnqHH3+jgJK297hCYXI5qh8/MLkYXMb28D08/wVwDQMEcrDPtdu+wHHohxPvgAAAA==�[0m[Pipeline] // timeout
�[8mha:////4Dr1Bd9XnpD7W4ukUv4MR2OdYWV2WSasrALHdGy56iWmAAAAph+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIiJCgQSkVrueEFJjHGiXUXbAen4kV8jT9gEYmKLVY728zrDcvgoWZvsNPUWwqNxcGNJi9M7Pur44QdX7BhCuw0Sp0kt/o0o+SoYU5RwkLASlPjOFgyEdaiUw9VOUWmOkefv6OA0rZ3eEIhsjkqH78wedjcxjYw/Tx/BTANQ4Ryv8u1PXwAGHnoAL4AAAA=�[0m[Pipeline] }
�[8mha:////4EQfO6o7JkCpkeoEdltFIcIqnCpHTJVKIJJ6lUtPuw+wAAAAph+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPMIRRSQkRJXWSsMLTHwYJ9adsR2SihfxNf6ARSQqtljtbDOvN6xjgBMHI3qkwVLsrPBuNHmJicNwdTyJni+iY4rsULQ4tayxWbDlhLCkKGElYYPUOY6WTIKt7NVDVU6Rqc4p5O8oobT6Dk8oZDYnFdIX5gC726gj08/zVwCz9wnKus61P3wAK5qzvL4AAAA=�[0m[Pipeline] // timestamps
�[8mha:////4DaXclT9PDXKywCC8y0Reoo4mYsWVA5/co48+DE0wAP9AAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIiCqBAqWgtN7zAJMY4se6C7eBUvIiv8QcsIlGxxWpnm3m9YRk81OwNdpp6S6GxOLjR5IWJfX91nLDjCzZMgZ1GqZPkVp9mlBw1zClKWAhYaWocB0smwlp06qEqp8hU5+jzdxRQ2vYOTyhENkfl4xcmD5vb2Aamn+evAKZhiFDu9rm2hw8U9ZiqvgAAAA==�[0m[Pipeline] }
�[8mha:////4ALKS6+DTHP6Eqwn+JII2eGqSiFRIxzjwlSpd+USSDQjAAAAqx+LCAAAAAAAAP9b85aBtbiIQSujNKU4P0+vIKc0PTOvWC8xrzgzOT8nv0gvMbkkEyjhCKb88ktSdwVsu2efuqidiYHRh4EDIu2ZUsIg5JOVWJaon5OYl64fXFKUmZduXVHEIAU1ODk/rzg/J1XPGUKDDGKAAEYmBoaKghIGlUSj1GQDw9QkXeMUS1Ndk0QDY12L5GRz3bTEtLRUi7QUE3PTJADJ+oeMrwAAAA==�[0m
�[8mha:////4OvVjBUfHjGh+usvQ124ua0x4itVhM/lWD3Qk7cNzI1jAAAApR+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIiCqBAqWgtN7zAJMY4se6C7eBUvIiv8QcsIlGxxWpnm3m9YRk81OwNdpp6S6GxOLjR5IWJfX91nLDjCzZMgZ1GqZPkVp9mlBw1zClKWAhYaWocB0smwlp06qEqp8hU5+jzdxRQ2vYOTyhENkfl4xcmD5vb2Aamn+evAKZhiFDuDrm2+w8nFsMWvgAAAA==�[0m[Pipeline] // ansiColor
�[8mha:////4KLU+6Z1ffGhQMfDsCrAppAB96nkob77cEvF/QNY2LT0AAAAph+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPMIRRSQkRJXWSsMLTHwYJ9adsR2SihfxNf6ARSQqtljtbDOvN6xjgBMHI3qkwVLsrPBuNHmJicNwdTyJni+iY4rsULQ4tayxWbDlhLCkKGElYYPUOY6WTIKt7NVDVU6Rqc4p5O8oobT6Dk8oZDYnFdIX5gC726gj08/zVwCz9wnK+pBrX38ASPWcfr4AAAA=�[0m[Pipeline] }
$ docker stop --time=1 46e75bdfbb72293002e2bd7c1e702577bd0f69c459d5ec525b5adb430dd2ca5e
$ docker rm -f 46e75bdfbb72293002e2bd7c1e702577bd0f69c459d5ec525b5adb430dd2ca5e
�[8mha:////4AIFJhuGUX/Uty8x99a5AywAvS9PE7zs7wekaYpXupFnAAAAph+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPOIiJCgQSkVrueEFJjHGiXUXbAen4kV8jT9gEYmKLVY728zrDcvgoWZvsNPUWwqNxcGNJi9M7Pur44QdX7BhCuw0Sp0kt/o0o+SoYU5RwkLASlPjOFgyEdaiUw9VOUWmOkefv6OA0rZ3eEIhsjkqH78wedjcxjYw/Tx/BTANQ4Ryf8i13X0AexbHwr4AAAA=�[0m[Pipeline] // withDockerContainer
�[8mha:////4Pi9XiC/IW6ldszwhEFPEofb43Ju6A5sNVsYOyfhy4LKAAAApB+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPMIhDQ2iSmul4QUmPowT687YDknFi/gaf8AiEhVbrHa2mdcb1jHAiYMRPdJgKXZWeDeavMTEYbg6nkTPF9ExRXYoWpxa1tgs2HJCWFKUsJKwQeocR0smwVb26qEqp8hU5xTyd5RQWn2HJxQym5MK6QtzgN1t1JHp5/krgNn7BOVhn6uuP6GpSqS+AAAA�[0m[Pipeline] }
�[8mha:////4JnjGFeippPettZx1BoF2QESywYuXDPhgPvND/+094JdAAAApB+LCAAAAAAAAP9tjTEOwjAQBC9BFLSUPMIhDQ2iSmul4QUmPowT687YDknFi/gaf8AiEhVbrHa2mdcb1jHAiYMRPdJgKXZWeDeavMTEYbg6nkTPF9ExRXYoWpxa1tgs2HJCWFKUsJKwQeocR0smwVb26qEqp8hU5xTyd5RQWn2HJxQym5MK6QtzgN1t1JHp5/krgNn7BOWhzlXvP5JKERi+AAAA�[0m[Pipeline] // withEnv
�[8mha:////4H6iMnIYjumu76MMuA9fPoCq/vMVTYeeBr/m1bYoU32PAAAApB+LCAAAAAAAAP9tjTEOwjAQBDdBFLSUPMKREKJBVLRWGl5gEmOcWHfBvpBUvIiv8QciIlGx1c4083pjmSKOHJ1qLLWeUuVVF3o3PTVwbK+BB9XwRVVMiYNVpR1Kru1pxpLFYl6WY6GxslQFTp6cYK0b8zBFMOSKs8TJHTRyX9/xRKanspgoXxgjNre+Tky/zt8Axq4T5PutINt9AF1IgLW9AAAA�[0m[Pipeline] }
�[8mha:////4OI4KkmzI8k/JgzG2qbaQXde9QSao2WpKFAcpcxTCG5sAAAAox+LCAAAAAAAAP9tjbEOgjAURS8YB1dHP6IMJC7GybVh8Qsq1Fpo3sP2IUx+kb/mP0gkcfJO95zlvN5Yp4gjR6daS52nVHvVh8HNT40cu2vgUbV8UTVT4mBVZceKG3tasGKxWJblWGlsLNWBkycn2OrWPEwRDLniLHF2B43cN3c8kem5LCbKF6aI3W1oEtOv8zeAqe8F+b4UZOUHTvSEFr0AAAA=�[0m[Pipeline] // node
�[8mha:////4PNM6dqYnbJycYQsgBeaYSGVlaYAXkcEjqCxpB59pS4vAAAApB+LCAAAAAAAAP9tjTEOwjAQBDdBFLSUPMKREKJBVLRWGl5gEmOcWHfBvpBUvIiv8QciIlGx1c4083pjmSKOHJ1qLLWeUuVVF3o3PTVwbK+BB9XwRVVMiYNVpR1Kru1pxpLFYl6WY6GxslQFTp6cYK0b8zBFMOSKs8TJHTRyX9/xRKanspgoXxgjNre+Tky/zt8Axq4T5PudINt+AMgYo9O9AAAA�[0m[Pipeline] End of Pipeline
Finished: ABORTED
    
  

@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/2285/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : cowbird-jupyter-e2e-test
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/cowbird-jupyter-e2e-test/43/

NOTEBOOK TEST RESULTS
    
[2023-11-21T17:07:36.610Z] ============================= test session starts ==============================
[2023-11-21T17:07:36.610Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-11-21T17:07:36.610Z] rootdir: /home/jenkins/agent/workspace/w-tests_cowbird-jupyter-e2e-test
[2023-11-21T17:07:36.610Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-11-21T17:07:36.610Z] collected 265 items
[2023-11-21T17:07:36.610Z] 
[2023-11-21T17:07:47.950Z] notebooks-auth/geoserver.ipynb ..................                        [  6%]
[2023-11-21T17:08:21.901Z] notebooks-auth/test_cowbird_jupyter.ipynb ........F.                     [ 10%]
[2023-11-21T17:08:26.772Z] notebooks-auth/test_thredds.ipynb ...........                            [ 14%]
[2023-11-21T17:08:34.988Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [ 17%]
[2023-11-21T17:08:45.079Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 19%]
[2023-11-21T17:08:50.818Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 22%]
[2023-11-21T17:16:32.504Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 27%]
[2023-11-21T17:16:32.504Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 27%]
[2023-11-21T17:16:33.603Z] ...............                                                          [ 33%]
[2023-11-21T17:16:42.789Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 35%]
[2023-11-21T17:16:49.599Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 37%]
[2023-11-21T17:17:06.680Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 39%]
[2023-11-21T17:17:08.064Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 40%]
[2023-11-21T17:17:12.819Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 42%]
[2023-11-21T17:17:17.520Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 44%]
[2023-11-21T17:20:14.725Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 50%]
[2023-11-21T17:21:33.460Z] .............                                                            [ 55%]
[2023-11-21T17:21:36.205Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 56%]
[2023-11-21T17:21:39.439Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb EEEEEEEE [ 59%]
[2023-11-21T17:21:47.953Z] EEEEEEEEEEEEEEEEE                                                        [ 66%]
[2023-11-21T17:21:56.235Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 68%]
[2023-11-21T17:21:57.617Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 68%]
[2023-11-21T17:23:11.220Z] ......FFF                                                                [ 72%]
[2023-11-21T17:23:12.052Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 76%]
[2023-11-21T17:23:21.405Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 78%]
[2023-11-21T17:23:22.787Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 78%]
[2023-11-21T17:23:26.110Z] ......                                                                   [ 81%]
[2023-11-21T17:23:32.689Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 81%]
[2023-11-21T17:23:48.479Z] .............                                                            [ 86%]
[2023-11-21T17:23:58.461Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 86%]
[2023-11-21T17:24:35.026Z] ....s.                                                                   [ 89%]
[2023-11-21T17:24:41.602Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 89%]
[2023-11-21T17:24:57.156Z] ...                                                                      [ 90%]
[2023-11-21T17:25:12.064Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-11-21T17:25:35.445Z] ......                                                                   [ 93%]
[2023-11-21T17:25:36.805Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-11-21T17:28:11.215Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-11-21T17:28:11.215Z] 
[2023-11-21T17:28:11.215Z] ==================================== 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/2288/
Result : success

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : cowbird-jupyter-e2e-test
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/cowbird-jupyter-e2e-test/44/

NOTEBOOK TEST RESULTS
    
[2023-11-21T18:51:06.148Z] ============================= test session starts ==============================
[2023-11-21T18:51:06.148Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-11-21T18:51:06.148Z] rootdir: /home/jenkins/agent/workspace/w-tests_cowbird-jupyter-e2e-test
[2023-11-21T18:51:06.148Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-11-21T18:51:06.148Z] collected 265 items
[2023-11-21T18:51:06.148Z] 
[2023-11-21T18:51:16.219Z] notebooks-auth/geoserver.ipynb ..................                        [  6%]
[2023-11-21T18:51:41.450Z] notebooks-auth/test_cowbird_jupyter.ipynb ..........                     [ 10%]
[2023-11-21T18:51:48.964Z] notebooks-auth/test_thredds.ipynb ...........                            [ 14%]
[2023-11-21T18:51:57.169Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [ 17%]
[2023-11-21T18:52:05.845Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 19%]
[2023-11-21T18:52:15.448Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 22%]
[2023-11-21T18:59:48.373Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 27%]
[2023-11-21T18:59:48.373Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 27%]
[2023-11-21T18:59:55.706Z] ...............                                                          [ 33%]
[2023-11-21T19:00:05.443Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 35%]
[2023-11-21T19:00:12.746Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 37%]
[2023-11-21T19:00:30.588Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 39%]
[2023-11-21T19:00:31.970Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 40%]
[2023-11-21T19:00:37.235Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 42%]
[2023-11-21T19:00:41.730Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 44%]
[2023-11-21T19:03:53.374Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 50%]
[2023-11-21T19:05:01.361Z] .............                                                            [ 55%]
[2023-11-21T19:05:05.544Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 56%]
[2023-11-21T19:05:07.507Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 59%]
[2023-11-21T19:05:25.653Z] .................                                                        [ 66%]
[2023-11-21T19:05:32.595Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 68%]
[2023-11-21T19:05:33.980Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 68%]
[2023-11-21T19:05:51.264Z] .........                                                                [ 72%]
[2023-11-21T19:06:00.075Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 76%]
[2023-11-21T19:06:08.928Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 78%]
[2023-11-21T19:06:10.881Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 78%]
[2023-11-21T19:06:13.699Z] ......                                                                   [ 81%]
[2023-11-21T19:06:20.286Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 81%]
[2023-11-21T19:06:34.996Z] .............                                                            [ 86%]
[2023-11-21T19:06:44.988Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 86%]
[2023-11-21T19:07:19.690Z] ....s.                                                                   [ 89%]
[2023-11-21T19:07:27.821Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 89%]
[2023-11-21T19:07:40.426Z] ...                                                                      [ 90%]
[2023-11-21T19:07:55.315Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-11-21T19:08:17.290Z] ......                                                                   [ 93%]
[2023-11-21T19:08:19.574Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-11-21T19:10:53.968Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-11-21T19:10:53.968Z] 
[2023-11-21T19:10:53.968Z] ================= 264 passed, 1 skipped in 1182.09s (0:19:42) ==================
    
  

@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/2289/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : cowbird-jupyter-e2e-test
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://

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

@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/2290/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : cowbird-jupyter-e2e-test
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/cowbird-jupyter-e2e-test/46/

NOTEBOOK TEST RESULTS
    
[2023-11-21T20:05:09.026Z] ============================= test session starts ==============================
[2023-11-21T20:05:09.026Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-11-21T20:05:09.026Z] rootdir: /home/jenkins/agent/workspace/w-tests_cowbird-jupyter-e2e-test
[2023-11-21T20:05:09.026Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-11-21T20:05:09.026Z] collected 265 items
[2023-11-21T20:05:09.026Z] 
[2023-11-21T20:05:21.245Z] notebooks-auth/geoserver.ipynb ..................                        [  6%]
[2023-11-21T20:06:01.555Z] notebooks-auth/test_cowbird_jupyter.ipynb ..........                     [ 10%]
[2023-11-21T20:06:06.243Z] notebooks-auth/test_thredds.ipynb ...........                            [ 14%]
[2023-11-21T20:06:14.464Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [ 17%]
[2023-11-21T20:06:24.538Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 19%]
[2023-11-21T20:06:33.093Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 22%]
[2023-11-21T20:15:59.491Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 27%]
[2023-11-21T20:15:59.491Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 27%]
[2023-11-21T20:16:04.235Z] ...............                                                          [ 33%]
[2023-11-21T20:16:13.984Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 35%]
[2023-11-21T20:16:21.400Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 37%]
[2023-11-21T20:16:38.910Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 39%]
[2023-11-21T20:16:40.296Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 40%]
[2023-11-21T20:16:45.665Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 42%]
[2023-11-21T20:16:50.533Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 44%]
[2023-11-21T20:21:05.133Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 50%]
[2023-11-21T20:22:39.878Z] .............                                                            [ 55%]
[2023-11-21T20:22:44.870Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 56%]
[2023-11-21T20:22:47.458Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 59%]
[2023-11-21T20:23:04.997Z] .................                                                        [ 66%]
[2023-11-21T20:23:13.635Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 68%]
[2023-11-21T20:23:15.029Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 68%]
[2023-11-21T20:23:16.376Z] .FFFFFFFF                                                                [ 72%]
[2023-11-21T20:23:27.145Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 76%]
[2023-11-21T20:23:37.228Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 78%]
[2023-11-21T20:23:38.608Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 78%]
[2023-11-21T20:23:42.166Z] ......                                                                   [ 81%]
[2023-11-21T20:23:52.169Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 81%]
[2023-11-21T20:24:08.648Z] .............                                                            [ 86%]
[2023-11-21T20:24:18.635Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 86%]
[2023-11-21T20:24:56.017Z] ....s.                                                                   [ 89%]
[2023-11-21T20:25:04.146Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 89%]
[2023-11-21T20:25:19.673Z] ...                                                                      [ 90%]
[2023-11-21T20:25:31.886Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-11-21T20:25:54.965Z] ......                                                                   [ 93%]
[2023-11-21T20:25:57.696Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-11-21T20:28:37.380Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-11-21T20:28:37.380Z] 
[2023-11-21T20:28:37.380Z] =================================== FAILURES ===================================
    
  

@ChaamC
Copy link
Collaborator Author

ChaamC commented Nov 21, 2023

@tlvu @fmigneault
Ready for a new review. See comment on the other PR.

@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/2293/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : cowbird-jupyter-e2e-test
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/cowbird-jupyter-e2e-test/47/

NOTEBOOK TEST RESULTS
    
[2023-11-21T21:24:21.027Z] ============================= test session starts ==============================
[2023-11-21T21:24:21.027Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-11-21T21:24:21.027Z] rootdir: /home/jenkins/agent/workspace/w-tests_cowbird-jupyter-e2e-test
[2023-11-21T21:24:21.027Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-11-21T21:24:21.027Z] collected 265 items
[2023-11-21T21:24:21.027Z] 
[2023-11-21T21:24:33.501Z] notebooks-auth/geoserver.ipynb ..................                        [  6%]
[2023-11-21T21:25:08.198Z] notebooks-auth/test_cowbird_jupyter.ipynb ..........                     [ 10%]
[2023-11-21T21:25:12.687Z] notebooks-auth/test_thredds.ipynb ...........                            [ 14%]
[2023-11-21T21:25:22.271Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [ 17%]
[2023-11-21T21:25:31.970Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 19%]
[2023-11-21T21:25:41.031Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 22%]
[2023-11-21T21:37:01.249Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 27%]
[2023-11-21T21:37:01.249Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 27%]
[2023-11-21T21:37:10.352Z] ...............                                                          [ 33%]
[2023-11-21T21:37:23.213Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 35%]
[2023-11-21T21:37:34.289Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 37%]
[2023-11-21T21:37:55.193Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 39%]
[2023-11-21T21:37:56.836Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 40%]
[2023-11-21T21:38:06.744Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 42%]
[2023-11-21T21:38:11.249Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 44%]
[2023-11-21T21:42:26.599Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 50%]
[2023-11-21T21:43:46.530Z] .............                                                            [ 55%]
[2023-11-21T21:43:49.643Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 56%]
[2023-11-21T21:43:52.234Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 59%]
[2023-11-21T21:44:10.760Z] .................                                                        [ 66%]
[2023-11-21T21:44:18.640Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 68%]
[2023-11-21T21:44:20.018Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 68%]
[2023-11-21T21:44:21.369Z] .FFFFFFFF                                                                [ 72%]
[2023-11-21T21:44:32.236Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 76%]
[2023-11-21T21:44:41.576Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 78%]
[2023-11-21T21:44:42.978Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 78%]
[2023-11-21T21:44:46.288Z] ......                                                                   [ 81%]
[2023-11-21T21:44:54.417Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 81%]
[2023-11-21T21:45:10.631Z] .............                                                            [ 86%]
[2023-11-21T21:45:20.612Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 86%]
[2023-11-21T21:46:01.458Z] ....s.                                                                   [ 89%]
[2023-11-21T21:46:11.454Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 89%]
[2023-11-21T21:46:26.247Z] ...                                                                      [ 90%]
[2023-11-21T21:46:41.132Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-11-21T21:47:04.008Z] ......                                                                   [ 93%]
[2023-11-21T21:47:05.380Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-11-21T21:49:45.490Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-11-21T21:49:45.490Z] 
[2023-11-21T21:49:45.490Z] =================================== FAILURES ===================================
    
  

Copy link
Collaborator

@fmigneault fmigneault left a comment

Choose a reason for hiding this comment

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

Looks good to me. Just check the answer from the previous review.

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.

Since the boostrap entrypoint is called, see

http://daccs-jenkins.crim.ca/job/DACCS-iac-birdhouse/2255/console
[RESULT] bootstrap-instance-for-testsuite script finished. Exiting.

Please make it a new step in that entrypoint (a new script called by that entrypoint) instead of a new service just for a run-once and forget step.

@fmigneault
Copy link
Collaborator

@tlvu

the boostrap entrypoint is called

My bad. Seems I was wrong.

However, since the optional component doesn't only create permissions and test files, but also defines specific DockerSpawner configuration overrides needed to test the feature, I think a component would be required no matter what to integrate with other default.env logic before the server is started. It would be more confusing to have part of the definitions under a bootstrap script and the rest under the component. IMO it is better to keep them together and togglable by a single EXTRA_CONF_DIRS entry than split their logic between the bootstrap script and the component.

@ChaamC
Copy link
Collaborator Author

ChaamC commented Nov 22, 2023

@tlvu If I can time my other PR for the readme with this one, would it be alright to merge one of them on master first, and only apply the bump version on the 2nd one before merging, to have them under the same version number? Or do you prefer 2 distinct versions?

@tlvu
Copy link
Collaborator

tlvu commented Nov 22, 2023

Same version is fine.

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.

I am actually still not convinced you need a new component for this, especially when the script is of bootstrap style (fire one and forget, not continuously listening to connection as a real service should).

services:
jupyterhub:
environment:
TEST_COWBIRD_JUPYTERHUB_USERNAME: ${TEST_COWBIRD_JUPYTERHUB_USERNAME}
Copy link
Collaborator

Choose a reason for hiding this comment

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

So this is the only change to other service (jupyterhub) than add the new service (test-cowbird-jupyter-access) just to be able to run the script once.

The jupyterhub service modification is not even necessary for Jenkins since Jenkins do not run on the PAVICS platform.

So I do not see why this bootstrap script can not be called by the bootstrap entrypoint instead of being in a new component that is not really a service.

Now I am a bit lost as to why Jenkins works properly since none of all the extra changes to jupyterhub component is ever taken by Jenkins. Aka, all the extra configs in JUPYTERHUB_CONFIG_OVERRIDE is not seen at all by Jenkins.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Jenkins do not run on the PAVICS platform.

Just to clarify on this point, Jenkins do test against the PAVICS platform, but the Jupyter env runtime environment that the test notebooks runs on Jenkins is not spawned by the JupyterHub component, so any changes to the JupyterHub component is not seen/tested by Jenkins.

So if the test notebook works under Jenkins, it means the changes to the JupyterHub component might not be required. Maybe the new bootstrap script is all that is required, no need for JupyterHub config extra config changes.

Please either review the notebook or the necessity of JupyterHub extra configs.

Copy link
Collaborator Author

@ChaamC ChaamC Nov 23, 2023

Choose a reason for hiding this comment

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

The way my test notebooks work is this :

  • The main notebook that is executed first is indeed not spawned by the JupyterHub component, but it does use the JupyterHub component. I highlighted the cells that use JuptyerHub here. It checks first that the test user exists on JupyterHub, gets its token, and then uses the jhub-client package to spawn a new JupyterLab with the usual DockerSpawner. So, the JupyterHub is indeed tested here.

  • The second notebook is the notebook that is tested against the PAVICS platform, on the JupyterHub environment.

So, the changes to the JupyterHub component are used to add role permissions to be able to do the operations on the main notebook (creating a user, getting a user token), and the environment variables added to the DockerSpawner environment are used by the second notebook's test.

Copy link
Collaborator

@tlvu tlvu Nov 27, 2023

Choose a reason for hiding this comment

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

@ChaamC Oh sorry I didn't have time to take a look at those notebooks. Did not realized the 1st notebook spawn the 2nd notebook so those new JupyterHub config are actually needed and exercised.

I guess we can keep this component that is not really a service right now to make things simple for you.

I guess, technically, we can have the default.env and the docker-compose-extra.yml with only the new added TEST_COWBIRD_JUPYTERHUB_USERNAME env var to the jupyterhub container. All the part about the new test-cowbird-jupyter-access new container can be a new boostrap script that is called only once.

Keeping this component that is not really a service, each time we restart the stack, that script that is meant to run once, will re-run again, any problem with that?

I understand this component will not be enabled on production so I don't care if ./pavics-compose.sh ps will probably report this test-cowbird-jupyter-access new container "Down" because it is not really service.

However, this component will more than likely be enabled permanently on our various test systems, just want to make sure it does not interfere negatively with other components or producing error when running more than once?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@tlvu
Sadly, @ChaamC as already spent ~2x the amount of time originally planned for this month to complete this test validation, given how complex it can get with the double nesting of notebook executions, Jupyter API/kernel interactions, combined with Magpie/Cowbird permissions. Given the month is nearing the end, he will not have further time to refactor this.

Since there are little to no validation tests of the Jupyter/Cowbird interactions at the moment, I would like to suggest moving forward with this first implementation, and consider refactors if really judged necessary at a later point. IMO, given that part of the configuration must be done before the stack is started (Jupyter config/token), and other after (test user/permission setup), I believe that splitting them up into bootstrap/optional-component will only make this validation even more complicated than it already is. It will be much easier for someone to work on this feature if all configurations and scripts are combined under the same optional-component and executed roughly at the same time on startup.

I would like also to point out that restarting the stack should not restart that service each time if it is set to restart: "no". It will also not report that it is down, but that it did a successful "Exit 0". The only thing that @ChaamC could do as final check is that conflict conditions that could make the script fail are handled gracefully in case the service is forcefully restarted.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@fmigneault @ChaamC I wasn't against leaving it as-is. I realized it's a bit late to change the design. I was just inquiring if any side-effects have been anticipated (ex: would re-run cause errors on force restart, anything else ...)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

So, if the test-cowbird-jupyter-access container from the optional-component is restarted, its script will get reexecuted, but the first thing the script does, apart from some variable assignations and some checks, is to try to create the test user on Magpie. If the user already exists, it raises an error and stops. Considering this, I don't think there should be any side effect if the stack is restarted, as it won't do anything if the test user already exists.

The effects brought by the script are :

  • the creation of a test user Magpie
  • creating some files in the test user's own workspace
  • creating public and user-specific WPS outputs files in /data/wps_outputs

@tlvu
Copy link
Collaborator

tlvu commented Nov 22, 2023

Adding @mishaschwartz to this review as he might be more aware of Cowbird than me. He might suggest other ways to make this work.

@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/2298/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://

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

@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/2299/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : cowbird-jupyter-e2e-test
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/cowbird-jupyter-e2e-test/49/

NOTEBOOK TEST RESULTS
    
[2023-11-23T13:17:35.215Z] ============================= test session starts ==============================
[2023-11-23T13:17:35.215Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-11-23T13:17:35.215Z] rootdir: /home/jenkins/agent/workspace/w-tests_cowbird-jupyter-e2e-test
[2023-11-23T13:17:35.216Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-11-23T13:17:35.216Z] collected 265 items
[2023-11-23T13:17:35.216Z] 
[2023-11-23T13:17:46.083Z] notebooks-auth/geoserver.ipynb ..................                        [  6%]
[2023-11-23T13:18:20.781Z] notebooks-auth/test_cowbird_jupyter.ipynb ..........                     [ 10%]
[2023-11-23T13:18:25.912Z] notebooks-auth/test_thredds.ipynb ...........                            [ 14%]
[2023-11-23T13:18:34.126Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [ 17%]
[2023-11-23T13:18:43.836Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 19%]
[2023-11-23T13:18:52.102Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 22%]
[2023-11-23T13:26:17.184Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 27%]
[2023-11-23T13:26:17.184Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 27%]
[2023-11-23T13:26:25.326Z] ...............                                                          [ 33%]
[2023-11-23T13:26:35.033Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 35%]
[2023-11-23T13:26:41.796Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 37%]
[2023-11-23T13:26:57.559Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 39%]
[2023-11-23T13:26:58.956Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 40%]
[2023-11-23T13:27:04.039Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 42%]
[2023-11-23T13:27:09.108Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 44%]
[2023-11-23T13:31:34.373Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 50%]
[2023-11-23T13:32:35.865Z] .............                                                            [ 55%]
[2023-11-23T13:32:40.047Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 56%]
[2023-11-23T13:32:42.625Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 59%]
[2023-11-23T13:33:00.879Z] .................                                                        [ 66%]
[2023-11-23T13:33:09.553Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 68%]
[2023-11-23T13:33:10.942Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 68%]
[2023-11-23T13:33:12.558Z] .FFFFFFFF                                                                [ 72%]
[2023-11-23T13:33:23.427Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 76%]
[2023-11-23T13:33:33.458Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 78%]
[2023-11-23T13:33:35.369Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 78%]
[2023-11-23T13:33:38.439Z] ......                                                                   [ 81%]
[2023-11-23T13:33:45.018Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 81%]
[2023-11-23T13:34:00.002Z] .............                                                            [ 86%]
[2023-11-23T13:34:09.999Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 86%]
[2023-11-23T13:34:43.886Z] ....s.                                                                   [ 89%]
[2023-11-23T13:34:52.015Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 89%]
[2023-11-23T13:35:07.543Z] ...                                                                      [ 90%]
[2023-11-23T13:35:22.447Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2023-11-23T13:35:45.817Z] ......                                                                   [ 93%]
[2023-11-23T13:35:48.476Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-11-23T13:38:28.077Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-11-23T13:38:28.077Z] 
[2023-11-23T13:38:28.077Z] =================================== FAILURES ===================================
    
  

ChaamC pushed a commit to Ouranosinc/PAVICS-e2e-workflow-tests that referenced this pull request Nov 30, 2023
# Overview

Adds a new test to check the user's workspace in a JupyterLab
environment that also uses Cowbird. It checks if the different expected
folders are set up properly and if the user has the right permissions on
the different test files. The test preparation is done with a script run
by a new optional-component `test-cowbird-jupyter-access` found on
birdhouse.

Note that test is split in 2 notebooks :
- `notebooks-auth/test_cowbird_jupyter.ipynb` : this notebook is the one
executed on the container started by Jenkins. His responsability is to
start a JupyterLab instance using the JupyterHub API. This instance will
then run the actual tests.
- `notebooks-auth/resources/user_test_cowbird_jupyter.ipynb` : this
notebook is the one executed on the JupyterLab container and which
contains the actual tests.

## Related Issue / Discussion

- birdhouse PR
[#404](bird-house/birdhouse-deploy#404)
@ChaamC ChaamC merged commit 7456af1 into master Nov 30, 2023
4 of 5 checks passed
@ChaamC ChaamC deleted the cowbird-jupyter-e2e-test branch November 30, 2023 19:21
@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/2327/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : cowbird-jupyter-e2e-test
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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/tests Issues or changes related to tests scripts component/cowbird Related to https://github.com/Ouranosinc/cowbird 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.

5 participants