Hey Luke,

I'm definitely opting for #1 and have a patch here[1]. This change can
be moved into the docker container later to resolve your concerns about
path changes.

Unrelated to the specific change, there are two questions this raises
which speak to the nature of our CI infra:

1. Why are docker build results not part of the verification for patchsets?
   
   If we don't provide feedback for docker builds (and also have the
   build/publish steps seperate) how will the community know when their
   Dockefile changes break builds?

2. How did the Docker build work for me locally but not on ericsson-build3?

   I've attached my build log and compared it to the last build[2], but
   no major differences jump out to me. The only differences I saw
   between the docker environments was a newer version of Go running on
   ericsson-build3.

Regards,
Trevor Bramwell

[1] https://gerrit.opnfv.org/gerrit/#/c/36601/
[2] 
https://build.opnfv.org/ci/job/releng-anteater-docker-build-push-master/14/console

On Tue, Jun 27, 2017 at 01:50:15PM +0100, Luke Hinds wrote:
> Hi,
> 
> Patch [1] resulted in docker build failing due to a non root user not
> having permissions to write to /usr/lib/python2.7, as seen in job [2]. To
> address this I opened [3] and pushed patch [4] which implements a
> virtualenv, but this now fails as the anteater path is not known.
> 
> There are two ways to resolve this.
> 
> 1. We hardcode the path to anteater in anteaters jjb scripts.
> 2. We revert back to running docker as before (root) user.
> 
> I guess 1 makes sense, but has some risk if the POSIX path were to change.
> For '2' I am not opposed as I don't see any security risk running the
> commands as root in the container. As I understand, this is a create /
> destroy scenario with no data persisting in any volumes or pulled in
> externally. Looking around others such as functest also run as root to
> create their needed env.
> 
> [1] https://gerrit.opnfv.org/gerrit/#/c/36325/
> [2]
> https://build.opnfv.org/ci/job/releng-anteater-docker-build-push-master/14/console
> [3] https://jira.opnfv.org/browse/RELENG-260
> [4] https://gerrit.opnfv.org/gerrit/#/c/36571
> [5]
> https://build.opnfv.org/ci/job/opnfv-security-audit-verify-master/133/console
> 
> -- 
> Luke Hinds | NFV Partner Engineering | Office of Technology | Red Hat
> e: lhi...@redhat.com | irc: lhinds @freenode | m: +44 77 45 63 98 84 | t: +44
> 12 52 36 2483
Sending build context to Docker daemon 557.1 kB
Sending build context to Docker daemon 1.114 MB
Sending build context to Docker daemon 1.671 MB
Sending build context to Docker daemon 2.228 MB
Sending build context to Docker daemon 2.387 MB

Step 1 : FROM centos:latest
 ---> 3bee3060bfc8
Step 2 : MAINTAINER Luke Hinds <lhi...@redhat.com>
 ---> Running in 3e11fd6f84ad
 ---> 2944e8e383ac
Removing intermediate container 3e11fd6f84ad
Step 3 : LABEL version "0.1" description "Anteater - OPNFV Gerrit Security Gate 
Checks"
 ---> Running in bf54a2254494
 ---> e79b0ed24b8e
Removing intermediate container bf54a2254494
Step 4 : ARG BRANCH=master
 ---> Running in a73f88a89aeb
 ---> 6fcb680e9870
Removing intermediate container a73f88a89aeb
Step 5 : ARG ANTEATER_USER=opnfv
 ---> Running in ac164ca9a605
 ---> db37c87201b9
Removing intermediate container ac164ca9a605
Step 6 : RUN useradd -U -m -s /bin/bash ${ANTEATER_USER}
 ---> Running in b08b1be8adce
 ---> 69b9edd3438d
Removing intermediate container b08b1be8adce
Step 7 : ENV HOME /home/${ANTEATER_USER}
 ---> Running in 7e787bb71210
 ---> 38ede80cdfdd
Removing intermediate container 7e787bb71210
Step 8 : ENV ANTEATER_HOME ${HOME}/anteater
 ---> Running in 32e5b6070b13
 ---> 4b734b100bb7
Removing intermediate container 32e5b6070b13
Step 9 : RUN yum -y install epel-release
 ---> Running in cee33ef966ac
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: mirrors.kernel.org
 * extras: centos.sonn.com
 * updates: ftp.osuosl.org
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-9 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch             Version         Repository        Size
================================================================================
Installing:
 epel-release           noarch           7-9             extras            14 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 14 k
