Skip to content

Commit 087b506

Browse files
committed
waterfalls/cvo-waterfall: Soften the log regexp's ^ anchor
Must-gather includes a timestamp prefix: $ curl -s --compressed https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_cluster-version-operator/178/pull-ci-openshift-cluster-version-operator-master-e2e-aws-upgrade/134/artifacts/e2e-aws-upgrade/must-gather/namespaces/openshift-cluster-version/pods/cluster-version-operator-7cb5846b6b-ljbd5/cluster-version-operator/cluster-version-operator/logs/current.log | grep 'Running sync' | tail -n1 2019-06-13T15:50:32.447432391Z I0613 15:50:32.447421 1 sync_worker.go:574] Running sync for clusteroperator "kube-apiserver" (48 of 381)
1 parent 3e116c6 commit 087b506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

waterfall/cvo-waterfall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import sys
99

1010

11-
log_regexp = re.compile('^I[0-9]+ ([0-9:.]+) .* (Running sync|Done syncing) for ([^ ]+) "([^"]+)" \(([0-9]+) of ([0-9]+)\)')
11+
log_regexp = re.compile('^.*I[0-9]+ ([0-9:.]+) .* (Running sync|Done syncing) for ([^ ]+) "([^"]+)" \(([0-9]+) of ([0-9]+)\)')
1212

1313
resources = {}
1414
reference_time = last_log = None

0 commit comments

Comments
 (0)