From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 08 12:24:56 2025 Received: (at submit) by debbugs.gnu.org; 8 Jan 2025 17:24:56 +0000 Received: from localhost ([127.0.0.1]:48735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVZna-0006cG-Vc for submit@debbugs.gnu.org; Wed, 08 Jan 2025 12:24:56 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54720) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVZB5-00047z-1T for submit@debbugs.gnu.org; Wed, 08 Jan 2025 11:45:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVZAy-00065A-Kk for bug-dejagnu@gnu.org; Wed, 08 Jan 2025 11:45:00 -0500 Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVZAw-0003eG-3E for bug-dejagnu@gnu.org; Wed, 08 Jan 2025 11:45:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1736354695; x=1736959495; i=chris21k@gmx.de; bh=I3SG1l/scGtJne8B4wseI0VpeWnzC9rsFJRMhHuS3tY=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Subject: Content-Type:Date:cc:content-transfer-encoding:content-type:date: from:message-id:mime-version:reply-to:subject:to; b=MZVSLUfiqaYYWx3aY6TBjLtR4fJXFB4reys37DuaGpIdnw6OzL50wcP/Ny7gtygF NaaZ9dHBZ7rOapTTlbbt2KzJHLfIpYdka26PZuQ5G4g2FPH61djLRGSoARDQunZlM xFrZQTQe5f1pcEwQBAnpiiDq/FxyUevNM4EBAC2iFaWSgp7DUbbTZIpJK+D2sil2O kskibEueD13pJMdUQiPuajFPPToitqvUu8ZnhvLpC9m5LZNc4lhzbWovTwZldywdp F6xUHEXtkv6Q3/fSfzi4GqJzdrGsZMLJ6MhbdixLR06MVcw2bPvWl8Z4BcHRr5zIH 7mG/OagFoRwOLDgIWQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [88.133.197.100] ([88.133.197.100]) by trinity-msg-rest-gmx-gmx-live-bbc95d94c-jjgc7 (via HTTP); Wed, 8 Jan 2025 16:44:55 +0000 MIME-Version: 1.0 Message-ID: From: Chris Nospam To: bug-dejagnu@gnu.org Subject: dejagnu does not like java.io.Console of OpenJDK >= 22 Content-Type: multipart/mixed; boundary=refeik-260945c3-c1e3-4e45-9036-350984ec99a0 Date: Wed, 8 Jan 2025 16:44:55 +0000 X-UI-CLIENT-META-MAIL-DROP: W10= X-Provags-ID: V03:K1:j7YweI1S1S2tYMrkoSgfveJTIMmpF5uNb3KfxXX1pMc8j7HEa363CbJ428gthVH2PG8Np GhyjBKC9pRoVx28kjVqgXZBQuErYi3lnQBV6urUcTfIetXhIniX25I3LC/cZu6Wl5SATIAP9SOG+ VG/I1/34g0ThkLU/kL6a6RPWEckWo6P94QJUcMVefdsviWHEyM767DyxU/FON6YECaWEj65+kT4Z 5G9Nq8ygR77pZvwaUMRzr6/nnBxUo4xip07I/9HG0OJxG4kX/k7jVh1/BvzexE2dbasrPWVistnj qQui2IQbM+gyD01jGZN2Zr3Kj2ayzKp4TOkiRTM7AB+Of6w5AWMtZmDeAjRD6VIshk= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:l+UuFQ+cdJI=;0TM922ez3LH4jSMTF8crycnEp9V Ug+3wZVWMYZ58cIx2qCDHZHGQjTEJRDBjnBQIiTwX2FgoGo3waEGS3ic4iIELmif2p2jiXxBl NUx0vUgmP/qwbr8CqlBotZyBSQMNfihsH5wQMbwVqJcc2DzZHrHWHu8QI24T60uaoTe+m+5/Y apDih51shZSJ4rbT6joJVo2fqpK3NxvNOmD+sNz1llKupHIbym+5OciY22opGBDK81HLuVzHU FZJ6ozDWMx05mJtb0+hi7o5D0yxK/wpQPmpMy5qvYQW0CTNjqUlo3/9KDv9hUNsIXNeZBv9Iy dM7TxtLfWvsvsZNmrhV6tsbfOCgBofas+pTBCe4XgBL46/F5dqZPbzbddYqwYv/TZmE0qEAtK Dtx4Y3u1+MAoPyNLnodsbOSw1ITqrhv+pLj2sLaMO6NuOW0XbeTivyXv4OsZg7yh9UgplOyDH FGuZbk6oWcMpUfPLy/wF/6S2pvKUKkH78MLwOT9+NMAOo3w9rFZ958WiHtMPlNNtntu/7PvCl 96Km9nkxpASDqL3jNmsuhFaZWbw85pTmfAgrQjGKtEA13cRStgsxOO2dOS6zVQqR8afk4DBGk 1F6Uv4UHu/3tqiZm9UZp/uUUXrH6tm5K/2FPz94OFiYudFjlFg7gIaTHfGweU6sru2zFOqQbx mviMeYIETKopnldIwpgua2zXU3Z4C+dIM0xsozal9YaQ4zA+YLfvqpheG/iOJ5eogKGdKCenv 7SxnbTN8EZEJj2l9Lb+kj/BXJOrRj014JBSRlwftFHPw0yT30Fsvex9zHaeKqOCyfE4kdoEip LRTX1aTJXX11mRzL8rooeq+5IhY9kn22VH+AbTFZIr1ig3egaH4jR6qbyJRW8XAQM4G1lIYdK /XTJSXffETmnQ9EDLLSzHUXou7V8PNtWbWxE= Received-SPF: pass client-ip=212.227.15.19; envelope-from=chris21k@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 08 Jan 2025 12:24:53 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --refeik-260945c3-c1e3-4e45-9036-350984ec99a0 Content-Type: text/plain; charset=UTF-8 Dear maintainers, starting with OpenJDK Java 22 java programs using java.io.Console cannot be testet with dejagnu any more. With JDK 21 it works like a charm. I belive it has to do with excape sequences that are not filtered out correctly or similar. I am using dejagnu 1.6.3-1, debain package under Ubuntu 24.04. For an easy reproduction of the bug I have attached a simple example simple.zip. Just unpack it and execute exectest.sh. Be sure to update JAVA_HOME in this script to a jdk 22 or 23 installation. In testsuite/simple.log some escape sequences are shown were no one are expected: ^[[?1h^[=^[[?2004hhello ^[[?1l^[>^[[?1000l^[[?2004lhello The attached simple echo example works after simply commenting the lines 13-14 (using Console) and uncommenting lines 16-17 (using BufferedReader) in testsuite/simple.sh. Alternatively it also works by passing -Djdk.console=java.base to the jvm (1st line in exectest.sh), to trigger the old implementation in JDK. #!/usr/bin/env -S java --source 23 // #!/usr/local/java/jdk-23.0.1/bin/java --source 23 -Djdk.console=java.base import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class ConsoleTest { public static void main(String[] args) throws IOException { System.out.print("prompt> "); java.io.Console c = System.console(); String input = c.readLine(); // BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); // String input = in.readLine(); System.out.println(input); System.out.println("prompt> "); } } It has something to do with the change of the Java default Console provider to JLine in Java 22. https://bugs.openjdk.org/browse/JDK-8309141 However, as Java Console works everywhere else (windows/linux console/bash/EclipseIDE internal "console"/IntelliJ internal "console") as far I can see, it seems to be something special with dejagnu. Thanks for dejagnu, maintaining it, and your help, Chris --refeik-260945c3-c1e3-4e45-9036-350984ec99a0 Content-Type: application/x-zip-compressed Content-Disposition: attachment; filename=simple.zip Content-Transfer-Encoding: base64 X-UI-Content-Hash: ccbb6cb9d10aa3bdb5e3276e485bb1a36a5ab87f6a147060e96a0b965b0a9b7c UEsDBBQAAAAIAGyCJ1qQ0RLGiAAAAJ8AAAALABwAZXhlY3Rlc3Quc2hVVAkAA/tFfWc9on5ndXgL AAEE8VYAAATxVgAAU1bULy0u0k/KzNMvzuDiSq0oyC8qUfByDHOM9/D3dbUFy+bkJyfm6GclliXq Z6Vk6xoZ6xnoGcLUBjiGeNiqVMO11IIMs1KpBonXcnElpyiUpBaXFJdmlqRyFeUq6KYpaOnl5KcD yeLSXK6i0jyQtIKubkl+fo5CcWZuQU6qQmpyRr4e0HwuAFBLAwQKAAAAAABFiShaAAAAAAAAAAAA AAAACgAcAHRlc3RzdWl0ZS9VVAkAA2Gjfmdho35ndXgLAAEE8VYAAATxVgAAUEsDBBQAAAAIAECJ KFpF0MsVMAEAAHkCAAATABwAdGVzdHN1aXRlL3NpbXBsZS5zaFVUCQADV6N+Z1qjfmd1eAsAAQTx VgAABPFWAABtkU1PwzAMhu/5FWa7tIcmsB2nceDjgISERLkhDmnqjYw2iZJ0A6H9d9yum7oOXyLZ z+vXdqZXogleFNoINFvIctjIrYQsC7bxCmE2Z0LA9EBVVslKtIDYlF/ZbM6v+U2nHYsgeyCCK2uC rXDZlnkhAzKma2d97Fy4tvyuWa3QY/mKskS/GJefXh6/FbqorbmsGdfEPHqU9VHNXFNUWoGqZAhw f3B/wxDhlzGg6OshykjP1uoSaqlNQm20Wb9/gPTrkEL89HYXYOBODaCP/CdErLltInekisnEeVu7 eAuTdMFO2HHMfgpQsDxK+7MkhJ+adgOAbnciUHFaq3zWpoNOFH3F+cFIQLTB3SiftKmLAyW9vzbp wJqajty1+d9+vHllkk4y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bXBsZS5zdW1VVAUAA2Gj fmd1eAsAAQTxVgAABPFWAABQSwECHgMKAAAAAAAviShaAAAAAAAAAAAAAAAAEQAYAAAAAAAAABAA /UGXBgAAdGVzdHN1aXRlL2NvbmZpZy9VVAUAAzmjfmd1eAsAAQTxVgAABPFWAABQSwECHgMUAAAA CACUiChaFJfRAdcBAADEBQAAHAAYAAAAAAABAAAAtIHiBgAAdGVzdHN1aXRlL2NvbmZpZy9kZWZh dWx0LmV4cFVUBQADGKJ+Z3V4CwABBPFWAAAE8VYAAFBLAQIeAwoAAAAAAEd8J1oAAAAAAAAAAAAA AAAOABgAAAAAAAAAEAD9QQ8JAAB0ZXN0c3VpdGUvbGliL1VUBQADZjt9Z3V4CwABBPFWAAAE8VYA AFBLAQIeAwoAAAAAAEd8J1oAAAAAAAAAAAAAAAAWABgAAAAAAAAAAAC0gVcJAAB0ZXN0c3VpdGUv bGliL3NpdGUuZXhwVVQFAANmO31ndXgLAAEE8VYAAATxVgAAUEsFBgAAAAALAAsA2QMAAKcJAAAA AA== --refeik-260945c3-c1e3-4e45-9036-350984ec99a0-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 08 20:55:48 2025 Received: (at 75440) by debbugs.gnu.org; 9 Jan 2025 01:55:48 +0000 Received: from localhost ([127.0.0.1]:49668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVhly-0007xC-Pw for submit@debbugs.gnu.org; Wed, 08 Jan 2025 20:55:47 -0500 Received: from mail-oo1-xc35.google.com ([2607:f8b0:4864:20::c35]:44248) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tVhlo-0007wl-Nd for 75440@debbugs.gnu.org; Wed, 08 Jan 2025 20:55:43 -0500 Received: by mail-oo1-xc35.google.com with SMTP id 006d021491bc7-5f6ab7e0bd6so250650eaf.0 for <75440@debbugs.gnu.org>; Wed, 08 Jan 2025 17:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736387730; x=1736992530; darn=debbugs.gnu.org; h=in-reply-to:from:content-language:references:to:subject:reply-to :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=XyGr5DuzlhOYnV1rQyfQPEOswEawLgWJloc0fYabSQU=; b=jTEC/NNeRZp/gQstJYA8IC6md79VtwAQfMWE7htjGhSqky1aM71NPWiqgys9ZxFxII jKEIfxCmKOk3Plkq5i23fSolOTJ9S8Gvkx8iWl2eN6bps3gmAononLtioczfxopgCOfY F0g0BOLGwcemxiSuIhK7ElLtreJrlxC5UoDHbRe7yWUUzHEdlYfLL9hzOCKlY91Zqz1P Rymz+iImv6uoNCddobVCziqIHyDR+pA7Gugi+rNZltCpfummElDLsh5azDQWxh/ntcqT JApnpkY0X9fM/J7v2jeBtYtvf3OvK67KyhYbEr4bstYA4i7k8Yfr1rVJt0hQR8EkRw5v mxVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736387730; x=1736992530; h=in-reply-to:from:content-language:references:to:subject:reply-to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=XyGr5DuzlhOYnV1rQyfQPEOswEawLgWJloc0fYabSQU=; b=a4pBIeDrI2A51c3eUHJWknCAvaShn6yyEOpYypWipiI9hm5cW+sxukr09m+jIgMUdT VBblwYvsLDSVfT3q/Q5+To13DmJnEMP+8a5xJLfnLA687tR3Ol+UcG7epxuUJUdCYte2 PCyNVQ7W2uyDC5dJQ5EnMX1MOYinN1bYnvZ2MqMtJ/2pwaMRHiSWOrBqPYEJ5gY2aXq6 m2jbmgng3vwBOUbpN//+QPJobOBgxIeyLz1Z1y0LaAhUS+ACheqthtq+RhNoHTBV8t/M 15Ata2aUKcwc8XtqW52znPERr+mTAoI7iDj1BFojqZFV4rM6pgwBlA5sbXoUrAHl97lz JKVw== X-Forwarded-Encrypted: i=1; AJvYcCXYIwpajq7+o80QZ7UQa4+TH1TnZgSRD2tD4NyAXuUSouJ0EPykTplo1LNoXvJ535FVrVqudA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzdIamoOmLMOEM/CggX8cgBnAHMD1BDWRRINyr3hdCxQ8MUa38b Jhc9jObmyYPgfaXkx7VhlBA9wHLI3rtx9FRShIgulKLd0GTkwuns X-Gm-Gg: ASbGncunlhSgyf8XDPueQNNBxNc7lpOgde7r1sSM9ZyeV1p7zUdIRx5tBbIKG0318iL +9m4/HqsjDXu3KNUyRfgNCEGZe4VcvvgbWyEf9XXzRsgvs8FOnO1YmCux3tFMNiosyGUr1cmzEi M+PdyilAg4H5/4CPkHhUyvRthhIz11ikDZrHgGLm0VPQkRc5kVYfl/RWXV7O0MYZvDQaNoj0TFc i0CdVYhYtDlsahuiC/TlV4yn7N1IDFbkpXBmsjlxEAwPtO0lSL7HQ== X-Google-Smtp-Source: AGHT+IHORKRTUdSkiq93Q7gyThHmfeNscOaXrdi30rj3cx6Wv42YCD9lxow4YCh+ChBia0EztwIeYA== X-Received: by 2002:a05:6820:1520:b0:5f6:d896:4afe with SMTP id 006d021491bc7-5f7309645d5mr2460741eaf.3.1736387730361; Wed, 08 Jan 2025 17:55:30 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.14]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-72318547f95sm123164a34.19.2025.01.08.17.55.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2025 17:55:29 -0800 (PST) Content-Type: multipart/alternative; boundary="------------OEXIPA2If4is5aXu9WAOVcSY" Message-ID: <2a7c2a07-e5c0-4045-93ed-606dc48afe1e@gmail.com> Date: Wed, 8 Jan 2025 19:55:22 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#75440: dejagnu does not like java.io.Console of OpenJDK >= 22 To: Chris Nospam , 75440@debbugs.gnu.org References: Content-Language: en-US From: Jacob Bachmeyer In-Reply-To: X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 75440 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jcb62281@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) This is a multi-part message in MIME format. --------------OEXIPA2If4is5aXu9WAOVcSY Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/8/25 10:44, Chris Nospam via Bug-dejagnu via wrote: > Dear maintainers, > > starting with OpenJDK Java 22 java programs using java.io.Console cannot be testet with dejagnu any more. With JDK 21 it works like a charm. This is a JVM bug or misfeature.  We have recently had similar problems with MinGWGCC tested under Wine. In that case, it was a consequence of Wine's new support for Windows quasi-ptys. > I belive it has to do with excape sequences that are not filtered out correctly or similar. I am using dejagnu 1.6.3-1, debain package under Ubuntu 24.04. DejaGnu does not and cannot filter escape sequences.  Expect matches the patterns it is given.  You can write patterns in your testsuite that accommodate or even verify escape sequences from the program under test. > For an easy reproduction of the bug I have attached a simple example simple.zip. Just unpack it and execute exectest.sh. Be sure to update JAVA_HOME in this script to a jdk 22 or 23 installation. > > In testsuite/simple.log some escape sequences are shown were no one are expected: > ^[[?1h^[=^[[?2004hhello > ^[[?1l^[>^[[?1000l^[[?2004lhello The JVM IO facilities are inserting escape sequenceswithout your program calling for them. This is a JVM bug or misfeature that Expect (on which DejaGnu is built) exposes. > The attached simple echo example works after simply commenting the lines 13-14 (using Console) and uncommenting lines 16-17 (using BufferedReader) in testsuite/simple.sh. > Alternatively it also works by passing -Djdk.console=java.base to the jvm (1st line in exectest.sh), to trigger the old implementation in JDK. > > #!/usr/bin/env -S java --source 23 > // #!/usr/local/java/jdk-23.0.1/bin/java --source 23 -Djdk.console=java.base > > import java.io.BufferedReader; > import java.io.IOException; > import java.io.InputStreamReader; > > public class ConsoleTest { > > public static void main(String[] args) throws IOException { > System.out.print("prompt> "); > > java.io.Console c = System.console(); > String input = c.readLine(); > > // BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); > // String input = in.readLine(); > > System.out.println(input); > System.out.println("prompt> "); > } > > } First, think about what your program actually does compared to what your testsuite code expects it to do.  Examine the message produced at the end of the test run in simple.log.  In fact, that message is produced *after* echo.exp has completed.  Where does that message come from? (You will benefit far more from the lesson if you find it for yourself than if I tell you.  There is only one place in your testsuite that can emit that message.) Second, the inability to send text to the program under test is not a failure:  it is an error and probably an UNRESOLVED test.  A block that is executed as a result of catching a Tcl error probably should be invoking "error" or possibly "unresolved", not "fail" or even "pass" (unless you are testing an error condition). Third, Tcl interpolates backslash escapes in double-quoted strings.  You will need to double (some of) the backslashes and/or review re_syntax(n) for Tcl regexp syntax. Fourth, think about simple_test could actually fail.  That depends on what you are trying to do, but any "pass" should have a corresponding "fail" somewhere. (Most of the above refers to Expect code in your testsuite/config/default.exp file.) > It has something to do with the change of the Java default Console provider to JLine in Java 22. > https://bugs.openjdk.org/browse/JDK-8309141is is not special with DejaGnu; we have recently had similar issues with > Wine, encountered while testing mingw32 builds on *nix hosts > However, as Java Console works everywhere else (windows/linux console/bash/EclipseIDE internal "console"/IntelliJ internal "console") as far I can see, it seems to be something special with dejagnu. No, the problem is with the JVM and/or your programs and scripts.  It appears to work everywhere else because those escape sequences either perform terminal control functions or are ignored.  You can write regexps that will optionally match and discard the escape sequences.  Expect exposes this issue because it is strict about matching exactly what you tell it to match. -- Jacob --------------OEXIPA2If4is5aXu9WAOVcSY Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 1/8/25 10:44, Chris Nospam via Bug-dejagnu via wrote:
Dear maintainers,

starting with OpenJDK Java 22 java programs using java.io.Console cannot be testet with dejagnu any more. With JDK 21 it works like a charm.

This is a JVM bug or misfeature.  We have recently had similar problems with MinGW GCC tested under Wine. In that case, it was a consequence of Wine's new support for Windows quasi-ptys.

I belive it has to do with excape sequences that are not filtered out correctly or similar. I am using dejagnu 1.6.3-1, debain package under Ubuntu 24.04.

DejaGnu does not and cannot filter escape sequences.  Expect matches the patterns it is given.  You can write patterns in your testsuite that accommodate or even verify escape sequences from the program under test.

For an easy reproduction of the bug I have attached a simple example simple.zip. Just unpack it and execute exectest.sh. Be sure to update JAVA_HOME in this script to a jdk 22 or 23 installation.

In testsuite/simple.log some escape sequences are shown were no one are expected:
^[[?1h^[=^[[?2004hhello
^[[?1l^[>^[[?1000l^[[?2004lhello

The JVM IO facilities are inserting escape sequences without your program calling for them. This is a JVM bug or misfeature that Expect (on which DejaGnu is built) exposes.

The attached simple echo example works after simply commenting the lines 13-14 (using Console) and uncommenting lines 16-17 (using BufferedReader) in testsuite/simple.sh.
Alternatively it also works by passing -Djdk.console=java.base to the jvm (1st line in exectest.sh), to trigger the old implementation in JDK.

#!/usr/bin/env -S java --source 23
// #!/usr/local/java/jdk-23.0.1/bin/java --source 23 -Djdk.console=java.base

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class ConsoleTest {

    public static void main(String[] args) throws IOException {
        System.out.print("prompt> ");

        java.io.Console c = System.console();
        String input = c.readLine();

        // BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        // String input = in.readLine();

        System.out.println(input);
        System.out.println("prompt> ");
    }

}

First, think about what your program actually does compared to what your testsuite code expects it to do.  Examine the message produced at the end of the test run in simple.log.  In fact, that message is produced *after* echo.exp has completed.  Where does that message come from?

(You will benefit far more from the lesson if you find it for yourself than if I tell you.  There is only one place in your testsuite that can emit that message.)

Second, the inability to send text to the program under test is not a failure:  it is an error and probably an UNRESOLVED test.  A block that is executed as a result of catching a Tcl error probably should be invoking "error" or possibly "unresolved", not "fail" or even "pass" (unless you are testing an error condition).

Third, Tcl interpolates backslash escapes in double-quoted strings.  You will need to double (some of) the backslashes and/or review re_syntax(n) for Tcl regexp syntax.

Fourth, think about simple_test could actually fail.  That depends on what you are trying to do, but any "pass" should have a corresponding "fail" somewhere.

(Most of the above refers to Expect code in your testsuite/config/default.exp file.)

It has something to do with the change of the Java default Console provider to JLine in Java 22.
https://bugs.openjdk.org/browse/JDK-8309141is is not special with DejaGnu; we have recently had similar issues with
 Wine, encountered while testing mingw32 builds on *nix hosts
However, as Java Console works everywhere else (windows/linux console/bash/EclipseIDE internal "console"/IntelliJ internal "console") as far I can see, it seems to be something special with dejagnu.

No, the problem is with the JVM and/or your programs and scripts.  It appears to work everywhere else because those escape sequences either perform terminal control functions or are ignored.  You can write regexps that will optionally match and discard the escape sequences.  Expect exposes this issue because it is strict about matching exactly what you tell it to match.


-- Jacob


--------------OEXIPA2If4is5aXu9WAOVcSY-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 14 08:40:18 2025 Received: (at 75440) by debbugs.gnu.org; 14 Jan 2025 13:40:18 +0000 Received: from localhost ([127.0.0.1]:54233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXh9V-0000zN-3t for submit@debbugs.gnu.org; Tue, 14 Jan 2025 08:40:18 -0500 Received: from mout.gmx.net ([212.227.15.18]:52049) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tXeq7-0005A7-VN for 75440@debbugs.gnu.org; Tue, 14 Jan 2025 06:12:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1736853121; x=1737457921; i=chris21k@gmx.de; bh=1am7taYvZZXMZ7YGVepyTrl3Axqr1RbLpxWjaxnRCuM=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Subject: Content-Type:In-Reply-To:References:Date:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=AQstNVMTrDVmZ/h7bDzbFyVIloMDi3f1OskPfqKalGNAyaJ8cAFkCEpToPmtwVIi xl9V3tv9rQ3pCDa1MlqFL6fdGCebWBzSm9HjwaOSbjACf5DnRSG6r2S3czjPqR3pm 4OYM09xf5FhXFm7kvPll/82sFnhaBYuochZiI5J8sG2eVEhERYpxkQXfVWzI5L7Xc gOw29w9NTlt2lFkkv22oCTQcZXTsJxHUJ4a1B9gSoVKLzmS0Fb+42uQMSswKlUqS2 nnFhQddcSPKtq+fbliHjAuLr3QU9L+8N5qUmPoGApZX+rPw8fu7ojS3bu9dwbpy0s vO9kUt0beJ8sTLioXg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [132.231.64.46] ([132.231.64.46]) by trinity-msg-rest-gmx-gmx-live-bbc95d94c-lv4zd (via HTTP); Tue, 14 Jan 2025 11:12:01 +0000 MIME-Version: 1.0 Message-ID: From: Chris Nospam To: jcb62281@gmail.com, 75440@debbugs.gnu.org Subject: Re: bug#75440: dejagnu does not like java.io.Console of OpenJDK >= 22 Content-Type: multipart/mixed; boundary=refeik-4b82c5a3-1c44-4e21-8eb9-9215abd13c61 In-Reply-To: <2a7c2a07-e5c0-4045-93ed-606dc48afe1e@gmail.com> Importance: normal References: <2a7c2a07-e5c0-4045-93ed-606dc48afe1e@gmail.com> Date: Tue, 14 Jan 2025 11:12:01 +0000 Sensitivity: Normal X-Priority: 3 X-UI-CLIENT-META-MAIL-DROP: W10= X-Provags-ID: V03:K1:gAEUEor3WrRu0AVfZXDGKaaOqn1CNLyWtGxvho2viCkuxIMBS7LD600CZZ19iJEb1IRiU KpKxVXLyD2srmTlKjq9nyVPPmR6rgqofAq24LkysS5BR9JEXjLWOzlzf/9O5QJVloFTFbvrXj+8J nNck4tUFllEzC85J57w9N0Bx87+cvICae2VMCafa8FeTVhfik8VNElMrCw+oDDuu66pk68TqGAlP 3FrdxUqymr36BDWH0W4pHq+KO8Am/tSmUc3qRhaXW26pizn4woBIc8y5Z5a7+JInatvRbiQnksoE 3J/NfBS1D5W+jUb+vsiDJ9nPOWF0ThH0V0/2iIZoV76fSlT+36q0LfABOIC+q2qVPU= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:usLr99QACu4=;uaTVjCLDIorjQemE9xfGrH1g9In YyF1IONKGuqKZ/Ozjxym9NAdihQljYNKo4nh6040s/RMVuP+plLSYoerC93qkwRt5Wv4X37Ev 0/guZM1E8KVo9M++orYfahVs98L72xmemCM//BBSTXvoR5GAJtqg5th/L+fEJcmXXKMRIORek Z0f2v4LuG7RU5LvmVfcrqJAdg5zn/xW9qyhvGHs+pExCyr+0kVEfpLD5LTj7ACXBj/dLvwjb3 su8G03bSsR99mUR7SCxKI5R+LNBmzKjKXqeSLoSbpS6clrPN1K125Wm/fYcT0wEOjG3SCXghb nkNPGht1xRINta32Nm1qL8ghDcLyitzxDKgoUsQSWSjumw8UMjvWUZQKLf9+DbwRZ7YfJHCiy Z7CI2LXnprvpXcnttO9AIBBi9e1lxVpzYcE2UV64bVCEUCTMR9AIg0p4k8QdzVUz0WBPJR64c zXHqjRMmBQMwl4phbNLQvmSg7IpXUPxWlI8B42Lnkbzee6cvxLy0eB4d9t62IHbtDqGC2pDMk bR5EWJgCOE/mafRKkUlh9JV/rM+1gDsXWoZ717jOvpgMi+IJxqgmGbLbnRS8rsxz+pzjIVkXV fHlIUqh/5JkdmlFFuC+0x5gAaha/QwyYcuqWElrkqDw3T6TBtRmXfk92M6CXU5Sgcw9VxYA5t 5njlZU8hspo/FfAtOQHd4+XyC85Nlt08APxW/xtzOA59qMuQdJNmka97i/jOmcIHah2O+Belw qYdt6wibPUdq5ZoaaPIUuvnFSL4o/CvVTqj+UxzR0tZaH74FvbcLnmrjjU4A+QyQp24wq+8cx dnXgxwnLxYTgPBL+KnNJ07RyxI7YGyY+HOnrMnVOpXeUBG8G2G4LyWuWn5ZwmtjRPUKM6TbRy W+R3b5WQL4UG3/FAd/qbO/Ko/gEj2J3tCSCE= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75440 X-Mailman-Approved-At: Tue, 14 Jan 2025 08:40:15 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --refeik-4b82c5a3-1c44-4e21-8eb9-9215abd13c61 Content-Type: text/html; charset=UTF-8
Dear Jacob,
 
sorry for my late reply and thanks for your rapid and detailed answer. Also I am sorry for the faulty default.exp, it was a quick & dirty version to trigger the bug and only a short snipped of my real project. It should only show the problem with the first echo. However, I have enhanced it somehow now, see the attachement.
 
> Tcl interpolates backslash escapes in double-quoted strings
I changed now \r\n to \\r\\n in all regular expressions.
 
Please forgive me, I am not an expert in expect script but I try to do my best. I would be happy if you could give me some (direct) advices.
I will open a corresponding issue at https://bugreport.java.com and report back a link. Hopefully, they will look into/fix it and not only dismiss that using dejagnu is an edge case.
 
Many thanks again,
Chris



Gesendet: Donnerstag, 9. Januar 2025 um 02:55
Von: "Jacob Bachmeyer" <jcb62281@gmail.com>
An: "Chris Nospam" <chris21k@gmx.de>, 75440@debbugs.gnu.org
Betreff: Re: bug#75440: dejagnu does not like java.io.Console of OpenJDK >= 22
On 1/8/25 10:44, Chris Nospam via Bug-dejagnu via wrote:
Dear maintainers,

starting with OpenJDK Java 22 java programs using java.io.Console cannot be testet with dejagnu any more. With JDK 21 it works like a charm.

This is a JVM bug or misfeature.  We have recently had similar problems with MinGW GCC tested under Wine. In that case, it was a consequence of Wine's new support for Windows quasi-ptys.

I belive it has to do with excape sequences that are not filtered out correctly or similar. I am using dejagnu 1.6.3-1, debain package under Ubuntu 24.04.

DejaGnu does not and cannot filter escape sequences.  Expect matches the patterns it is given.  You can write patterns in your testsuite that accommodate or even verify escape sequences from the program under test.

For an easy reproduction of the bug I have attached a simple example simple.zip. Just unpack it and execute exectest.sh. Be sure to update JAVA_HOME in this script to a jdk 22 or 23 installation.

In testsuite/simple.log some escape sequences are shown were no one are expected:
^[[?1h^[=^[[?2004hhello
^[[?1l^[>^[[?1000l^[[?2004lhello

The JVM IO facilities are inserting escape sequences without your program calling for them. This is a JVM bug or misfeature that Expect (on which DejaGnu is built) exposes.

The attached simple echo example works after simply commenting the lines 13-14 (using Console) and uncommenting lines 16-17 (using BufferedReader) in testsuite/simple.sh.
Alternatively it also works by passing -Djdk.console=java.base to the jvm (1st line in exectest.sh), to trigger the old implementation in JDK.

#!/usr/bin/env -S java --source 23
// #!/usr/local/java/jdk-23.0.1/bin/java --source 23 -Djdk.console=java.base

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class ConsoleTest {

    public static void main(String[] args) throws IOException {
        System.out.print("prompt> ");

        java.io.Console c = System.console();
        String input = c.readLine();

        // BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        // String input = in.readLine();

        System.out.println(input);
        System.out.println("prompt> ");
    }

}

First, think about what your program actually does compared to what your testsuite code expects it to do.  Examine the message produced at the end of the test run in simple.log.  In fact, that message is produced *after* echo.exp has completed.  Where does that message come from?

(You will benefit far more from the lesson if you find it for yourself than if I tell you.  There is only one place in your testsuite that can emit that message.)

Second, the inability to send text to the program under test is not a failure:  it is an error and probably an UNRESOLVED test.  A block that is executed as a result of catching a Tcl error probably should be invoking "error" or possibly "unresolved", not "fail" or even "pass" (unless you are testing an error condition).

Third, Tcl interpolates backslash escapes in double-quoted strings.  You will need to double (some of) the backslashes and/or review re_syntax(n) for Tcl regexp syntax.

Fourth, think about simple_test could actually fail.  That depends on what you are trying to do, but any "pass" should have a corresponding "fail" somewhere.

(Most of the above refers to Expect code in your testsuite/config/default.exp file.)

It has something to do with the change of the Java default Console provider to JLine in Java 22.
https://bugs.openjdk.org/browse/JDK-8309141is is not special with DejaGnu; we have recently had similar issues with
 Wine, encountered while testing mingw32 builds on *nix hosts
However, as Java Console works everywhere else (windows/linux console/bash/EclipseIDE internal "console"/IntelliJ internal "console") as far I can see, it seems to be something special with dejagnu.

No, the problem is with the JVM and/or your programs and scripts.  It appears to work everywhere else because those escape sequences either perform terminal control functions or are ignored.  You can write regexps that will optionally match and discard the escape sequences.  Expect exposes this issue because it is strict about matching exactly what you tell it to match.

 

-- Jacob

 

--refeik-4b82c5a3-1c44-4e21-8eb9-9215abd13c61 Content-Type: application/x-zip-compressed Content-Disposition: attachment; filename=simple.zip Content-Transfer-Encoding: base64 X-UI-Content-Hash: c6f53b317bbddf4e2373eaf1a8cf9e546a49b612ff031e93f74dea63f82e15e UEsDBBQAAAAIAGyCJ1qQ0RLGiAAAAJ8AAAALABwAZXhlY3Rlc3Quc2hVVAkAA/tFfWek+H9ndXgL AAEE8VYAAATxVgAAU1bULy0u0k/KzNMvzuDiSq0oyC8qUfByDHOM9/D3dbUFy+bkJyfm6GclliXq Z6Vk6xoZ6xnoGcLUBjiGeNiqVMO11IIMs1KpBonXcnElpyiUpBaXFJdmlqRyFeUq6KYpaOnl5KcD yeLSXK6i0jyQtIKubkl+fo5CcWZuQU6qQmpyRr4e0HwuAFBLAwQKAAAAAACDiylaAAAAAAAAAAAA AAAACgAcAHRlc3RzdWl0ZS9VVAkAAxX5f2cW+X9ndXgLAAEE8VYAAATxVgAAUEsDBBQAAAAIADuH KVqDcqh8eQEAADcDAAATABwAdGVzdHN1aXRlL3NpbXBsZS5zaFVUCQADAfJ/Zwbyf2d1eAsAAQTx VgAABPFWAABtUctOwzAQvPsrlnBxVMXhcSMqBygHJCQkyg04OMmmdUns4EcLQv13nMRFJHQviXZ2 ZnbHpyepMzrNhUxRbiFZwoZvOSSJUU4XCBeXJE3hdJiqVcHrtBtIN+V7cnHJzth5z52SIFn4CVYo aVSN8w5mOTdIiGhapW3vwoRiN66qUGP5hLxEnU3h+8e7zwJbK5T8j8nW2aXVyJsDm7Qur0UBRc2N gdvB/RmNhW9CwFfAjeXWf7ZKlNBwIamXEXL18gZcr0wMdq3VzsAfdy8AoXLlRbmEDycszKHitcHs F92tRY1ATzo0/sPqavllLDZMOcta72dp1GrVtPYaojgj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AAUEsBAh4DCgAAAAAAR3wnWgAAAAAAAAAA AAAAABgAGAAAAAAAAAAAALSBBAsAAHRlc3RzdWl0ZS9saWIvc2ltcGxlLmV4cFVUBQADZjt9Z3V4 CwABBPFWAAAE8VYAAFBLBQYAAAAACwALANsDAABWCwAAAAA= --refeik-4b82c5a3-1c44-4e21-8eb9-9215abd13c61-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 14 11:04:48 2025 Received: (at 75440) by debbugs.gnu.org; 14 Jan 2025 16:04:48 +0000 Received: from localhost ([127.0.0.1]:55402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXjPL-00088i-AO for submit@debbugs.gnu.org; Tue, 14 Jan 2025 11:04:47 -0500 Received: from mout.gmx.net ([212.227.17.22]:54865) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tXheC-0002NJ-Bo for 75440@debbugs.gnu.org; Tue, 14 Jan 2025 09:12:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1736863913; x=1737468713; i=chris21k@gmx.de; bh=yu0vVV9t+u63itp4G+wGiKvk+iZfdcJhflCTbf02PJM=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Subject: Content-Type:In-Reply-To:References:Date:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=XnJOsomCYgdHLKXQQSVH8/6EIi+6xycMTCZG72FOklh4cYu6WsT8q4i5KoUrQAE0 TF76ymis6VCf3Woip39znV40ipqtDGGmt3ns/Qx5sCHw6MqM+1HQfrmKePL5YBkoc J8MeYSbSH3zCUdNxkk6NB8m0y/mV2LaYKQyAJnr60wnho85w6AziaWw/UzpUP3e4c /ZBxVsFtCgtK6fm2wZ3sBMsu1412MqfC2hIdXxBUPHJ6CotU/hCu68rPLEP955w1I FPDxI9fjG+Nw5/bsPYup3aiDxQjVKjST2KnS7Hu4ovVDFTxLKQvIL4LNShs9VHgdC hEVfBgRtZi2N+tkJRg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [132.231.64.46] ([132.231.64.46]) by trinity-msg-rest-gmx-gmx-live-548599f845-8p7v5 (via HTTP); Tue, 14 Jan 2025 14:11:52 +0000 MIME-Version: 1.0 Message-ID: From: Chris Nospam To: jcb62281@gmail.com, 75440@debbugs.gnu.org Subject: Re: bug#75440: dejagnu does not like java.io.Console of OpenJDK >= 22 Content-Type: multipart/mixed; boundary=rekceb-9834af11-6eef-4f79-b971-7ac0a1d50a57 In-Reply-To: <2a7c2a07-e5c0-4045-93ed-606dc48afe1e@gmail.com> Importance: normal References: <2a7c2a07-e5c0-4045-93ed-606dc48afe1e@gmail.com> Date: Tue, 14 Jan 2025 14:11:52 +0000 Sensitivity: Normal X-Priority: 3 X-UI-CLIENT-META-MAIL-DROP: W10= X-Provags-ID: V03:K1:sG43pYF193YUfGQf/Fj6F1iF85+PkQuuYAyyOAPE//aCz3Hr5EEGsGIUiuVkmMf2Vq+w+ lrSMtAwpeJY0etgdYBtublE+/y1/viv6p2LN3e9Y2G7jrtCoCMamvu1M5OIT1PzSo81d9zbYbqwT ODvdtFgnltrIoGdKqKzUYBYpJswe67sVhHY8D5w0751Q/eN3ZGlwD5Z6Uk59oXGrovAZdkFMJjxk R8EannsV/XFe5t+ik+SpKluf2AOfUzrbyKu1EhtOqQ+Y/+VPqvhgV2Bk8vP5a66qevyY/lSjo+lY 1KfRPZg+n4irf2K/Vp/UPmTxD9oTyfc0JG/Ce6XMXCEDr1hvGsCb4+FAM/JwCeX2u7E+ygilnl7q ax8tVmklyCE X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:DaeNrfWcnQA=;Q3XCui8ugQl+kIoEnjph6q9YYRx BULg7CBBZtvnaJ3ru+u4G7bkyy8mzt43eLf43inSaMGl1Z/pGahdY0DyA+64Rko9uMqSau/cV fiWU4w5GssS39G0uoaH0v0CUnXgveoxR/1DFe8ZkOvy1H2tYD0rOgX5yGVqINMEHI4eP2m4Hw 5BxehKsHIKaAG9QexpFEBQ/AUTRKW5cSKzR7J/nTkpGdupohcJ/9bgERiZ7SEn6CCFc9eJwkI 7njgwb4uNc8shmHswbpikV1vUEBbYSxWnv/7W69CJbbrK+pWKlV3p2fWjI54p/HsdfS8ofHYL XwFW6TzQHogRIZkO6xPoPONoqX0FUbRyOD5qkSlIAkbEuuLId+yvJeH0iKxXPpyNHSE8h4J7e LgpUzDkE0SE+d9Qe3NcKL8DmaocK/AwZ2rXOg3cgAKGZOtshc2OcTRhGihNSjQbL0iffKu2tf GUXQ7SsvRP7NCiMi/71KVDlj05aEpJySoAaZLPqiX5gQT9q7agMNE/i9kOaQ+PtqlwYCxlubA 0n7Vhtr+E7yHFIyfRTtzu782Posver7b0lYS6oSHH5VuWauomEc221uyskBsVFdOrjv4IS/Nc MJ7MU5nQSp6yK0t52ntiYne+gyK+ggjlFzlo78ssGohAy0EjbYHK62GxM8GRKQBz6CG4K/6u+ 5ocfDc6IVTDQVaWWZKa+eaBDWizie3dF6ZKIB2MPu0XponImVeHT6yeZkG1+jCf1mXIrx2Sy+ YhSghqDdu+vByq7p6WZomJWkA2mwfZA6UJOAQDlrn4lBf6X9iTapR71PrlxuctoSTlxe4unEY iMPKItzAT50xos6vMOWwcLJ3hMZjqLjm7ACJT6kCoFxcwH9laJEDtQSHIHm61oePftoEURjpg 4gXr5M0XxpkOgiCjz/74E3kTgJPfTnxwRnsM= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75440 X-Mailman-Approved-At: Tue, 14 Jan 2025 11:04:46 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --rekceb-9834af11-6eef-4f79-b971-7ac0a1d50a57 Content-Type: text/html; charset=UTF-8
Unfortunately, I my previous mail I attached the old simple.zip file again. Here ist the new one.
Sorry for that.
 
Chris
--rekceb-9834af11-6eef-4f79-b971-7ac0a1d50a57 Content-Type: application/x-zip-compressed Content-Disposition: attachment; filename=simple.zip Content-Transfer-Encoding: base64 X-UI-Content-Hash: c64f39c635d70fb432d5c9d11d55e41221d87f0c5c53a9332ba8fb1578977022 UEsDBBQAAAAIAGyCJ1qQ0RLGiAAAAJ8AAAALABwAZXhlY3Rlc3Quc2hVVAkAA/tFfWffO4ZndXgL AAEE8VYAAATxVgAAU1bULy0u0k/KzNMvzuDiSq0oyC8qUfByDHOM9/D3dbUFy+bkJyfm6GclliXq Z6Vk6xoZ6xnoGcLUBjiGeNiqVMO11IIMs1KpBonXcnElpyiUpBaXFJdmlqRyFeUq6KYpaOnl5KcD yeLSXK6i0jyQtIKubkl+fo5CcWZuQU6qQmpyRr4e0HwuAFBLAwQKAAAAAADlXC5aAAAAAAAAAAAA AAAACgAcAHRlc3RzdWl0ZS9VVAkAA84+hmfOPoZndXgLAAEE8VYAAATxVgAAUEsDBBQAAAAIAKlc LlqDcqh8eQEAADcDAAATABwAdGVzdHN1aXRlL3NpbXBsZS5zaFVUCQADXT6GZ2E+hmd1eAsAAQTx VgAABPFWAABtUctOwzAQvPsrlnBxVMXhcSMqBygHJCQkyg04OMmmdUns4EcLQv13nMRFJHQviXZ2 ZnbHpyepMzrNhUxRbiFZwoZvOSSJUU4XCBeXJE3hdJiqVcHrtBtIN+V7cnHJzth5z52SIFn4CVYo aVSN8w5mOTdIiGhapW3vwoRiN66qUGP5hLxEnU3h+8e7zwJbK5T8j8nW2aXVyJsDm7Qur0UBRc2N gdvB/RmNhW9CwFfAjeXWf7ZKlNBwIamXEXL18gZcr0wMdq3VzsAfdy8AoXLlRbmEDycszKHitcHs F92tRY1ATzo0/sPqavllLDZMOcta72dp1GrVtPYaojgjo9HDkeEGENJbBX5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AAAAAAAA AAAAABgAGAAAAAAAAAAAALSBBAsAAHRlc3RzdWl0ZS9saWIvc2ltcGxlLmV4cFVUBQADZjt9Z3V4 CwABBPFWAAAE8VYAAFBLBQYAAAAACwALANsDAABWCwAAAAA= --rekceb-9834af11-6eef-4f79-b971-7ac0a1d50a57-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 14 23:00:21 2025 Received: (at 75440) by debbugs.gnu.org; 15 Jan 2025 04:00:21 +0000 Received: from localhost ([127.0.0.1]:56530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXuZo-0004Fj-Rs for submit@debbugs.gnu.org; Tue, 14 Jan 2025 23:00:21 -0500 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]:61765) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tXuZk-00049j-Ds for 75440@debbugs.gnu.org; Tue, 14 Jan 2025 23:00:18 -0500 Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-71e22b2387cso4178157a34.3 for <75440@debbugs.gnu.org>; Tue, 14 Jan 2025 20:00:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736913610; x=1737518410; darn=debbugs.gnu.org; h=in-reply-to:from:content-language:references:to:subject:reply-to :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=+ZOT6pfhz8kiENLaEsKC5Dad43Wcp/nku/jQ4NVDgzQ=; b=hwhDqIKPLtqsZ/Dkb7DL39HyOZhyXqaj6gDe02KIxqOlxN0d/V9Sf9SGfsZyOb96yU Pv+8i5Q2woKOiTdpTCLzHbLE1dJoiM2utT4YlV/0AHJkSf89tFskKZFpJhYThbcjA4h2 dI55iVqSTr/EwSMvLd+TZwfZ4ulCn5KGudmVAWvm1y9Et/tR4kggboq9BMCl8Ge7Wu35 qjVf2hOC7OKBu9T1St4hT+y12Q/CWgYmSmpEUfhAeWNl7QtSoJWSoyiP9PnVhLjPJhAs GNcEQR1eUOfkJ1P2SsSbNv8mxJ9W1ACXNohoCgnH3S3t2kx+fMeB/1fjWp0Zr32MQ3sO BL3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736913610; x=1737518410; h=in-reply-to:from:content-language:references:to:subject:reply-to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=+ZOT6pfhz8kiENLaEsKC5Dad43Wcp/nku/jQ4NVDgzQ=; b=FYiWHOfkVnD9ElghxXCuFHOXkPMKN/18wZrgPTlpQeqOWSYFoYtpSm3FFuHMMpmFdE 6LsWgXUWelRirTqFOVyErigDV8M008N2rp91BTrO9Z2D10BBIFs/8lSSqR7O6mJIN3Vr +qw8qboVQrKOnjSW/lEbVExL2yzZn2ssKRoq9xsELjFjZWpRpn0dIoSXjzx8q8EZiKus i4DTldy4r6xbWu+tj7n4O1cFmpSrJSgNZEydMvsgV/shYzoKvtDPncX+hxCXjddcLp/d IoOidzjkcLecG8e5P+Oec/NzSryUYLWZ/VOrE+SfpaUtYQc+CtCQvF9Cg5Lpjpj1jv2B zmtw== X-Forwarded-Encrypted: i=1; AJvYcCUaKeO1OZ6OpUJQpb0kkQHf1QG3SAGIgaDdHVNgpaPDzPfatvYuMDt4yf5dFg+NcbeoCV3KpQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwYyj7V846X3UR8HwKgMxRhMCNZpTNfYJUh8HoaR3O7OKF7qxxm IlPOCUlTTB3VZD2xO8bAfBU1Iroy/LTQMZBhNjLILTs8h3p3DxYV X-Gm-Gg: ASbGnctSX+cgymxaHh8+r1ByoGnFjOwiJNAMAthsLLVa4LaUArWj6VmNCQHIJfCZFTW 11Kh6alAy9k+p2xZC/mTshNiJd0R+bf4FEfWRC8Gl/6k4Le47aAwOvot5oL4y+NJrctU7c83Ryk MhW35DDPO5sHnyCd9D7lxxz/kkn7uggYcJW0mX3T5irHgpBzkEYCxTp9Fj0pRpSQs2w9c0R9JZM S38Z22Ej0+A7xQ1Y4Xs/m+YVhwBdACNY8pMJw3d//DHr9x4CE43Ew== X-Google-Smtp-Source: AGHT+IEpL7Qh3D1ttx0cRxr4wfbcarQ9nkJPEQoKk/onCH1AQSkiKSSMuZHagopIgo/dX02UnVPVLQ== X-Received: by 2002:a05:6830:911:b0:71e:72:3ab6 with SMTP id 46e09a7af769-721e2ef6454mr18214305a34.26.1736913610119; Tue, 14 Jan 2025 20:00:10 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.14]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7231855fd71sm5367982a34.42.2025.01.14.20.00.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2025 20:00:09 -0800 (PST) Content-Type: multipart/alternative; boundary="------------nEGNbh0quLEX0Ih2vBfcniNt" Message-ID: <6a4b3a4a-1c7c-4920-9e30-a30e649a380b@gmail.com> Date: Tue, 14 Jan 2025 22:00:04 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#75440: dejagnu does not like java.io.Console of OpenJDK >= 22 To: Chris Nospam , 75440@debbugs.gnu.org References: <2a7c2a07-e5c0-4045-93ed-606dc48afe1e@gmail.com> Content-Language: en-US From: Jacob Bachmeyer In-Reply-To: X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 75440 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jcb62281@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) This is a multi-part message in MIME format. --------------nEGNbh0quLEX0Ih2vBfcniNt Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit [actually you had the new ZIP file on the first message; I can tell because the Java program has a loop now] [also, traditional email discussions use inline responses with a summary or further commentary at the end after the response to the last quote; please refrain from top-posting if possible] On 1/14/25 05:12, Chris Nospam wrote: > Dear Jacob, > sorry for my late reply and thanks for your rapid and detailed answer. > Also I am sorry for the faulty default.exp, it was a quick & dirty > version to trigger the bug and only a short snipped of my real project. That is a new piece of information and I have found other issues that I would normally overlook in a small testsuite, but will make problems for you in a large testsuite.  More on this below. > It should only show the problem with the first echo. However, I have > enhanced it somehow now, see the attachement. I see that the new version of your sample program now contains a loop instead of exiting unconditionally after the first input. This produces a more useful error, complete with a backtrace explaining how you got there.  (The framework will call a "${tool}_exit" procedure during per-target cleanup if it exists.) Unfortunately, coordinating the exit of an interactive program is tedious because Expect will close the channel upon reading EOF and expecting on a closed channel throws an error.  (This should be a hint towards one way to solve the problem.) You should try using runtest's --debug option, which will cause Expect to write considerable information about its operation to the "dbg.log" file.  That log is particularly useful when seeking to understand why patterns do or do not match. > > Tcl interpolates backslash escapes in double-quoted strings > I changed now \r\n to \\r\\n in all regular expressions. It is important to understand what Tcl will do with your code, although that particular item "happens to work" either way. (Literal carriage return and newline match themselves in Tcl regexps in normal syntax, but can make dbg.log harder to read.) > Please forgive me, I am not an expert in expect script but I try to do > my best. I would be happy if you could give me some (direct) advices. You still need to think about what your test results mean. DejaGnu has other status codes because simple PASS/FAIL does not really work in the real world.  You should be using "perror" and "unresolved" to report inabilities to run the test program. More concretely, simple_start should clear the prompt_error flag upon receiving a prompt and should use "perror" instead of "send_user" to report failure to spawn the program. Similarly, if the prompt_error flag is set, "simple_test" should emit an UNRESOLVED result (using the "unresolved" procedure) before returning, because the test was not performed due to a run-time condition. The important rule here is that the total number of test results should not change. Tcl allows optional arguments; you can replace the dispatch logic around "simple_test" by using {proc simple_test {expr result {comment ""}} ...}  (The outer-most brace pair denotes a Tcl code fragment.) Tcl procedure arguments are also ordinary local variables, so you can do { if {$comment ne ""} {set comment "\[$comment\]"} } in a combined "simple_test" if you want. Think carefully about what you are doing with the "answer" global variable.  It should probably be an argument, if not the "result" argument that you already have. Lastly, your "if" conditionals should usually be in braces; this allows the Tcl compiler to produce more efficient bytecode. > I will open a corresponding issue at https://bugreport.java.com and > report back a link. Hopefully, they will look into/fix it and not only > dismiss that using dejagnu is an edge case. Hopefully they will at least recognize that a transparent console mode is important and ensure that one remains supported. -- Jacob --------------nEGNbh0quLEX0Ih2vBfcniNt Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
[actually you had the new ZIP file on the first message; I can tell because the Java program has a loop now]

[also, traditional email discussions use inline responses with a summary or further commentary at the end after the response to the last quote; please refrain from top-posting if possible]

On 1/14/25 05:12, Chris Nospam wrote:
Dear Jacob,
 
sorry for my late reply and thanks for your rapid and detailed answer. Also I am sorry for the faulty default.exp, it was a quick & dirty version to trigger the bug and only a short snipped of my real project.

That is a new piece of information and I have found other issues that I would normally overlook in a small testsuite, but will make problems for you in a large testsuite.  More on this below.

It should only show the problem with the first echo. However, I have enhanced it somehow now, see the attachement.

I see that the new version of your sample program now contains a loop instead of exiting unconditionally after the first input.  This produces a more useful error, complete with a backtrace explaining how you got there.  (The framework will call a "${tool}_exit" procedure during per-target cleanup if it exists.)

Unfortunately, coordinating the exit of an interactive program is tedious because Expect will close the channel upon reading EOF and expecting on a closed channel throws an error.  (This should be a hint towards one way to solve the problem.)

You should try using runtest's --debug option, which will cause Expect to write considerable information about its operation to the "dbg.log" file.  That log is particularly useful when seeking to understand why patterns do or do not match.

> Tcl interpolates backslash escapes in double-quoted strings
I changed now \r\n to \\r\\n in all regular expressions.

It is important to understand what Tcl will do with your code, although that particular item "happens to work" either way.  (Literal carriage return and newline match themselves in Tcl regexps in normal syntax, but can make dbg.log harder to read.)

Please forgive me, I am not an expert in expect script but I try to do my best. I would be happy if you could give me some (direct) advices.

You still need to think about what your test results mean.  DejaGnu has other status codes because simple PASS/FAIL does not really work in the real world.  You should be using "perror" and "unresolved" to report inabilities to run the test program.

More concretely, simple_start should clear the prompt_error flag upon receiving a prompt and should use "perror" instead of "send_user" to report failure to spawn the program.

Similarly, if the prompt_error flag is set, "simple_test" should emit an UNRESOLVED result (using the "unresolved" procedure) before returning, because the test was not performed due to a run-time condition.

The important rule here is that the total number of test results should not change.

Tcl allows optional arguments; you can replace the dispatch logic around "simple_test" by using {proc simple_test {expr result {comment ""}} ...}  (The outer-most brace pair denotes a Tcl code fragment.)

Tcl procedure arguments are also ordinary local variables, so you can do { if {$comment ne ""} {set comment "\[$comment\]"} } in a combined "simple_test" if you want.

Think carefully about what you are doing with the "answer" global variable.  It should probably be an argument, if not the "result" argument that you already have.

Lastly, your "if" conditionals should usually be in braces; this allows the Tcl compiler to produce more efficient bytecode.

I will open a corresponding issue at https://bugreport.java.com and report back a link. Hopefully, they will look into/fix it and not only dismiss that using dejagnu is an edge case.

Hopefully they will at least recognize that a transparent console mode is important and ensure that one remains supported.


-- Jacob

--------------nEGNbh0quLEX0Ih2vBfcniNt-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 20 05:38:37 2025 Received: (at 75440) by debbugs.gnu.org; 20 Jan 2025 10:38:37 +0000 Received: from localhost ([127.0.0.1]:49113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tZpAy-0000jg-Rz for submit@debbugs.gnu.org; Mon, 20 Jan 2025 05:38:37 -0500 Received: from mout.gmx.net ([212.227.17.22]:51063) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tZpAw-0000jL-M5 for 75440@debbugs.gnu.org; Mon, 20 Jan 2025 05:38:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1737369507; x=1737974307; i=chris21k@gmx.de; bh=NGbLeQi+lyJE2KOAF+5mntXYCMzPEpynSSbFJ8q9gTU=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Subject: Content-Type:In-Reply-To:References:Date:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=iAXYE/ZYEMtaJPiZr04gyODgKjsVPEDrFeCN0VaAsy6b/ddRTDBHhsSBSEVDZCYn wGApLKvLpqT7r82fSGY0wL0RucXQBRSVoQFwF6Biqontad5TSVATTvHoJ6vMq21HI 30+oeHtBu8ys0AfxipMS/h0FSAk2lUnVgD4cL7L8OOeifgg6NiUIMeyIW2903QEQX Yf9bvIbfNZqU+pf0lo/G9xQ4UjVI91c7vgkeWO+tstm5SPoZE6ttkf96mx3eSikKY 6qpAeKF3E5nMIWFdFOkeHax9iWjSBvH9uCRLzOc/WlIJguOdnOBjpl8UpxG0+ZZVf U8O/kp98c1SE2WRg7g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [132.231.64.46] ([132.231.64.46]) by trinity-msg-rest-gmx-gmx-live-548599f845-6qd28 (via HTTP); Mon, 20 Jan 2025 10:38:27 +0000 MIME-Version: 1.0 Message-ID: From: Chris Nospam To: jcb62281@gmail.com, 75440@debbugs.gnu.org Subject: Aw: Re: bug#75440: dejagnu does not like java.io.Console of OpenJDK >= 22 Content-Type: text/html; charset=UTF-8 In-Reply-To: <6a4b3a4a-1c7c-4920-9e30-a30e649a380b@gmail.com> Importance: normal References: <2a7c2a07-e5c0-4045-93ed-606dc48afe1e@gmail.com> <6a4b3a4a-1c7c-4920-9e30-a30e649a380b@gmail.com> Date: Mon, 20 Jan 2025 10:38:27 +0000 Sensitivity: Normal X-Priority: 3 X-UI-CLIENT-META-MAIL-DROP: W10= X-Provags-ID: V03:K1:BmfbMSXvZvyitz5ggilFRmwRFcy7r8EkJtjZUQHeRph3nFoQSfQCS04yt1qw3bq+lJX0U inmJD52hlzNBU6LxcfSo4ek102Imm+8g3Isnaed8Epix/ccelOEqLCJ+BLo9wux2PDAfdgdagG4y hTwrQxZOBNbj2hM7l7hrhvqhxu7OzhXcIqc1yXbqCGqCV0aGGWKuS9C8+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6TMfzrej26TfrhtKtMJH+M6jiP8K59/v8gx/CwO0h7SrG83ccGargKGoOkMse5 YGAfrL2U9i+wm4AZPje0QEj2lEJuJxh+F7cCefnLMmjG+3xJdYsJLnQCWfgxs1Yne5V1isa2b WG97IJCQIxqprXzT+kW7E7ghWzUuG/PsUpBgc8rTEiCy78LK/MgweLrAhqRNtdZ0N20bSA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75440 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-)

Jacob Bachmeyer wrote at 1/15/25 at 05:00

> Hopefully they will at least recognize that a transparent console mode is important and ensure that one remains supported.

After Oracle had technical problems and a review of about a week they put the issue online at

Bug ID: JDK-8348052 java.io.Console in JDK >= 22 emits unexpected/unwanted escape sequences

Unfortunately, they (intentionally?) suppressed my links to the dejagnu email list archive, so that ist not easy to follow and reproduce the setup. So I wrote some words back. We will see...

Chris