Installed size: 24 k
Downloading packages:
warning: 
/var/cache/yum/x86_64/7/extras/packages/epel-release-7-9.noarch.rpm: Header V3 
RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for epel-release-7-9.noarch.rpm is not installed
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) 
<secur...@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-3.1611.el7.centos.x86_64 (@CentOS)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-9.noarch                                      1/1 
  Verifying  : epel-release-7-9.noarch                                      1/1 

Installed:
  epel-release.noarch 0:7-9                                                     

Complete!
 ---> 7e31419bf7d4
Removing intermediate container cee33ef966ac
Step 10 : RUN yum -y update
 ---> Running in c17a37a5a024
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.kernel.org
 * epel: ftp.osuosl.org
 * extras: centos.sonn.com
 * updates: ftp.osuosl.org
Resolving Dependencies
--> Running transaction check
---> Package ca-certificates.noarch 0:2017.2.11-70.1.el7_3 will be updated
---> Package ca-certificates.noarch 0:2017.2.14-70.1.el7_3 will be an update
---> Package glibc.x86_64 0:2.17-157.el7_3.2 will be updated
---> Package glibc.x86_64 0:2.17-157.el7_3.4 will be an update
---> Package glibc-common.x86_64 0:2.17-157.el7_3.2 will be updated
---> Package glibc-common.x86_64 0:2.17-157.el7_3.4 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch        Version                    Repository    Size
================================================================================
Updating:
 ca-certificates      noarch      2017.2.14-70.1.el7_3       updates      438 k
 glibc                x86_64      2.17-157.el7_3.4           updates      3.6 M
 glibc-common         x86_64      2.17-157.el7_3.4           updates       11 M

Transaction Summary
================================================================================
Upgrade  3 Packages

Total download size: 16 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total                                              2.2 MB/s |  16 MB  00:06     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : glibc-2.17-157.el7_3.4.x86_64                                1/6 
  Updating   : glibc-common-2.17-157.el7_3.4.x86_64                         2/6 
  Updating   : ca-certificates-2017.2.14-70.1.el7_3.noarch                  3/6 
  Cleanup    : ca-certificates-2017.2.11-70.1.el7_3.noarch                  4/6 
  Cleanup    : glibc-2.17-157.el7_3.2.x86_64                                5/6 
  Cleanup    : glibc-common-2.17-157.el7_3.2.x86_64                         6/6 
  Verifying  : glibc-common-2.17-157.el7_3.4.x86_64                         1/6 
  Verifying  : glibc-2.17-157.el7_3.4.x86_64                                2/6 
  Verifying  : ca-certificates-2017.2.14-70.1.el7_3.noarch                  3/6 
  Verifying  : glibc-2.17-157.el7_3.2.x86_64                                4/6 
  Verifying  : glibc-common-2.17-157.el7_3.2.x86_64                         5/6 
  Verifying  : ca-certificates-2017.2.11-70.1.el7_3.noarch                  6/6 

Updated:
  ca-certificates.noarch 0:2017.2.14-70.1.el7_3 glibc.x86_64 0:2.17-157.el7_3.4
  glibc-common.x86_64 0:2.17-157.el7_3.4       

Complete!
 ---> 46a8ecb4344b
