Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #361815 > unrolled thread

Bug#1069258: ruby-curb: FTBFS: 178 tests, 699 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications

Started bySebastian Ramacher <sramacher@debian.org>
First post2024-04-18 22:50 +0200
Last post2024-07-17 18:40 +0200
Articles 8 — 5 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#1069258: ruby-curb: FTBFS: 178 tests, 699 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications Sebastian Ramacher <sramacher@debian.org> - 2024-04-18 22:50 +0200
    Bug#1069258: ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read Simon McVittie <smcv@debian.org> - 2024-04-25 15:10 +0200
    Processed: Re: Bug#1069258: ruby-curb: test regression with curl  8.7.1: client read function EOF fail, only only 4/5 of needed bytes read "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-25 15:10 +0200
    Bug#1069258: ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read Samuel Henrique <samueloph@debian.org> - 2024-04-29 20:10 +0200
    Processed: Re: Bug#1069258: ruby-curb: test regression with curl  8.7.1: client read function EOF fail, only only 4/5 of needed bytes read "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-05-07 16:20 +0200
    Processed: Bug#1069258 marked as pending in ruby-curb "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-07-17 18:00 +0200
    Bug#1069258: marked as pending in ruby-curb Cédric Boutillier <noreply@salsa.debian.org> - 2024-07-17 18:00 +0200
    Bug#1069258: marked as done (ruby-curb: test regression with curl  8.7.1: client read function EOF fail, only only 4/5 of needed bytes read) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-07-17 18:40 +0200

#361815 — Bug#1069258: ruby-curb: FTBFS: 178 tests, 699 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications

FromSebastian Ramacher <sramacher@debian.org>
Date2024-04-18 22:50 +0200
SubjectBug#1069258: ruby-curb: FTBFS: 178 tests, 699 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications
Message-ID<IuGRH-7di2-3@gated-at.bofh.it>
Source: ruby-curb
Version: 1.0.5-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org

https://buildd.debian.org/status/fetch.php?pkg=ruby-curb&arch=amd64&ver=1.0.5-1%2Bb3&stamp=1712538836&raw=0

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

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-curb/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/<<PKGBUILDDIR>>/tests/tc_curl_multi.rb:189: warning: assigned but unused variable - in_file_stack
Loaded suite /usr/share/rubygems-integration/all/gems/rake-13.2.0/lib/rake/rake_test_loader
Started
.............................E
===============================================================================
Error: test_easy_http_verbs(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 4/5 of needed bytes read
/<<PKGBUILDDIR>>/lib/curl/easy.rb:80:in `perform'
/<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:1064:in `http_put'
/<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:1064:in `test_easy_http_verbs'
     1061:     assert_equal "POST\n", curl.body_str
     1062:     curl.http('PURGE')
     1063:     assert_equal 'PURGE', curl.body_str
  => 1064:     curl.http_put('hello')
     1065:     assert_equal "PUT\nhello", curl.body_str
     1066:     curl.http('COPY')
     1067:     assert_equal 'COPY', curl.body_str
===============================================================================
................................................................E
===============================================================================
Error: test_put_data(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 6/7 of needed bytes read
/<<PKGBUILDDIR>>/lib/curl/easy.rb:80:in `perform'
/<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:885:in `test_put_data'
     882:     curl = Curl::Easy.new(TestServlet.url)
     883:     curl.put_data = 'message'
     884:     
  => 885:     curl.perform
     886:     
     887:     assert_match(/^PUT/, curl.body_str)
     888:     assert_match(/message$/, curl.body_str)
===============================================================================
E
===============================================================================
Error: test_put_data_null_bytes(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 2/3 of needed bytes read
/<<PKGBUILDDIR>>/lib/curl/easy.rb:80:in `perform'
/<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:896:in `test_put_data_null_bytes'
     893:     curl = Curl::Easy.new(TestServlet.url)
     894:     curl.put_data = "a\0b"
     895:  
  => 896:     curl.perform
     897:     
     898:     assert_match(/^PUT/, curl.body_str)
     899:     assert_match("a\0b", curl.body_str)
===============================================================================
.E
===============================================================================
Error: test_put_remote(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 6/7 of needed bytes read
/<<PKGBUILDDIR>>/lib/curl/easy.rb:80:in `perform'
/<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:873:in `http_put'
/<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:873:in `test_put_remote'
     870:   def test_put_remote
     871:     curl = Curl::Easy.new(TestServlet.url)
     872:     curl.headers['Content-Type'] = 'application/json'
  => 873:     assert curl.http_put("message")
     874:     assert_match(/^PUT/, curl.body_str)
     875:     assert_match(/message$/, curl.body_str)
     876:     assert_match(/message$/, curl.body)
===============================================================================
.....................................E
===============================================================================
Error: test_multi_easy_http_01(TestCurbCurlMulti):
  Curl::Err::AbortedByCallbackError: <200> expected but was
  <0>.
/<<PKGBUILDDIR>>/tests/tc_curl_multi.rb:523:in `block in test_multi_easy_http_01'
     520:       { :url => TestServlet.url, :method => :get }
     521:     ]
     522:     Curl::Multi.http(urls, {:pipeline => true}) do|easy, code, method|
  => 523:       assert_equal 200, code
     524:       case method
     525:       when :post
     526:         assert_match(/POST/, easy.body_str)
/<<PKGBUILDDIR>>/lib/curl/multi.rb:143:in `block (2 levels) in http'
/<<PKGBUILDDIR>>/lib/curl/multi.rb:164:in `perform'
/<<PKGBUILDDIR>>/lib/curl/multi.rb:164:in `http'
/<<PKGBUILDDIR>>/tests/tc_curl_multi.rb:522:in `test_multi_easy_http_01'
===============================================================================
..E
===============================================================================
Error: test_multi_easy_put_01(TestCurbCurlMulti):
  Curl::Err::AbortedByCallbackError: </PUT/> was expected to be =~
  <"">.
/<<PKGBUILDDIR>>/tests/tc_curl_multi.rb:508:in `block in test_multi_easy_put_01'
     505:            { :url => TestServlet.url, :method => :put, :put_data => "message",
     506:              :headers => {'Content-Type' => 'application/json' } }]
     507:     Curl::Multi.put(urls, {}, {:pipeline => true}) do|easy|
  => 508:       assert_match(/PUT/, easy.body_str)
     509:       assert_match(/message/, easy.body_str)
     510:     end
     511:   end
