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.1 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,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 EEED51F453 for ; Wed, 1 May 2019 13:55:01 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 67760120A42; Wed, 1 May 2019 22:54:57 +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 9C24D120A69 for ; Wed, 1 May 2019 22:54:55 +0900 (JST) Received: by filter0032p3las1.sendgrid.net with SMTP id filter0032p3las1-25793-5CC9A52F-16 2019-05-01 13:54:55.444648736 +0000 UTC m=+494847.830088085 Received: from herokuapp.com (unknown [54.159.201.37]) by ismtpd0015p1iad1.sendgrid.net (SG) with ESMTP id W7S_ZJUkRrioUULXhFs8Yw for ; Wed, 01 May 2019 13:54:55.305 +0000 (UTC) Date: Wed, 01 May 2019 13:54:55 +0000 (UTC) From: eregontp@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 67997 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15810 X-Redmine-Issue-Author: MSP-Greg X-Redmine-Sender: Eregon 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?KippOI8ZHtTweq7XfQzW93937kJ4QNWwSBuHnaMEcr0LQ9etVNwyUKBH4ONShB?= =?us-ascii?Q?MUwo+NsP=2F66TZuZVvncLfT4nEFT6I1kv+gVs69T?= =?us-ascii?Q?JgFPAfRuBgdArj45N6idBvqJ7lZf0qbK3dDDFiR?= =?us-ascii?Q?9k9sTtFvmtql4tklOrXEjscHwwNO5Ze24U7oClX?= =?us-ascii?Q?fA=2F8bxtHdk6paoxg4dVvvmfuZTDP+iTCDPg=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 92514 Subject: [ruby-core:92514] [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 Eregon (Benoit Daloze). Would it be possible to use execve() in RUNRUBY, such that RUNRUBY and the actual ruby process have the same PID, or is that not available on Windows? ---------------------------------------- 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-77876 * 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/