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: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.5 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_PASS 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 6A6DC1F453 for ; Mon, 29 Apr 2019 19:14:32 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 2C6E3120A20; Tue, 30 Apr 2019 04:14:21 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id C6C6C120A1C for ; Tue, 30 Apr 2019 04:14:17 +0900 (JST) Received: by filter0074p3mdw1.sendgrid.net with SMTP id filter0074p3mdw1-19539-5CC74D09-3C 2019-04-29 19:14:17.895123206 +0000 UTC m=+340528.776572258 Received: from herokuapp.com (unknown [54.161.168.50]) by ismtpd0051p1mdw1.sendgrid.net (SG) with ESMTP id R9k7n-yCRGGQUZ4VJ1uhQA for ; Mon, 29 Apr 2019 19:14:17.719 +0000 (UTC) Date: Mon, 29 Apr 2019 19:14:17 +0000 (UTC) From: usa@garbagecollect.jp Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 67965 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15810 X-Redmine-Issue-Author: MSP-Greg 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-SG-EID: =?us-ascii?Q?9Ij0W+xF+66shKwcOf8RvdqxJGkEJjaCZuueI4cieuCIQGT8hS78IqAn3bR6Ja?= =?us-ascii?Q?X808qKuHV0u+BjQgyS2wSL6+Qv1bKCesgunrP1r?= =?us-ascii?Q?9S8tyYQUReKHXpu=2Fnn+SzTNpDRTJJwU5hWWTr8o?= =?us-ascii?Q?vc851SoxmwOh+fxtPBT9ylh=2Fsyj9jft5dI682F5?= =?us-ascii?Q?f6fk5rYUIsFKHNxxWtVY2kORR27kfws=2FN8A=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 92482 Subject: [ruby-core:92482] [Ruby trunk Bug#15810] Windows spec failure - Process.ppid returns the process id of the parent of this process - ?? 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 #15810 has been updated by usa (Usaku NAKAMURA). Status changed from Open to Closed in `test-spec` target of make, `RUBY_EXE` constant in mspec is `RUNRUBY`. it means that the invoked ruby process is the grandchild of the invokee, not the child. so, this spec is never passed on Windows via `make test-spec`. ---------------------------------------- Bug #15810: Windows spec failure - Process.ppid returns the process id of the parent of this process - ?? https://bugs.ruby-lang.org/issues/15810#change-77828 * Author: MSP-Greg (Greg L) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Since being committed at 79671ec on 28-Apr, this spec has consistently failed: ``` Process.ppid returns the process id of the parent of this process FAILED Expected "11424\n" to equal "13044\n" C:/projects/ruby/spec/ruby/core/process/ppid_spec.rb:5:in `block (2 levels) in ' C:/projects/ruby/spec/ruby/core/process/ppid_spec.rb:3:in `' ``` But, testing it locally, both 'serial' & parallel, it passes. The test also passes at ruby/spec, and it passed with ruby-loco (which doesn't use make)... As to testing locally, if anyone wants to verify (on Windows), from the `spec/ruby` folder: ``` ../mspec/bin/mspec -rdevkit -j -T "--disable=gems" core ``` -- https://bugs.ruby-lang.org/