Removing intermediate container c17a37a5a024
Step 11 : RUN yum -y install git python-devel python-pip
 ---> Running in 87be0e9c2852
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.kernel.org
 * epel: ftp.osuosl.org
 * extras: centos.sonn.com
 * updates: ftp.osuosl.org
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-6.el7_2.1 will be installed
--> Processing Dependency: perl-Git = 1.8.3.1-6.el7_2.1 for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl >= 5.008 for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: rsync for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(warnings) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(vars) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(strict) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(lib) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(Getopt::Long) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(File::stat) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(File::Temp) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(File::Spec) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(File::Path) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(File::Find) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(File::Copy) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(File::Basename) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(Exporter) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: openssh-clients for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: less for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: /usr/bin/perl for package: 
git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: 
git-1.8.3.1-6.el7_2.1.x86_64
---> Package python-devel.x86_64 0:2.7.5-48.el7 will be installed
---> Package python2-pip.noarch 0:8.1.2-5.el7 will be installed
--> Processing Dependency: python-setuptools for package: 
python2-pip-8.1.2-5.el7.noarch
--> Running transaction check
---> Package less.x86_64 0:458-9.el7 will be installed
--> Processing Dependency: groff-base for package: less-458-9.el7.x86_64
---> Package libgnome-keyring.x86_64 0:3.8.0-3.el7 will be installed
---> Package openssh-clients.x86_64 0:6.6.1p1-35.el7_3 will be installed
--> Processing Dependency: openssh = 6.6.1p1-35.el7_3 for package: 
openssh-clients-6.6.1p1-35.el7_3.x86_64
--> Processing Dependency: fipscheck-lib(x86-64) >= 1.3.0 for package: 
openssh-clients-6.6.1p1-35.el7_3.x86_64
--> Processing Dependency: libfipscheck.so.1()(64bit) for package: 
openssh-clients-6.6.1p1-35.el7_3.x86_64
--> Processing Dependency: libedit.so.0()(64bit) for package: 
openssh-clients-6.6.1p1-35.el7_3.x86_64
---> Package perl.x86_64 4:5.16.3-291.el7 will be installed
--> Processing Dependency: perl-libs = 4:5.16.3-291.el7 for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Socket) >= 1.3 for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl-macros for package: 4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl-libs for package: 4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(threads::shared) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(threads) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(constant) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Time::Local) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Time::HiRes) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Storable) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Socket) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Scalar::Util) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Pod::Simple::XHTML) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Pod::Simple::Search) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Filter::Util::Call) for package: 
4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-291.el7.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 
4:perl-5.16.3-291.el7.x86_64
---> Package perl-Error.noarch 1:0.17020-2.el7 will be installed
---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed
---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed
---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed
---> Package perl-Getopt-Long.noarch 0:2.40-2.el7 will be installed
--> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: 
perl-Getopt-Long-2.40-2.el7.noarch
--> Processing Dependency: perl(Text::ParseWords) for package: 
perl-Getopt-Long-2.40-2.el7.noarch
---> Package perl-Git.noarch 0:1.8.3.1-6.el7_2.1 will be installed
---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed
---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed
---> Package python-setuptools.noarch 0:0.9.8-4.el7 will be installed
--> Processing Dependency: python-backports-ssl_match_hostname for package: 
python-setuptools-0.9.8-4.el7.noarch
---> Package rsync.x86_64 0:3.0.9-17.el7 will be installed
--> Running transaction check
---> Package fipscheck-lib.x86_64 0:1.4.1-5.el7 will be installed
--> Processing Dependency: /usr/bin/fipscheck for package: 
fipscheck-lib-1.4.1-5.el7.x86_64
---> Package groff-base.x86_64 0:1.22.2-8.el7 will be installed
---> Package libedit.x86_64 0:3.0-12.20121213cvs.el7 will be installed
---> Package openssh.x86_64 0:6.6.1p1-35.el7_3 will be installed
---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed
---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed
---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 
1:perl-Pod-Simple-3.28-4.el7.noarch
--> Processing Dependency: perl(Encode) for package: 
1:perl-Pod-Simple-3.28-4.el7.noarch
---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed
--> Processing Dependency: perl(Pod::Text) >= 3.15 for package: 
perl-Pod-Usage-1.63-3.el7.noarch
--> Processing Dependency: perl-Pod-Perldoc for package: 
perl-Pod-Usage-1.63-3.el7.noarch
---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed
---> Package perl-Socket.x86_64 0:2.010-4.el7 will be installed
---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed
---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed
---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed
---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed
---> Package perl-constant.noarch 0:1.27-2.el7 will be installed
---> Package perl-libs.x86_64 4:5.16.3-291.el7 will be installed
---> Package perl-macros.x86_64 4:5.16.3-291.el7 will be installed
---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed
---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed
---> Package python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 will be 
installed
--> Processing Dependency: python-backports for package: 
python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
--> Running transaction check
---> Package fipscheck.x86_64 0:1.4.1-5.el7 will be installed
---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed
---> Package perl-Pod-Escapes.noarch 1:1.04-291.el7 will be installed
---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed
--> Processing Dependency: perl(parent) for package: 
perl-Pod-Perldoc-3.20-4.el7.noarch
--> Processing Dependency: perl(HTTP::Tiny) for package: 
perl-Pod-Perldoc-3.20-4.el7.noarch
---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed
---> Package python-backports.x86_64 0:1.0-8.el7 will be installed
--> Running transaction check
---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed
---> Package perl-parent.noarch 1:0.225-244.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                            Arch   Version                Repository
                                                                           Size