/<<PKGBUILDDIR>>/lib/curl/multi.rb:67:in `block in put'
/<<PKGBUILDDIR>>/lib/curl/multi.rb:143:in `block (2 levels) in http'
/<<PKGBUILDDIR>>/lib/curl/multi.rb:164:in `perform'
/<<PKGBUILDDIR>>/lib/curl/multi.rb:164:in `http'
/<<PKGBUILDDIR>>/lib/curl/multi.rb:67:in `put'
/<<PKGBUILDDIR>>/tests/tc_curl_multi.rb:507:in `test_multi_easy_put_01'
===============================================================================
..................................E
===============================================================================
Error: test_put(TestCurl): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 6/7 of needed bytes read
/<<PKGBUILDDIR>>/lib/curl/easy.rb:80:in `perform'
/<<PKGBUILDDIR>>/lib/curl.rb:26:in `http'
/<<PKGBUILDDIR>>/lib/curl.rb:26:in `http'
/<<PKGBUILDDIR>>/lib/curl.rb:39:in `put'
/<<PKGBUILDDIR>>/tests/tc_curl.rb:20:in `test_put'
     17:   end
     18: 
     19:   def test_put
  => 20:     curl = Curl.put(TestServlet.url, {:foo => "bar"})
     21:     assert_equal "PUT\nfoo=bar",  curl.body_str
     22:   end
     23: 
===============================================================================
....
Finished in 3.907309752 seconds.
-------------------------------------------------------------------------------
178 tests, 699 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications
96.0674% passed
-------------------------------------------------------------------------------
45.56 tests/s, 178.90 assertions/s
rake aborted!
Command failed with status (1)
/usr/share/rubygems-integration/all/gems/rake-13.2.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => default => unittests
(See full trace by running task with --trace)
ERROR: Test "ruby3.1" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-curb returned exit code 1
make: *** [debian/rules:7: binary-arch] Error 25

Cheers
-- 
Sebastian Ramacher

[toc] | [next] | [standalone]


#362424 — Bug#1069258: ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read

FromSimon McVittie <smcv@debian.org>
Date2024-04-25 15:10 +0200
SubjectBug#1069258: ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read
Message-ID<Ix71n-8S3Y-9@gated-at.bofh.it>
In reply to#361815
Control: retitle -1 ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

On Thu, 18 Apr 2024 at 22:42:11 +0200, Sebastian Ramacher wrote:
> Error: test_easy_http_verbs(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 4/5 of needed bytes read
...
> Error: test_put_data(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 6/7 of needed bytes read
...
> Error: test_put_data_null_bytes(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 2/3 of needed bytes read

These messages with "only only (n)/(n+1) of needed bytes read" seem to
be characteristic. As well as being a FTBFS, this is also an autopkgtest
regression when upgrading curl, which is one of several factors preventing
curl from migrating; that, in turn, blocks elfutils, which blocks GLib,
which will likely be blocking a significant chunk of the 64-bit time_t
transition.

This could either be a regression in curl, or a pre-existing bug in
ruby-curb that was exposed by a behaviour change in curl (for example
maybe curl started applying stricter checks). I don't know curl well
enough to say which, but perhaps the curl maintainers can help? This
upstream commit introduced the new error message and seems relevant:
https://github.com/curl/curl/commit/9369c30cd87c041cf983bcdfabd1570980abbaf6

Here is a convenient reproducer in an unprivileged container:

$ podman run -v $(pwd):$(pwd):rw -w $(pwd) -it debian:trixie-slim
# sed -i -e 's/Types: deb/& deb-src/' /etc/apt/sources.list.d/debian.sources
# apt update
# apt upgrade
# apt install --no-install-recommends build-essential
# apt source ruby-curb
# cd ruby-curb-*
# apt --no-install-recommends build-dep .
# dpkg-buildpackage -us -uc -B
... succeeds ...
# sed -i -e 's/Suites: trixie /Suites: sid /'
# apt --no-install-recommends install curl
...
The following additional packages will be installed:
  libcurl3t64-gnutls libcurl4-gnutls-dev libcurl4t64
Suggested packages:
  libcurl4-doc libgnutls28-dev libidn-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev pkgconf zlib1g-dev
The following packages will be REMOVED:
  libcurl3-gnutls
The following NEW packages will be installed:
  curl libcurl3t64-gnutls libcurl4t64
The following packages will be upgraded:
  libcurl4-gnutls-dev
...
# dpkg-buildpackage -us -uc -B
... fails as seen in the buildd log ...

Thanks,
    smcv

[toc] | [prev] | [next] | [standalone]


#362425 — Processed: Re: Bug#1069258: ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-04-25 15:10 +0200
SubjectProcessed: Re: Bug#1069258: ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read
Message-ID<Ix71n-8S3Y-11@gated-at.bofh.it>
In reply to#361815
Processing control commands:

> retitle -1 ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read
Bug #1069258 [src:ruby-curb] ruby-curb: FTBFS: 178 tests, 699 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications
Changed Bug title to 'ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read' from 'ruby-curb: FTBFS: 178 tests, 699 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications'.

-- 
1069258: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069258
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#362729 — Bug#1069258: ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read

FromSamuel Henrique <samueloph@debian.org>
Date2024-04-29 20:10 +0200
SubjectBug#1069258: ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read
Message-ID<IyDBT-9Sd9-3@gated-at.bofh.it>
In reply to#361815
Hello all,

> These messages with "only only (n)/(n+1) of needed bytes read" seem to
> be characteristic. As well as being a FTBFS, this is also an autopkgtest
> regression when upgrading curl, which is one of several factors preventing
> curl from migrating; that, in turn, blocks elfutils, which blocks GLib,
> which will likely be blocking a significant chunk of the 64-bit time_t
> transition.

I believe this is an issue on ruby-curb and not on curl, check the following
thread on curl-library for details and possible solutions:
https://curl.se/mail/lib-2024-03/0054.html

Cheers,

--
Samuel Henrique <samueloph>

[toc] | [prev] | [next] | [standalone]


#363204 — Processed: Re: Bug#1069258: ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-05-07 16:20 +0200
SubjectProcessed: Re: Bug#1069258: ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read
Message-ID<IBtPH-bIPd-3@gated-at.bofh.it>
In reply to#361815
Processing control commands:

> forwarded -1 https://github.com/taf2/curb/issues/451
Bug #1069258 [src:ruby-curb] ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read
Set Bug forwarded-to-address to 'https://github.com/taf2/curb/issues/451'.

-- 
1069258: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069258
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#367305 — Processed: Bug#1069258 marked as pending in ruby-curb

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-07-17 18:00 +0200
SubjectProcessed: Bug#1069258 marked as pending in ruby-curb
Message-ID<J1fep-2LZh-1@gated-at.bofh.it>
In reply to#361815
Processing control commands:

> tag -1 pending
Bug #1069258 [src:ruby-curb] ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read
Added tag(s) pending.

-- 
1069258: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069258
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#367307 — Bug#1069258: marked as pending in ruby-curb

FromCédric Boutillier <noreply@salsa.debian.org>
Date2024-07-17 18:00 +0200
SubjectBug#1069258: marked as pending in ruby-curb
Message-ID<J1fep-2LZh-3@gated-at.bofh.it>
In reply to#361815
Control: tag -1 pending

Hello,

Bug #1069258 in ruby-curb reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ruby-team/ruby-curb/-/commit/86d8fc5dc89a774efd0349003a7426da12edcaa6

------------------------------------------------------------------------
Add read_data_handler.patch (Closes: #1069258)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1069258

[toc] | [prev] | [next] | [standalone]


#367313 — Bug#1069258: marked as done (ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-07-17 18:40 +0200
SubjectBug#1069258: marked as done (ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read)
Message-ID<J1fR7-2Mr7-13@gated-at.bofh.it>
In reply to#361815

[Multipart message — attachments visible in raw view] — view raw

Your message dated Wed, 17 Jul 2024 16:29:16 +0000
with message-id <E1sU7Wm-004j3l-U8@fasolo.debian.org>
and subject line Bug#1069258: fixed in ruby-curb 1.0.5-2
has caused the Debian Bug report #1069258,
regarding ruby-curb: test regression with curl 8.7.1: client read function EOF fail, only only 4/5 of needed bytes read
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 owner@bugs.debian.org
immediately.)


-- 
1069258: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069258
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web