[ https://issues.apache.org/jira/browse/METRON-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16713323#comment-16713323 ]
ASF GitHub Bot commented on METRON-1911: ---------------------------------------- Github user nickwallen commented on the issue: https://github.com/apache/metron-bro-plugin-kafka/pull/21 I ran this up, but seemed to get a couple errors. ``` ./scripts/docker_run_bro_container.sh: line 152: DOCKER_CMD_BASE: command not found ``` ``` ./scripts/docker_run_bro_container.sh: line 162: metron-bro-docker-container:latest: command not found ``` This is the command that I ran along with what I saw when the errors popped up. ``` $ ./scripts/download_sample_pcaps.sh --data-path=~/tmp/data && ./example_script.sh --leave-running --data-path=/Users/me/tmp/pcap_data && ./scripts/docker_execute_process_data_dir.sh && ./scripts/docker_run_consume_bro_kafka.sh ... make[1]: Leaving directory `/root/bro-2.5.5/librdkafka-0.11.5/src-cpp' Removing intermediate container c4b01dee8e27 ---> 4301bf29af13 Step 23/23 : WORKDIR /root ---> Running in 3fac0790cfdc Removing intermediate container 3fac0790cfdc ---> 02b3e630af02 Successfully built 02b3e630af02 Successfully tagged metron-bro-docker-container:latest Running docker_run_bro_container with CONTAINER_NAME = bro NETWORK_NAME = bro-network SCRIPT_PATH = LOG_PATH = /Users/nallen/tmp/metron-bro-plugin-kafka-pr21/docker/logs DATA_PATH = /Users/me/tmp/pcap_data DOCKER_PARAMETERS = =================================================== Log will be found on host at /Users/nallen/tmp/metron-bro-plugin-kafka-pr21/docker/logs/bro-test-Fri_Dec__7_16:51:06_EST_2018.log ./scripts/docker_run_bro_container.sh: line 143: DOCKER_CMD_BASE: command not found ./scripts/docker_run_bro_container.sh: line 144: DOCKER_CMD_BASE: command not found ./scripts/docker_run_bro_container.sh: line 145: DOCKER_CMD_BASE: command not found ./scripts/docker_run_bro_container.sh: line 146: DOCKER_CMD_BASE: command not found ./scripts/docker_run_bro_container.sh: line 147: DOCKER_CMD_BASE: command not found ./scripts/docker_run_bro_container.sh: line 152: DOCKER_CMD_BASE: command not found ===============Running Docker=============== eval command is: bro bash ============================================ ./scripts/docker_run_bro_container.sh: line 162: metron-bro-docker-container:latest: command not found Running stop_container with CONTAINER_NAME= kafka =================================================== kafka kafka Running stop_container with CONTAINER_NAME= zookeeper =================================================== zookeeper zookeeper Running destroy_docker_network with NETWORK_NAME = bro-network =================================================== bro-network ``` And I see no containers running. ``` $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ``` Docker Engine 18.09.0 > [BROS]Create Docker based test environment for Bro > -------------------------------------------------- > > Key: METRON-1911 > URL: https://issues.apache.org/jira/browse/METRON-1911 > Project: Metron > Issue Type: New Feature > Reporter: Otto Fowler > Assignee: Otto Fowler > Priority: Major > > We would benefit from the ability to build and deploy bro, have it run > against standard pcaps and output to kafka, and capture the logs. > Using scripts and docker, we should be able to automate this process, as it > is often written in the prs. > These scripts could also be used in travis, with cached pcaps for regression > testing. -- This message was sent by Atlassian JIRA (v7.6.3#76005)