================================================================================
Installing:
 git                                x86_64 1.8.3.1-6.el7_2.1      base    4.4 M
 python-devel                       x86_64 2.7.5-48.el7           base    393 k
 python2-pip                        noarch 8.1.2-5.el7            epel    1.7 M
Installing for dependencies:
 fipscheck                          x86_64 1.4.1-5.el7            base     21 k
 fipscheck-lib                      x86_64 1.4.1-5.el7            base     11 k
 groff-base                         x86_64 1.22.2-8.el7           base    942 k
 less                               x86_64 458-9.el7              base    120 k
 libedit                            x86_64 3.0-12.20121213cvs.el7 base     92 k
 libgnome-keyring                   x86_64 3.8.0-3.el7            base    109 k
 openssh                            x86_64 6.6.1p1-35.el7_3       updates 438 k
 openssh-clients                    x86_64 6.6.1p1-35.el7_3       updates 642 k
 perl                               x86_64 4:5.16.3-291.el7       base    8.0 M
 perl-Carp                          noarch 1.26-244.el7           base     19 k
 perl-Encode                        x86_64 2.51-7.el7             base    1.5 M
 perl-Error                         noarch 1:0.17020-2.el7        base     32 k
 perl-Exporter                      noarch 5.68-3.el7             base     28 k
 perl-File-Path                     noarch 2.09-2.el7             base     26 k
 perl-File-Temp                     noarch 0.23.01-3.el7          base     56 k
 perl-Filter                        x86_64 1.49-3.el7             base     76 k
 perl-Getopt-Long                   noarch 2.40-2.el7             base     56 k
 perl-Git                           noarch 1.8.3.1-6.el7_2.1      base     53 k
 perl-HTTP-Tiny                     noarch 0.033-3.el7            base     38 k
 perl-PathTools                     x86_64 3.40-5.el7             base     82 k
 perl-Pod-Escapes                   noarch 1:1.04-291.el7         base     51 k
 perl-Pod-Perldoc                   noarch 3.20-4.el7             base     87 k
 perl-Pod-Simple                    noarch 1:3.28-4.el7           base    216 k
 perl-Pod-Usage                     noarch 1.63-3.el7             base     27 k
 perl-Scalar-List-Utils             x86_64 1.27-248.el7           base     36 k
 perl-Socket                        x86_64 2.010-4.el7            base     49 k
 perl-Storable                      x86_64 2.45-3.el7             base     77 k
 perl-TermReadKey                   x86_64 2.30-20.el7            base     31 k
 perl-Text-ParseWords               noarch 3.29-4.el7             base     14 k
 perl-Time-HiRes                    x86_64 4:1.9725-3.el7         base     45 k
 perl-Time-Local                    noarch 1.2300-2.el7           base     24 k
 perl-constant                      noarch 1.27-2.el7             base     19 k
 perl-libs                          x86_64 4:5.16.3-291.el7       base    688 k
 perl-macros                        x86_64 4:5.16.3-291.el7       base     43 k
 perl-parent                        noarch 1:0.225-244.el7        base     12 k
 perl-podlators                     noarch 2.5.1-3.el7            base    112 k
 perl-threads                       x86_64 1.87-4.el7             base     49 k
 perl-threads-shared                x86_64 1.43-6.el7             base     39 k
 python-backports                   x86_64 1.0-8.el7              base    5.8 k
 python-backports-ssl_match_hostname
                                    noarch 3.4.0.2-4.el7          base     12 k
 python-setuptools                  noarch 0.9.8-4.el7            base    396 k
 rsync                              x86_64 3.0.9-17.el7           base    360 k

Transaction Summary
================================================================================
Install  3 Packages (+42 Dependent packages)

