Valentin, Thanks for the advice. Some more notes and questions:
Your repo does not include a Dockerfile. So I created one with the instructions in the readme. I had to make the following updates to your instructions: * Using a xenial base, start with "apt-get update" (otherwise build-essential etc did not install - "unable to locate package") * I had to add "curl gnupg2" to the apt-get list * Various other tweaks to get the instructions to run as via the dockerfile (e.g. as root), mostly related to getting rvm to install However, once the container is deployed, it seems the sequence of install steps did not complete somehow as I get: root@clearwater-live-test:/# rake /usr/local/bin/rake:23:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin/rake (LoadError) from /usr/local/bin/rake:23:in `<main>' Also, once I get past that... it's not clear from the readme what needs to be done, next. Are there examples somewhere of the IMS tests that need to be referenced in the rake command? Or is there a way to use the shell for something simpler? Here's the dockerfile I am using. One quick question on this: is xenial OK or is there some other ubuntu version I need to use? FROM ubuntu:xenial MAINTAINER Bryan Sullivan RUN apt-get update && apt-get install -y build-essential bundler git curl gnupg2 RUN gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 RUN curl -L https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer -o ~/rvm-installer # This is not a user-based install, use --ignore-dotfiles RUN /bin/bash -c "source ~/rvm-installer --ignore-dotfiles stable" RUN /bin/bash -c "source /usr/local/rvm/scripts/rvm" # Set the path to the rvm binary RUN /bin/bash -c "export PATH=$PATH:/usr/local/rvm/bin; rvm autolibs enable; rvm autolibs enable; rvm install 1.9.3; rvm use 1.9.3; ruby --version" # should indicate that ruby 1.9.3 is in use RUN git clone https://github.com/Metaswitch/clearwater-live-test.git RUN cd clearwater-live-test && bundle install Thanks, Bryan Sullivan | AT&T From: opnfv-tech-discuss-boun...@lists.opnfv.org [mailto:opnfv-tech-discuss-boun...@lists.opnfv.org] On Behalf Of Valentin Boucher Sent: Thursday, January 25, 2018 8:47 AM To: Bryan Sullivan <bls...@hotmail.com>; opnfv-tech-discuss@lists.opnfv.org Subject: Re: [opnfv-tech-discuss] Issues building clearwater-live-test Hi bryan, In functest cloudify_ims testcase we use a fork of this clearwater live test repository. By default the clearwater live test only print the results on the terminal .. So I update that code to have a json result file in order to put that in the opnfv test result api! The build of functest docker vnf (including this test suite) work well and the version of quaff is 0.7.2 -> https://github.com/boucherv-orange/clearwater-live-test/blob/stable/Gemfile.lock#L47<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_boucherv-2Dorange_clearwater-2Dlive-2Dtest_blob_stable_Gemfile.lock-23L47&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=ML-JPRZQOfToJjMwlJLPlcWimAEwMA5DZGNIrk-cgy0&m=cViO8HdyF_jCE1xW2GiAKV0XU6352DFJtqNgJSfKm40&s=2OiW4h3NoSPdw2K1_WmxwQbPT3AxURFNWnvMvnTo_N8&e=> Armband team, also update one dependency to support this container on arm64 server! Valentin ________________________________ De : opnfv-tech-discuss-boun...@lists.opnfv.org<mailto:opnfv-tech-discuss-boun...@lists.opnfv.org> [opnfv-tech-discuss-boun...@lists.opnfv.org] de la part de Bryan Sullivan [bls...@hotmail.com] Envoyé : jeudi 25 janvier 2018 11:35 À : opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org> Objet : [opnfv-tech-discuss] Issues building clearwater-live-test Does anyone have contacts at Metaswitch that could help with this issue? I have tried joining their mail list but am getting no response. When I build the docker container as described (https://github.com/Metaswitch/clearwater-live-test<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Metaswitch_clearwater-2Dlive-2Dtest&d=DwQF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=ML-JPRZQOfToJjMwlJLPlcWimAEwMA5DZGNIrk-cgy0&m=cViO8HdyF_jCE1xW2GiAKV0XU6352DFJtqNgJSfKm40&s=38JLaSs-oZ9K7NjsPYT42BTC-sLcJnoaWxOJ2b9NJhA&e=> : "Simply run docker build -t clearwater/live-test . from within the clearwater-live-test/ directory. ") I get the following error. Same error with their stable branch. Step 7/7 : RUN bundle install ---> Running in 81dc14cd34d7 Fetching gem metadata from https://rubygems.org/<https://urldefense.proofpoint.com/v2/url?u=https-3A__rubygems.org_&d=DwQF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=ML-JPRZQOfToJjMwlJLPlcWimAEwMA5DZGNIrk-cgy0&m=cViO8HdyF_jCE1xW2GiAKV0XU6352DFJtqNgJSfKm40&s=afHTs9xGZRPAxcOSywtkmJEAYuLd_UKOaJ4oeSz5DR4&e=>......... Fetching https://github.com/bossmc/joker.git<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_bossmc_joker.git&d=DwQF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=ML-JPRZQOfToJjMwlJLPlcWimAEwMA5DZGNIrk-cgy0&m=cViO8HdyF_jCE1xW2GiAKV0XU6352DFJtqNgJSfKm40&s=CFt2k4dfpArzDuaH75tNGMR5j2j4ivOqJasjXXbfh00&e=> Cloning into bare repository '/var/lib/gems/1.9.1/cache/bundler/git/joker-62a31cfee6b11382ddb10da61fc120a882d5c721'... Cloning into '/var/lib/gems/1.9.1/bundler/gems/joker-97ac2b5738b4'... done. Could not find quaff-0.7.4 in any of the sources The command '/bin/sh -c bundle install' returned a non-zero code: 7 Thanks, Bryan Sullivan
_______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss