Skip to content

Commit a4acb2a

Browse files
committed
waterfall/cvo-waterfall: Log incomplete manifests
For example: $ curl -s https://gist.githubusercontent.com/steveeJ/eeea8316f676727008274eeaf22b7487/raw/ecce637665f59a5d7b967b59e713867389c29c10/gistfile1.txt | cvo-waterfall.py >/tmp/cvo.svg WARNING:root:not finished: clusteroperator authentication
1 parent ddad11e commit a4acb2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

waterfall/cvo-waterfall.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# $ curl -s https://storage.googleapis.com/origin-ci-test/logs/release-openshift-origin-installer-e2e-aws-4.0/6016/artifacts/e2e-aws/pods/openshift-cluster-version_cluster-version-operator-74d8d99566-2bh4q_cluster-version-operator.log.gz | gunzip | cvo-waterfall.py >cvo.svg
44

55
import datetime
6+
import logging
67
import re
78
import sys
89

@@ -33,6 +34,7 @@
3334
for objType, names in resources.items():
3435
for name, data in names.items():
3536
if 'Done syncing' not in data:
37+
logging.warning('not finished: {} {}'.format(objType, name))
3638
continue
3739
start = (data['Running sync'] - reference_time).total_seconds()
3840
stop = (data['Done syncing'] - reference_time).total_seconds()

0 commit comments

Comments
 (0)