-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
The following tests are failing in Debian and Ubuntu infrastructure on s390x architecture:
Failures:
1) HttpParser::Parser#initialize the error should be inspectable
Failure/Error: expect(@inst.error).to be_kind_of(::HttpParser::Error::INVALID_METHOD)
expected #<HttpParser::Error::UNKNOWN: an unknown error occurred (UNKNOWN)> to be a kind of HttpParser::Error::INVALID_METHOD
# ./spec/error_spec.rb:20:in `block (2 levels) in <top (required)>'
2) HttpParser::Parser#initialize raises different error types depending on the error
Failure/Error: expect(@inst.error).to be_kind_of(::HttpParser::Error::INVALID_VERSION)
expected #<HttpParser::Error::INVALID_CONSTANT: invalid constant string (INVALID_CONSTANT)> to be a kind of HttpParser::Error::INVALID_VERSION
# ./spec/error_spec.rb:26:in `block (2 levels) in <top (required)>'
3) HttpParser::Instance#initialize #type should default to :both
Failure/Error: expect(subject.type).to eq(:both)
expected: :both
got: :request
(compared using ==)
Diff:
@@ -1 +1 @@
-:both
+:request
# ./spec/instance_spec.rb:24:in `block (3 levels) in <top (required)>'
4) HttpParser::Parser#initialize #upgrade? should return true if the Upgrade header was set
Failure/Error: expect(@inst.upgrade?).to eq(true)
expected: true
got: false
(compared using ==)
Diff:
@@ -1 +1 @@
-true
+false
# ./spec/parser_spec.rb:270:in `block (3 levels) in <top (required)>'
Finished in 0.01765 seconds (files took 0.08681 seconds to load)
34 examples, 4 failures
Failed examples:
rspec ./spec/error_spec.rb:18 # HttpParser::Parser#initialize the error should be inspectable
rspec ./spec/error_spec.rb:24 # HttpParser::Parser#initialize raises different error types depending on the error
rspec ./spec/instance_spec.rb:23 # HttpParser::Instance#initialize #type should default to :both
rspec ./spec/parser_spec.rb:269 # HttpParser::Parser#initialize #upgrade? should return true if the Upgrade header was set
Full logs:
https://buildd.debian.org/status/fetch.php?pkg=ruby-http-parser&arch=s390x&ver=1.2.1-4&stamp=1604434045&raw=0
https://launchpadlibrarian.net/526217639/buildlog_ubuntu-hirsute-s390x.ruby-http-parser_1.2.1-4_BUILDING.txt.gz
FWIW I ran the tests from the current master branch in a s390x VM and I got the same failures.
Metadata
Metadata
Assignees
Labels
No labels