The package rpms/rubygem-puma.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rubygem-puma.git/commit/?id=dbe1e....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit dbe1e59201df7601dda01832d0035f993b423058
Author: Jun Aruga <jaruga(a)redhat.com>
Date: Mon Mar 30 21:21:02 2020 +0200
Update skipped tests that is unstable on Koji.
diff --git a/rubygem-puma.spec b/rubygem-puma.spec
index f141357..6a8fad2 100644
--- a/rubygem-puma.spec
+++ b/rubygem-puma.spec
@@ -122,10 +122,26 @@ sed -i '/prove_it!/ s/^/#/' test/helper.rb
# Increase timeout seconds to avoid the timeout for every test case on Koji.
sed -i '/::Timeout.timeout/ s/60/600/' test/helper.rb
-# Not sure how to enable SSLv3 on client side, which is by default disabled
-# on Fedora, to test the server :/
-sed -i '/^ def test_ssl_v3_rejection$/a\
+# Skip an unstable test on Koji.
+# TestCLI#test_control failing with "pool_capacity": 0
+#
https://github.com/puma/puma/issues/2212
+%ifarch ppc64le s390x
+sed -i '/^ def test_control$/,/^ end$/ s/^/#/' test/test_cli.rb
+%endif
+
+# Skip a test that needs internet.
+# This test often takes long time on Koji.
+sed -i '/^ def test_timeout_in_data_phase$/a\
+ skip' test/test_puma_server.rb
+
+# Skip a randomly failed SSL test with openssl-libs-1:1.1.1e-2.fc33.ppc64le.
+# Errno::ECONNRESET: Connection reset by peer
+# /usr/share/ruby/openssl/buffering.rb:182:in `sysread_nonblock'
+# /usr/share/ruby/openssl/buffering.rb:182:in `read_nonblock'
+%ifarch ppc64le
+sed -i '/^ def test_verify_fail_if_client_unknown_ca$/a\
skip' test/test_puma_server_ssl.rb
+%endif
# Skip unstable tests on Koji.
# test_integration_cluster.rb: not expected replies
@@ -135,11 +151,6 @@ sed -i '/^ def test_term_closes_listeners_/a\
sed -i '/^ def test_usr1_all_respond_/a\
skip' test/test_integration_cluster.rb
-# Skip a test that needs internet.
-# This test often takes long time on Koji.
-sed -i '/^ def test_timeout_in_data_phase$/a\
- skip' test/test_puma_server.rb
-
# Make binary exension available in Ruby load path.
# Enable verbose mode to check unstable tests easily.
RUBYOPT="-Ilib:$(dirs +1 -l)%{gem_extdir_mri}" CI=1 ruby \
@@ -173,7 +184,7 @@ popd
%endif
%changelog
-* Mon Mar 30 2020 Jun Aruga <jaruga(a)redhat.com> - 4.3.3-1
+* Tue Mar 31 2020 Jun Aruga <jaruga(a)redhat.com> - 4.3.3-1
- Update to puma 4.3.3.
- Fix newline characters to insert malicious content (CVE-2020-5247).
- Fix carriage return character to insert malicious content (CVE-2020-5249).