Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-fake_ftp.spec'], chrootPath='/var/lib/mock/fedora-eln-x86_64-1687913434.549625/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tvd_pnfy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tvd_pnfy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6d1f297bd6924ebe98506b6474076e1c', '-D', '/var/lib/mock/fedora-eln-x86_64-1687913434.549625/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tvd_pnfy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-fake_ftp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/rubygem-fake_ftp-0.3.0-13.el127.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-fake_ftp.spec'], chrootPath='/var/lib/mock/fedora-eln-x86_64-1687913434.549625/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tvd_pnfy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tvd_pnfy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8ca8e2ee56f746f1a6451314831e7a33', '-D', '/var/lib/mock/fedora-eln-x86_64-1687913434.549625/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tvd_pnfy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-fake_ftp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YN9YXv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fake_ftp-0.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fake_ftp-0.3.0.gem Unpacked gem: '/builddir/build/BUILD/fake_ftp-0.3.0' + STATUS=0 + '[' 0 -ne 0 ']' + cd fake_ftp-0.3.0 + /usr/bin/mkdir -p SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ftnVGP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fake_ftp-0.3.0 + gem build ../fake_ftp-0.3.0.gemspec Successfully built RubyGem Name: fake_ftp Version: 0.3.0 File: fake_ftp-0.3.0.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection '\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection '\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc fake_ftp-0.3.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/fake_ftp-0.3.0 Bin dir: /builddir/build/BUILD/fake_ftp-0.3.0/usr/bin Gem home: /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems Plugins dir: /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/plugins /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.codeclimate.yml /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.gitignore /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.rspec /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.rubocop.yml /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.rubocop_todo.yml /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.simplecov /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.travis.yml /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/CHANGELOG.md /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/CONTRIBUTORS.md /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/Gemfile /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/Guardfile /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/LICENSE.md /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/README.md /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/Rakefile /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/fake_ftp.gemspec /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/file.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/acct.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/cdup.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/cwd.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/dele.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/list.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/mdtm.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/mkd.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/nlst.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/pass.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/pasv.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/port.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/pwd.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/quit.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/retr.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/rnfr.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/rnto.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/site.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/size.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/stor.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/type.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/user.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/wat.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/version.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/fixtures/invisible_bike.jpg /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/fixtures/text_file.txt /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/functional/server_spec.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/integration/server_spec.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/models/fake_ftp/file_spec.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/models/fake_ftp/server_spec.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/spec_helper.rb Successfully installed fake_ftp-0.3.0 Parsing documentation for fake_ftp-0.3.0 Parsing sources... 3% [ 1/27] lib/fake_ftp.rb 7% [ 2/27] lib/fake_ftp/file.rb 11% [ 3/27] lib/fake_ftp/server.rb 14% [ 4/27] lib/fake_ftp/server_commands.rb 18% [ 5/27] lib/fake_ftp/server_commands/acct.rb 22% [ 6/27] lib/fake_ftp/server_commands/cdup.rb 25% [ 7/27] lib/fake_ftp/server_commands/cwd.rb 29% [ 8/27] lib/fake_ftp/server_commands/dele.rb 33% [ 9/27] lib/fake_ftp/server_commands/list.rb 37% [10/27] lib/fake_ftp/server_commands/mdtm.rb 40% [11/27] lib/fake_ftp/server_commands/mkd.rb 44% [12/27] lib/fake_ftp/server_commands/nlst.rb 48% [13/27] lib/fake_ftp/server_commands/pass.rb 51% [14/27] lib/fake_ftp/server_commands/pasv.rb 55% [15/27] lib/fake_ftp/server_commands/port.rb 59% [16/27] lib/fake_ftp/server_commands/pwd.rb 62% [17/27] lib/fake_ftp/server_commands/quit.rb 66% [18/27] lib/fake_ftp/server_commands/retr.rb 70% [19/27] lib/fake_ftp/server_commands/rnfr.rb 74% [20/27] lib/fake_ftp/server_commands/rnto.rb 77% [21/27] lib/fake_ftp/server_commands/site.rb 81% [22/27] lib/fake_ftp/server_commands/size.rb 85% [23/27] lib/fake_ftp/server_commands/stor.rb 88% [24/27] lib/fake_ftp/server_commands/type.rb 92% [25/27] lib/fake_ftp/server_commands/user.rb 96% [26/27] lib/fake_ftp/server_commands/wat.rb 100% [27/27] lib/fake_ftp/version.rb Installing ri documentation for fake_ftp-0.3.0 Installing darkfish documentation for fake_ftp-0.3.0 Done installing documentation for fake_ftp after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DwKySt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el127.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el127.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el127.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el127.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fake_ftp-0.3.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el127.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el127.x86_64/usr/share/gems/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.3.0-13.el127 --unique-debug-suffix -0.3.0-13.el127.x86_64 --unique-debug-src-base rubygem-fake_ftp-0.3.0-13.el127.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/fake_ftp-0.3.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fIBCtv + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fake_ftp-0.3.0 + pushd ./usr/share/gems/gems/fake_ftp-0.3.0 ~/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0 ~/build/BUILD/fake_ftp-0.3.0 + sed -i '/require '\''simplecov'\''/ s/^/#/' spec/spec_helper.rb + sed -i 's/timeout: 5,/timeout: 60,/' spec/spec_helper.rb + FUNCTIONAL_SPECS=1 + INTEGRATION_SPECS=1 + rspec -rspec_helper spec Run options: exclude {:functional=>false, :integration=>false} Randomized with seed 63198 FakeFtp::Server files can be accessed with :file returns filenames from :files can reset files FakeFtp::File #active? should be false if type is :passive should be true if type is :active attributes has a name attribute has a data attribute has a bytes attribute has a last_modified_time attribute #passive? should be true if type is :passive should be false if type is :active setup can be initialized without attributes can be initialized with name and bytes and type can be initialized with name and bytes and type and last_modified_time can be initialized with name can be initialized with name and bytes FakeFtp::Server with ftp client should accept connections with client should put files using PASV should put files using active should allow mtime should allow client to execute SITE command should allow named authentication should allow anonymous authentication should be able to delete files added using put should allow client to quit FakeFtp::Server commands directory commands with absolute=false returns directory on PWD says OK to any CWD, CDUP, without doing anything file commands with absolute=false accepts TYPE ascii accepts TYPE image does not accept TYPEs other than ascii or image active accepts RNTO without RNFR accepts RETR with a filename accepts an NLST command accepts RNFR without filename has a flavor CWD should add a / to the beginning of the directory accepts RNTO and RNFR for not existing file accepts STOR with filename accepts RNTO and RNFR without filename sends error message if no PORT received should save the directory after you CWD accepts RNTO and RNFR should not change the directory on CDUP creates a directory on MKD passive accepts STOR with filename and trailing newline accepts an NLST command with wildcard arguments gives error message when trying to delete a file that does not exist accepts DELE with a filename accepts RETR with a filename should allow mdtm does not serve files that do not exist accepts STOR with filename and long file accepts a LIST command with a wildcard argument accepts an NLST command accepts STOR with filename does not accept RETR without a filename accepts STOR with streams accepts a LIST command accepts a LIST command with multiple wildcard arguments active accepts PORT and connects to port should switch to :active on port command authentication commands accepts anonymous USER accepts USER accepts PASS accepts ACCT passive does not accept PASV if no port set responds with correct PASV port accepts PASV general should accept SITE command should accept connections should get unknown command response when nothing is sent # terminated with exception (report_on_exception is true): /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `write': stream closed in another thread (IOError) from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `print' from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `respond_with' from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:93:in `block (2 levels) in start' should accept multiple commands in one session accepts QUIT directory commands with absolute=true says OK to any CWD, CDUP, without doing anything returns directory on PWD file commands with absolute=true accepts TYPE ascii does not accept TYPEs other than ascii or image accepts TYPE image active should not change the directory on CDUP accepts STOR with filename CWD should add a / to the beginning of the directory accepts RNTO and RNFR for not existing file should save the directory after you CWD accepts RNTO without RNFR sends error message if no PORT received accepts RNFR without filename accepts RETR with a filename # terminated with exception (report_on_exception is true): /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `write': stream closed in another thread (IOError) from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `print' from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `respond_with' from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:93:in `block (2 levels) in start' creates a directory on MKD accepts an NLST command accepts RNTO and RNFR without filename accepts RNTO and RNFR has a flavor passive does not serve files that do not exist accepts RETR with a filename accepts an NLST command with wildcard arguments # terminated with exception (report_on_exception is true): /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `write': stream closed in another thread (IOError) from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `print' from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `respond_with' from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:93:in `block (2 levels) in start' accepts a LIST command with multiple wildcard arguments accepts STOR with filename accepts STOR with filename and trailing newline accepts STOR with streams should allow mdtm accepts a LIST command accepts an NLST command # terminated with exception (report_on_exception is true): /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `write': stream closed in another thread (IOError) from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `print' from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:164:in `respond_with' from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/retr.rb:10:in `run' from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:180:in `handle_request' from /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb:93:in `block (2 levels) in start' does not accept RETR without a filename accepts STOR with filename and long file gives error message when trying to delete a file that does not exist accepts a LIST command with a wildcard argument accepts DELE with a filename FakeFtp::Server setup should defaults to port 21 should default :mode to :active starts a server on port n should raise if attempting to use a bound port starts a passive server on port p should start and stop passive port should raise if attempting to use a bound passive_port should start and stop Finished in 1 minute 19.2 seconds (files took 0.1341 seconds to load) 115 examples, 0 failures Randomized with seed 63198 + popd ~/build/BUILD/fake_ftp-0.3.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-fake_ftp-0.3.0-13.el127.noarch Provides: rubygem(fake_ftp) = 0.3.0 rubygem-fake_ftp = 0.3.0-13.el127 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) Processing files: rubygem-fake_ftp-doc-0.3.0-13.el127.noarch Provides: rubygem-fake_ftp-doc = 0.3.0-13.el127 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el127.x86_64 Wrote: /builddir/build/RPMS/rubygem-fake_ftp-0.3.0-13.el127.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-fake_ftp-doc-0.3.0-13.el127.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VAZThq + umask 022 + cd /builddir/build/BUILD + cd fake_ftp-0.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el127.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.GMRzrR + umask 022 + cd /builddir/build/BUILD + rm -rf fake_ftp-0.3.0 fake_ftp-0.3.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0