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

skip netcdf4-python tests that require network connectivity #2634

Merged

Conversation

boegel
Copy link
Member

@boegel boegel commented Dec 12, 2021

(created using eb --new-pr)

fix for failing test due to problem with server used in test:

ERROR: runTest (tst_dap.DapTestCase)
testing access of data over http using opendap
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/vsc40023/easybuild_build/netcdf4python/1.5.5.1/intel-2020b/netcdf4python/netCDF4-1.5.5.1/test/tst_dap.py", line 23, in runTest
    ncfile = netCDF4.Dataset(URL)
  File "netCDF4/_netCDF4.pyx", line 2357, in netCDF4._netCDF4.Dataset.__init__
  File "netCDF4/_netCDF4.pyx", line 1925, in netCDF4._netCDF4._ensure_nc_success
OSError: [Errno -70] NetCDF: DAP server error: b'http://remotetest.unidata.ucar.edu/thredds/dodsC/testdods/testData.nc'

@boegel boegel added the bug fix label Dec 12, 2021
@boegel boegel added this to the 4.5.1 milestone Dec 12, 2021
@boegel
Copy link
Member Author

boegel commented Dec 12, 2021

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS netcdf4-python-1.5.3-foss-2020a-Python-3.8.2.eb
  • SUCCESS netcdf4-python-1.5.3-intel-2020a-Python-3.8.2.eb
  • SUCCESS netcdf4-python-1.5.5.1-foss-2020b.eb
  • SUCCESS netcdf4-python-1.5.5.1-intel-2020b.eb
  • SUCCESS netcdf4-python-1.5.7-foss-2021a.eb

Build succeeded for 5 out of 5 (5 easyconfigs in total)
node3126.skitty.os - Linux centos linux 7.9.2009, x86_64, Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz (skylake_avx512), Python 3.6.8
See https://gist.github.com/f201f636273bfe8f73089680cce85fe2 for a full test report.

Copy link
Member

@verdurin verdurin left a comment

Choose a reason for hiding this comment

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

Looks fine.

@verdurin
Copy link
Member

Going in, thanks @boegel!

@verdurin verdurin merged commit 5a9634e into easybuilders:develop Dec 12, 2021
@boegel boegel deleted the 20211212111732_new_pr_netcdf4_python branch December 12, 2021 12:20
boegel added a commit to migueldiascosta/easybuild-easyblocks that referenced this pull request Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants