sekikn commented on pull request #634:
URL: https://github.com/apache/bigtop/pull/634#issuecomment-653969884


   Updated the PR. Rebased on master and addressed Yuqi's comment.
   
   After building bigtop-utils and zookeeper, and re-creating the bigtop-puppet 
and bigtop-slaves images locally, I confirmed this fix worked as follows:
   
   ```
   ~/repos/bigtop/provisioner/docker$ ./docker-hadoop.sh -d -C 
~/config_ubuntu-18.04.yaml -c 1 -s
   
   (snip)
   
   Notice: 
/Stage[main]/Hadoop_zookeeper::Server/Service[zookeeper-server]/ensure: ensure 
changed 'stopped' to 'running'
   Notice: Applied catalog in 49.91 seconds
   
   (snip)
   
   ===== START TO RUN SMOKE TESTS: zookeeper =====
   
   (snip)
   
   
   TestZookeeper > testZkServerStatus STANDARD_ERROR
       20/07/06 00:20:06 INFO lang.Object: Running zkServer.sh status
       20/07/06 00:20:06 INFO lang.Object: zkServer.sh status checks out.
   Finished generating test XML results (0.01 secs) into: 
/bigtop-home/bigtop-tests/smoke-tests/zookeeper/build/test-results/test
   Generating HTML test report...
   Finished generating test html results (0.024 secs) into: 
/bigtop-home/bigtop-tests/smoke-tests/zookeeper/build/reports/tests/test
   Now testing...
   :bigtop-tests:smoke-tests:zookeeper:test (Thread[Task worker for ':' Thread 
7,5,main]) completed. Took 1.211 secs.
   
   BUILD SUCCESSFUL in 1m 35s
   ```
   
   ```
   ~/repos/bigtop/provisioner/docker$ ./docker-hadoop.sh -d -C 
~/config_debian-10.yaml -c 1 -s
   
   (snip)
   
   Notice: 
/Stage[main]/Hadoop_zookeeper::Server/Service[zookeeper-server]/ensure: ensure 
changed 'stopped' to 'running'
   Notice: Applied catalog in 75.49 seconds
   
   (snip)
   
   ===== START TO RUN SMOKE TESTS: zookeeper =====
   
   (snip)
   
   TestZookeeper > testZkServerStatus STANDARD_ERROR
       20/07/06 00:53:54 INFO lang.Object: Running zkServer.sh status
       20/07/06 00:53:54 INFO lang.Object: zkServer.sh status checks out.
   Finished generating test XML results (0.008 secs) into: 
/bigtop-home/bigtop-tests/smoke-tests/zookeeper/build/test-results/test
   Generating HTML test report...
   Finished generating test html results (0.018 secs) into: 
/bigtop-home/bigtop-tests/smoke-tests/zookeeper/build/reports/tests/test
   Now testing...
   :bigtop-tests:smoke-tests:zookeeper:test (Thread[Task worker for ':' Thread 
2,5,main]) completed. Took 1.145 secs.
   
   BUILD SUCCESSFUL in 1m 10s
   ```
   
   where these config files were:
   
   ```
   $ cat ~/config_ubuntu-18.04.yaml 
   docker:
           memory_limit: "4g"
           image:  "bigtop/puppet:trunk-ubuntu-18.04"
   
   repo: "http://repos.bigtop.apache.org/releases/1.4.0/ubuntu/16.04/$(ARCH)"
   distro: debian
   components: [zookeeper]
   enable_local_repo: true
   smoke_test_components: [zookeeper]
   ```
   
   ```
   $ cat ~/config_debian-10.yaml 
   docker:
           memory_limit: "4g"
           image: "bigtop/puppet:trunk-debian-10"
   
   repo: "http://repos.bigtop.apache.org/releases/1.4.0/debian/9/$(ARCH)"
   distro: debian
   components: [zookeeper]
   enable_local_repo: true
   smoke_test_components: [zookeeper]
   ```


----------------------------------------------------------------
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]


Reply via email to