Your message dated Tue, 25 Jul 2017 17:04:08 +0000
with message-id <e1da3fg-0007ev...@fasolo.debian.org>
and subject line Bug#869164: fixed in ruby-net-scp 1.2.1-5
has caused the Debian Bug report #869164,
regarding ruby-net-scp FTBFS: test failures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
869164: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869164
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-net-scp
Version: 1.2.1-4
Severity: serious
Tags: buster sid

Some recent change in unstable makes ruby-net-scp FTBFS:

https://tests.reproducible-builds.org/debian/history/ruby-net-scp.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-net-scp.html

...
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/build/1st/ruby-net-scp-1.2.1/debian/ruby-net-scp/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-net-scp/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all
 ruby2.3 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.3 -w  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" 
"test/test_all.rb" "test/test_download.rb" "test/test_scp.rb" 
"test/test_upload.rb" -v
/build/1st/ruby-net-scp-1.2.1/test/test_download.rb:16: warning: assigned but 
unused variable - file
/build/1st/ruby-net-scp-1.2.1/test/test_download.rb:30: warning: assigned but 
unused variable - file
/build/1st/ruby-net-scp-1.2.1/lib/net/scp.rb:365: warning: shadowing outer 
local variable - ch
/build/1st/ruby-net-scp-1.2.1/lib/net/scp.rb:366: warning: shadowing outer 
local variable - ch
/build/1st/ruby-net-scp-1.2.1/lib/net/scp.rb:367: warning: shadowing outer 
local variable - ch
/build/1st/ruby-net-scp-1.2.1/lib/net/scp.rb:368: warning: shadowing outer 
local variable - ch
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55: warning: loading in 
progress, circular require considered harmful - 
/build/1st/ruby-net-scp-1.2.1/test/test_all.rb
        from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:4:in  `<main>'
        from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:4:in  `select'
        from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:15:in  `block 
in <main>'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in  
`require'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in  
`require'
        from /build/1st/ruby-net-scp-1.2.1/test/test_all.rb:1:in  `<top 
(required)>'
        from /build/1st/ruby-net-scp-1.2.1/test/test_all.rb:1:in  `chdir'
        from /build/1st/ruby-net-scp-1.2.1/test/test_all.rb:2:in  `block in 
<top (required)>'
        from /build/1st/ruby-net-scp-1.2.1/test/test_all.rb:2:in  `each'
        from /build/1st/ruby-net-scp-1.2.1/test/test_all.rb:2:in  `block (2 
levels) in <top (required)>'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in  
`require'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in  
`require'
Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
Started
Net::SCP::TestCase: 
  default_test:                                         .: (0.000337)
  TestDownload: 
    test_download_bang_without_target_should_return_string:.: (0.010297)
    test_download_directory_should_create_directory_and_files_locally:E
===============================================================================
Error: 
test_download_directory_should_create_directory_and_files_locally(TestDownload):
 TypeError: no implicit conversion of Net::SSH::Test::Socket into IO
/build/1st/ruby-net-scp-1.2.1/test/common.rb:151:in `scp'
/build/1st/ruby-net-scp-1.2.1/test/test_download.rb:181:in 
`test_download_directory_should_create_directory_and_files_locally'
F
===============================================================================
Failure:
  unexpected invocation: 
File.open('/build/1st/ruby-net-scp-1.2.1/test/test_download.rb')
  satisfied expectations:
  - allowed any number of times, not yet invoked: 
Dir.entries('/path/to/local/remote/sub')
  - allowed any number of times, not yet invoked: Dir.mkdir()
  - allowed any number of times, not yet invoked: 
Dir.entries('/path/to/local/remote')
  - allowed any number of times, not yet invoked: Dir.mkdir()
  - allowed any number of times, not yet invoked: Dir.entries('/path/to/local')
  - allowed any number of times, not yet invoked: Dir.mkdir()
  - allowed any number of times, not yet invoked: 
