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+epel-next-9-x86_64-1689775690.023630/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jlv0mn2y:/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.jlv0mn2y:/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', '1bb106f1fbab4dd988db8784e7d73b7d', '-D', '/var/lib/mock/centos-stream+epel-next-9-x86_64-1689775690.023630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jlv0mn2y:/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+epel-next-9-x86_64-1689775690.023630/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jlv0mn2y:/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.jlv0mn2y:/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', 'ceb821731d66468dbc2410daec707194', '-D', '/var/lib/mock/centos-stream+epel-next-9-x86_64-1689775690.023630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jlv0mn2y:/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.Bq2Bq5 + 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.5zGGZi + 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.qh8a3i + 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.ERzzt9 + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0 ~/build/BUILD/fake_ftp-0.3.0 + cd fake_ftp-0.3.0 + pushd ./usr/share/gems/gems/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 64684 FakeFtp::Server commands file commands with absolute=true does not accept TYPEs other than ascii or image accepts TYPE image accepts TYPE ascii active accepts RNTO and RNFR for not existing file accepts RNTO and RNFR accepts RETR with a filename accepts RNFR without filename accepts RNTO without RNFR accepts STOR with filename sends error message if no PORT received should save the directory after you CWD accepts RNTO and RNFR without filename has a flavor should not change the directory on CDUP creates a directory on MKD CWD should add a / to the beginning of the directory accepts an NLST command passive gives error message when trying to delete a file that does not exist accepts DELE with a filename accepts an NLST command with wildcard arguments should allow mdtm accepts STOR with filename accepts an NLST command does not serve files that do not exist accepts a LIST command accepts STOR with filename and long file accepts STOR with filename and trailing newline accepts RETR with a filename accepts a LIST command with a wildcard argument accepts a LIST command with multiple wildcard arguments accepts STOR with streams # 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 active should switch to :active on port command accepts PORT and connects to port authentication commands accepts USER accepts anonymous USER accepts ACCT accepts PASS file commands with absolute=false accepts TYPE ascii does not accept TYPEs other than ascii or image accepts TYPE image active accepts RNFR without filename accepts STOR with filename accepts an NLST command creates a directory on MKD has a flavor should not change the directory on CDUP CWD should add a / to the beginning of the directory accepts RNTO without RNFR accepts RNTO and RNFR without filename accepts RNTO and RNFR sends error message if no PORT received should save the directory after you CWD accepts RNTO and RNFR for not existing file accepts RETR with a filename passive accepts an NLST command does not serve files that do not exist should allow mdtm 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 accepts a LIST command accepts STOR with streams accepts a LIST command with multiple wildcard arguments accepts RETR with a filename accepts an NLST command with wildcard arguments accepts STOR with filename and trailing newline accepts STOR with filename and long file accepts STOR with 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_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 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 get unknown command response when nothing is sent should accept SITE command should accept connections directory commands with absolute=true says OK to any CWD, CDUP, without doing anything returns directory on PWD passive responds with correct PASV port does not accept PASV if no port set accepts PASV directory commands with absolute=false says OK to any CWD, CDUP, without doing anything returns directory on PWD FakeFtp::Server files returns filenames from :files can be accessed with :file can reset files FakeFtp::Server with ftp client should accept connections with client should allow anonymous authentication should allow named authentication should allow mtime should be able to delete files added using put should allow client to execute SITE command should allow client to quit should put files using active should put files using PASV FakeFtp::Server setup # 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) should raise if attempting to use a bound port 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 passive port starts a server on port n should defaults to port 21 should raise if attempting to use a bound passive_port starts a passive server on port p should start and stop should default :mode to :active FakeFtp::File #active? should be false if type is :passive should be true if type is :active attributes has a bytes attribute has a name attribute has a last_modified_time attribute has a data attribute #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 and bytes and type and last_modified_time can be initialized without attributes can be initialized with name can be initialized with name and bytes and type Finished in 1 minute 42.06 seconds (files took 0.11439 seconds to load) 115 examples, 0 failures Randomized with seed 64684 + 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) Conflicts: ruby-bundled-gems 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.pnZtYM + 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