Project

General

Profile

action #56564 » preinstall.log

andriinikitin, 2019-09-07 11:13

 
> docker build .
Sending build context to Docker daemon 3.584kB
Step 1/25 : FROM opensuse/leap:15.1
---> 946fefc85888
Step 2/25 : ENV NAME openQA test environment
---> Using cache
---> 1bc1c408900d
Step 3/25 : ENV LANG en_US.UTF-8
---> Using cache
---> afa46f4fc12e
Step 4/25 : RUN zypper ar -f -p 80 https://download.opensuse.org/repositories/devel:/openQA:/Leap:/15.1/openSUSE_Leap_15.1 openQA
---> Using cache
---> 0b3948e2d087
Step 5/25 : RUN zypper ar -f -p 81 http://download.opensuse.org/repositories/devel:openQA/openSUSE_Leap_15.1 devel
---> Using cache
---> e7c3533f19b4
Step 6/25 : RUN zypper ar -f http://download.opensuse.org/repositories/devel:languages:perl/openSUSE_Leap_15.1 devel-perl
---> Using cache
---> 7d706da3e530
Step 7/25 : RUN zypper --gpg-auto-import-keys ref
---> Using cache
---> a14d16fcb9d8
Step 8/25 : RUN zypper -n install libpng16-devel
---> Using cache
---> ff0bab56b8c9
Step 9/25 : RUN zypper install -y autoconf automake gcc-c++ libtool pkgconfig\(opencv\) pkg-config perl\(Module::CPANfile\) pkgconfig\(fftw3\) pkgconfig\(libpng\) pkgconfig\(sndfile\) pkgconfig\(theoraenc\) make
---> Using cache
---> 14e2f4edcf01
Step 10/25 : RUN zypper install -y rubygem\(sass\) python3-base python3-requests python3-future git-core rsync curl postgresql-devel postgresql-server qemu qemu-kvm qemu-tools tar xorg-x11-fonts sudo
---> Using cache
---> 84597020cd9a
Step 11/25 : RUN zypper -n install perl-DBD-SQLite
---> Using cache
---> 460563bb3e27
Step 12/25 : RUN zypper -n install openQA-devel
---> Using cache
---> dfebf928aee5
Step 13/25 : ENV NORMAL_USER squamata
---> Using cache
---> 56f7d70c23b4
Step 14/25 : ENV USER $NORMAL_USER
---> Using cache
---> 2f22c230f26d
Step 15/25 : RUN echo "$NORMAL_USER ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
---> Using cache
---> 25eb8a27bcf1
Step 16/25 : RUN mkdir -p /home/$NORMAL_USER
---> Using cache
---> 355968227d5a
Step 17/25 : RUN useradd -r -d /home/$NORMAL_USER -g users --uid=1000 $NORMAL_USER
---> Using cache
---> 4fc36acee61a
Step 18/25 : RUN chown $NORMAL_USER:users /home/$NORMAL_USER
---> Using cache
---> c871dee61f30
Step 19/25 : RUN mkdir -p /opt/testing_area
---> Using cache
---> ec84abe25a87
Step 20/25 : RUN chown -R $NORMAL_USER:users /opt/testing_area
---> Using cache
---> 94845cfd9879
Step 21/25 : ENTRYPOINT ["/bin/bash"]
---> Using cache
---> fa0830b8188e
Step 22/25 : WORKDIR /opt/testing_area
---> Using cache
---> 005483fa8717
Step 23/25 : USER squamata
---> Using cache
---> b177325904ae
Step 24/25 : RUN git clone --single-branch --depth 1 https://github.com/os-autoinst/openQA
---> Running in 4ea3f2e9cece
Cloning into 'openQA'...
Removing intermediate container 4ea3f2e9cece
---> 92811d150aef
Step 25/25 : RUN cd openQA && eval $(t/test_postgresql | grep TEST_PG=) && FULLSTACK=1 script/run-tests-within-container
---> Running in 84f168505651

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
+ INSTALL_FROM_CPAN=0
+ export OPENQA_LOGFILE=/opt/openqa/openqa-debug.log
+ OPENQA_LOGFILE=/opt/openqa/openqa-debug.log
+ '[' x1 = x1 ']'
+ run_fullstack_test t/full-stack.t
+ prepare_fullstack_test
+ '[' '' ']'
+ git clone --single-branch --depth 1 https://github.com/os-autoinst/os-autoinst.git ../os-autoinst
Cloning into '../os-autoinst'...
+ cd ../os-autoinst
+ '[' 0 -eq 1 ']'
+ cpanm -n --mirror http://no.where/ --installdeps .
!
! Can't write to /usr/lib/perl5/site_perl/5.26.1 and /usr/bin: Installing modules to /home/squamata/perl5
! To turn off this warning, you have to do one of the following:
! - run me as a root or with --sudo option (to install to /usr/lib/perl5/site_perl/5.26.1 and /usr/bin)
! - Configure local::lib in your existing shell to set PERL_MM_OPT etc.
! - Install local::lib by running the following commands
!
! cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
!
--> Working on .
Configuring /opt/testing_area/os-autoinst ... OK
<== Installed dependencies for .. Finishing.
+ sh autogen.sh
+ test -n ''
+ mkdir --parent --verbose m4
+ aclocal --install -Im4
aclocal: installing 'm4/libtool.m4' from '/usr/share/aclocal/libtool.m4'
aclocal: installing 'm4/ltoptions.m4' from '/usr/share/aclocal/ltoptions.m4'
aclocal: installing 'm4/ltsugar.m4' from '/usr/share/aclocal/ltsugar.m4'
aclocal: installing 'm4/ltversion.m4' from '/usr/share/aclocal/ltversion.m4'
aclocal: installing 'm4/lt~obsolete.m4' from '/usr/share/aclocal/lt~obsolete.m4'
aclocal: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4'
+ autoreconf --verbose --install --symlink --force
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --force
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --force-missing
configure.ac:25: installing './compile'
configure.ac:25: installing './config.guess'
configure.ac:25: installing './config.sub'
configure.ac:17: installing './install-sh'
configure.ac:17: installing './missing'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory `.'
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking whether g++ supports C++11 features by default... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking perl CFLAGS... -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/CORE
checking for opencv4 >= 4.0... no
checking for opencv >= 2.4... yes
checking for theoraenc >= 1.1... yes
checking for fftw3... yes
checking for sndfile... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating t/Makefile
config.status: creating debugviewer/Makefile
config.status: creating snd2png/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
+ make
Making all in t
make[1]: Entering directory '/opt/testing_area/os-autoinst/t'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/opt/testing_area/os-autoinst/t'
Making all in debugviewer
make[1]: Entering directory '/opt/testing_area/os-autoinst/debugviewer'
CXX debugviewer.o
CXXLD debugviewer
make[1]: Leaving directory '/opt/testing_area/os-autoinst/debugviewer'
Making all in snd2png
make[1]: Entering directory '/opt/testing_area/os-autoinst/snd2png'
CXX snd2png.o
CXXLD snd2png
make[1]: Leaving directory '/opt/testing_area/os-autoinst/snd2png'
make[1]: Entering directory '/opt/testing_area/os-autoinst'
CXX videoencoder.o
CXXLD videoencoder
pod2html basetest.pm > doc/basetest.html
pod2html testapi.pm > doc/testapi.html
cd ppmclibs && \
perl Makefile.PL OPTIMIZE="-g -O2" CC="g++"
\1 better written as $1 at Makefile.PL line 7.
Package opencv4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv4' found
Generating a Unix-style Makefile
Writing Makefile for tinycv
Writing MYMETA.yml and MYMETA.json
make -C ppmclibs
make[2]: Entering directory '/opt/testing_area/os-autoinst/ppmclibs'
cp tinycv.pm blib/lib/tinycv.pm
Running Mkbootstrap for tinycv ()
chmod 644 "tinycv.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- tinycv.bs blib/arch/auto/tinycv/tinycv.bs 644
"/usr/bin/perl" "/usr/lib/perl5/5.26.1/ExtUtils/xsubpp" -C++ -typemap '/usr/lib/perl5/5.26.1/ExtUtils/typemap' -typemap '/opt/testing_area/os-autoinst/ppmclibs/typemap' tinycv.xs > tinycv.xsc
mv tinycv.xsc tinycv.c
g++ -c -I/usr/include/opencv -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/CORE" -Wall tinycv.c
g++ -c -I/usr/include/opencv -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/CORE" -Wall tinycv_ast2100.cc
g++ -c -I/usr/include/opencv -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/CORE" -Wall tinycv_impl.cc
rm -f blib/arch/auto/tinycv/tinycv.so
LD_RUN_PATH="/usr/lib/../lib64" g++ -shared -L/usr/local/lib64 -fstack-protector-strong tinycv.o tinycv_ast2100.o tinycv_impl.o -o blib/arch/auto/tinycv/tinycv.so \
-lopencv_core -lopencv_imgcodecs \
chmod 755 blib/arch/auto/tinycv/tinycv.so
make[2]: Leaving directory '/opt/testing_area/os-autoinst/ppmclibs'
make[1]: Leaving directory '/opt/testing_area/os-autoinst'
+ cd -
/opt/testing_area/openQA
+ '[' 0 -eq 1 ']'
+ true
+ export 'PERL5OPT= '
+ PERL5OPT=' '
+ perl -Ilib t/full-stack.t
ok 1
ok 2
Database initialized.
ok 3 - init empty database
Can't open file "/opt/openqa/openqa-debug.log": No such file or directory at lib/OpenQA/Setup.pm line 78.

(2-2/4)