[Bugs] [Bug 1719778] New: build fails for every patch on release 5

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 12 14:21:38 UTC 2019


            Bug ID: 1719778
           Summary: build fails for every patch on release 5
           Product: GlusterFS
           Version: 5
            Status: NEW
         Component: core
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: hgowtham at redhat.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community

Description of problem:
The smoke test started to fail on the release 5 branch.

Version-Release number of selected component (if applicable):
release 5

How reproducible:
has been happening to all release 5 patches lately.
Even the one that passed earlier have started to fail 

Steps to Reproduce:

Actual results:
The smoke test fails

Expected results:
The smoke test has to pass

Additional info:
The link to the build failure:

Mock Version: 1.4.16
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs
--target i686 --nodeps /builddir/build/SPECS/glusterfs.spec'],
chrootPath='/var/lib/mock/epel-6-i386/root'env={'TERM': 'vt100', 'SHELL':
'/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf
"\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG':
'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target
i686 --nodeps /builddir/build/SPECS/glusterfs.spec'] with env {'TERM': 'vt100',
'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf
"\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG':
'en_US.UTF-8'} and shell False
BUILDSTDERR: warning: Could not canonicalize hostname:
Building target platforms: i686
Building for target i686
Wrote: /builddir/build/SRPMS/glusterfs-5.6-0.7.gitb71e7b3.el6.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb
--target i686 --nodeps /builddir/build/SPECS/glusterfs.spec'],
chrootPath='/var/lib/mock/epel-6-i386/root'env={'TERM': 'vt100', 'SHELL':
'/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf
"\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG':
'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target
i686 --nodeps /builddir/build/SPECS/glusterfs.spec'] with env {'TERM': 'vt100',
'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf
"\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG':
'en_US.UTF-8'} and shell False
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xkCF2q
+ umask 022
+ cd /builddir/build/BUILD
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
+ rm -rf glusterfs-5.6
+ /usr/bin/gzip -dc /builddir/build/SOURCES/glusterfs-5.6.tar.gz
+ /bin/tar -xf -
+ '[' 0 -ne 0 ']'
+ cd glusterfs-5.6
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'fixing python shebangs...'
fixing python shebangs...
+ for f in api events extras geo-replication libglusterfs tools xlators
+ find api -type f -exec sed -i 's|/usr/bin/python3|/usr/bin/python2|' '{}' ';'
+ for f in api events extras geo-replication libglusterfs tools xlators
+ find events -type f -exec sed -i 's|/usr/bin/python3|/usr/bin/python2|' '{}'
+ for f in api events extras geo-replication libglusterfs tools xlators
+ find extras -type f -exec sed -i 's|/usr/bin/python3|/usr/bin/python2|' '{}'
+ for f in api events extras geo-replication libglusterfs tools xlators
+ find geo-replication -type f -exec sed -i
's|/usr/bin/python3|/usr/bin/python2|' '{}' ';'
+ for f in api events extras geo-replication libglusterfs tools xlators
+ find libglusterfs -type f -exec sed -i 's|/usr/bin/python3|/usr/bin/python2|'
'{}' ';'
+ for f in api events extras geo-replication libglusterfs tools xlators
+ find tools -type f -exec sed -i 's|/usr/bin/python3|/usr/bin/python2|' '{}'
+ for f in api events extras geo-replication libglusterfs tools xlators
+ find xlators -type f -exec sed -i 's|/usr/bin/python3|/usr/bin/python2|' '{}'
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kGZI5V
+ umask 022
+ cd /builddir/build/BUILD
+ cd glusterfs-5.6
+ export LANG
+ unset DISPLAY
+ ./autogen.sh
... GlusterFS autogen ...
Running aclocal...
Running autoheader...
Running libtoolize...
Running autoconf...
Running automake...
BUILDSTDERR: configure.ac:30: required file
`xlators/features/glupy/Makefile.in' not found
BUILDSTDERR: configure.ac:30: required file
`xlators/features/glupy/examples/Makefile.in' not found
BUILDSTDERR: configure.ac:30: required file
`xlators/features/glupy/src/Makefile.in' not found
BUILDSTDERR: configure.ac:30: required file
`xlators/features/glupy/src/setup.py.in' not found
BUILDSTDERR: configure.ac:30: required file
`xlators/features/glupy/src/__init__.py.in' not found
BUILDSTDERR: configure.ac:30: required file
`xlators/features/glupy/src/glupy/Makefile.in' not found
Please proceed with configuring, compiling, and installing.
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu
--target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib
--mandir=/usr/share/man --infodir=/usr/share/info --without-tmpfilesdir
--disable-events --disable-georeplication --without-ocf --without-server
--disable-syslog --disable-tiering --without-libtirpc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for i686-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for i686-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i686-redhat-linux-gnu-ar... no
checking for ar... ar
checking for i686-redhat-linux-gnu-strip... no
checking for strip... strip
checking for i686-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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/bin/ld) 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... no
checking for rpcgen... yes
checking for /etc/centos-release... yes
CentOS release 6.10 (Final)
checking for dlopen in -ldl... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for bison... bison -y
checking for i686-redhat-linux-gnu-ld... /usr/bin/ld
checking for MD5 in -lcrypto... yes
checking for pthread_mutex_init in -lpthread... yes
checking for dlopen... yes
checking for rl_do_undo in -lreadline... yes
checking for gettext in -lintl... no
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking openssl/dh.h usability... yes
checking openssl/dh.h presence... yes
checking for openssl/dh.h... yes
checking openssl/ecdh.h usability... yes
checking openssl/ecdh.h presence... yes
checking for openssl/ecdh.h... yes
checking for pow in -lm... yes
checking for i686-redhat-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for UUID... yes
checking for uuid.h... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking acl/libacl.h usability... yes
checking acl/libacl.h presence... yes
checking for acl/libacl.h... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking for adler32 in -lz... yes
checking linux/falloc.h usability... yes
checking linux/falloc.h presence... yes
checking for linux/falloc.h... yes
checking linux/oom.h usability... yes
checking linux/oom.h presence... yes
checking for linux/oom.h... yes
checking for pthread_spin_init... yes
checking for strnlen... yes
checking for setfsuid... yes
checking for setfsgid... yes
checking for umount2... yes
checking whether /usr/bin/python2 version >= 2.6... yes
checking for /usr/bin/python2 version... 2.6
checking for /usr/bin/python2 platform... linux2
checking for /usr/bin/python2 script directory...
checking for /usr/bin/python2 extension module directory...
checking for TLS_method in -lssl... no
checking for TLSv1_2_method in -lssl... yes
checking openssl/cmac.h usability... yes
checking openssl/cmac.h presence... yes
checking for openssl/cmac.h... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking for ibv_get_device_list in -libverbs... yes
checking for rdma_create_id in -lrdmacm... yes
checking whether RDMA_OPTION_ID_REUSEADDR is declared... yes
checking for ZLIB... yes
features requiring zlib enabled: yes
checking for XML... yes
checking for curl_easy_setopt in -lcurl... yes
checking openssl/hmac.h usability... yes
checking openssl/hmac.h presence... yes
checking for openssl/hmac.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/bio.h usability... yes
checking openssl/bio.h presence... yes
checking for openssl/bio.h... yes
checking openssl/buffer.h usability... yes
checking openssl/buffer.h presence... yes
checking for openssl/buffer.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for malloc_stats... yes
checking for struct stat.st_atim.tv_nsec... yes
checking for struct stat.st_atimespec.tv_nsec... no
checking for linkat... yes
checking for clock_gettime in -lrt... yes
checking argp.h usability... yes
checking argp.h presence... yes
checking for argp.h... yes
checking for gcc __atomic builtins... no
checking for gcc __sync builtins... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for llistxattr... yes
checking for fdatasync... yes
checking for fallocate... yes
checking for posix_fallocate... yes
checking for utimensat... yes
checking whether SEEK_HOLE is declared... no
checking for /etc/debian_version... no
checking for /etc/SuSE-release... no
checking for /etc/redhat-release... yes
checking whether gcc accepts -Werror=format-security... yes
checking whether gcc accepts -Werror=implicit-function-declaration... yes
checking if compiling with clang... no
checking for readline in -lreadline -lcurses... yes
checking for readline in -lreadline -ltermcap... yes
checking for readline in -lreadline -lncurses... yes
checking for io_setup in -laio... yes
building glupy with -isystem -isystem /usr/include/python2.6
-I/usr/include/python2.6 -lpthread -ldl -lutil -lm -lpython2.6
checking for URCU... yes
checking for URCU_CDS... no
checking for URCU_CDS... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libglusterfs/Makefile
config.status: creating libglusterfs/src/Makefile
config.status: creating libglusterfs/src/gfdb/Makefile
config.status: creating geo-replication/src/peer_gsec_create
config.status: creating geo-replication/src/peer_mountbroker
config.status: creating geo-replication/src/peer_mountbroker.py
config.status: creating geo-replication/src/peer_georep-sshkey.py
config.status: creating extras/peer_add_secret_pub
config.status: creating geo-replication/syncdaemon/conf.py
config.status: creating geo-replication/gsyncd.conf
config.status: creating extras/snap_scheduler/conf.py
config.status: creating glusterfsd/Makefile
config.status: creating glusterfsd/src/Makefile
config.status: creating rpc/Makefile
config.status: creating rpc/rpc-lib/Makefile
config.status: creating rpc/rpc-lib/src/Makefile
config.status: creating rpc/rpc-transport/Makefile
config.status: creating rpc/rpc-transport/socket/Makefile
config.status: creating rpc/rpc-transport/socket/src/Makefile
config.status: creating rpc/rpc-transport/rdma/Makefile
config.status: creating rpc/rpc-transport/rdma/src/Makefile
config.status: creating rpc/xdr/Makefile
config.status: creating rpc/xdr/src/Makefile
config.status: creating rpc/xdr/gen/Makefile
config.status: creating xlators/Makefile
config.status: creating xlators/meta/Makefile
config.status: creating xlators/meta/src/Makefile
config.status: creating xlators/mount/Makefile
config.status: creating xlators/mount/fuse/Makefile
config.status: creating xlators/mount/fuse/src/Makefile
config.status: creating xlators/mount/fuse/utils/mount.glusterfs
config.status: creating xlators/mount/fuse/utils/mount_glusterfs
config.status: creating xlators/mount/fuse/utils/Makefile
config.status: creating xlators/storage/Makefile
config.status: creating xlators/storage/posix/Makefile
config.status: creating xlators/storage/posix/src/Makefile
config.status: creating xlators/storage/bd/Makefile
config.status: creating xlators/storage/bd/src/Makefile
config.status: creating xlators/cluster/Makefile
config.status: creating xlators/cluster/afr/Makefile
config.status: creating xlators/cluster/afr/src/Makefile
config.status: creating xlators/cluster/stripe/Makefile
config.status: creating xlators/cluster/stripe/src/Makefile
config.status: creating xlators/cluster/dht/Makefile
config.status: creating xlators/cluster/dht/src/Makefile
config.status: creating xlators/cluster/ec/Makefile
config.status: creating xlators/cluster/ec/src/Makefile
config.status: creating xlators/performance/Makefile
config.status: creating xlators/performance/write-behind/Makefile
config.status: creating xlators/performance/write-behind/src/Makefile
config.status: creating xlators/performance/read-ahead/Makefile
config.status: creating xlators/performance/read-ahead/src/Makefile
config.status: creating xlators/performance/readdir-ahead/Makefile
config.status: creating xlators/performance/readdir-ahead/src/Makefile
config.status: creating xlators/performance/io-threads/Makefile
config.status: creating xlators/performance/io-threads/src/Makefile
config.status: creating xlators/performance/io-cache/Makefile
config.status: creating xlators/performance/io-cache/src/Makefile
config.status: creating xlators/performance/symlink-cache/Makefile
config.status: creating xlators/performance/symlink-cache/src/Makefile
config.status: creating xlators/performance/quick-read/Makefile
config.status: creating xlators/performance/quick-read/src/Makefile
config.status: creating xlators/performance/open-behind/Makefile
config.status: creating xlators/performance/open-behind/src/Makefile
config.status: creating xlators/performance/md-cache/Makefile
config.status: creating xlators/performance/md-cache/src/Makefile
config.status: creating xlators/performance/decompounder/Makefile
config.status: creating xlators/performance/decompounder/src/Makefile
config.status: creating xlators/performance/nl-cache/Makefile
config.status: creating xlators/performance/nl-cache/src/Makefile
config.status: creating xlators/debug/Makefile
config.status: creating xlators/debug/sink/Makefile
config.status: creating xlators/debug/sink/src/Makefile
config.status: creating xlators/debug/trace/Makefile
config.status: creating xlators/debug/trace/src/Makefile
config.status: creating xlators/debug/error-gen/Makefile
config.status: creating xlators/debug/error-gen/src/Makefile
config.status: creating xlators/debug/delay-gen/Makefile
config.status: creating xlators/debug/delay-gen/src/Makefile
config.status: creating xlators/debug/io-stats/Makefile
config.status: creating xlators/debug/io-stats/src/Makefile
config.status: creating xlators/protocol/Makefile
config.status: creating xlators/protocol/auth/Makefile
config.status: creating xlators/protocol/auth/addr/Makefile
config.status: creating xlators/protocol/auth/addr/src/Makefile
config.status: creating xlators/protocol/auth/login/Makefile
config.status: creating xlators/protocol/auth/login/src/Makefile
config.status: creating xlators/protocol/client/Makefile
config.status: creating xlators/protocol/client/src/Makefile
config.status: creating xlators/protocol/server/Makefile
config.status: creating xlators/protocol/server/src/Makefile
config.status: creating xlators/features/Makefile
config.status: creating xlators/features/arbiter/Makefile
config.status: creating xlators/features/arbiter/src/Makefile
config.status: creating xlators/features/thin-arbiter/Makefile
config.status: creating xlators/features/thin-arbiter/src/Makefile
config.status: creating xlators/features/changelog/Makefile
config.status: creating xlators/features/changelog/src/Makefile
config.status: creating xlators/features/changelog/lib/Makefile
config.status: creating xlators/features/changelog/lib/src/Makefile
config.status: creating xlators/features/changetimerecorder/Makefile
config.status: creating xlators/features/changetimerecorder/src/Makefile
BUILDSTDERR: config.status: error: cannot find input file:
RPM build errors:
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.kGZI5V (%build)
BUILDSTDERR:     Bad exit status from /var/tmp/rpm-tmp.kGZI5V (%build)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line
96, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 736, in
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output),
mockbuild.exception.Error: Command failed: 
 # bash --login -c /usr/bin/rpmbuild -bb --target i686 --nodeps

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

More information about the Bugs mailing list