nickwallen commented on issue #1348: METRON-2018 added docker tests for kafka plugin URL: https://github.com/apache/metron/pull/1348#issuecomment-481339900 I did get this error when spinning this up. Do we really require Bash >4.0 for this? ``` $ /Users/nallen/tmp/metron-pr1348/dev-utilities/committer-utils/prepare-commit /Users/nallen/.metron-prepare-commit ...using settings from /Users/nallen/.metron-prepare-commit [1] metron [2] metron-bro-plugin-kafka which repo? [1]: 2 pull request: 31 local working directory [/Users/nallen/tmp/metron-bro-plugin-kafka-pr31]: origin repo [https://github.com/apache/metron-bro-plugin-kafka]: base branch to merge into [master]: Cloning into '/Users/nallen/tmp/metron-bro-plugin-kafka-pr31'... remote: Enumerating objects: 29, done. remote: Counting objects: 100% (29/29), done. remote: Compressing objects: 100% (23/23), done. remote: Total 342 (delta 10), reused 17 (delta 6), pack-reused 313 Receiving objects: 100% (342/342), 98.23 KiB | 831.00 KiB/s, done. Resolving deltas: 100% (198/198), done. From https://gitbox.apache.org/repos/asf/metron-bro-plugin-kafka * branch master -> FETCH_HEAD * [new branch] master -> upstream/master Already on 'master' Your branch is up to date with 'origin/master'. Already up to date. remote: Enumerating objects: 68, done. remote: Counting objects: 100% (68/68), done. remote: Total 87 (delta 68), reused 68 (delta 68), pack-reused 19 Unpacking objects: 100% (87/87), done. From https://github.com/apache/metron-bro-plugin-kafka * [new ref] refs/pull/31/head -> pr-31 github contributor's username [JonZeolla]: github contributor's email [[email protected]]: issue identifier in jira [METRON-2020]: issue description [Running run_end_to_end.sh with docker give warning if bash < 4.0]: commit message [METRON-2020 Running run_end_to_end.sh with docker give warning if bash < 4.0 (JonZeolla via nickwallen) closes apache/metron-bro-plugin-kafka#31]: Auto-merging docker/run_end_to_end.sh Squash commit -- not updating HEAD Automatic merge went well; stopped before committing as requested On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean run test suite? [yN] y please verify that no bro docker containers are running before continuing, no bro docker containers are running, ready to proceed [yN] y ERROR> bash >= 4.0 is required USAGE --skip-docker-build [OPTIONAL] Skip build of bro docker machine. --data-path [OPTIONAL] The pcap data path. Default: ./data --kafka-topic [OPTIONAL] The kafka topic to consume from. Default: bro -h/--help Usage information. COMPATABILITY bash >= 4.0 is required. ERROR> FAILED run_end_to_end Running cleanup_containers with CONTAINER_NAME = bro NETWORK_NAME = bro-network =================================================== Running stop_container with CONTAINER_NAME= bro =================================================== Error response from daemon: No such container: bro ERROR> FAILED finish_end_to_end ``` ``` $ bash --version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18) Copyright (C) 2007 Free Software Foundation, Inc. ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