Total download size: 21 M
Installed size: 77 M
Downloading packages:
warning: 
/var/cache/yum/x86_64/7/epel/packages/python2-pip-8.1.2-5.el7.noarch.rpm: 
Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for python2-pip-8.1.2-5.el7.noarch.rpm is not installed
--------------------------------------------------------------------------------
Total                                              2.8 MB/s |  21 MB  00:07     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) <e...@fedoraproject.org>"
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-9.noarch (@extras)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : fipscheck-1.4.1-5.el7.x86_64                                1/45 
  Installing : fipscheck-lib-1.4.1-5.el7.x86_64                            2/45 
  Installing : groff-base-1.22.2-8.el7.x86_64                              3/45 
  Installing : 1:perl-parent-0.225-244.el7.noarch                          4/45 
  Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                           5/45 
  Installing : perl-podlators-2.5.1-3.el7.noarch                           6/45 
  Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                          7/45 
  Installing : 1:perl-Pod-Escapes-1.04-291.el7.noarch                      8/45 
  Installing : perl-Encode-2.51-7.el7.x86_64                               9/45 
  Installing : perl-Text-ParseWords-3.29-4.el7.noarch                     10/45 
  Installing : perl-Pod-Usage-1.63-3.el7.noarch                           11/45 
  Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      12/45 
  Installing : perl-Exporter-5.68-3.el7.noarch                            13/45 
  Installing : perl-constant-1.27-2.el7.noarch                            14/45 
  Installing : perl-Time-Local-1.2300-2.el7.noarch                        15/45 
  Installing : perl-Socket-2.010-4.el7.x86_64                             16/45 
  Installing : perl-Carp-1.26-244.el7.noarch                              17/45 
  Installing : perl-Storable-2.45-3.el7.x86_64                            18/45 
  Installing : perl-PathTools-3.40-5.el7.x86_64                           19/45 
  Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 20/45 
  Installing : 4:perl-libs-5.16.3-291.el7.x86_64                          21/45 
  Installing : 4:perl-macros-5.16.3-291.el7.x86_64                        22/45 
  Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                        23/45 
  Installing : perl-File-Temp-0.23.01-3.el7.noarch                        24/45 
  Installing : perl-File-Path-2.09-2.el7.noarch                           25/45 
  Installing : perl-threads-shared-1.43-6.el7.x86_64                      26/45 
  Installing : perl-threads-1.87-4.el7.x86_64                             27/45 
  Installing : perl-Filter-1.49-3.el7.x86_64                              28/45 
  Installing : perl-Getopt-Long-2.40-2.el7.noarch                         29/45 
  Installing : 4:perl-5.16.3-291.el7.x86_64                               30/45 
  Installing : 1:perl-Error-0.17020-2.el7.noarch                          31/45 
  Installing : perl-TermReadKey-2.30-20.el7.x86_64                        32/45 
  Installing : less-458-9.el7.x86_64                                      33/45 
  Installing : openssh-6.6.1p1-35.el7_3.x86_64                            34/45 
  Installing : rsync-3.0.9-17.el7.x86_64                                  35/45 
  Installing : libedit-3.0-12.20121213cvs.el7.x86_64                      36/45 
  Installing : openssh-clients-6.6.1p1-35.el7_3.x86_64                    37/45 
  Installing : libgnome-keyring-3.8.0-3.el7.x86_64                        38/45 
  Installing : perl-Git-1.8.3.1-6.el7_2.1.noarch                          39/45 
  Installing : git-1.8.3.1-6.el7_2.1.x86_64                               40/45 
  Installing : python-backports-1.0-8.el7.x86_64                          41/45 
  Installing : python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch   42/45 
  Installing : python-setuptools-0.9.8-4.el7.noarch                       43/45 
  Installing : python2-pip-8.1.2-5.el7.noarch                             44/45 
  Installing : python-devel-2.7.5-48.el7.x86_64                           45/45 
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                           1/45 
  Verifying  : python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch    2/45 
  Verifying  : perl-threads-shared-1.43-6.el7.x86_64                       3/45 
  Verifying  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                       4/45 
  Verifying  : perl-Exporter-5.68-3.el7.noarch                             5/45 
  Verifying  : perl-constant-1.27-2.el7.noarch                             6/45 
  Verifying  : perl-PathTools-3.40-5.el7.x86_64                            7/45 
  Verifying  : openssh-clients-6.6.1p1-35.el7_3.x86_64                     8/45 
  Verifying  : 1:perl-Pod-Escapes-1.04-291.el7.noarch                      9/45 
  Verifying  : 1:perl-parent-0.225-244.el7.noarch                         10/45 
  Verifying  : python-setuptools-0.9.8-4.el7.noarch                       11/45 
  Verifying  : perl-TermReadKey-2.30-20.el7.x86_64                        12/45 
  Verifying  : python2-pip-8.1.2-5.el7.noarch                             13/45 
  Verifying  : groff-base-1.22.2-8.el7.x86_64                             14/45 
  Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                        15/45 
  Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                        16/45 
  Verifying  : perl-Time-Local-1.2300-2.el7.noarch                        17/45 
  Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                         18/45 
  Verifying  : perl-Git-1.8.3.1-6.el7_2.1.noarch                          19/45 
  Verifying  : perl-Socket-2.010-4.el7.x86_64                             20/45 
  Verifying  : perl-Carp-1.26-244.el7.noarch                              21/45 
  Verifying  : perl-podlators-2.5.1-3.el7.noarch                          22/45 
  Verifying  : 1:perl-Error-0.17020-2.el7.noarch                          23/45 
  Verifying  : python-backports-1.0-8.el7.x86_64                          24/45 
  Verifying  : perl-Storable-2.45-3.el7.x86_64                            25/45 
  Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 26/45 
  Verifying  : fipscheck-lib-1.4.1-5.el7.x86_64                           27/45 
  Verifying  : 4:perl-libs-5.16.3-291.el7.x86_64                          28/45 
  Verifying  : 4:perl-macros-5.16.3-291.el7.x86_64                        29/45 
  Verifying  : libgnome-keyring-3.8.0-3.el7.x86_64                        30/45 
  Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                           31/45 
  Verifying  : perl-Encode-2.51-7.el7.x86_64                              32/45 
  Verifying  : openssh-6.6.1p1-35.el7_3.x86_64                            33/45 
  Verifying  : perl-Getopt-Long-2.40-2.el7.noarch                         34/45 
  Verifying  : perl-File-Path-2.09-2.el7.noarch                           35/45 
  Verifying  : 4:perl-5.16.3-291.el7.x86_64                               36/45 
  Verifying  : libedit-3.0-12.20121213cvs.el7.x86_64                      37/45 
  Verifying  : perl-threads-1.87-4.el7.x86_64                             38/45 
  Verifying  : fipscheck-1.4.1-5.el7.x86_64                               39/45 
  Verifying  : perl-Filter-1.49-3.el7.x86_64                              40/45 
  Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                     41/45 
  Verifying  : git-1.8.3.1-6.el7_2.1.x86_64                               42/45 
  Verifying  : rsync-3.0.9-17.el7.x86_64                                  43/45 
  Verifying  : python-devel-2.7.5-48.el7.x86_64                           44/45 
  Verifying  : less-458-9.el7.x86_64                                      45/45 

