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-38-x86_64-1687541426.557227/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.v8307qs_:/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.v8307qs_:/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', 'fddf39f44bde4e61b165b45d3bfe6137', '-D', '/var/lib/mock/fedora-38-x86_64-1687541426.557227/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v8307qs_:/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.fc38.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-38-x86_64-1687541426.557227/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.v8307qs_:/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.v8307qs_:/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', '3e55a2f3976e45b7a9aa9d73185f40b1', '-D', '/var/lib/mock/fedora-38-x86_64-1687541426.557227/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v8307qs_:/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.sxNTEa + 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/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.rjil73 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --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.rl0hhC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.fc38.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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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.fc38.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.fc38.x86_64/usr/share/gems/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.3.0-13.fc38 --unique-debug-suffix -0.3.0-13.fc38.x86_64 --unique-debug-src-base rubygem-fake_ftp-0.3.0-13.fc38.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.iIESu0 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 30414 FakeFtp::Server files can reset files returns filenames from :files can be accessed with :file FakeFtp::Server setup should raise if attempting to use a bound port should default :mode to :active starts a passive server on port p starts a server on port n should start and stop passive port should raise if attempting to use a bound passive_port # 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:81:in `block in start' should start and stop should defaults to port 21 FakeFtp::Server with ftp client should accept connections with client should put files using PASV should allow anonymous authentication should allow client to execute SITE command should put files using active should allow mtime should be able to delete files added using put should allow named authentication should allow client to quit FakeFtp::File #active? should be true if type is :active should be false if type is :passive setup can be initialized with name and bytes can be initialized with name and bytes and type and last_modified_time can be initialized with name and bytes and type can be initialized without attributes can be initialized with name #passive? should be false if type is :active should be true if type is :passive attributes has a data attribute has a last_modified_time attribute has a bytes attribute has a name attribute FakeFtp::Server commands directory commands with absolute=false says OK to any CWD, CDUP, without doing anything returns directory on PWD passive does not accept PASV if no port set responds with correct PASV port accepts PASV active should switch to :active on port command accepts PORT and connects to port general accepts QUIT # 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 should accept SITE command should get unknown command response when nothing is sent should accept connections 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 accepts RNTO and RNFR accepts RNTO and RNFR for not existing file sends error message if no PORT received accepts RNFR without filename accepts RETR with a filename has a flavor accepts RNTO without RNFR CWD should add a / to the beginning of the directory should save the directory after you CWD accepts an NLST command accepts STOR with filename should not change the directory on CDUP accepts RNTO and RNFR without filename creates a directory on MKD passive 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.rb:93:in `block (2 levels) in start' accepts a LIST command accepts a LIST command with a wildcard argument gives error message when trying to delete a file that does not exist # 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 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' accepts a LIST command with multiple 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_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 serve files that do not exist accepts STOR with filename and long file accepts an NLST command with wildcard arguments accepts DELE with a filename should allow mdtm accepts STOR with filename and trailing newline # 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 STOR with filename accepts STOR with streams file commands with absolute=false accepts TYPE image accepts TYPE ascii does not accept TYPEs other than ascii or image passive accepts an NLST command with wildcard arguments accepts STOR with streams does not serve files that do not exist # 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 should allow mdtm accepts a LIST command with multiple wildcard arguments accepts a LIST command with a wildcard argument accepts RETR with a filename accepts STOR with filename and long file accepts an NLST command accepts DELE with a filename accepts STOR with filename accepts a LIST command accepts STOR with filename and trailing newline gives error message when trying to delete a file that does not exist active accepts RETR with a filename accepts STOR with filename sends error message if no PORT received should not change the directory on CDUP accepts RNTO without RNFR accepts RNTO and RNFR without filename creates a directory on MKD has a flavor accepts RNFR without filename accepts RNTO and RNFR for not existing file should save the directory after you CWD CWD should add a / to the beginning of the directory accepts an NLST command accepts RNTO and RNFR authentication commands accepts anonymous USER accepts PASS accepts USER accepts ACCT Finished in 1 minute 17.86 seconds (files took 0.13489 seconds to load) 115 examples, 0 failures Randomized with seed 30414 + popd ~/build/BUILD/fake_ftp-0.3.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-fake_ftp-0.3.0-13.fc38.noarch Provides: rubygem(fake_ftp) = 0.3.0 rubygem-fake_ftp = 0.3.0-13.fc38 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.fc38.noarch Provides: rubygem-fake_ftp-doc = 0.3.0-13.fc38 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.fc38.x86_64 Wrote: /builddir/build/RPMS/rubygem-fake_ftp-0.3.0-13.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-fake_ftp-doc-0.3.0-13.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UPNKLf + 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.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.E5Lc2X + 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