From unknown Sun Jun 22 00:28:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49487: t3200-type-change.sh using too much memory Resent-From: Ross Burton Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Fri, 09 Jul 2021 10:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49487 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 49487@debbugs.gnu.org X-Debbugs-Original-To: bug-parted@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16258282701243 (code B ref -1); Fri, 09 Jul 2021 10:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jul 2021 10:57:50 +0000 Received: from localhost ([127.0.0.1]:58409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1oCb-0000Jz-Tw for submit@debbugs.gnu.org; Fri, 09 Jul 2021 06:57:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:58558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1oCZ-0000Jr-Pt for submit@debbugs.gnu.org; Fri, 09 Jul 2021 06:57:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1oCZ-0006D8-FX for bug-parted@gnu.org; Fri, 09 Jul 2021 06:57:47 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:52742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1oCX-00067s-Nc for bug-parted@gnu.org; Fri, 09 Jul 2021 06:57:47 -0400 Received: by mail-wm1-x331.google.com with SMTP id g10so6080859wmh.2 for ; Fri, 09 Jul 2021 03:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burtonini-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=RmCgU/rl2mDqNj0v/aP20/0cUvXuxZYoNNHYwB7uF/o=; b=eml963fBjEb0McGX3eDQB/HlBKEih+FFJHn07UMtpYmraq7VmfCj9Ze20bVixfy+6X Vyx0daxQASMHi2REp108+snmxVKiYTZyv4CjAkJqr0+pgknLJ/ZqzNyBasepjiO32xoY Pzt+d/4vZJxiBIxKx9WmblscuP7Re8KGebmkKeLLf3dEiRnKNr5jac/Ew65qO9U6ZurP uvbgigi5UEXf3+qy7/MxLLl/WinxERtWkejS/U3WnBSIZn2F/8fwqRlTzWlHfJ0AbMfn CMg1ZUICIuM837BXhwAGVbyMRnoE9Y88PVKDWR7HBos8qA4b8OZ0lo9AXqUCB2sV3wUO 9luw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=RmCgU/rl2mDqNj0v/aP20/0cUvXuxZYoNNHYwB7uF/o=; b=WapQSGq2f4nF1MvUttasz/wHyDI06ymVLJkyzn//ML6TTqaS3pzyQY76L8RGsjxHgh xCYjgahNHlJ+ta8qFmCZrqOiqyjxCopT4qLWtAibMqUuvi5IOBgr3k8GWqi6UjeI3+la 70GjajWWXQ5uhvT5fy55Sve90F+6Wa0JPHSIHVVrz2dcYpdf3irDwXF0IqqFe4+eojbn S5U7yJJsRk4yEuuYgJPXxGdwxQwqxvVpnStByBaB00YDPWpZiFNnfju4kdSNh8i9ua+f 3juzfDDChsEw8IJMxHG9N4wBXSNnko0zRacHNYNgChGg0t2buir+5CkjFR852KKOlxn0 954g== X-Gm-Message-State: AOAM533Udelt6OX8cJJu3k1LeBbAs9wNLF1ogbOHfD/++kNv0WZQ1iGp IR/yU1sgFDspHU6Gjyc1YxNoZ/QBQ8a4TJUVggufjWJSn1d4Tg== X-Google-Smtp-Source: ABdhPJxVQfXMN31RGgbEvSryQIHfjrjClpFNqLDoQXV0HjEw37dduriEIftMDUVFmDAx6wC0IzrDxIUqUvoC8HdqAo0= X-Received: by 2002:a7b:c214:: with SMTP id x20mr37923790wmi.171.1625828262739; Fri, 09 Jul 2021 03:57:42 -0700 (PDT) MIME-Version: 1.0 From: Ross Burton Date: Fri, 9 Jul 2021 11:57:32 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=ross@burtonini.com; helo=mail-wm1-x331.google.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) Hi, It appears that scsi_debug needs actual memory when creating the virtual disks. If I run the tests inside a qemu VM with just 512MB of RAM, the t3200-type-change test fails when it tries to create a 550MB virtual disk. Most of the other tests get by with virtual disks of just a few megabytes. Would someone who understands the partition structure better than me be able to change the numbers so the test runs with a 10MB disk? Cheers, Ross From unknown Sun Jun 22 00:28:02 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ross Burton Subject: bug#49487: closed (Re: bug#49487: t3200-type-change.sh using too much memory) Message-ID: References: X-Gnu-PR-Message: they-closed 49487 X-Gnu-PR-Package: parted Reply-To: 49487@debbugs.gnu.org Date: Thu, 26 Aug 2021 22:48:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1630018082-12130-1" This is a multi-part message in MIME format... ------------=_1630018082-12130-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #49487: t3200-type-change.sh using too much memory which was filed against the parted package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 49487@debbugs.gnu.org. --=20 49487: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49487 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1630018082-12130-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 49487-close) by debbugs.gnu.org; 26 Aug 2021 22:47:36 +0000 Received: from localhost ([127.0.0.1]:50717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJO9o-000391-Dp for submit@debbugs.gnu.org; Thu, 26 Aug 2021 18:47:36 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:49738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJO9n-00038u-5q for 49487-close@debbugs.gnu.org; Thu, 26 Aug 2021 18:47:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630018054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IzjoVLkJZDLi191OQTvWXmTHXPVpcBIsGQEFPPxixYE=; b=ZDyP7OJ2yZQcC6QpmqB9w8L8jSbS11oOpFg9QJ/x0lWxWgu6+Xps/ceflmIowkri74X9gI 66Wr9A6qQp0duReTjDmetzfA1VRlI8UlFpEjQdpbWRwV4yMP2JALfpMG3XtX3WwuaKgNCS 7Y5wExFXxXlOkK9mUNd/Voev5ft6wYM= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-49-KblXHPVOPgWTBYIDEeDgXg-1; Thu, 26 Aug 2021 18:47:33 -0400 X-MC-Unique: KblXHPVOPgWTBYIDEeDgXg-1 Received: by mail-pj1-f69.google.com with SMTP id co10-20020a17090afe8a00b00195640ed21bso1984161pjb.3 for <49487-close@debbugs.gnu.org>; Thu, 26 Aug 2021 15:47:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=IzjoVLkJZDLi191OQTvWXmTHXPVpcBIsGQEFPPxixYE=; b=AtFc15HXdxPqsEaOvvsNU0JGX3+7THGd3wnhkBflEXf6Ev6Gs6SwicjsKMUnm6pz6T 0HysJbYXHqH7r/95k1dr2j0g5lwbQ8o5LdojEt6em3YpjwknozeRSeILNhZ4GHyZwmuA zPwFygnfn+eXy3S82r0/RhII7VX4UwgvLRPFPfR/eJIAxls1KmytifIt5sNX1tnmGzK8 ROgS7q9d5sqdPYtHwuPUx6J8MUHJaK+lmPy3WTH5gAQH/lkb0MuJAhCFXyVOazkap4d6 KRe7plRBQ5ZvG2lgJ0qGIAM0AkIrWlGBAlhV9VDRz38SgYTMkgEnvgrWRkOTPaYcFW43 pcew== X-Gm-Message-State: AOAM533yXMo3xCL4mw3sbuI3yadZiTFWEF3SlKzfKJi5C7j5dCJ+Yl12 suvknMDuj+UFPwoR7EZTJMFSkCEzKtcE/emAWAi1bQSzj75aKKB13LSwh7+2ZMJ6O+F8Nz7qcaM aLFmP98NWe7v+lQivB8Dc150= X-Received: by 2002:a17:90a:4204:: with SMTP id o4mr19085450pjg.199.1630018051658; Thu, 26 Aug 2021 15:47:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3M2JTjNhkXyFOu8jzon4QTbvW+/p6zeIvABR6x01rDKEEpG3KVz7G7VBB2j9Eh/dXP/ybQQ== X-Received: by 2002:a17:90a:4204:: with SMTP id o4mr19085430pjg.199.1630018051411; Thu, 26 Aug 2021 15:47:31 -0700 (PDT) Received: from ohop.brianlane.com ([2601:603:5000:3e9:52e5:49ff:fe52:c5be]) by smtp.gmail.com with ESMTPSA id n3sm3910108pfo.101.2021.08.26.15.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Aug 2021 15:47:31 -0700 (PDT) Date: Thu, 26 Aug 2021 15:47:29 -0700 From: "Brian C. Lane" To: Ross Burton Subject: Re: bug#49487: t3200-type-change.sh using too much memory Message-ID: References: MIME-Version: 1.0 In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=bcl@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49487-close Cc: 49487-close@debbugs.gnu.org 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.7 (-) On Fri, Jul 09, 2021 at 11:57:32AM +0100, Ross Burton wrote: > Hi, > > It appears that scsi_debug needs actual memory when creating the > virtual disks. If I run the tests inside a qemu VM with just 512MB of > RAM, the t3200-type-change test fails when it tries to create a 550MB > virtual disk. > > Most of the other tests get by with virtual disks of just a few > megabytes. Would someone who understands the partition structure > better than me be able to change the numbers so the test runs with a > 10MB disk? This has been mostly fixed. It ends up the lowest we can go is 267 on the fat32 test because fat32 won't work on anything smaller than 256. All the others have been reduced to 10, so hopefully this is enough to squeak by on a small system. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ------------=_1630018082-12130-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Jul 2021 10:57:50 +0000 Received: from localhost ([127.0.0.1]:58409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1oCb-0000Jz-Tw for submit@debbugs.gnu.org; Fri, 09 Jul 2021 06:57:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:58558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1oCZ-0000Jr-Pt for submit@debbugs.gnu.org; Fri, 09 Jul 2021 06:57:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1oCZ-0006D8-FX for bug-parted@gnu.org; Fri, 09 Jul 2021 06:57:47 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:52742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1oCX-00067s-Nc for bug-parted@gnu.org; Fri, 09 Jul 2021 06:57:47 -0400 Received: by mail-wm1-x331.google.com with SMTP id g10so6080859wmh.2 for ; Fri, 09 Jul 2021 03:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burtonini-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=RmCgU/rl2mDqNj0v/aP20/0cUvXuxZYoNNHYwB7uF/o=; b=eml963fBjEb0McGX3eDQB/HlBKEih+FFJHn07UMtpYmraq7VmfCj9Ze20bVixfy+6X Vyx0daxQASMHi2REp108+snmxVKiYTZyv4CjAkJqr0+pgknLJ/ZqzNyBasepjiO32xoY Pzt+d/4vZJxiBIxKx9WmblscuP7Re8KGebmkKeLLf3dEiRnKNr5jac/Ew65qO9U6ZurP uvbgigi5UEXf3+qy7/MxLLl/WinxERtWkejS/U3WnBSIZn2F/8fwqRlTzWlHfJ0AbMfn CMg1ZUICIuM837BXhwAGVbyMRnoE9Y88PVKDWR7HBos8qA4b8OZ0lo9AXqUCB2sV3wUO 9luw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=RmCgU/rl2mDqNj0v/aP20/0cUvXuxZYoNNHYwB7uF/o=; b=WapQSGq2f4nF1MvUttasz/wHyDI06ymVLJkyzn//ML6TTqaS3pzyQY76L8RGsjxHgh xCYjgahNHlJ+ta8qFmCZrqOiqyjxCopT4qLWtAibMqUuvi5IOBgr3k8GWqi6UjeI3+la 70GjajWWXQ5uhvT5fy55Sve90F+6Wa0JPHSIHVVrz2dcYpdf3irDwXF0IqqFe4+eojbn S5U7yJJsRk4yEuuYgJPXxGdwxQwqxvVpnStByBaB00YDPWpZiFNnfju4kdSNh8i9ua+f 3juzfDDChsEw8IJMxHG9N4wBXSNnko0zRacHNYNgChGg0t2buir+5CkjFR852KKOlxn0 954g== X-Gm-Message-State: AOAM533Udelt6OX8cJJu3k1LeBbAs9wNLF1ogbOHfD/++kNv0WZQ1iGp IR/yU1sgFDspHU6Gjyc1YxNoZ/QBQ8a4TJUVggufjWJSn1d4Tg== X-Google-Smtp-Source: ABdhPJxVQfXMN31RGgbEvSryQIHfjrjClpFNqLDoQXV0HjEw37dduriEIftMDUVFmDAx6wC0IzrDxIUqUvoC8HdqAo0= X-Received: by 2002:a7b:c214:: with SMTP id x20mr37923790wmi.171.1625828262739; Fri, 09 Jul 2021 03:57:42 -0700 (PDT) MIME-Version: 1.0 From: Ross Burton Date: Fri, 9 Jul 2021 11:57:32 +0100 Message-ID: Subject: t3200-type-change.sh using too much memory To: bug-parted@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=ross@burtonini.com; helo=mail-wm1-x331.google.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) Hi, It appears that scsi_debug needs actual memory when creating the virtual disks. If I run the tests inside a qemu VM with just 512MB of RAM, the t3200-type-change test fails when it tries to create a 550MB virtual disk. Most of the other tests get by with virtual disks of just a few megabytes. Would someone who understands the partition structure better than me be able to change the numbers so the test runs with a 10MB disk? Cheers, Ross ------------=_1630018082-12130-1--