Installed:
  git.x86_64 0:1.8.3.1-6.el7_2.1        python-devel.x86_64 0:2.7.5-48.el7     
  python2-pip.noarch 0:8.1.2-5.el7     

Dependency Installed:
  fipscheck.x86_64 0:1.4.1-5.el7                                                
  fipscheck-lib.x86_64 0:1.4.1-5.el7                                            
  groff-base.x86_64 0:1.22.2-8.el7                                              
  less.x86_64 0:458-9.el7                                                       
  libedit.x86_64 0:3.0-12.20121213cvs.el7                                       
  libgnome-keyring.x86_64 0:3.8.0-3.el7                                         
  openssh.x86_64 0:6.6.1p1-35.el7_3                                             
  openssh-clients.x86_64 0:6.6.1p1-35.el7_3                                     
  perl.x86_64 4:5.16.3-291.el7                                                  
  perl-Carp.noarch 0:1.26-244.el7                                               
  perl-Encode.x86_64 0:2.51-7.el7                                               
  perl-Error.noarch 1:0.17020-2.el7                                             
  perl-Exporter.noarch 0:5.68-3.el7                                             
  perl-File-Path.noarch 0:2.09-2.el7                                            
  perl-File-Temp.noarch 0:0.23.01-3.el7                                         
  perl-Filter.x86_64 0:1.49-3.el7                                               
  perl-Getopt-Long.noarch 0:2.40-2.el7                                          
  perl-Git.noarch 0:1.8.3.1-6.el7_2.1                                           
  perl-HTTP-Tiny.noarch 0:0.033-3.el7                                           
  perl-PathTools.x86_64 0:3.40-5.el7                                            
  perl-Pod-Escapes.noarch 1:1.04-291.el7                                        
  perl-Pod-Perldoc.noarch 0:3.20-4.el7                                          
  perl-Pod-Simple.noarch 1:3.28-4.el7                                           
  perl-Pod-Usage.noarch 0:1.63-3.el7                                            
  perl-Scalar-List-Utils.x86_64 0:1.27-248.el7                                  
  perl-Socket.x86_64 0:2.010-4.el7                                              
  perl-Storable.x86_64 0:2.45-3.el7                                             
  perl-TermReadKey.x86_64 0:2.30-20.el7                                         
  perl-Text-ParseWords.noarch 0:3.29-4.el7                                      
  perl-Time-HiRes.x86_64 4:1.9725-3.el7                                         
  perl-Time-Local.noarch 0:1.2300-2.el7                                         
  perl-constant.noarch 0:1.27-2.el7                                             
  perl-libs.x86_64 4:5.16.3-291.el7                                             
  perl-macros.x86_64 4:5.16.3-291.el7                                           
  perl-parent.noarch 1:0.225-244.el7                                            
  perl-podlators.noarch 0:2.5.1-3.el7                                           
  perl-threads.x86_64 0:1.87-4.el7                                              
  perl-threads-shared.x86_64 0:1.43-6.el7                                       
  python-backports.x86_64 0:1.0-8.el7                                           
  python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7                    
  python-setuptools.noarch 0:0.9.8-4.el7                                        
  rsync.x86_64 0:3.0.9-17.el7                                                   

