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/centos-stream-9-x86_64-1686666927.039065/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.2tjxp_hd:/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.2tjxp_hd:/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', '25465290f9bc4b759bf77a30b0f4faac', '-D', '/var/lib/mock/centos-stream-9-x86_64-1686666927.039065/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2tjxp_hd:/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.el9.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/centos-stream-9-x86_64-1686666927.039065/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.2tjxp_hd:/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.2tjxp_hd:/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', 'dad65c22c10340af99ffc281c74c6d52', '-D', '/var/lib/mock/centos-stream-9-x86_64-1686666927.039065/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2tjxp_hd:/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.OA4iQx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fake_ftp-0.3.0 + /usr/bin/gem unpack /builddir/build/SOURCES/fake_ftp-0.3.0.gem Unpacked gem: '/builddir/build/BUILD/fake_ftp-0.3.0' + /usr/bin/gem spec /builddir/build/SOURCES/fake_ftp-0.3.0.gem --ruby + 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.xa7hGO + umask 022 + cd /builddir/build/BUILD + 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,-D_FORTIFY_SOURCE=2 -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-v2 -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,-D_FORTIFY_SOURCE=2 -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-v2 -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 '\'' ' + 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.M647AM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el9.x86_64 + cd fake_ftp-0.3.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-13.el9.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.el9.x86_64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.3.0-13.el9 --unique-debug-suffix -0.3.0-13.el9.x86_64 --unique-debug-src-base rubygem-fake_ftp-0.3.0-13.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.y0J9fL + umask 022 + cd /builddir/build/BUILD + 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 3376 FakeFtp::File #passive? should be false if type is :active should be true if type is :passive setup can be initialized with name and bytes can be initialized with name 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 attributes has a last_modified_time attribute has a name attribute has a bytes attribute has a data attribute #active? should be false if type is :passive should be true if type is :active FakeFtp::Server commands file commands with absolute=false accepts TYPE image accepts TYPE ascii does not accept TYPEs other than ascii or image passive # 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 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 does not serve files that do not exist accepts STOR with filename accepts a LIST command with multiple wildcard arguments should allow mdtm accepts a LIST command with a wildcard argument # 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 streams accepts STOR with filename and trailing newline accepts DELE with a filename 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.rb:93:in `block (2 levels) in start' accepts an NLST command with wildcard arguments accepts STOR with filename and long file accepts an NLST command active sends error message if no PORT received accepts RNTO and RNFR without filename accepts RNTO and RNFR has a flavor should save the directory after you CWD accepts an NLST command accepts RETR with a filename accepts RNTO and RNFR for not existing file creates a directory on MKD should not change the directory on CDUP accepts RNTO without RNFR CWD should add a / to the beginning of the directory accepts RNFR without filename accepts STOR with filename active should switch to :active on port command accepts PORT and connects to port passive does not accept PASV if no port set accepts PASV responds with correct PASV port general accepts QUIT should get unknown command response when nothing is sent should accept SITE 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' should accept multiple commands in one session should accept connections file commands with absolute=true accepts TYPE image accepts TYPE ascii does not accept TYPEs other than ascii or image passive # 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 streams does not serve files that do not exist accepts STOR with filename and trailing newline accepts STOR with filename and long file # 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 an NLST command with wildcard arguments accepts STOR with filename 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.rb:93:in `block (2 levels) in start' accepts a LIST command should allow mdtm gives error message when trying to delete a file that does not exist accepts DELE 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 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 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 with a wildcard argument active CWD should add a / to the beginning of the directory has a flavor accepts RNTO without RNFR accepts STOR with filename should not change the directory on CDUP sends error message if no PORT received should save the directory after you CWD accepts RETR with a filename accepts RNFR without filename creates a directory on MKD accepts RNTO and RNFR without filename accepts an NLST command accepts RNTO and RNFR accepts RNTO and RNFR for not existing file directory commands with absolute=false says OK to any CWD, CDUP, without doing anything returns directory on PWD directory commands with absolute=true says OK to any CWD, CDUP, without doing anything returns directory on PWD authentication commands accepts ACCT accepts PASS accepts anonymous USER accepts USER FakeFtp::Server with ftp client should accept connections with client should allow anonymous authentication should allow client to execute SITE command should be able to delete files added using put should put files using PASV should allow mtime should allow named authentication should allow client to quit should put files using active FakeFtp::Server files can be accessed with :file can reset files returns filenames from :files FakeFtp::Server setup starts a server on port n should defaults to port 21 should raise if attempting to use a bound port starts a passive server on port p should raise if attempting to use a bound passive_port should start and stop should start and stop passive port should default :mode to :active Finished in 1 minute 21.28 seconds (files took 0.13378 seconds to load) 115 examples, 0 failures Randomized with seed 3376 + popd ~/build/BUILD/fake_ftp-0.3.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-fake_ftp-0.3.0-13.el9.noarch Provides: rubygem(fake_ftp) = 0.3.0 rubygem-fake_ftp = 0.3.0-13.el9 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.el9.noarch Provides: rubygem-fake_ftp-doc = 0.3.0-13.el9 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.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-fake_ftp-0.3.0-13.el9.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-fake_ftp-doc-0.3.0-13.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0pb4fx + 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.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0