File.new('/path/to/local/remote/sub/remote.txt', 'wb', 438)
  - allowed any number of times, not yet invoked: 
File.open('/path/to/local/remote/sub/remote.txt', 'rb')
  - allowed any number of times, not yet invoked: 
File.file?('/path/to/local/remote/sub/remote.txt')
  - allowed any number of times, not yet invoked: 
File.directory?('/path/to/local/remote/sub/remote.txt')
  - allowed any number of times, not yet invoked: 
File.stat('/path/to/local/remote/sub/remote.txt')
  - allowed any number of times, not yet invoked: 
File.file?('/path/to/local/remote/sub')
  - allowed any number of times, not yet invoked: 
File.directory?('/path/to/local/remote/sub')
  - allowed any number of times, not yet invoked: 
File.stat('/path/to/local/remote/sub')
  - allowed any number of times, not yet invoked: 
File.file?('/path/to/local/remote')
  - allowed any number of times, not yet invoked: 
File.directory?('/path/to/local/remote')
  - allowed any number of times, not yet invoked: 
File.stat('/path/to/local/remote')
  - allowed any number of times, not yet invoked: File.file?('/path/to/local')
  - allowed any number of times, not yet invoked: 
File.directory?('/path/to/local')
  - allowed any number of times, not yet invoked: File.stat('/path/to/local')
test_download_directory_should_create_directory_and_files_locally(TestDownload)
===============================================================================
: (0.026195)
    test_download_directory_without_recursive_should_raise_error:F
===============================================================================
Failure: 
test_download_directory_without_recursive_should_raise_error(TestDownload)
/build/1st/ruby-net-scp-1.2.1/test/test_download.rb:156:in 
`test_download_directory_without_recursive_should_raise_error'
     153:       channel.gets_data "D0755 0 remote\n"
     154:     end
     155: 
  => 156:     assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote") 
}
     157:   end
     158: 
     159:   def 
test_download_directory_should_create_directory_and_files_locally

<Net::SCP::Error> expected but was
<TypeError(<no implicit conversion of Net::SSH::Test::Socket into IO>)>

diff:
?                                      Net::SCP::Err    or             
? TypeError(<no implicit conversion of       SH  Test::S cket into IO>)
===============================================================================
: (0.014343)
    test_download_file_should_transfer_file:            .: (0.018951)
    
test_download_file_with_metacharacters_in_name_should_escape_remote_file_name:.:
 (0.013821)
    test_download_file_with_spaces_in_name_should_escape_remote_file_name:.: 
(0.013259)
    test_download_io_should_transfer_data:              .: (0.013748)
    test_download_io_with_preserve_should_ignore_preserve:.: (0.007313)
    test_download_io_with_recursive_should_raise_error: F
===============================================================================
Failure: test_download_io_with_recursive_should_raise_error(TestDownload)
/build/1st/ruby-net-scp-1.2.1/test/test_download.rb:117:in 
`test_download_io_with_recursive_should_raise_error'
     114: 
     115:   def test_download_io_with_recursive_should_raise_error
     116:     expect_scp_session "-f -r /path/to/remote.txt"
  => 117:     assert_raises(Net::SCP::Error) { 
scp.download!("/path/to/remote.txt", StringIO.new, :recursive => true) }
     118:   end
     119: 
     120:   def test_download_io_with_preserve_should_ignore_preserve

<Net::SCP::Error> expected but was
<TypeError(<no implicit conversion of Net::SSH::Test::Socket into IO>)>

diff:
?                                      Net::SCP::Err    or             
? TypeError(<no implicit conversion of       SH  Test::S cket into IO>)
===============================================================================
: (0.004369)
    test_download_with_error_should_respond_with_error_text:F
