intel / cc-oci-runtime

OCI (Open Containers Initiative) compatible runtime for Intel® Architecture
GNU General Public License v2.0
417 stars 59 forks source link

Make check not working on Centos 7.0 #844

Open GabyCT opened 7 years ago

GabyCT commented 7 years ago

If you run make check on centos 7.0 $ make check You will receive the following error --- PASS: TestAllocateIo (0.00s) PASS ok github.com/01org/cc-oci-runtime/proxy 1.035s GEN tests/lib/test-common.bash make: t: Command not found make: [docker-tests] Error 127 (ignored) GEN tests/lib/test-crio.bats timeout: failed to run command ‘-t’: No such file or directory make: *** [crio-tests] Error 127

devimc commented 7 years ago

/cc @chavafg

gorozco1 commented 7 years ago

@devimc This due a missing dependencies to run crio-tests right?

chavafg commented 7 years ago

seems like bats is not installed, will try to reproduce tomorrow

GabyCT commented 7 years ago

@chavafg , bats is installed

$ bats --version Bats 0.4.0

--- PASS: TestAllocateIo (0.02s) PASS ok github.com/01org/cc-oci-runtime/proxy 1.058s GEN tests/lib/test-common.bash make: t: Command not found make: [docker-tests] Error 127 (ignored) GEN tests/lib/test-crio.bats timeout: failed to run command ‘-t’: No such file or directory make: *** [crio-tests] Error 127

devimc commented 7 years ago

@gorozco1 I think so, but not sure @GabyCT could you run next command and try again

yum install -y \
  btrfs-progs-devel \
  device-mapper-devel \
  glib2-devel \
  glibc-devel \
  glibc-static \
  gpgme-devel \
  libassuan-devel \
  libgpg-error-devel \
  libseccomp-devel \
  libselinux-devel \
  pkgconfig \
  runc
GabyCT commented 7 years ago

@devimc, I did the installation $ yum install -y btrfs-progs-devel device-mapper-devel glib2-devel glibc-devel glibc-static gpgme-devel libassuan-devel libgpg-error-devel libseccomp-devel libselinux-devel pkgconfig runc

However, it is not working --- PASS: TestAllocateIo (0.00s) PASS ok github.com/01org/cc-oci-runtime/proxy 1.034s make: t: Command not found make: [docker-tests] Error 127 (ignored) timeout: failed to run command ‘-t’: No such file or directory