From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 99DEF46B9B; Thu, 17 Jul 2025 10:27:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3448340651; Thu, 17 Jul 2025 10:27:28 +0200 (CEST) Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by mails.dpdk.org (Postfix) with ESMTP id D4661400D6 for ; Wed, 16 Jul 2025 21:24:59 +0200 (CEST) Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-7e182e4171bso17285785a.3 for ; Wed, 16 Jul 2025 12:24:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1752693899; x=1753298699; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=52Tz8EPAxbcO98bTmL6wCHQD2NNRN/eNCpydz8dMdX4=; b=SZSqEfDyuDW77eUzkWypR8ppuQy9pUJzQrWREJ/VC/YtzX84RwZkq/cFo+gG6fWv3A ce8tuwtTBYEOaQFeMLRHiYkHoFDrgKHHbdrENIQlDyYz8kJjGyTFwq9k0k6oqN8RMqzg UEXL/snNz1b+QhTB4FcDQD+8ywqnWuK+cdFOg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752693899; x=1753298699; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=52Tz8EPAxbcO98bTmL6wCHQD2NNRN/eNCpydz8dMdX4=; b=I9QI5KyspqBYhgNdGc0VTT/8OJbExXX2m4zaUYR3iTepa6droJ02EuaDOXK//B9aAG NnrTrkm3hHE8BNRmAmwVuVYsWFlCOJn8A+Auerh5QEZNPC52RhhkwvZBx9LlthXFlXAu KJ1ywz8NXAUGypPScSiB9QOjJWlhlTYyNiOdEnV2UmHiGKlaoSgY5hbuZopFzjx+7kB5 QGzxUZf9BhETGTVUCwRqzurkI5/ioQa98zK1mZfBp7+aGwSMHxuugtcq3u2Djw7Df92P UuLD7lGhGImlJp00qTUGDKDH33JSePjZDU3+vG4Zl+hOX5SvN0e+UnqV4SsskVfGi2FT QoCw== X-Gm-Message-State: AOJu0YxXeN16LXiCu85QrSlvMoHaXMTjucnv0I40Th/zTTFpCD8ajTvV nyPo0B7j7rBgFn/g1jUULaCWB4qEXT58GGtK6HS+9EUzNzXsMW4vAxm1E+hBZD7ocmZyTFKLxFK LLASmsQO2KA== X-Gm-Gg: ASbGncsQhq6e41r7NAmdhJAareSdkfHlhdiJ4eFLtBMoMQxxve9AYchd5Lqt/j2pwLX lh1i7MBCZLDz+rfnoY5Q7GxUPvjW9gwth6hInYX1q+JY2cW8RcKYtuYCrNltBUyDhr7eHiik0rZ n8rvVuJiNn50ECZcQKNwC+HA38HMsyRn0mqG/4VApBv0Dvl2jLO4y5Gnr8QImYyA7NbOqHO6Xng DiV3ByWbDZfa6UTf7eDJqVdF9bzdwg/hJmXAF/Dl6HpjHOdLiHHs1AHKhiw63x/t1pZBYHcHF05 Zddqe9lJ867bXVY47RcQit1g1ad38BSYYHH1VmM6T1carSFUy3qVFvQn2PZ9B7PbBrmE8djCQqt lcPHttD0+tOMqkbvx2XevAqQ= X-Google-Smtp-Source: AGHT+IE7GvgiwYmeF+mAzvh8Z8hXj7YKANKH2nmRbqigqI5ts13MZuz0pPcrTYzA9T+p3Efd7y+hgA== X-Received: by 2002:a05:620a:179f:b0:7e3:17dc:d1e4 with SMTP id af79cd13be357-7e3436329bcmr593507385a.58.1752693899084; Wed, 16 Jul 2025 12:24:59 -0700 (PDT) Received: from localhost.lan ([72.95.95.189]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7e34470a610sm122233285a.21.2025.07.16.12.24.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jul 2025 12:24:58 -0700 (PDT) From: Manit Mahajan To: probb@iol.unh.edu Cc: dts@dpdk.org, david.marchand@redhat.com, Manit Mahajan Subject: [PATCH v2] compress: resolve test failure from incomplete output capture Date: Wed, 16 Jul 2025 15:24:56 -0400 Message-ID: <20250716192456.30120-1-mmahajan@iol.unh.edu> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20250711203030.10147-1-mmahajan@iol.unh.edu> References: <20250711203030.10147-1-mmahajan@iol.unh.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 17 Jul 2025 10:27:24 +0200 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org The compress unit test uses send_expect() with '>' to determine when the command completed. A recent patch introduced a deprecation warning for coremask, which includes a '>' in the output. This causes send_expect() to exit early, resulting in missed test output, leading to false failures. This is fixed by changing the expected termination prompt from '>' to 'RTE>'. This change address issues from the v1 patch, which incorrectly modified the EAL option from coremask to corelist. Signed-off-by: Manit Mahajan --- tests/compress_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/compress_common.py b/tests/compress_common.py index aa591270..b4fd1921 100644 --- a/tests/compress_common.py +++ b/tests/compress_common.py @@ -106,8 +106,8 @@ def run_unit(test_case, eal={}): cmdline = "./{app_path} {eal}".format( app_path=test_case.dut.apps_name["test"], eal=eal_str ) - test_case.dut.send_expect(cmdline, ">", 30) - out = test_case.dut.send_expect("compressdev_autotest", ">", 30) + test_case.dut.send_expect(cmdline, "RTE>", 30) + out = test_case.dut.send_expect("compressdev_autotest", "RTE>", 30) test_case.dut.send_expect("quit", "# ", 30) print(out) -- 2.41.0