===============================================================================
Failure: test_download_with_error_should_respond_with_error_text(TestDownload)
/build/1st/ruby-net-scp-1.2.1/test/test_download.rb:78:in 
`test_download_with_error_should_respond_with_error_text'
     75:     rescue
     76:       error = $!
     77:     end
  => 78:     assert_equal Net::SCP::Error, error.class
     79:     assert_equal "SCP did not finish successfully (1): File not found: 
/path/to/remote.txt\n", error.message
     80:   end
     81: 
<Net::SCP::Error> expected but was
<TypeError>

diff:
? N  et::SCP::Error
? Typ              
===============================================================================
: (0.003042)
    test_download_with_preserve_should_send_times:      .: (0.007954)
    test_download_with_progress_callback_should_invoke_callback:.: (0.020838)
  TestSCP: 
    test_self_download_should_instatiate_scp_and_invoke_synchronous_download:.: 
(0.000880)
    test_self_upload_should_instatiate_scp_and_invoke_synchronous_upload:.: 
(0.000502)
    test_start_with_block_should_yield_scp_and_close_ssh_session:.: (0.000754)
    test_start_without_block_should_return_scp_instance:.: (0.000697)
  TestUpload: 
    test_upload_directory_should_recursively_create_and_upload_items:.: 
(0.031816)
    test_upload_directory_with_preserve_should_send_times_for_all_items:.: 
(0.031928)
    test_upload_directory_without_recursive_should_error:F
===============================================================================
Failure: test_upload_directory_without_recursive_should_error(TestUpload)
/build/1st/ruby-net-scp-1.2.1/test/test_upload.rb:159:in 
`test_upload_directory_without_recursive_should_error'
     156:       channel.gets_ok
     157:     end
     158: 
  => 159:     assert_raises(Net::SCP::Error) { scp.upload!("/path/to/local", 
"/path/to/remote") }
     160:   end
     161: 
     162:   def test_upload_empty_directory_should_create_directory_and_finish

<Net::SCP::Error> expected but was
<TypeError(<no implicit conversion of Net::SSH::Test::Socket into IO>)>

diff:
?                                      Net::SCP::Err    or             
? TypeError(<no implicit conversion of       SH  Test::S cket into IO>)
===============================================================================
: (0.006966)
    test_upload_empty_directory_should_create_directory_and_finish:.: (0.009504)
    test_upload_file_should_transfer_file:              .: (0.012451)
    
test_upload_file_with_metacharacters_in_name_should_escape_remote_file_name:.: 
(0.028700)
    test_upload_file_with_preserve_should_send_times:   .: (0.013160)
    test_upload_file_with_progress_callback_should_invoke_callback:.: (0.010733)
    test_upload_file_with_spaces_in_name_should_escape_remote_file_name:.: 
(0.011028)
    test_upload_io_should_transfer_data:                .: (0.030160)
    test_upload_io_with_mode_should_honor_mode_as_permissions:.: (0.022398)
    test_upload_io_with_preserve_should_ignore_preserve:.: (0.014642)
    test_upload_io_with_recursive_should_ignore_recursive:.: (0.021626)
    test_upload_should_not_block:                       .: (0.009535)

Finished in 0.414744017 seconds.
------
31 tests, 58 assertions, 5 failures, 1 errors, 0 pendings, 0 omissions, 0 
notifications
83.871% passed
------
74.74 tests/s, 139.85 assertions/s
rake aborted!
Command failed with status (1): [ruby -w  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_all.rb" 
"test/test_download.rb" "test/test_scp.rb" "test/test_upload.rb" -v]

Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-net-scp-1.2.1/debian/ruby-net-scp returned exit code 1
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 1

--- End Message ---
--- Begin Message ---
Source: ruby-net-scp
Source-Version: 1.2.1-5

