-
Notifications
You must be signed in to change notification settings - Fork 22
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
Improve test situation #199
Conversation
…test/bats subrepo: subdir: "test/bats" merged: "a7106392" upstream: origin: "https://github.com/bats-core/bats-core.git" branch: "master" commit: "a7106392" git-subrepo: version: "0.4.5" origin: "???" commit: "???"
The PR #194 is gaining some BATS tests that will need porting once this PR is merged. I list them here to remind me
|
- Invert default of when to run tests. Default is that they are OFF. - Simplify test framework to remove "variant" tests from scope. - Simplify by no longer bake "fast" vs "slow" or "unit" vs "integ" into test source file name. - Bring `waf_unit_test` into `waft/wcb_unit_test` and move test argument handling there. - Test related arguments will set during `configure` are saved to `build`. - Add new feature to measure, store and report the run time for each test. - Add new feature to exclude re-running slow tests based on a maximum duration limit. - Update `framework.org` to match.
- Make the repo "live" only and entirely under build/tests and remove complexity of searching a "test data path". - Add fillrepo and packrepo "wcb" commands to automate some management of test data repository files. - Remove wct-bats.sh functions related to the old way of locting test data files, add/improve ones for the new way. - Further purge the concept of "variant" tests and likewise downplay their opposites of "atomic" tests. - Sync documentation and tests with these code/concept shifts.
Downgrade issue202 bats to a check as it is too long running
Hi @HaiwangYu I feel this PR is now ready for merging. There are a lot of files changed/added but actually not much library code has been touched. The build system is revamped. Here is a summary of what this PR brings:
https://github.com/WireCell/wire-cell-toolkit/blob/check-test/waft/README.org
https://github.com/WireCell/wire-cell-toolkit/blob/check-test/test/README.org
Please give |
Hi @brettviren, trying to build gives me this error both with singularity and on a dunegpvm. Any suggestions how to fix it? Waf: Entering directory `/home/yuhw/wc/larsoft925/src/pr-199/build'
[1/6] Creating build/tests/input.url
[2/6] Creating build/tests/history-0.20.0.url
[3/6] Creating build/tests/history-0.21.0.url
[4/6] Creating build/tests/history-0.22.0.url
[5/6] Creating build/tests/history-0.23.0.url
[6/6] Creating build/tests/history-0.24.1.url
Waf: Leaving directory `/home/yuhw/wc/larsoft925/src/pr-199/build'
Build failed
Traceback (most recent call last):
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1006, in _send_output
self.send(msg)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 946, in send
self.connect()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1409, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yuhw/wc/larsoft925/src/pr-199/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/yuhw/wc/larsoft925/src/pr-199/waft/datarepo.py", line 111, in run
web = urlopen(url)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
Traceback (most recent call last):
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1006, in _send_output
self.send(msg)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 946, in send
self.connect()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1409, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yuhw/wc/larsoft925/src/pr-199/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/yuhw/wc/larsoft925/src/pr-199/waft/datarepo.py", line 111, in run
web = urlopen(url)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
Traceback (most recent call last):
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1006, in _send_output
self.send(msg)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 946, in send
self.connect()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1409, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yuhw/wc/larsoft925/src/pr-199/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/yuhw/wc/larsoft925/src/pr-199/waft/datarepo.py", line 111, in run
web = urlopen(url)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
Traceback (most recent call last):
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1006, in _send_output
self.send(msg)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 946, in send
self.connect()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1409, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yuhw/wc/larsoft925/src/pr-199/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/yuhw/wc/larsoft925/src/pr-199/waft/datarepo.py", line 111, in run
web = urlopen(url)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
Traceback (most recent call last):
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1006, in _send_output
self.send(msg)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 946, in send
self.connect()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1409, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yuhw/wc/larsoft925/src/pr-199/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/yuhw/wc/larsoft925/src/pr-199/waft/datarepo.py", line 111, in run
web = urlopen(url)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
Traceback (most recent call last):
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1006, in _send_output
self.send(msg)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 946, in send
self.connect()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/http/client.py", line 1409, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yuhw/wc/larsoft925/src/pr-199/.waf3-2.0.25-767522112be77f8585812fcfaa08e805/waflib/Task.py", line 180, in process
ret=self.run()
File "/home/yuhw/wc/larsoft925/src/pr-199/waft/datarepo.py", line 111, in run
web = urlopen(url)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/cvmfs/larsoft.opensciencegrid.org/products/python/v3_8_3b/Linux64bit+3.10-2.17/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
|
@HaiwangYu interesting. The failing code is what should install the "test data repo" files into https://www.phy.bnl.gov/~bviren/tmp/wcttest/data_repo/ I can not reproduce the certificate verify failure on
from urllib import request
u = request.urlopen("https://www.phy.bnl.gov/~bviren/tmp/wcttest/data_repo/")
print(u.getcode())
Likewise, It looks like something is "special" in your particular FNAL environment. Maybe you can think what may be different. In my case, I just log in with very minimal default setup (as usual with FNAL's broken auth, I can't even read my home directory). I Searching for solutions gives one lead. Can you please try to run the following in your environment:
vs:
If the latter succeeds then perhaps we can fix FNAL's broken environment by setting:
|
Hi @brettviren, thanks a lot! I can confirm your minimum setup works for me too. And I can further confirm this line is the culprit in my setup.
And further this line in that
However, for me setup |
Great! Perhaps we should make creating the "test data repo" be contingent on using |
Yes, I agree that is a better option. |
@brettviren, thanks for building this amazing testing system. I think a lot of moving parts have been tightened up. I gave it a try and think it should work well. I made a PR to this dev branch with my practice: #213. Here are some test notes: pr199.pdf I think I am still a little bit confused by how to use the test categories (atomic, history, report...). But I think I will learn more from your future introduction talk on this. One thing I noticed is that For now, if you are OK, I will merge my practice PR and this PR to the master branch in one pass |
Hi @HaiwangYu The shift in time of the that one SP peak near tick 2000 is really weird. I guess if it is due to noise then maybe it can be explained by different random stream. Maybe looking at more channel waveforms would help show what is happening. Some Yes, I'm okay with you merging your #213. Note also #214 can go in soon after as well. |
My first try
@brettviren, I think the changes at tick ~2000 is not a shift but fluctuations of yes/no ROI found for those two peaks. I saw this change several times for previous sigproc across version checks. So there is a high chance that it is due to fluctuations. But worth more investigations to confirm as you said. For the time being, I would like to merge this PR first. Because no charges in this PR should affect sigproc directly as far as I can see. |
This PR begins addressing https://github.com/WireCell/wire-cell-toolkit/projects/16