Jiangjie Qin created KAFKA-3257: ----------------------------------- Summary: bootstrap-test-env.sh version check fails when grep has --colour option enabled. Key: KAFKA-3257 URL: https://issues.apache.org/jira/browse/KAFKA-3257 Project: Kafka Issue Type: Bug Components: system tests Affects Versions: 0.9.0.1 Reporter: Jiangjie Qin Fix For: 0.10.0.0
When checking the versions, we use the following command: {code} vagrant --version | egrep -o "[0-9]+\.[0-9]+\.[0-9]+" {code} This does not work if user box has --colour option enabled. In my case it complains: Found Vagrant version 1.8.1. Please upgrade to 1.6.4 or higher (see http://www.vagrantup.com for details) We should change this line to: {code} vagrant --version | egrep --colour=never -o "[0-9]+\.[0-9]+\.[0-9]+" {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)