From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 85DFC1F4B4 for ; Sun, 4 Oct 2020 02:33:39 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 65BC71209DD; Sun, 4 Oct 2020 11:33:01 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 049C41209DA for ; Sun, 4 Oct 2020 11:32:59 +0900 (JST) Received: by filterdrecv-p3iad2-df8579867-s9tqg with SMTP id filterdrecv-p3iad2-df8579867-s9tqg-19-5F79347D-A 2020-10-04 02:33:33.232681623 +0000 UTC m=+1053303.488502704 Received: from herokuapp.com (unknown) by ismtpd0007p1iad2.sendgrid.net (SG) with ESMTP id 98TmeAsbRa-Ix7layv5opw for ; Sun, 04 Oct 2020 02:33:33.213 +0000 (UTC) Date: Sun, 04 Oct 2020 02:33:33 +0000 (UTC) From: utkarsh@debian.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 76136 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 17211 X-Redmine-Issue-Author: utkarsh X-Redmine-Sender: utkarsh X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?FjzPP8ycMDl0rsCE3EapWa4NNRoWERiVC5TAwEdZrzW+bZSuOgWyahf02ROJ=2Fv?= =?us-ascii?Q?S1JGTFLcyq5f99ZZOOoQLCB7OL3RLfKnhrQqdw2?= =?us-ascii?Q?tgrFGGKWUJCdNvhAjRQLZ7DkDQMeZfovMxbl3SF?= =?us-ascii?Q?VbP9M1tewd7070mtlVrz0SUdRVVvJvCxlp0=2F8WY?= =?us-ascii?Q?Htvde8Sh0r3jtKEp7O4O6hhEZw+jE5xFeWhC6X8?= =?us-ascii?Q?JGTLgqP6rvqqMtQoM=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 100294 Subject: [ruby-core:100294] [Ruby master Bug#17211] Test failures in ruby2.7.2 and ruby3.0~preview1 X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #17211 has been updated by utkarsh (Utkarsh Gupta). utkarsh (Utkarsh Gupta) wrote: > I am clueless as to what's causing this? Weirdly enough it looks to me that ``` IRB_HISTORY stdin.write("5\nexit\n") end ``` in `test/irb/test_history.rb` (for all these tests) has no impact apparently. But not sure what's going on with `test_history_save_1`. I am lost there. ---------------------------------------- Bug #17211: Test failures in ruby2.7.2 and ruby3.0~preview1 https://bugs.ruby-lang.org/issues/17211#change-87879 * Author: utkarsh (Utkarsh Gupta) * Status: Open * Priority: Normal * ruby -v: 2.7.2 * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- Hello, Whilst building Ruby 2.7.2 and Ruby 3.0~preview1, I got the following test failures: ``` 1) Failure: TestIRB::TestHistory#test_history_save_1 [/<>/test/irb/test_history.rb:31]: <"exit\n"> expected but was <"1\n" + "2\n" + "3\n" + "4\n">. 2) Failure: TestIRB::TestHistory#test_history_save_100 [/<>/test/irb/test_history.rb:51]: <"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was <"1\n" + "2\n" + "3\n" + "4\n">. 3) Failure: TestIRB::TestHistory#test_history_save_bignum [/<>/test/irb/test_history.rb:76]: <"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was <"1\n" + "2\n" + "3\n" + "4\n">. 4) Failure: TestIRB::TestHistory#test_history_save_minus_as_infinity [/<>/test/irb/test_history.rb:101]: <"1\n" + "2\n" + "3\n" + "4\n" + "5\n" + "exit\n"> expected but was <"1\n" + "2\n" + "3\n" + "4\n">. Finished tests in 424.892771s, 49.5113 tests/s, 6415.2304 assertions/s. 21037 tests, 2725785 assertions, 4 failures, 0 errors, 95 skips ``` I am clueless as to what's causing this? Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1. -- https://bugs.ruby-lang.org/