We believe that the bug you reported is fixed in the latest version of
ruby-net-scp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 869...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lucas Nussbaum <lu...@debian.org> (supplier of updated ruby-net-scp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 25 Jul 2017 18:34:26 +0200
Source: ruby-net-scp
Binary: ruby-net-scp
Architecture: source
Version: 1.2.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Lucas Nussbaum <lu...@debian.org>
Description:
 ruby-net-scp - pure ruby implementation of the SCP protocol
Closes: 869164
Changes:
 ruby-net-scp (1.2.1-5) unstable; urgency=medium
 .
   [ Unit 193 ]
   * d/p/0002-disable-assert_scripted-so-that-test-does-not-fail-b.patch:
     Replace with an upstream commit.
   * d/p/0003-Fix-compatiblity-with-net-ssh-4.0.patch:
     Add upstream commit to fix compatiblity with net-ssh 4.0+. Closes: #869164
 .
   [ Lucas Nussbaum ]
   * Bump dependency on ruby-net-ssh to >= 4.0.
   * Also bump Depend for ruby-net-ssh.
   * Bump Standards-Version. No changes needed.
Checksums-Sha1:
 be7246eb1a3676a0ee2df6172f9f1ccfa01eb3f3 2176 ruby-net-scp_1.2.1-5.dsc
 fc505ef83960ebaa115f41cebfa828a459e6066d 5652 
ruby-net-scp_1.2.1-5.debian.tar.xz
 573bfa406a80cfe254f7c94059b5431037a75ebd 6648 
ruby-net-scp_1.2.1-5_source.buildinfo
Checksums-Sha256:
 e909713feab78420c9983b5b67634e783f58e6c6254ee2b947f66392ad351d9c 2176 
ruby-net-scp_1.2.1-5.dsc
 72995ce2981dbd7ed358543e14495ce3118d6e927e1e409b03e937a1372df31a 5652 
ruby-net-scp_1.2.1-5.debian.tar.xz
 63b4e3b7b6ec310615df90b9eb54d0e236a7521fac87abf433db911b8a4f76cc 6648 
ruby-net-scp_1.2.1-5_source.buildinfo
Files:
 a5d6eab3192ee4df44be3793f5c88fb2 2176 ruby optional ruby-net-scp_1.2.1-5.dsc
 78a4f10ff84b9181212e608f6dc6ced4 5652 ruby optional 
ruby-net-scp_1.2.1-5.debian.tar.xz
 2a3be983177c70da5534c716dde75b19 6648 ruby optional 
ruby-net-scp_1.2.1-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE/t7ByzN7z1CfQ8IkORS1MvTfvpkFAll3dLUACgkQORS1MvTf
vpnDbQ//ahgI5U/Sv0MbEHjzIpHVBQ0PyidLiD0Pq9ppOvbuhGAQ96nSU3Nfw5+C
SAzQ7c0sKeMGlBmhSMhDcN8OjOplUCQcG+IIqSmJ9sDksbBU1wt+m6mOqOGtnnBF
TIpMm7CKVrSUhdyRNmWdI7mr9stHAKuQ9FUuJWeZNsvq0xW0IrEpFhw6X9Ghgp+o
3ZL0Z5wnaRJ5KWERy/kzxO/da6I3Vv99DfLTKTIrdTZr9DGJBeQbvN9v7gPFT//W
RQ56kLzUkDMkaoixPuePlSLs1AORoq09P8144XC3eCIKAMASNhqL+ucXpIQNtzct
PVI7rj0JyfU60Z/QJdn/NGVucrIExH7vg8MtpXOp2H9s4xKZKDsB5QlcI+46LSuC
/fcbomvIiX1N7w0zuZoNKGck/YqeGDbXUBfpJ+SB/dXbmlrrOxMvmOMTEVUy4kaf
DjQa1aJwSxiJjOd/FNqPV1LSIId3Q1t1hKVwMLy4xN5Dkf5mPioFNBtBsa9k1cFj
QW/ayRV7af0ee7Nt/OlUOXFwQvc8sKNaAcYzqLx4DzfKq4EtO/af9oTFaD1BaFZS
IQQkrWkAwKNXtHhHZrwuSmwHVNj7K1mQjsdZr80cYh688mXRamALNje+wxbSRhSb
1RKXVcdTf/Yfp67P657gRJ/98xBRrQDr6WsFJH4LT9jau7Xfwng=
=Ybzy
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to