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 0B9704367B for ; Tue, 5 Dec 2023 16:11:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0668040297; Tue, 5 Dec 2023 16:11:10 +0100 (CET) Received: from mail-pl1-f226.google.com (mail-pl1-f226.google.com [209.85.214.226]) by mails.dpdk.org (Postfix) with ESMTP id 3C36B40271 for ; Tue, 5 Dec 2023 16:11:08 +0100 (CET) Received: by mail-pl1-f226.google.com with SMTP id d9443c01a7336-1d0bcc0c313so10237655ad.3 for ; Tue, 05 Dec 2023 07:11:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1701789067; x=1702393867; darn=dpdk.org; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=cQhC+7Hpuh8y3t4ueMJiQZdykJ3AssbD5qDgxAz6e4o=; b=WpwSrxCyG7KlaIxr0zfQM5rZ/x+4ptSNbo7+eZuErMAqYkFcc02dOs+sZnonXyYNN7 q0Aw95aAHHZEaqx9r6a0HpABaRHWEg94g2CY528p0s0Zdi0FRf+idlcCeBVGdCsNbXgi /1OCT6AGIdFNgf/3u7qQ/T4BtekIsN0FQKyj4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701789067; x=1702393867; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cQhC+7Hpuh8y3t4ueMJiQZdykJ3AssbD5qDgxAz6e4o=; b=KAwrj3ButpIMRfEsy7qLB3DXfPkDFYkc56JuTUgUnbgLoTrbjjI4TqH6JPev8seq+p 7xV7zv1fUYDv0hgY9HltdOcHsj8BahvBN6B4O4GO0bJr0ep6XxaHr0hRsd1SFNgFaZi9 I+XsG13hDAaZ4Nlxg3BCmSv9tgSeBYBeSRo4OmPlnN7FWYiHod50mpJQ5zE2RwNQ7HJ+ A++E8VAH1K+BvV9wfHCotXMXWeoLG+ppfvQY1IxM2pqw0hH4knrzDIe8r8jvJVGp/kii XgbWQbN30luS13BB8XQ4ypb6PlaI5DdyluswJCEgGTHYPunwUXFN1DaPLN9uZkK30/5+ K/qg== X-Gm-Message-State: AOJu0Yx7CeTOjpTamtDmJdeH/90pNKd7OBqE0t6tKpMZDa18uVmj4Kuy 8QfDkhgcS6a2y4IJb0v//z67qakvB3alHkijPsZsvyZBwb8RfV/DXEhjSw16vwbx21+XOv10dw= = X-Google-Smtp-Source: AGHT+IHprtHiyhNmSYf1EzBjmwvecDEA41wgRrAlkNyS1BAz1IefkDHDbrGBUwS64jm3glLeZEBQeO7YW8Ke X-Received: by 2002:a17:903:1210:b0:1d0:6ffd:835d with SMTP id l16-20020a170903121000b001d06ffd835dmr3041408plh.104.1701789067197; Tue, 05 Dec 2023 07:11:07 -0800 (PST) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id i3-20020a1709026ac300b001c7283d307csm729214plt.137.2023.12.05.07.11.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2023 07:11:07 -0800 (PST) X-Relaying-Domain: iol.unh.edu Date: Tue, 05 Dec 2023 07:11:07 -0800 (PST) Message-ID: <656f3d8b.170a0220.c6509.600cSMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.17.0.2] (unknown [172.18.0.217]) by postal.iol.unh.edu (Postfix) with ESMTP id 45317605C311; Tue, 5 Dec 2023 10:10:51 -0500 (EST) Subject: |WARNING| pw134881-134883 [PATCH] [3/3] buildtools/dpdk-cmdline-gen: add explicit IPv4 and v6 types From: dpdklab@iol.unh.edu To: test-report@dpdk.org Cc: dpdk-test-reports@iol.unh.edu Content-Type: text/plain X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/134881 _apply patch failure_ Submitter: Bruce Richardson Date: Tuesday, December 05 2023 14:51:09 Applied on: CommitID:a526461b0764de52b09b073df84f9e87ec120c93 Apply patch set 134881-134883 failed: Checking patch buildtools/dpdk-cmdline-gen.py... error: while searching for: result_struct.append(f"\tcmdline_ipaddr_t {t_name};") initializers.append( f"static cmdline_parse_token_ipaddr_t cmd_{name}_{t_name}_tok =\n" f"\tTOKEN_IPV4_INITIALIZER(struct cmd_{name}_result, {t_name});" ) elif t_type.startswith("(") and t_type.endswith(")"): result_struct.append(f"\tcmdline_fixed_string_t {t_name};") error: patch failed: buildtools/dpdk-cmdline-gen.py:79 Applying patch buildtools/dpdk-cmdline-gen.py with 1 reject... Rejected hunk #1. hint: Use 'git am --show-current-patch' to see the failed patch diff a/buildtools/dpdk-cmdline-gen.py b/buildtools/dpdk-cmdline-gen.py (rejected hunks) @@ -79,7 +79,7 @@ def process_command(lineno, tokens, comment): result_struct.append(f"\tcmdline_ipaddr_t {t_name};") initializers.append( f"static cmdline_parse_token_ipaddr_t cmd_{name}_{t_name}_tok =\n" - f"\tTOKEN_IPV4_INITIALIZER(struct cmd_{name}_result, {t_name});" + f"\tTOKEN_IPADDR_INITIALIZER(struct cmd_{name}_result, {t_name});" ) elif t_type.startswith("(") and t_type.endswith(")"): result_struct.append(f"\tcmdline_fixed_string_t {t_name};") Checking patch buildtools/dpdk-cmdline-gen.py... error: while searching for: f"static cmdline_parse_token_ipaddr_t cmd_{name}_{t_name}_tok =\n" f"\tTOKEN_IPADDR_INITIALIZER(struct cmd_{name}_result, {t_name});" ) elif t_type.startswith("(") and t_type.endswith(")"): result_struct.append(f"\tcmdline_fixed_string_t {t_name};") t_val = f'"{t_type[1:-1].replace(",","#")}"' error: patch failed: buildtools/dpdk-cmdline-gen.py:81 Checking patch doc/guides/prog_guide/cmdline.rst... Applying patch buildtools/dpdk-cmdline-gen.py with 1 reject... Rejected hunk #1. Applied patch doc/guides/prog_guide/cmdline.rst cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/buildtools/dpdk-cmdline-gen.py b/buildtools/dpdk-cmdline-gen.py (rejected hunks) @@ -81,6 +81,18 @@ def process_command(lineno, tokens, comment): f"static cmdline_parse_token_ipaddr_t cmd_{name}_{t_name}_tok =\n" f"\tTOKEN_IPADDR_INITIALIZER(struct cmd_{name}_result, {t_name});" ) + elif t_type in ["IPV4", "IPv4", "IPV4_ADDR"]: + result_struct.append(f"\tcmdline_ipaddr_t {t_name};") + initializers.append( + f"static cmdline_parse_token_ipaddr_t cmd_{name}_{t_name}_tok =\n" + f"\tTOKEN_IPV4_INITIALIZER(struct cmd_{name}_result, {t_name});" + ) + elif t_type in ["IPV6", "IPv6", "IPV6_ADDR"]: + result_struct.append(f"\tcmdline_ipaddr_t {t_name};") + initializers.append( + f"static cmdline_parse_token_ipaddr_t cmd_{name}_{t_name}_tok =\n" + f"\tTOKEN_IPV6_INITIALIZER(struct cmd_{name}_result, {t_name});" + ) elif t_type.startswith("(") and t_type.endswith(")"): result_struct.append(f"\tcmdline_fixed_string_t {t_name};") t_val = f'"{t_type[1:-1].replace(",","#")}"' https://lab.dpdk.org/results/dashboard/patchsets/28535/ UNH-IOL DPDK Community Lab