Console Output

Started by timer
Running as SYSTEM
Building in workspace /var/local/jenkins/workspace/test-hapi-servers-2022
[test-hapi-servers-2022] $ /bin/sh -xe /usr/local/apache-tomcat-8.0.27/temp/jenkins3997769105582127006.sh
+ pwd
/var/local/jenkins/workspace/test-hapi-servers-2022
+ echo USER=, tomcat
USER=, tomcat
+ echo HOME=, /home/tomcat
HOME=, /home/tomcat
+ export WGET=wget --timeout=6 --tries=2 
+ echo # Test servers in all.txt
# Test servers in all.txt
+ wget --timeout=6 --tries=2 -N https://raw.githubusercontent.com/hapi-server/servers/master/all.txt
--2025-09-30 16:35:01--  https://raw.githubusercontent.com/hapi-server/servers/master/all.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 808 [text/plain]
Saving to: ‘all.txt’

     0K                                                       100% 77.1M=0s

Last-modified header missing -- time-stamps turned off.
2025-09-30 16:35:01 (77.1 MB/s) - ‘all.txt’ saved [808/808]

+ python3 /home/jbf/ct/hapi/git-release/HAPI-Server-Tester/HAPITESTSCRIPT.py 75657
2  ***
Running tests with seed 75657
#################
Running test with seed 8125: http://hapi-server.org/servers/SSCWeb/hapi
URL MATCHES KNOWN HAPI SERVER
Server is up!
url http://hapi-server.org/servers/SSCWeb/hapi/catalog
hapiVer= 2.0
first parameter:  ace
last parameter:  yohkoh
len(refinedList)= 301
randID= solarorbiter
url http://hapi-server.org/servers/SSCWeb/hapi/info?id=solarorbiter
first parameter:  Time
last parameter:  GSE_Magnetic_Vector_Z
len(refinedList)= 66
randPara= MagneticFldStrth
url http://hapi-server.org/servers/SSCWeb/hapi/info?id=solarorbiter
2020-02-10T04:56:30.000Z/2030-11-20T05:14:30.000Z
sampleStartDate not available
2030-11-19T05:14:30Z/2030-11-20T05:14:30Z
testStartDate= 2030-11-19T05:14:30Z <class 'str'>
testStopDate= 2030-11-20T05:14:30Z <class 'str'>
http://hapi-server.org/servers/SSCWeb/hapi/data?id=solarorbiter&parameters=MagneticFldStrth&time.min=2030-11-19T05:14:30Z&time.max=2030-11-20T05:14:30Z&format=csv
HAPI verifier URL:
https://hapi-server.org/verify/?url=http://hapi-server.org/servers/SSCWeb/hapi&id=solarorbiter&parameter=MagneticFldStrth&time.min=2030-11-19T05:14:30Z&time.max=2030-11-20T05:14:30Z
url http://hapi-server.org/servers/SSCWeb/hapi/data?id=solarorbiter&parameters=MagneticFldStrth&time.min=2030-11-19T05:14:30Z&time.max=2030-11-20T05:14:30Z&format=csv
Found Data!   http://hapi-server.org/servers/SSCWeb/hapi/data?id=solarorbiter&parameters=MagneticFldStrth&time.min=2030-11-19T05:14:30Z&time.max=2030-11-20T05:14:30Z&format=csv
#################
Running test with seed 5982: https://iswa.gsfc.nasa.gov/IswaSystemWebApp/hapi
URL MATCHES KNOWN HAPI SERVER
Server is up!
url https://iswa.gsfc.nasa.gov/IswaSystemWebApp/hapi/catalog
hapiVer= 2.0
first parameter:  ace_epam_P5M
last parameter:  WIND_SWE_P2M
len(refinedList)= 300
randID= poes_noaa18_sensor15
url https://iswa.gsfc.nasa.gov/IswaSystemWebApp/hapi/info?id=poes_noaa18_sensor15
first parameter:  Time
last parameter:  outer_belt_index
len(refinedList)= 5
randPara= outer_belt_index
url https://iswa.gsfc.nasa.gov/IswaSystemWebApp/hapi/info?id=poes_noaa18_sensor15
2013-01-01T00:00:00Z/2025-06-06T00:00:00Z
sampleStartDate not available
2025-06-05T00:00:00Z/2025-06-06T00:00:00Z
testStartDate= 2025-06-05T00:00:00Z <class 'str'>
testStopDate= 2025-06-06T00:00:00Z <class 'str'>
https://iswa.gsfc.nasa.gov/IswaSystemWebApp/hapi/data?id=poes_noaa18_sensor15&parameters=outer_belt_index&time.min=2025-06-05T00:00:00Z&time.max=2025-06-06T00:00:00Z&format=csv
HAPI verifier URL:
https://hapi-server.org/verify/?url=https://iswa.gsfc.nasa.gov/IswaSystemWebApp/hapi&id=poes_noaa18_sensor15&parameter=outer_belt_index&time.min=2025-06-05T00:00:00Z&time.max=2025-06-06T00:00:00Z
url https://iswa.gsfc.nasa.gov/IswaSystemWebApp/hapi/data?id=poes_noaa18_sensor15&parameters=outer_belt_index&time.min=2025-06-05T00:00:00Z&time.max=2025-06-06T00:00:00Z&format=csv
local variable 'csvResponse' referenced before assignment
#################
Running test with seed 7605: http://lasp.colorado.edu/lisird/hapi
URL MATCHES KNOWN HAPI SERVER
Server is up!
url http://lasp.colorado.edu/lisird/hapi/catalog
hapiVer= 2.0
first parameter:  bremen_composite_mgii
last parameter:  yeo_nonempirical_tsi_reconstruction
len(refinedList)= 29
randID= timed_see_ssi_l3a
url http://lasp.colorado.edu/lisird/hapi/info?id=timed_see_ssi_l3a
first parameter:  time
last parameter:  irradiance
len(refinedList)= 2
randPara= irradiance
url http://lasp.colorado.edu/lisird/hapi/info?id=timed_see_ssi_l3a
2002-01-22T00:00:00.000Z/2025-09-28T00:00:00.000Z
sampleStartDate not available
2025-09-27T00:00:00Z/2025-09-28T00:00:00Z
testStartDate= 2025-09-27T00:00:00Z <class 'str'>
testStopDate= 2025-09-28T00:00:00Z <class 'str'>
http://lasp.colorado.edu/lisird/hapi/data?id=timed_see_ssi_l3a&parameters=irradiance&time.min=2025-09-27T00:00:00Z&time.max=2025-09-28T00:00:00Z&format=csv
HAPI verifier URL:
https://hapi-server.org/verify/?url=http://lasp.colorado.edu/lisird/hapi&id=timed_see_ssi_l3a&parameter=irradiance&time.min=2025-09-27T00:00:00Z&time.max=2025-09-28T00:00:00Z
url http://lasp.colorado.edu/lisird/hapi/data?id=timed_see_ssi_l3a&parameters=irradiance&time.min=2025-09-27T00:00:00Z&time.max=2025-09-28T00:00:00Z&format=csv
Successful but response was empty, which is allowed because no sample time interval found.  http://lasp.colorado.edu/lisird/hapi/data?id=timed_see_ssi_l3a&parameters=irradiance&time.min=2025-09-27T00:00:00Z&time.max=2025-09-28T00:00:00Z&format=csv
#################
Running test with seed 9751: http://amda.irap.omp.eu/service/hapi
URL MATCHES KNOWN HAPI SERVER
Server is up!
url http://amda.irap.omp.eu/service/hapi/catalog
hapiVer= 2.0
first parameter:  ace-epam-ca60
last parameter:  wnd-swe-kp
len(refinedList)= 1044
randID= b_kt17
url http://amda.irap.omp.eu/service/hapi/info?id=b_kt17
first parameter:  Time
last parameter:  b_kt17_model_tot
len(refinedList)= 3
randPara= b_kt17_model
url http://amda.irap.omp.eu/service/hapi/info?id=b_kt17
1970-01-01T00:00:00Z/2030-01-01T00:00:00Z
sampleStartDate not available
2029-12-31T00:00:00Z/2030-01-01T00:00:00Z
testStartDate= 2029-12-31T00:00:00Z <class 'str'>
testStopDate= 2030-01-01T00:00:00Z <class 'str'>
http://amda.irap.omp.eu/service/hapi/data?id=b_kt17&parameters=b_kt17_model&time.min=2029-12-31T00:00:00Z&time.max=2030-01-01T00:00:00Z&format=csv
HAPI verifier URL:
https://hapi-server.org/verify/?url=http://amda.irap.omp.eu/service/hapi&id=b_kt17&parameter=b_kt17_model&time.min=2029-12-31T00:00:00Z&time.max=2030-01-01T00:00:00Z
url http://amda.irap.omp.eu/service/hapi/data?id=b_kt17&parameters=b_kt17_model&time.min=2029-12-31T00:00:00Z&time.max=2030-01-01T00:00:00Z&format=csv
Found Data!   http://amda.irap.omp.eu/service/hapi/data?id=b_kt17&parameters=b_kt17_model&time.min=2029-12-31T00:00:00Z&time.max=2030-01-01T00:00:00Z&format=csv
#################
Running test with seed 9756: https://vires.services/hapi
URL MATCHES KNOWN HAPI SERVER
Server is up!
url https://vires.services/hapi/catalog
hapiVer= 3.0
first parameter:  CH_ME_MAG_LR_3
last parameter:  SW_PREL_EFICIDM_2_
len(refinedList)= 162
randID= SW_OPER_PC1BMAG_2F:Bp_event_mean
url https://vires.services/hapi/info?id=SW_OPER_PC1BMAG_2F:Bp_event_mean
first parameter:  Timestamp
last parameter:  Quality
len(refinedList)= 19
randPara= Halfwidth
url https://vires.services/hapi/info?id=SW_OPER_PC1BMAG_2F:Bp_event_mean
2013-11-25T00:00:00Z/2024-12-26T23:59:59.999999Z
sampleStartDate not available
2024-12-26T00:00:08.099999Z/2024-12-27T00:00:08.099999Z
testStartDate= 2024-12-26T00:00:08.099999Z <class 'str'>
testStopDate= 2024-12-27T00:00:08.099999Z <class 'str'>
https://vires.services/hapi/data?id=SW_OPER_PC1BMAG_2F:Bp_event_mean&parameters=Halfwidth&start=2024-12-26T00:00:08.099999Z&stop=2024-12-27T00:00:08.099999Z&format=csv
HAPI verifier URL:
https://hapi-server.org/verify/?url=https://vires.services/hapi&id=SW_OPER_PC1BMAG_2F:Bp_event_mean&parameter=Halfwidth&time.min=2024-12-26T00:00:08.099999Z&time.max=2024-12-27T00:00:08.099999Z
url https://vires.services/hapi/data?id=SW_OPER_PC1BMAG_2F:Bp_event_mean&parameters=Halfwidth&start=2024-12-26T00:00:08.099999Z&stop=2024-12-27T00:00:08.099999Z&format=csv
Successful but response was empty, which is allowed because no sample time interval found.  https://vires.services/hapi/data?id=SW_OPER_PC1BMAG_2F:Bp_event_mean&parameters=Halfwidth&start=2024-12-26T00:00:08.099999Z&stop=2024-12-27T00:00:08.099999Z&format=csv
#################
Running test with seed 6553: https://cottagesystems.com/HapiServerDemo/hapi
URL MATCHES KNOWN HAPI SERVER
Server is up!
url https://cottagesystems.com/HapiServerDemo/hapi/catalog
hapiVer= 3.0
first parameter:  poolTemperature
last parameter:  rank3dep2
len(refinedList)= 24
randID= specBins.ref
url https://cottagesystems.com/HapiServerDemo/hapi/info?id=specBins.ref
first parameter:  Time
last parameter:  flux
len(refinedList)= 3
randPara= flux
url https://cottagesystems.com/HapiServerDemo/hapi/info?id=specBins.ref
2016-01-01T00:00:30.000Z/2016-01-01T23:59:30.000Z
sampleStartDate 2016-01-01T00:00:30.000Z/2016-01-01T23:59:30.000Z
2016-01-01T00:00:30Z/2016-01-01T23:59:30Z
testStartDate= 2016-01-01T00:00:30Z <class 'str'>
testStopDate= 2016-01-01T23:59:30Z <class 'str'>
https://cottagesystems.com/HapiServerDemo/hapi/data?id=specBins.ref&parameters=flux&start=2016-01-01T00:00:30Z&stop=2016-01-01T23:59:30Z&format=csv
HAPI verifier URL:
https://hapi-server.org/verify/?url=https://cottagesystems.com/HapiServerDemo/hapi&id=specBins.ref&parameter=flux&time.min=2016-01-01T00:00:30Z&time.max=2016-01-01T23:59:30Z
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 84, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 74, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 666, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 377, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1001, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 314, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 171, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fcf55b436d0>: Failed to establish a new connection: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 720, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='iswa.gsfc.nasa.gov', port=443): Max retries exceeded with url: /IswaSystemWebApp/hapi/data?id=poes_noaa18_sensor15&parameters=outer_belt_index&time.min=2025-06-05T00:00:00Z&time.max=2025-06-06T00:00:00Z&format=csv (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fcf55b436d0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/jbf/ct/hapi/git-release/HAPI-Server-Tester/HAPITESTSCRIPT.py", line 256, in hapiTest
    csvResponse = myurlopen(finalURL)
  File "/home/jbf/ct/hapi/git-release/HAPI-Server-Tester/HAPITESTSCRIPT.py", line 75, in myurlopen
    response = requests.get(url, headers=headers)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='iswa.gsfc.nasa.gov', port=443): Max retries exceeded with url: /IswaSystemWebApp/hapi/data?id=poes_noaa18_sensor15&parameters=outer_belt_index&time.min=2025-06-05T00:00:00Z&time.max=2025-06-06T00:00:00Z&format=csv (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fcf55b436d0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/jbf/ct/hapi/git-release/HAPI-Server-Tester/HAPITESTSCRIPT.py", line 261, in hapiTest
    csvResponse = pd.DataFrame(csvResponse)  # makes into an empty dataframe to prevent errors
UnboundLocalError: local variable 'csvResponse' referenced before assignment
url https://cottagesystems.com/HapiServerDemo/hapi/data?id=specBins.ref&parameters=flux&start=2016-01-01T00:00:30Z&stop=2016-01-01T23:59:30Z&format=csv
Found Data!   https://cottagesystems.com/HapiServerDemo/hapi/data?id=specBins.ref&parameters=flux&start=2016-01-01T00:00:30Z&stop=2016-01-01T23:59:30Z&format=csv
**********************************
RESULTS:
Total Test Time: 143.342 seconds
== Exceptions ==
 01: python3 HAPITESTSCRIPT.py 5982 https://iswa.gsfc.nasa.gov/IswaSystemWebApp/hapi
local variable 'csvResponse' referenced before assignment occured on https://iswa.gsfc.nasa.gov/IswaSystemWebApp/hapi/data?id=poes_noaa18_sensor15&parameters=outer_belt_index&time.min=2025-06-05T00:00:00Z&time.max=2025-06-06T00:00:00Z&format=csv process:  loading CSV. Likely empty dataset
Build step 'Execute shell' marked build as failure
Sending e-mails to: faden@cottagesystems.com
Finished: FAILURE