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
update nb for wpsoutputs path change to bird name #273
Conversation
See PR bird-house/birdhouse-deploy#203 Makefile updated for future refresh as well. Jenkins failure due to wpsoutputs path change: ``` _________ finch-master/docs/source/notebooks/finch-usage.ipynb::Cell 3 _________ Notebook cell execution failed Cell 3: Cell outputs differ Input: print("Process status: ", resp.status) urls = resp.get() print("Link to process output: ", urls.output) Traceback: mismatch 'stdout' assert reference_output == test_output failed: 'Process stat...20650101.nc\n' == 'Process stat...20650101.nc\n' Skipping 77 identical leading characters in diff, use -v to show - psoutputs/finch/STATUS_FILE/frost_days_sres_a2_experiment_20460101_20650101.nc ? ------ + psoutputs/STATUS_FILE/frost_days_sres_a2_experiment_20460101_20650101.nc ```
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Before this fix, finch, raven, flyingpigeon were dumping their output directly under `https://PAVICS_HOST/wpsoutputs/`. With this fix, it will be under each bird name, ex: `https://PAVICS_HOST/wpsoutputs/finch/` which is cleaner and follows what malleefowl and hummingbird already does. Fixes #11. Fixes https://crim-ca.atlassian.net/browse/DAC-398 Requires PR Ouranosinc/pavics-sdi#280, bird-house/finch#273, Ouranosinc/raven#459 If `optional-components/secure-data-proxy` is enabled, might need some additional permissions for each bird in https://github.com/bird-house/birdhouse-deploy/blob/master/birdhouse/optional-components/secure-data-proxy/config/magpie/config.yml.template.
Haha, I'm not sure how this went, but why was it merged with failing CI tests? |
Sorry, totally my bad. I did not think my change would break the CI so I thought it was existing problems. So the wps path was my fault but this one was existing:
|
Remove WPS name from output url for notebook testing This replaces bird-house/finch#273 as a solution for the change in output paths in wps outputs. The previous solution was breaking finch's CI. pyWPS wants "outputpath" and "outputurl" to match. This means that if "outputurl" has two levels, "outputpath" must have the same second level. But, when developing and testing (both locally and on the CI) "outputpath" is not explicitly set, thus is the default, thus does not match "outputurl"'s second level. The previous solution was patching the notebooks directly when generating them, but nothing of the sort was done in the test suite, which then failed. The proper way to fix this in the testing is this sanitizing file, thus I am suggesting to take care of the path issue here directly, and _only_ here. The related rollback in finch will be done in bird-house/finch#272.
See PR bird-house/birdhouse-deploy#203
Makefile
updated for future refresh as well.Jenkins failure due to wpsoutputs path change: