Skip to content

Commit f514392

Browse files
committed
debugging CI
1 parent 334cdef commit f514392

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/unittests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
# The debug job is meant for debugging CI related issues.
1111
debug:
1212
# Comment out the following line to enable.
13-
if: ${{ false }}
13+
# if: ${{ false }}
1414

1515
runs-on: ubuntu-latest
1616

@@ -42,7 +42,7 @@ jobs:
4242
# Set run_tests to run only the specific tests you need to fix.
4343
- name: run_tests
4444
run: |
45-
./test/run_tests
45+
./test/run_tests -q -o update
4646
4747
- name: zip_working_dir
4848
if: always()

lib/pavilion/wget.py

+3
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ def update(pav_cfg, url, dest):
246246

247247
# If the file doesn't exist, just get it.
248248
if not dest.exists():
249+
print( "does not exist" )
249250
fetch = True
250251
else:
251252
head_data = head(pav_cfg, url)
@@ -256,6 +257,7 @@ def update(pav_cfg, url, dest):
256257
# matching Content-Length and fetch it if we can't.
257258
if (not info_path.exists() and
258259
(head_data.get('Content-Length') != info['size'])):
260+
print( "no content length match: ", info, head_data )
259261
fetch = True
260262

261263
# If we do have an info file and neither the ETag or content length
@@ -269,6 +271,7 @@ def update(pav_cfg, url, dest):
269271
head_data.get('Content-Length') == info.get('Content-Length') and
270272
# Or if the content length matches the actual size.
271273
head_data.get('Content-Length') == info['size'])):
274+
print( "content differs: ", info, head_data )
272275
fetch = True
273276

274277
if fetch:

0 commit comments

Comments
 (0)