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-ASN: AS24940 94.130.0.0/16 X-Spam-Status: No, score=-3.0 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_HI, SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 198321F601 for ; Thu, 8 Dec 2022 03:35:14 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.b="LggSj11F"; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 1E0367E643; Thu, 8 Dec 2022 03:35:07 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=LggSj11F; dkim-atps=neutral Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 7A1F77E60B for ; Thu, 8 Dec 2022 03:35:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=1I/3NIwPAFNzJ1Ju82IlGH1Gs3S2SHohHMwIacYJ2SA=; b=LggSj11F9Yl9c9QY5ipI++D0NjZyQ9SJK2YHiT2nqx5FBFHsK/up1xXH/6B8o7GOP+2a v25SN6CaDce6odMe3N9dAG98z6URBkKkT9+84J8cL16bpMPSQ39sZEa/PlqvC/KVTBIzfN U3QsmIZObVJkflay3GFqNpSQBaboM2xxMGzboeZLlfYT6+26eNsfYsfletwPLzdL1vWVLP 2cvM4zym7GkoIcABiS2ee+qdtU2EoR7HGM4JkcttjbvMeDnrpm4KPDfPAC2GbGbCQah33R KzAQOCewT8GiNUBYfiJNYUytR+IB/80hzDnBK6M3c/dpCyJadQHAESbfallnT26A== Received: by filterdrecv-6c4ccfbdd8-6sbcc with SMTP id filterdrecv-6c4ccfbdd8-6sbcc-1-63915B65-1A 2022-12-08 03:35:01.772507986 +0000 UTC m=+1744170.146644757 Received: from herokuapp.com (unknown) by geopod-ismtpd-4-3 (SG) with ESMTP id eLb-UoezRJqnlxlibJyacg for ; Thu, 08 Dec 2022 03:35:01.637 +0000 (UTC) Date: Thu, 08 Dec 2022 03:35:01 +0000 (UTC) From: "usa (Usaku NAKAMURA)" Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 19187 X-Redmine-Issue-Author: coolo X-Redmine-Sender: usa 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-Redmine-MailingListIntegration-Message-Ids: 87591 X-SG-EID: =?us-ascii?Q?BxDbfNQnwsX=2F0cs5htW3E5gCu78ggpQEdH=2FDrkrDjQAkyUE49pKpjAfYJLF3P8?= =?us-ascii?Q?17DzM4XaHLomB931NWJ7CDjMPZDjJpHxZF1oC9g?= =?us-ascii?Q?veDSTiv3RgXcPiJPvdywskul0uoNAYw+Gxom=2F3b?= =?us-ascii?Q?vBM8oPSUh=2F3kGOpFi8grRqvhrcnTKtjM0jo0XNn?= =?us-ascii?Q?DlgEddcn+EGtl3tYY1BOM4XKnVzrcakXK3GXanP?= =?us-ascii?Q?yckOuIGMs3mETJWKWvMo5fq=2FxmZMmiO15amHS8O?= =?us-ascii?Q?hVtdGirhsnH+bBM8EHO4A=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: KUVRRGC6FES5I2LMLEW7Q4OPXWI3BGHQ X-Message-ID-Hash: KUVRRGC6FES5I2LMLEW7Q4OPXWI3BGHQ X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:111236] [Ruby master Bug#19187] Ruby 3.1.3 testsuite fails after timezone 2022g update is applied List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #19187 has been updated by usa (Usaku NAKAMURA). Backport changed from 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED to 2.7: DONE, 3.0: REQUIRED, 3.1: REQUIRED ruby_2_7 36cadad6434bc31bc2d60697698cd5b930c097ce merged revision(s) 58cc3c9f. ---------------------------------------- Bug #19187: Ruby 3.1.3 testsuite fails after timezone 2022g update is applied https://bugs.ruby-lang.org/issues/19187#change-100525 * Author: coolo (Stephan Kulow) * Status: Closed * Priority: Normal * ruby -v: ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x86_64-linux-gnu] * Backport: 2.7: DONE, 3.0: REQUIRED, 3.1: REQUIRED ---------------------------------------- The timezone database changed incompatible to what ruby's testsuite expects. See the announcement here: http://mm.icann.org/pipermail/tz-announce/2022-November/000076.html and note the little detail Singapore's 1981-12-31 change was at 16:00 UTC (23:30 local time), not 24:00 local time. (Thanks to Geoff Clare via Robert Elz.) Problem is that test/ruby/test_time_tz.rb tests this very detail in 3 places - and breaks. 1) Failure: TestTimeTZ#test_asia_singapore [/home/abuild/rpmbuild/BUILD/ruby-3.1.3/test/ruby/test_time_tz.rb:143]: TZ=Asia/Singapore Time.local(1981, 12, 31, 23, 59, 59). <"1981-12-31 23:59:59 +0730"> expected but was <"1982-01-01 00:29:59 +0800">. 2) Failure: TestTimeTZ#test_gen_Asia_Singapore_22 [/home/abuild/rpmbuild/BUILD/ruby-3.1.3/test/ruby/test_time_tz.rb:382]: TZ=Asia/Singapore Time.utc(1981, 12, 31, 16, 29, 59).localtime. <"1981-12-31 23:59:59 +0730"> expected but was <"1982-01-01 00:29:59 +0800">. 3) Failure: TestTimeTZ#test_gen_Asia_Singapore_45 [/home/abuild/rpmbuild/BUILD/ruby-3.1.3/test/ruby/test_time_tz.rb:400]: TZ=Asia/Singapore Time.local(1981, 12, 31, 23, 59, 59). <"1981-12-31 23:59:59 +0730"> expected but was <"1982-01-01 00:29:59 +0800">. I can see no other option than not to test this detail - because relying on correct timezone data (either way) is barely possible. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/