Duplicated because I believe this happens in 1.2 as well. +++ This bug was initially created as a clone of Bug #1040647 +++ Description of problem: test_broker_certificate isn't quite reliable. How reproducible: Note root cause discussion in https://bugzilla.redhat.com/show_bug.cgi?id=1047778 Steps to Reproduce: 1. Use openshift.sh to create separate OSE 1.2 broker (not all-in-1) 2. oo-diagnostics test_broker_certificate Results: FAIL: rescue in block in run_tests error running test_broker_certificate: #<NoMethodError: undefined method `scan' for nil:NilClass> Additional info: The problem at least in this case was that this line returns nil: apacheconfig = `httpd -S 2> /dev/null`.slice(/^\*:443.*\n[[:space:]][^\n]*\n[^[:space:]]/m) It's expecting httpd -S to return at least one line after the :443 match with a space and something else on it. In my case at least, it doesn't: # httpd -S 2> /dev/null VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:80 broker.hosts.ose20.example.com (/etc/httpd/conf.d/000002_openshift_origin_broker_proxy.conf:14) *:443 broker.hosts.ose20.example.com (/etc/httpd/conf.d/000002_openshift_origin_broker_proxy.conf:25) Should be able to just cherry-pick the 2.0 fix.
Actually... looking at the 1.2 code... it worked completely differently. Not a problem AFAICS. Closing this bug.