#116897 Report by node kiste covering 202 tests from 62 modules resulted into 11 errors
Report
- ObsPy version
- 1.2.2.post0+527.g2abd2c408e
- GitHub Pull Request
- -
- Report file
- JSON document
- Total runtime
- 369.5 sec
- Report date/time
- Jan. 14, 2022, 1:37 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- kiste
- Processor
- x86_64
- Python Compiler
- GCC 9.3.0
- Python Implementation
- CPython
- Python Version
- 3.8.6
- Release
- 4.15.0-166-generic
- System
- Linux
- Version
- #174-Ubuntu SMP Wed Dec 8 19:07:44 UTC 2021
Dependencies
- cartopy
- 0.19.0.post1
- decorator
- 4.4.2
- flake8
- 3.8.4
- geographiclib
- 1.50
- lxml
- 4.6.2
- matplotlib
- 3.4.2
- numpy
- 1.19.5
- obspy
- 1.2.2.post0+527.g2abd2c408e
- pyproj
- 3.1.0
- requests
- 2.25.1
- scipy
- 1.5.3
- setuptools
- 49.6.0.post20210108
- shapefile
- ---
- sqlalchemy
- 1.3.22
Modules (62)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients | Not tested | - | - | - | - | - |
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | - | 9 | 9 | - | 12.57s | - |
obspy.clients.fdsn | 4 | 135 | 133 | 2 | 109.32s | 1 2 3 4 |
obspy.clients.filesystem | Not tested | - | - | - | - | - |
obspy.clients.iris | 6 | 15 | 15 | - | 20.42s | 5 6 7 8 9 10 |
obspy.clients.neic | - | 5 | 5 | - | 7.80s | - |
obspy.clients.nrl | - | 7 | 7 | - | 4.76s | - |
obspy.clients.seedlink | 1 | 13 | 10 | 3 | 164.80s | 11 |
obspy.clients.seishub | Not tested | - | - | - | - | - |
obspy.clients.syngine | - | 18 | 18 | - | 29.83s | - |
obspy.core | Not tested | - | - | - | - | - |
obspy.core.event | Not tested | - | - | - | - | - |
obspy.core.inventory | Not tested | - | - | - | - | - |
obspy.core.util | Not tested | - | - | - | - | - |
obspy.db | Not tested | - | - | - | - | - |
obspy.geodetics | Not tested | - | - | - | - | - |
obspy.imaging | Not tested | - | - | - | - | - |
obspy.io.ah | Not tested | - | - | - | - | - |
obspy.io.arclink | Not tested | - | - | - | - | - |
obspy.io.ascii | Not tested | - | - | - | - | - |
obspy.io.cmtsolution | Not tested | - | - | - | - | - |
obspy.io.cnv | Not tested | - | - | - | - | - |
obspy.io.css | Not tested | - | - | - | - | - |
obspy.io.dmx | Not tested | - | - | - | - | - |
obspy.io.focmec | Not tested | - | - | - | - | - |
obspy.io.gcf | Not tested | - | - | - | - | - |
obspy.io.gse2 | Not tested | - | - | - | - | - |
obspy.io.hypodd | Not tested | - | - | - | - | - |
obspy.io.iaspei | Not tested | - | - | - | - | - |
obspy.io.json | Not tested | - | - | - | - | - |
obspy.io.kinemetrics | Not tested | - | - | - | - | - |
obspy.io.kml | Not tested | - | - | - | - | - |
obspy.io.mseed | Not tested | - | - | - | - | - |
obspy.io.ndk | Not tested | - | - | - | - | - |
obspy.io.nied | Not tested | - | - | - | - | - |
obspy.io.nlloc | Not tested | - | - | - | - | - |
obspy.io.nordic | Not tested | - | - | - | - | - |
obspy.io.pdas | Not tested | - | - | - | - | - |
obspy.io.pde | Not tested | - | - | - | - | - |
obspy.io.quakeml | Not tested | - | - | - | - | - |
obspy.io.reftek | Not tested | - | - | - | - | - |
obspy.io.rg16 | Not tested | - | - | - | - | - |
obspy.io.sac | Not tested | - | - | - | - | - |
obspy.io.scardec | Not tested | - | - | - | - | - |
obspy.io.seg2 | Not tested | - | - | - | - | - |
obspy.io.segy | Not tested | - | - | - | - | - |
obspy.io.seisan | Not tested | - | - | - | - | - |
obspy.io.seiscomp | Not tested | - | - | - | - | - |
obspy.io.sh | Not tested | - | - | - | - | - |
obspy.io.shapefile | Not tested | - | - | - | - | - |
obspy.io.stationtxt | Not tested | - | - | - | - | - |
obspy.io.stationxml | Not tested | - | - | - | - | - |
obspy.io.wav | Not tested | - | - | - | - | - |
obspy.io.win | Not tested | - | - | - | - | - |
obspy.io.xseed | Not tested | - | - | - | - | - |
obspy.io.y | Not tested | - | - | - | - | - |
obspy.io.zmap | Not tested | - | - | - | - | - |
obspy.realtime | Not tested | - | - | - | - | - |
obspy.scripts | Not tested | - | - | - | - | - |
obspy.signal | Not tested | - | - | - | - | - |
obspy.taup | Not tested | - | - | - | - | - |
Summary | 11 | 202 | 197 | 5 | 369.46s | 11 |
Tracebacks (11)
026 027 A client object can be initialized either with the base URL of any FDSN web 028 service or with a shortcut name which will be mapped to a FDSN URL. All the 029 example make use of the FDSN web service at IRIS. For a list of other 030 available web service providers, see the 031 :meth:`~obspy.clients.fdsn.client.Client.__init__()` method. The currently 032 available providers are: 033 034 >>> from obspy.clients.fdsn.header import URL_MAPPINGS 035 >>> for key in sorted(URL_MAPPINGS.keys()): Differences (unified diff with -expected +actual): @@ -22,5 +22,6 @@ ORFEUS http://www.orfeus-eu.org RASPISHAKE https://fdsnws.raspberryshakedata.com -RESIF https://ws.resif.fr +RESIF http://ws.resif.fr +RESIFPH5 http://ph5ws.resif.fr SCEDC http://service.scedc.caltech.edu TEXNET http://rtserve.beg.utexas.edu /home/eule/dev/obspy/obspy/clients/fdsn/__init__.py:35: DocTestFailure
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/clients/fdsn/tests/test_eidaws_routing_client.py", line 326, in test_get_waveforms_integration_test self.assertGreaterEqual(len(st), 1) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 1316, in assertGreaterEqual self.fail(self._formatMessage(msg, standardMsg)) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 753, in fail raise self.failureException(msg) AssertionError: 0 not greater than or equal to 1
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/clients/fdsn/tests/test_eidaws_routing_client.py", line 379, in test_proper_no_data_exception_on_out_of_epoch_dates self.assertEqual(e.exception.args[0], msg) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 912, in assertEqual assertion_func(first, second, msg=msg) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 1292, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 753, in fail raise self.failureException(msg) AssertionError: 'No d[20 chars]quest.\nHTTP Status code: 204\nDetailed respon[27 chars] -- ' != 'No d[20 chars]quest (requested time window might be out of b[27 chars]hs).' + No data available for request (requested time window might be out of bounds of valid station epochs).- No data available for request. - HTTP Status code: 204 - Detailed response of server: - - No Content --
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2181, in test_download_mseed c.download_mseed() File "/home/eule/dev/obspy/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 867, in download_mseed pool.map( File "/home/eule/anaconda/envs/workhorse/lib/python3.8/multiprocessing/pool.py", line 364, in map return self._map_async(func, iterable, mapstar, chunksize).get() File "/home/eule/anaconda/envs/workhorse/lib/python3.8/multiprocessing/pool.py", line 771, in get raise self._value File "/home/eule/anaconda/envs/workhorse/lib/python3.8/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) File "/home/eule/dev/obspy/obspy/clients/fdsn/mass_downloader/download_helpers.py", line 853, in star_download_mseed ret_val = utils.download_and_split_mseed_bulk( File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/mock.py", line 1081, in __call__ return self._mock_call(*args, **kwargs) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/mock.py", line 1085, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/mock.py", line 1140, in _execute_mock_call raise effect http.client.HTTPException: disconnected
923 .. rubric:: Examples 924 925 (1) Returning frequency, amplitude, phase of first point. 926 927 >>> from obspy.clients.iris import Client 928 >>> client = Client() 929 >>> dt = UTCDateTime("2005-01-01") 930 >>> data = client.evalresp("IU", "ANMO", "00", "BHZ", dt, 931 ... output='fap') 932 >>> data[0] # frequency, amplitude, phase of first point Expected: array([ 1.00000000e-05, 1.05599900e+04, 1.79200700e+02]) Got: array([ 1.00000000e-05, 1.05593400e+04, 1.79200700e+02]) /home/eule/dev/obspy/obspy/clients/iris/client.py:932: DocTestFailure
474 is given. 475 476 .. rubric:: Example 477 478 >>> from obspy.clients.iris import Client 479 >>> from obspy import UTCDateTime 480 >>> client = Client() 481 >>> dt = UTCDateTime("2005-01-01") 482 >>> sacpz = client.sacpz("IU", "ANMO", "00", "BHZ", dt) 483 >>> print(sacpz.decode()) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Differences (unified diff with -expected +actual): @@ -4,10 +4,10 @@ * LOCATION (KHOLE): 00 * CHANNEL (KCMPNM): BHZ -* CREATED : ... +* CREATED : 2022-01-14T07:34:08 * START : 2002-11-19T21:07:00 * END : 2008-06-30T00:00:00 * DESCRIPTION : Albuquerque, New Mexico, USA -* LATITUDE : 34.945980 -* LONGITUDE : -106.457130 +* LATITUDE : 34.945981 +* LONGITUDE : -106.457133 * ELEVATION : 1671.0 * DEPTH : 145.0 @@ -19,21 +19,22 @@ * INSTTYPE : Geotech KS-54000 Borehole Seismometer * INSTGAIN : 1.935000e+03 (M/S) -* COMMENT : -* SENSITIVITY : 8.115970e+08 (M/S) -* A0 : 8.608300e+04 +* COMMENT : +* SENSITIVITY : 8.115480e+08 (M/S) +* A0 : 8.607770e+04 * ********************************** -ZEROS 3 - +0.000000e+00 +0.000000e+00 - +0.000000e+00 +0.000000e+00 - +0.000000e+00 +0.000000e+00 -POLES 5 - -5.943130e+01 +0.000000e+00 - -2.271210e+01 +2.710650e+01 - -2.271210e+01 -2.710650e+01 - -4.800400e-03 +0.000000e+00 - -7.319900e-02 +0.000000e+00 -CONSTANT 6.986470e+13 +ZEROS 3 + +0.000000e+00 +0.000000e+00 + +0.000000e+00 +0.000000e+00 + +0.000000e+00 +0.000000e+00 +POLES 5 + -4.800400e-03 +0.000000e+00 + -7.319900e-02 +0.000000e+00 + -2.271210e+01 -2.710650e+01 + -2.271210e+01 +2.710650e+01 + -5.943130e+01 +0.000000e+00 +CONSTANT 6.985619e+13 <BLANKLINE> <BLANKLINE> <BLANKLINE> -... +<BLANKLINE> +<BLANKLINE> /home/eule/dev/obspy/obspy/clients/iris/client.py:483: DocTestFailure
302 >>> from obspy.clients.iris import Client 303 >>> from obspy import UTCDateTime 304 >>> dt = UTCDateTime("2005-01-01T00:00:00") 305 >>> client = Client() 306 >>> st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10) 307 >>> print(st[0].data) # doctest: +ELLIPSIS 308 [ 24 20 19 19 19 15 10 4 -4 -11 ... 309 >>> st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10, 310 ... filter=["correct", "demean", "lp=2.0"]) 311 >>> print(st[0].data) # doctest: +ELLIPSIS Expected: [ -1.57488682e-06 -1.26318002e-06 -7.84807128e-07 ... Got: [ -1.57498380e-06 -1.26325779e-06 -7.84855445e-07 -2.73597749e-07 1.49651157e-07 4.15160798e-07 5.13905604e-07 4.83453846e-07 3.82808793e-07 2.68396462e-07 1.78712199e-07 1.29611124e-07 1.18055056e-07 1.30188894e-07 1.49717962e-07 1.63909334e-07 1.66248356e-07 1.56169492e-07 1.37032302e-07 1.13625617e-07 9.01527812e-08 6.91435815e-08 5.12837559e-08 3.58787240e-08 2.15880380e-08 7.12111747e-09 -8.30076807e-09 -2.47867753e-08 -4.18850163e-08 -5.88481193e-08 -7.49276197e-08 -8.95957797e-08 -1.02641835e-07 -1.14140065e-07 -1.24328977e-07 -1.33465406e-07 -1.41714565e-07 -1.49109766e-07 -1.55579201e-07 -1.61010249e-07 -1.65313111e-07 -1.68455784e-07 -1.70464261e-07 -1.71401581e-07 -1.71345818e-07 -1.70377618e-07 -1.68577216e-07 -1.66025856e-07 -1.62806785e-07 -1.59002880e-07 -1.54692586e-07 -1.49950907e-07 -1.44858731e-07 -1.39513119e-07 -1.34025541e-07 -1.28505050e-07 -1.23038518e-07 -1.17682283e-07 -1.12466232e-07 -1.07400879e-07 -1.02480548e-07 -9.76858487e-08 -9.29923942e-08 -8.83872104e-08 -8.38864977e-08 -7.95416781e-08 -7.54220366e-08 -7.15768351e-08 -6.79996646e-08 -6.46219007e-08 -6.13424831e-08 -5.80760755e-08 -5.47916663e-08 -5.15201179e-08 -4.83238480e-08 -4.52400428e-08 -4.22268691e-08 -3.91482295e-08 -3.58147858e-08 -3.20657350e-08 -2.78491150e-08 -2.32567050e-08 -1.84924538e-08 -1.37877505e-08 -9.30553679e-09 -5.08293407e-09 -1.04185749e-09 2.94031643e-09 6.94010183e-09 1.09256426e-08 1.47523451e-08 1.82121269e-08 2.11040430e-08 2.32887629e-08 2.47070222e-08 2.53666883e-08 2.53170054e-08 2.46268197e-08 2.33717188e-08 2.16230269e-08 1.94298995e-08 1.67974488e-08 1.36770684e-08 9.98366367e-09 5.63695890e-09 6.05533790e-10 -5.07076026e-09 -1.12896599e-08 -1.79169195e-08 -2.48200855e-08 -3.18936770e-08 -3.90750259e-08 -4.63542804e-08 -5.37781659e-08 -6.14443394e-08 -6.94850399e-08 -7.80407845e-08 -8.72237038e-08 -9.70718688e-08 -1.07505542e-07 -1.18305088e-07 -1.29127912e-07 -1.39567632e-07 -1.49241075e-07 -1.57875803e-07 -1.65368178e-07 -1.71790631e-07 -1.77345939e-07 -1.82285021e-07 -1.86816635e-07 -1.91038268e-07 -1.94909887e-07 -1.98274606e-07 -2.00912226e-07 -2.02602905e-07 -2.03182779e-07 -2.02579315e-07 -2.00817880e-07 -1.97997124e-07 -1.94244009e-07 -1.89668327e-07 -1.84332833e-07 -1.78246282e-07 -1.71378986e-07 -1.63693031e-07 -1.55171691e-07 -1.45833766e-07 -1.35728754e-07 -1.24919623e-07 -1.13462782e-07 -1.01392523e-07 -8.87162628e-08 -7.54257243e-08 -6.15244531e-08 -4.70620378e-08 -3.21568336e-08 -1.69910290e-08 -1.77754611e-09 1.32849225e-08 2.80474115e-08 4.24236646e-08 5.63785001e-08 6.98959539e-08 8.29372269e-08 9.54061861e-08 1.07142199e-07 1.17947948e-07 1.27638174e-07 1.36082292e-07 1.43220930e-07 1.49057399e-07 1.53640656e-07 1.57056789e-07 1.59433057e-07 1.60944580e-07 1.61806696e-07 1.62240426e-07 1.62410657e-07 1.62353814e-07 1.61927488e-07 1.60818345e-07 1.58627600e-07 1.55018085e-07 1.49873983e-07 1.43409324e-07 1.36168694e-07 1.28890449e-07 1.22247044e-07 1.16532007e-07 1.11410550e-07 1.05866313e-07 9.84378161e-08 8.77439135e-08 7.31660279e-08 5.54251933e-08 3.67202624e-08 2.01523722e-08 8.42484038e-09 2.32815922e-09 3.11318193e-10] /home/eule/dev/obspy/obspy/clients/iris/client.py:311: DocTestFailure
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/clients/iris/tests/test_client.py", line 167, in test_evalresp self.assertEqual(fp.readline(), File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 912, in assertEqual assertion_func(first, second, msg=msg) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 1292, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 753, in fail raise self.failureException(msg) AssertionError: '1.000000E-05 1.055934E+04 1.792007E+02\n' != '1.000000E-05 1.055999E+04 1.792007E+02\n' - 1.000000E-05 1.055934E+04 1.792007E+02 ? ^^ + 1.000000E-05 1.055999E+04 1.792007E+02 ? ^^
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/clients/iris/client.py", line 437, in resp data = self._fetch("resp", **kwargs) File "/home/eule/dev/obspy/obspy/clients/iris/client.py", line 124, in _fetch response = urllib_request.urlopen(req, timeout=self.timeout) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/home/eule/anaconda/envs/workhorse/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/clients/iris/tests/test_client.py", line 238, in test_resp result = client.resp("UW", "LON", "", "EHZ") File "/home/eule/dev/obspy/obspy/clients/iris/client.py", line 441, in resp raise Exception(msg) Exception: No response data available (HTTPError: HTTP Error 404: )
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/clients/iris/tests/test_client.py", line 42, in test_sacpz self.assertEqual(result, expected) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 912, in assertEqual assertion_func(first, second, msg=msg) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 1118, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 1100, in assertSequenceEqual self.fail(msg) File "/home/eule/anaconda/envs/workhorse/lib/python3.8/unittest/case.py", line 753, in fail raise self.failureException(msg) AssertionError: Lists differ: [b'* [330 chars]945981', b'* LONGITUDE : -106.457133',[842 chars] b''] != [b'* [330 chars]945980', b'* LONGITUDE : -106.457130',[832 chars] b''] First differing element 8: b'* LATITUDE : 34.945981' b'* LATITUDE : 34.945980' First list contains 2 additional elements. First extra element 36: b'' Diff is 2012 characters long. Set self.maxDiff to None to see it.
Traceback (most recent call last): File "/home/eule/dev/obspy/obspy/clients/seedlink/tests/test_basic_client.py", line 44, in test_get_waveform _test_offset_from_realtime(offset) File "/home/eule/dev/obspy/obspy/clients/seedlink/tests/test_basic_client.py", line 25, in _test_offset_from_realtime st = self.client.get_waveforms(*request) File "/home/eule/dev/obspy/obspy/clients/seedlink/basic_client.py", line 149, in get_waveforms return self._multiselect_request(multiselect, starttime, endtime) File "/home/eule/dev/obspy/obspy/clients/seedlink/basic_client.py", line 188, in _multiselect_request self._slclient.run(packet_handler=self._packet_handler) File "/home/eule/dev/obspy/obspy/clients/seedlink/slclient.py", line 229, in run slpack = self.slconn.collect() File "/home/eule/dev/obspy/obspy/clients/seedlink/client/seedlinkconnection.py", line 740, in collect raise SeedLinkException(msg) obspy.clients.seedlink.seedlinkexception.SeedLinkException: 'problems with the connection description'
Skipped tests (5)
Submodule | Test | Skip message |
---|---|---|
clients.fdsn | obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_eida_token_resolution | Skipped: Token is expired |
clients.fdsn | obspy/clients/fdsn/tests/test_client.py::ClientTestCase::test_trim_stream_after_get_waveform | Skipped: data no longer available |
clients.seedlink | obspy/clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_info | Skipped: test must be started manually |
clients.seedlink | obspy/clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_issue708 | Skipped: test must be started manually |
clients.seedlink | obspy/clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_time_window | Skipped: test must be started manually |
Slowest tests (20)
Warnings (2)
Stage | Filename | Category | Message |
---|---|---|---|
collect | /home/eule/dev/obspy/obspy/clients/arclink/__init__.py:31 | ObsPyDeprecationWarning | ArcLink protocol has been officially deprecated and some main servers have been shut down already. Please consider using other methods like FDSN web services to fetch data. ArcLink functionality is now untested in ObsPy. |
runtest | /home/eule/dev/obspy/obspy/clients/fdsn/wadl_parser.py:107 | UserWarning | The 'event' service at 'http://service.iris.edu/ph5/event/1/' cannot deal with the following required parameters: mindepth, maxdepth, orderby They will not be available for any requests. Any attempt to use them will result in an error. |