Complete!
 ---> 7037d29af1a2
Removing intermediate container 87be0e9c2852
Step 12 : RUN yum clean all
 ---> Running in 4124f4bca152
Loaded plugins: fastestmirror, ovl
Cleaning repos: base epel extras updates
Cleaning up everything
Cleaning up list of fastest mirrors
 ---> 6ef7b7563c03
Removing intermediate container 4124f4bca152
Step 13 : USER ${ANTEATER_USER}
 ---> Running in 92de242ad292
 ---> b925d3fe37cb
Removing intermediate container 92de242ad292
Step 14 : RUN mkdir -p ${ANTEATER_HOME}
 ---> Running in ed758631ddb7
 ---> 23c8cc7959d8
Removing intermediate container ed758631ddb7
Step 15 : RUN git clone https://gerrit.opnfv.org/gerrit/releng-anteater 
${ANTEATER_HOME}
 ---> Running in bb4403d69084
Cloning into '/home/opnfv/anteater'...
 ---> 6ec912e972a8
Removing intermediate container bb4403d69084
Step 16 : WORKDIR ${ANTEATER_HOME}
 ---> Running in 5c598b6621ff
 ---> 8a61d9b3a9ca
Removing intermediate container 5c598b6621ff
Step 17 : RUN /usr/bin/pip install -r ${ANTEATER_HOME}/requirements.txt
 ---> Running in fc41bff326ca
Collecting appdirs==1.4.3 (from -r /home/opnfv/anteater/requirements.txt (line 
1))
  Downloading appdirs-1.4.3-py2.py3-none-any.whl
Collecting binaryornot==0.4.3 (from -r /home/opnfv/anteater/requirements.txt 
(line 2))
  Downloading binaryornot-0.4.3-py2.py3-none-any.whl
Collecting chardet==3.0.2 (from -r /home/opnfv/anteater/requirements.txt (line 
3))
  Downloading chardet-3.0.2-py2.py3-none-any.whl (133kB)
Collecting docopt==0.6.2 (from -r /home/opnfv/anteater/requirements.txt (line 
4))
  Downloading docopt-0.6.2.tar.gz
Collecting packaging==16.8 (from -r /home/opnfv/anteater/requirements.txt (line 
5))
  Downloading packaging-16.8-py2.py3-none-any.whl
Collecting pyaml==16.12.2 (from -r /home/opnfv/anteater/requirements.txt (line 
6))
  Downloading pyaml-16.12.2-py2.py3-none-any.whl
Collecting pyparsing==2.2.0 (from -r /home/opnfv/anteater/requirements.txt 
(line 7))
  Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
Collecting PyYAML==3.12 (from -r /home/opnfv/anteater/requirements.txt (line 8))
  Downloading PyYAML-3.12.tar.gz (253kB)
Collecting six==1.10.0 (from -r /home/opnfv/anteater/requirements.txt (line 9))
  Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: appdirs, chardet, binaryornot, docopt, 
pyparsing, six, packaging, PyYAML, pyaml
  Found existing installation: chardet 2.2.1
    Uninstalling chardet-2.2.1:
      Successfully uninstalled chardet-2.2.1
  Running setup.py install for docopt: started
    Running setup.py install for docopt: finished with status 'done'
  Running setup.py install for PyYAML: started
    Running setup.py install for PyYAML: finished with status 'done'
Successfully installed PyYAML-3.12 appdirs-1.4.3 binaryornot-0.4.3 
chardet-3.0.2 docopt-0.6.2 packaging-16.8 pyaml-16.12.2 pyparsing-2.2.0 
six-1.10.0
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
 ---> 4c456f2a6add
