Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 60BE3C4332F for ; Sat, 5 Nov 2022 23:34:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B10658511F; Sun, 6 Nov 2022 00:34:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=gmx.de header.i=@gmx.de header.b="XKUjg52a"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2E53B851CB; Sun, 6 Nov 2022 00:34:34 +0100 (CET) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D373F847F4 for ; Sun, 6 Nov 2022 00:34:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1667691256; bh=NAxR0JUb6KaV1QB4bI3jSDFt11bq7+QVW1YEP4NvmHk=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=XKUjg52aQiyi8nq6eHD/gTc9Menb3NPtZaacTPdmB2l8G8nShau9pMIZ++PJotXc9 3YOC3RApAuXRborhyuNs4Mqx+FvNPAToaZsXyVZJjOZ+b8opxgA/PrtL9dvHd09UmS Zm/KCLQy+vGPVaUIsE94lERsZ4CQkCMii7/4GYsKv2bcvc8pOmhun1Joenz8Eww7QZ uzesdXVmSpeEGAaTmgjTc+57Yq6Bt+DZqY+6vc7ZhOctWWYDYVHl3yCN76/kllf9Y5 mzPkBTjvHnRKnfBrKfp+ZxM0gJxJKpWqqKpQlO+ONN7ePWU2ObtWskttMQHyXtSjrA tdy6VQmIPYRDw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.123.94] ([84.118.157.2]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M9o1v-1ov1Zt2FG9-005sTb; Sun, 06 Nov 2022 00:34:16 +0100 Message-ID: <738c34fe-66b7-c2bb-3cbc-56f294f3fe6e@gmx.de> Date: Sun, 6 Nov 2022 00:34:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v3 9/9] buildman: Add --allow-missing flag to allow missing blobs Content-Language: en-US To: Simon Glass Cc: Rasmus Villemoes , Tom Rini , AKASHI Takahiro , Chia-Wei Wang , =?UTF-8?Q?C=c3=a9dric_Le_Goate?= =?UTF-8?Q?r?= , Joel Stanley , Rick Chen , U-Boot Mailing List References: <20221105230439.549139-1-sjg@chromium.org> <20221105230439.549139-10-sjg@chromium.org> From: Heinrich Schuchardt In-Reply-To: <20221105230439.549139-10-sjg@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:+fwDGA7edJPQFPI7Y6GEI7NZjiw4TREzaOGoWHdvzqIY1QtNDaZ NOILriJlDJvTUuJSveHGZELkmhZiycvMfJKLkjqld28pUdDJ/5ZS/hUdKjPFjyTJmR+793d WgtCP+OWa41yCAap1HRmLRVQ8SWRgwDjLSkHPlGCHnXMAuyfJVw1VZjIagiATWT1knzygui 15RL+TDkVYTSxrit9/DDw== UI-OutboundReport: notjunk:1;M01:P0:YPBxbt9sKa0=;yvNGWgQwOsNGtUykd/j54zd3UlL 91dnFpgykUjJzaYmyLOFcJI70J0Qf9eRRZl/FtY6zQNpV10uVL+Ym/lJDSUYG8jgy1CA1ixx6 x1THW5+Z/3a1zMshtpiUJgacwdUNQ39L6BzfiN9BQkHC/Tzx/5xOsuQ8otJtHR2acBCScqgXp J0wZMhE4brq3DIOaSgphP0lht5jszwYKwFPLUaE8vARU/rk5Tiazum/lWQeelowKOMS/f5aCR 7Wq1ggXPLOwUyAo+eCvMDnKivIWJ5FHR3ESArSh5owQMcEEI7kTx5nIEc0T+tDseJuojToLTS 7aRsGO8tJ3wjrl+VKwXxfwA7bfru0BZ1mObaWQrjeCUk/T9Cb4l5Vwt2WXN2pA91RUDgNQEbc mXH66m0s9I146Ky56hmdoe8BbPxqUhJ1Sj1JFaWOJ+EgVuyyJKdnUBP6nXNW/adXFDJznC0kL K8EgQtQy476UN3Pjz6xh1kiZ2h1zUkIe27aUFmg/ygCRubjdktB5vwPwYj1PLuUPB9Yet2+mr B0kB7iFI+tDAFOD9egQTWB6GirlJDuhfgt3ZkurbEYk6IZFQW1KCb01CZ5hFIyIBBZnATaB4h Ny2a4iC9lP9Q9gMlWUJx+AAnFOIiJue6aGb1sSrL+j/DHvZHEJtInV/4Rl7vSa76VhdWPAwWi HF3fOKMOxEAJas+JiG8iXeDf4XJumL+wxD+fw7nlywuCVR+9Ussq4h7+RJM2DTIyD1yyVZSSu tgS4ssK30yrtIu3royUgstlxC0lIUvSnnZIb9WzsFzDAbOo1179Vimnseu5rsZIOAHC8NAud6 5CYG77OeuaMO8+iEIf0qJ/Llcj2QaOMUNUqNHs3tn9tuZDe++n/lSkeskqxeSyaxA7egIZZmu xuQclbMoS8257Yz75m4dO/yC8XJyfMJMhChC7QvlzXA3Fsodm6pMV61lX3ST/E+EYHovec+KW lyB/P+ecTFyQDeqp0pz0VP1rt8g= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 11/6/22 00:04, Simon Glass wrote: > From: Tom Rini > > Add a new flag to buildman so that we will in turn pass > BINMAN_ALLOW_MISSING=3D1 to 'make'. Make use of this flag in CI. Please, document all arguments of binman in doc/develop/package/binman.rst= . Best regards Heinrich > > Allow the settings file to control this. > > Cc: Rasmus Villemoes > Cc: Simon Glass > Signed-off-by: Tom Rini > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Add tests docs and a settings-file option > > .azure-pipelines.yml | 2 +- > .gitlab-ci.yml | 6 +-- > tools/buildman/bsettings.py | 16 ++++++ > tools/buildman/builder.py | 5 +- > tools/buildman/builderthread.py | 2 + > tools/buildman/buildman.rst | 43 +++++++++++++++ > tools/buildman/cmdline.py | 6 +++ > tools/buildman/control.py | 29 +++++++++- > tools/buildman/func_test.py | 96 +++++++++++++++++++++++++++++++-- > 9 files changed, 196 insertions(+), 9 deletions(-) > > diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml > index bda762451fd..665b5d2026f 100644 > --- a/.azure-pipelines.yml > +++ b/.azure-pipelines.yml > @@ -553,7 +553,7 @@ stages: > cat << "EOF" >> build.sh > if [[ "${BUILDMAN}" !=3D "" ]]; then > ret=3D0; > - tools/buildman/buildman -o /tmp -P -E -W ${BUILDMAN} ${OV= ERRIDE} || ret=3D$?; > + tools/buildman/buildman -o /tmp -PEWM ${BUILDMAN} ${OVERR= IDE} || ret=3D$?; > if [[ $ret -ne 0 ]]; then > tools/buildman/buildman -o /tmp -seP ${BUILDMAN}; > exit $ret; > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > index 6f4c34fc4a3..3deaeca1cdd 100644 > --- a/.gitlab-ci.yml > +++ b/.gitlab-ci.yml > @@ -81,7 +81,7 @@ build all 32bit ARM platforms: > stage: world build > script: > - ret=3D0; > - ./tools/buildman/buildman -o /tmp -P -E -W arm -x aarch64 || ret= =3D$?; > + ./tools/buildman/buildman -o /tmp -PEWM arm -x aarch64 || ret=3D$= ?; > if [[ $ret -ne 0 ]]; then > ./tools/buildman/buildman -o /tmp -seP; > exit $ret; > @@ -93,7 +93,7 @@ build all 64bit ARM platforms: > - virtualenv -p /usr/bin/python3 /tmp/venv > - . /tmp/venv/bin/activate > - ret=3D0; > - ./tools/buildman/buildman -o /tmp -P -E -W aarch64 || ret=3D$?; > + ./tools/buildman/buildman -o /tmp -PEWM aarch64 || ret=3D$?; > if [[ $ret -ne 0 ]]; then > ./tools/buildman/buildman -o /tmp -seP; > exit $ret; > @@ -113,7 +113,7 @@ build all other platforms: > stage: world build > script: > - ret=3D0; > - ./tools/buildman/buildman -o /tmp -P -E -W -x arm,powerpc || ret= =3D$?; > + ./tools/buildman/buildman -o /tmp -PEWM -x arm,powerpc || ret=3D$= ?; > if [[ $ret -ne 0 ]]; then > ./tools/buildman/buildman -o /tmp -seP; > exit $ret; > diff --git a/tools/buildman/bsettings.py b/tools/buildman/bsettings.py > index c627bc76038..0033292f6eb 100644 > --- a/tools/buildman/bsettings.py > +++ b/tools/buildman/bsettings.py > @@ -5,6 +5,7 @@ import configparser > import os > import io > > +config_fname =3D None > > def Setup(fname=3D''): > """Set up the buildman settings module by reading config files > @@ -46,6 +47,21 @@ def GetItems(section): > except: > raise > > +def GetGlobalItem(name): > + """Get an items from the 'global' section of the config. > + > + Args: > + name: name of item to retrieve > + > + Returns: > + str: Value of item, or None if not present > + """ > + items =3D GetItems('global') > + for item in items: > + if item[0] =3D=3D name: > + return item[1] > + return None > + > def SetItem(section, tag, value): > """Set an item and write it back to the settings file""" > global settings > diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py > index 76252b90792..c2a69027f88 100644 > --- a/tools/buildman/builder.py > +++ b/tools/buildman/builder.py > @@ -252,7 +252,8 @@ class Builder: > mrproper=3DFalse, per_board_out_dir=3DFalse, > config_only=3DFalse, squash_config_y=3DFalse, > warnings_as_errors=3DFalse, work_in_output=3DFalse, > - test_thread_exceptions=3DFalse, adjust_cfg=3DNone): > + test_thread_exceptions=3DFalse, adjust_cfg=3DNone, > + allow_missing=3DFalse): > """Create a new Builder object > > Args: > @@ -290,6 +291,7 @@ class Builder: > ~C to disable C > C=3Dval to set the value of C (val must have quote= s if C is > a string Kconfig > + allow_missing: Run build with BINMAN_ALLOW_MISSING=3D1 > > """ > self.toolchains =3D toolchains > @@ -327,6 +329,7 @@ class Builder: > self.config_filenames =3D BASE_CONFIG_FILENAMES > self.work_in_output =3D work_in_output > self.adjust_cfg =3D adjust_cfg > + self.allow_missing =3D allow_missing > self._ide =3D False > > if not self.squash_config_y: > diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthr= ead.py > index 065d836d68c..680efae02d7 100644 > --- a/tools/buildman/builderthread.py > +++ b/tools/buildman/builderthread.py > @@ -253,6 +253,8 @@ class BuilderThread(threading.Thread): > args.extend(['-j', str(self.builder.num_jobs)]) > if self.builder.warnings_as_errors: > args.append('KCFLAGS=3D-Werror') > + if self.builder.allow_missing: > + args.append('BINMAN_ALLOW_MISSING=3D1') > config_args =3D ['%s_defconfig' % brd.target] > config_out =3D '' > args.extend(self.builder.toolchains.GetMakeArguments(b= rd)) > diff --git a/tools/buildman/buildman.rst b/tools/buildman/buildman.rst > index c983f4fa220..c2f63eb257d 100644 > --- a/tools/buildman/buildman.rst > +++ b/tools/buildman/buildman.rst > @@ -904,6 +904,25 @@ also allows build flags to be passed to 'make'. It = consists of several > sections, with the section name in square brackets. Within each sectio= n are > a set of (tag, value) pairs. > > +global section > + allow-missing > + Indicates the policy to use for missing blobs. Note that the fl= ags > + --allow-missing (-M) and --no-allow-missing (--no-a) override t= hese > + setting. > + > + always > + Run with -M by default. > + > + multiple > + Run with -M if more than one board is being built. > + > + branch > + Run with -M if a branch is being built. > + > + Note that the last two can be given together:: > + > + allow-missing =3D multiple branch > + > '[toolchain]' section > This lists the available toolchains. The tag here doesn't matter, = but > make sure it is unique. The value is the path to the toolchain. Bu= ildman > @@ -1131,6 +1150,30 @@ not cause the build to fail: > buildman -o /tmp/build --board sandbox -wWI > > > +Support for binary blobs > +------------------------ > + > +U-Boot is moving to using Binman (see :doc:`../develop/package/binman`)= for > +dealing with the complexities of packaging U-Boot along with binary fil= es from > +other projects. These are called 'external blobs' by Binman. > + > +Typically a missing external blob causes a build failure. For build tes= ting of > +a lot of boards, or boards for which you do not have the blobs, you can= use the > +-M flag to allow missing blobs. This marks the build as if it succeeded= , > +although with warnings shown, including 'Some images are invalid'. If a= ny boards > +fail in this way, buildman exits with status 101. > + > +To convert warnings to errors, use -E. To make buildman return success = with > +these warnings, use -W. > + > +It is generally safe to default to enabling -M for all runs of buildman= , so long > +as you check the exit code. To do this, add:: > + > + allow-missing =3D "always" > + > +to the top of the buildman_settings_ file. > + > + > Changing the configuration > -------------------------- > > diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py > index b29c1eb5ee7..c485994e9fe 100644 > --- a/tools/buildman/cmdline.py > +++ b/tools/buildman/cmdline.py > @@ -75,6 +75,12 @@ def ParseArgs(): > help=3D'List available tool chains (use -v to see probing de= tail)') > parser.add_option('-m', '--mrproper', action=3D'store_true', > default=3DFalse, help=3D"Run 'make mrproper before reconfigu= ring") > + parser.add_option( > + '-M', '--allow-missing', action=3D'store_true', default=3DFal= se, > + help=3D'Tell binman to allow missing blobs and generate fake = ones as needed'), > + parser.add_option( > + '--no-allow-missing', action=3D'store_true', default=3DFalse, > + help=3D'Disable telling binman to allow missing blobs'), > parser.add_option('-n', '--dry-run', action=3D'store_true', dest= =3D'dry_run', > default=3DFalse, help=3D"Do a dry run (describe actions, but= do nothing)") > parser.add_option('-N', '--no-subdirs', action=3D'store_true', des= t=3D'no_subdirs', > diff --git a/tools/buildman/control.py b/tools/buildman/control.py > index 377b580b253..b1a22cdfc14 100644 > --- a/tools/buildman/control.py > +++ b/tools/buildman/control.py > @@ -111,6 +111,23 @@ def ShowToolchainPrefix(brds, toolchains): > print(tc.GetEnvArgs(toolchain.VAR_CROSS_COMPILE)) > return None > > +def get_allow_missing(opt_allow, opt_no_allow, num_selected, has_branch= ): > + allow_missing =3D False > + am_setting =3D bsettings.GetGlobalItem('allow-missing') > + if am_setting: > + if am_setting =3D=3D 'always': > + allow_missing =3D True > + if 'multiple' in am_setting and num_selected > 1: > + allow_missing =3D True > + if 'branch' in am_setting and has_branch: > + allow_missing =3D True > + > + if opt_allow: > + allow_missing =3D True > + if opt_no_allow: > + allow_missing =3D False > + return allow_missing > + > def DoBuildman(options, args, toolchains=3DNone, make_func=3DNone, brd= s=3DNone, > clean_dir=3DFalse, test_thread_exceptions=3DFalse): > """The main control code for buildman > @@ -305,6 +322,15 @@ def DoBuildman(options, args, toolchains=3DNone, ma= ke_func=3DNone, brds=3DNone, > if not gnu_make: > sys.exit('GNU Make not found') > > + allow_missing =3D get_allow_missing(options.allow_missing, > + options.no_allow_missing, len(sel= ected), > + options.branch) > + > + if options.allow_missing: > + allow_missing =3D True > + if options.no_allow_missing: > + allow_missing =3D False > + > # Create a new builder with the selected options. > output_dir =3D options.output_dir > if options.branch: > @@ -329,7 +355,8 @@ def DoBuildman(options, args, toolchains=3DNone, mak= e_func=3DNone, brds=3DNone, > warnings_as_errors=3Doptions.warnings_as_errors, > work_in_output=3Doptions.work_in_output, > test_thread_exceptions=3Dtest_thread_exceptions, > - adjust_cfg=3Dadjust_cfg) > + adjust_cfg=3Dadjust_cfg, > + allow_missing=3Dallow_missing) > builder.force_config_on_failure =3D not options.quick > if make_func: > builder.do_make =3D make_func > diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py > index b4f3b46fcb1..32e305b8c59 100644 > --- a/tools/buildman/func_test.py > +++ b/tools/buildman/func_test.py > @@ -22,6 +22,7 @@ from patman import tools > > settings_data =3D ''' > # Buildman settings file > +[global] > > [toolchain] > > @@ -205,13 +206,16 @@ class TestFunctional(unittest.TestCase): > > self._test_branch =3D TEST_BRANCH > > + # Set to True to report missing blobs > + self._missing =3D False > + > # Avoid sending any output and clear all terminal output > terminal.set_print_test_mode() > terminal.get_print_test_lines() > > def tearDown(self): > shutil.rmtree(self._base_dir) > - #shutil.rmtree(self._output_dir) > + shutil.rmtree(self._output_dir) > > def setupToolchains(self): > self._toolchains =3D toolchain.Toolchains() > @@ -424,10 +428,21 @@ class TestFunctional(unittest.TestCase): > out_dir =3D arg[2:] > fname =3D os.path.join(cwd or '', out_dir, 'u-boot') > tools.write_file(fname, b'U-Boot') > - if type(commit) is not str: > + > + # Handle missing blobs > + if self._missing: > + if 'BINMAN_ALLOW_MISSING=3D1' in args: > + stderr =3D '''+Image 'main-section' is missing exte= rnal blobs and is non-functional: intel-descriptor intel-ifwi intel-fsp-m = intel-fsp-s intel-vbt > +Image 'main-section' has faked external blobs and is non-functional: de= scriptor.bin fsp_m.bin fsp_s.bin vbt.bin > + > +Some images are invalid''' > + else: > + stderr =3D "binman: Filename 'fsp.bin' not found in= input path" > + elif type(commit) is not str: > stderr =3D self._error.get((brd.target, commit.sequenc= e)) > + > if stderr: > - return command.CommandResult(return_code=3D1, stderr=3D= stderr) > + return command.CommandResult(return_code=3D2, stderr=3D= stderr) > return command.CommandResult(return_code=3D0) > > # Not handled, so abort > @@ -621,3 +636,78 @@ class TestFunctional(unittest.TestCase): > self.assertIn( > 'Thread exception (use -T0 to run without threads): test e= xception', > stdout.getvalue()) > + > + def testBlobs(self): > + """Test handling of missing blobs""" > + self._missing =3D True > + > + board0_dir =3D os.path.join(self._output_dir, 'current', 'board= 0') > + errfile =3D os.path.join(board0_dir, 'err') > + logfile =3D os.path.join(board0_dir, 'log') > + > + # We expect failure when there are missing blobs > + result =3D self._RunControl('board0', '-o', self._output_dir) > + self.assertEqual(100, result) > + self.assertTrue(os.path.exists(os.path.join(board0_dir, 'done')= )) > + self.assertTrue(os.path.exists(errfile)) > + self.assertIn(b"Filename 'fsp.bin' not found in input path", > + tools.read_file(errfile)) > + > + # Allow missing blobs - still failure but a different exit code > + result =3D self._RunControl('board0', '-o', self._output_dir, '= -M', > + clean_dir=3DTrue) > + self.assertEqual(101, result) > + self.assertTrue(os.path.exists(errfile)) > + self.assertIn(b'Some images are invalid', tools.read_file(errfi= le)) > + > + # Allow missing blobs and ignore warnings > + result =3D self._RunControl('board0', '-o', self._output_dir, '= -MW') > + self.assertEqual(0, result) > + self.assertIn(b'Some images are invalid', tools.read_file(errfi= le)) > + > + def testBlobSettings(self): > + # Test with no settings > + self.assertEqual(False, > + control.get_allow_missing(False, False, 1, Fal= se)) > + self.assertEqual(True, > + control.get_allow_missing(True, False, 1, Fals= e)) > + self.assertEqual(False, > + control.get_allow_missing(True, True, 1, False= )) > + > + # Check 'always' > + bsettings.SetItem('global', 'allow-missing', 'always') > + self.assertEqual(True, > + control.get_allow_missing(False, False, 1, Fal= se)) > + self.assertEqual(False, > + control.get_allow_missing(False, True, 1, Fals= e)) > + > + # Check 'branch' > + bsettings.SetItem('global', 'allow-missing', 'branch') > + self.assertEqual(False, > + control.get_allow_missing(False, False, 1, Fal= se)) > + self.assertEqual(True, > + control.get_allow_missing(False, False, 1, Tru= e)) > + self.assertEqual(False, > + control.get_allow_missing(False, True, 1, True= )) > + > + # Check 'multiple' > + bsettings.SetItem('global', 'allow-missing', 'multiple') > + self.assertEqual(False, > + control.get_allow_missing(False, False, 1, Fal= se)) > + self.assertEqual(True, > + control.get_allow_missing(False, False, 2, Fal= se)) > + self.assertEqual(False, > + control.get_allow_missing(False, True, 2, Fals= e)) > + > + # Check 'branch multiple' > + bsettings.SetItem('global', 'allow-missing', 'branch multiple') > + self.assertEqual(False, > + control.get_allow_missing(False, False, 1, Fal= se)) > + self.assertEqual(True, > + control.get_allow_missing(False, False, 1, Tru= e)) > + self.assertEqual(True, > + control.get_allow_missing(False, False, 2, Fal= se)) > + self.assertEqual(True, > + control.get_allow_missing(False, False, 2, Tru= e)) > + self.assertEqual(False, > + control.get_allow_missing(False, True, 2, True= ))