Removing intermediate container fc41bff326ca
Step 18 : RUN python ${ANTEATER_HOME}/setup.py install
 ---> Running in fb814ba4fbca
running install
running bdist_egg
running egg_info
creating anteater.egg-info
writing requirements to anteater.egg-info/requires.txt
writing anteater.egg-info/PKG-INFO
writing top-level names to anteater.egg-info/top_level.txt
writing dependency_links to anteater.egg-info/dependency_links.txt
writing entry points to anteater.egg-info/entry_points.txt
writing manifest file 'anteater.egg-info/SOURCES.txt'
file anteater.py (for module anteater) not found
reading manifest file 'anteater.egg-info/SOURCES.txt'
writing manifest file 'anteater.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
file anteater.py (for module anteater) not found
creating build
creating build/lib
creating build/lib/anteater
copying anteater/anteater.py -> build/lib/anteater
copying anteater/__init__.py -> build/lib/anteater
creating build/lib/anteater/utils
copying anteater/utils/__init__.py -> build/lib/anteater/utils
copying anteater/utils/anteater_logger.py -> build/lib/anteater/utils
creating build/lib/anteater/src
copying anteater/src/project_scan.py -> build/lib/anteater/src
copying anteater/src/patch_scan.py -> build/lib/anteater/src
copying anteater/src/get_lists.py -> build/lib/anteater/src
copying anteater/src/__init__.py -> build/lib/anteater/src
file anteater.py (for module anteater) not found
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/anteater
creating build/bdist.linux-x86_64/egg/anteater/utils
copying build/lib/anteater/utils/__init__.py -> 
build/bdist.linux-x86_64/egg/anteater/utils
copying build/lib/anteater/utils/anteater_logger.py -> 
build/bdist.linux-x86_64/egg/anteater/utils
creating build/bdist.linux-x86_64/egg/anteater/src
copying build/lib/anteater/src/project_scan.py -> 
build/bdist.linux-x86_64/egg/anteater/src
copying build/lib/anteater/src/patch_scan.py -> 
build/bdist.linux-x86_64/egg/anteater/src
copying build/lib/anteater/src/get_lists.py -> 
build/bdist.linux-x86_64/egg/anteater/src
copying build/lib/anteater/src/__init__.py -> 
build/bdist.linux-x86_64/egg/anteater/src
copying build/lib/anteater/anteater.py -> build/bdist.linux-x86_64/egg/anteater
copying build/lib/anteater/__init__.py -> build/bdist.linux-x86_64/egg/anteater
byte-compiling build/bdist.linux-x86_64/egg/anteater/utils/__init__.py to 
__init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/anteater/utils/anteater_logger.py 
to anteater_logger.pyc
byte-compiling build/bdist.linux-x86_64/egg/anteater/src/project_scan.py to 
project_scan.pyc
byte-compiling build/bdist.linux-x86_64/egg/anteater/src/patch_scan.py to 
patch_scan.pyc
byte-compiling build/bdist.linux-x86_64/egg/anteater/src/get_lists.py to 
get_lists.pyc
byte-compiling build/bdist.linux-x86_64/egg/anteater/src/__init__.py to 
__init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/anteater/anteater.py to anteater.pyc
byte-compiling build/bdist.linux-x86_64/egg/anteater/__init__.py to __init__.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying anteater.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying anteater.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying anteater.egg-info/dependency_links.txt -> 
build/bdist.linux-x86_64/egg/EGG-INFO
copying anteater.egg-info/entry_points.txt -> 
build/bdist.linux-x86_64/egg/EGG-INFO
copying anteater.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying anteater.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying anteater.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/anteater-0.1-py2.7.egg' and adding 
'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing anteater-0.1-py2.7.egg
creating /usr/lib/python2.7/site-packages/anteater-0.1-py2.7.egg
Extracting anteater-0.1-py2.7.egg to /usr/lib/python2.7/site-packages
Adding anteater 0.1 to easy-install.pth file
Installing anteater script to /usr/bin

Installed /usr/lib/python2.7/site-packages/anteater-0.1-py2.7.egg
Processing dependencies for anteater==0.1
Searching for docopt==0.6.2
Best match: docopt 0.6.2
Adding docopt 0.6.2 to easy-install.pth file

Using /usr/lib/python2.7/site-packages
Finished processing dependencies for anteater==0.1
 ---> bcf594541b69
Removing intermediate container fb814ba4fbca
Successfully built bcf594541b69

Attachment: signature.asc
Description: PGP signature

_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to