0s autopkgtest [10:30:07]: starting date and time: 2024-11-13 10:30:07+0000 0s autopkgtest [10:30:07]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [10:30:07]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ep1ejzs9/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade python-gast --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-18.secgroup --name adt-plucky-arm64-python-gast-20241113-103007-juju-7f2275-prod-proposed-migration-environment-20-b3ff7535-99f2-4b52-a9f7-c295414fad10 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 96s autopkgtest [10:31:43]: testbed dpkg architecture: arm64 96s autopkgtest [10:31:43]: testbed apt version: 2.9.8 96s autopkgtest [10:31:43]: @@@@@@@@@@@@@@@@@@@@ test bed setup 97s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 97s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 97s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 97s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 97s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 97s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [104 kB] 97s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 97s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [601 kB] 97s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 98s Fetched 1794 kB in 1s (1962 kB/s) 98s Reading package lists... 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 102s Calculating upgrade... 103s The following NEW packages will be installed: 103s python3.13-gdbm 103s The following packages will be upgraded: 103s libpython3-stdlib python3 python3-gdbm python3-minimal 103s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 103s Need to get 101 kB of archives. 103s After this operation, 141 kB of additional disk space will be used. 103s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 104s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 104s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 104s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-gdbm arm64 3.13.0-2 [30.7 kB] 104s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gdbm arm64 3.12.7-1 [8642 B] 104s Fetched 101 kB in 0s (245 kB/s) 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79924 files and directories currently installed.) 105s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 105s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 105s Setting up python3-minimal (3.12.7-1) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79924 files and directories currently installed.) 105s Preparing to unpack .../python3_3.12.7-1_arm64.deb ... 105s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 105s Preparing to unpack .../libpython3-stdlib_3.12.7-1_arm64.deb ... 105s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 105s Selecting previously unselected package python3.13-gdbm. 105s Preparing to unpack .../python3.13-gdbm_3.13.0-2_arm64.deb ... 105s Unpacking python3.13-gdbm (3.13.0-2) ... 105s Preparing to unpack .../python3-gdbm_3.12.7-1_arm64.deb ... 105s Unpacking python3-gdbm:arm64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 105s Setting up python3.13-gdbm (3.13.0-2) ... 105s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 105s Setting up python3 (3.12.7-1) ... 106s Setting up python3-gdbm:arm64 (3.12.7-1) ... 106s Processing triggers for man-db (2.12.1-3) ... 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 110s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 110s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 110s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 111s Reading package lists... 111s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s Calculating upgrade... 115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s autopkgtest [10:32:08]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 121s autopkgtest [10:32:08]: @@@@@@@@@@@@@@@@@@@@ apt-source python-gast 123s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-gast 0.5.2-2 (dsc) [1534 B] 123s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-gast 0.5.2-2 (tar) [14.5 kB] 123s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-gast 0.5.2-2 (diff) [3072 B] 123s gpgv: Signature made Mon Oct 11 21:44:53 2021 UTC 123s gpgv: using EDDSA key EE9AD6F90520FA11F69F4824477B0DB0263A54D8 123s gpgv: issuer "stefanor@debian.org" 123s gpgv: Can't check signature: No public key 123s dpkg-source: warning: cannot verify inline signature for ./python-gast_0.5.2-2.dsc: no acceptable signature found 123s autopkgtest [10:32:10]: testing package python-gast version 0.5.2-2 125s autopkgtest [10:32:12]: build not needed 126s autopkgtest [10:32:13]: test upstream-tests: preparing testbed 130s Reading package lists... 130s Building dependency tree... 130s Reading state information... 131s Starting pkgProblemResolver with broken count: 0 131s Starting 2 pkgProblemResolver with broken count: 0 131s Done 132s The following additional packages will be installed: 132s libpython3.13-minimal libpython3.13-stdlib python3-all python3-gast 132s python3-iniconfig python3-packaging python3-pluggy python3-pytest python3.13 132s python3.13-minimal 132s Suggested packages: 132s python3.13-venv python3.13-doc binfmt-support 133s The following NEW packages will be installed: 133s autopkgtest-satdep libpython3.13-minimal libpython3.13-stdlib python3-all 133s python3-gast python3-iniconfig python3-packaging python3-pluggy 133s python3-pytest python3.13 python3.13-minimal 133s 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 133s Need to get 6099 kB/6100 kB of archives. 133s After this operation, 25.8 MB of additional disk space will be used. 133s Get:1 /tmp/autopkgtest.UH25r0/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [716 B] 133s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.0-2 [877 kB] 133s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.0-2 [2100 kB] 133s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.0-2 [2073 kB] 133s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.0-2 [719 kB] 133s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.7-1 [890 B] 133s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-gast all 0.5.2-2 [9394 B] 133s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 133s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 133s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 133s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 134s Fetched 6099 kB in 1s (7192 kB/s) 134s Selecting previously unselected package libpython3.13-minimal:arm64. 134s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79931 files and directories currently installed.) 134s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_arm64.deb ... 134s Unpacking libpython3.13-minimal:arm64 (3.13.0-2) ... 134s Selecting previously unselected package python3.13-minimal. 134s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_arm64.deb ... 134s Unpacking python3.13-minimal (3.13.0-2) ... 134s Selecting previously unselected package libpython3.13-stdlib:arm64. 134s Preparing to unpack .../02-libpython3.13-stdlib_3.13.0-2_arm64.deb ... 134s Unpacking libpython3.13-stdlib:arm64 (3.13.0-2) ... 135s Selecting previously unselected package python3.13. 135s Preparing to unpack .../03-python3.13_3.13.0-2_arm64.deb ... 135s Unpacking python3.13 (3.13.0-2) ... 135s Selecting previously unselected package python3-all. 135s Preparing to unpack .../04-python3-all_3.12.7-1_arm64.deb ... 135s Unpacking python3-all (3.12.7-1) ... 135s Selecting previously unselected package python3-gast. 135s Preparing to unpack .../05-python3-gast_0.5.2-2_all.deb ... 135s Unpacking python3-gast (0.5.2-2) ... 135s Selecting previously unselected package python3-iniconfig. 135s Preparing to unpack .../06-python3-iniconfig_1.1.1-2_all.deb ... 135s Unpacking python3-iniconfig (1.1.1-2) ... 135s Selecting previously unselected package python3-packaging. 135s Preparing to unpack .../07-python3-packaging_24.1-1_all.deb ... 135s Unpacking python3-packaging (24.1-1) ... 135s Selecting previously unselected package python3-pluggy. 135s Preparing to unpack .../08-python3-pluggy_1.5.0-1_all.deb ... 135s Unpacking python3-pluggy (1.5.0-1) ... 135s Selecting previously unselected package python3-pytest. 135s Preparing to unpack .../09-python3-pytest_8.3.3-1_all.deb ... 135s Unpacking python3-pytest (8.3.3-1) ... 135s Selecting previously unselected package autopkgtest-satdep. 135s Preparing to unpack .../10-1-autopkgtest-satdep.deb ... 135s Unpacking autopkgtest-satdep (0) ... 135s Setting up python3-iniconfig (1.1.1-2) ... 135s Setting up python3-gast (0.5.2-2) ... 136s Setting up libpython3.13-minimal:arm64 (3.13.0-2) ... 136s Setting up python3-packaging (24.1-1) ... 136s Setting up python3-pluggy (1.5.0-1) ... 137s Setting up python3.13-minimal (3.13.0-2) ... 138s Setting up libpython3.13-stdlib:arm64 (3.13.0-2) ... 138s Setting up python3.13 (3.13.0-2) ... 139s Setting up python3-pytest (8.3.3-1) ... 141s Setting up python3-all (3.12.7-1) ... 141s Setting up autopkgtest-satdep (0) ... 141s Processing triggers for man-db (2.12.1-3) ... 141s Processing triggers for systemd (256.5-2ubuntu4) ... 146s (Reading database ... 80843 files and directories currently installed.) 146s Removing autopkgtest-satdep (0) ... 148s autopkgtest [10:32:34]: test upstream-tests: [----------------------- 149s 'tests' -> '/tmp/autopkgtest.UH25r0/autopkgtest_tmp/tests' 149s 'tests/__init__.py' -> '/tmp/autopkgtest.UH25r0/autopkgtest_tmp/tests/__init__.py' 149s 'tests/test_api.py' -> '/tmp/autopkgtest.UH25r0/autopkgtest_tmp/tests/test_api.py' 149s 'tests/test_compat.py' -> '/tmp/autopkgtest.UH25r0/autopkgtest_tmp/tests/test_compat.py' 149s 'tests/test_self.py' -> '/tmp/autopkgtest.UH25r0/autopkgtest_tmp/tests/test_self.py' 149s Running testsuite with python3.13: 149s ============================= test session starts ============================== 149s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 149s rootdir: /tmp/autopkgtest.UH25r0/autopkgtest_tmp 149s plugins: typeguard-4.4.1 149s collected 36 items 149s 149s tests/test_api.py ....F........F [ 38%] 149s tests/test_compat.py FFFFFFFFFFFFFFFFFFFF [ 94%] 149s tests/test_self.py .. [100%] 149s 149s =================================== FAILURES =================================== 149s ____________________________ APITestCase.test_dump _____________________________ 149s 149s self = 149s 149s def test_dump(self): 149s code = 'lambda x: x' 149s tree = gast.parse(code, mode='eval') 149s dump = gast.dump(tree) 149s norm = ("Expression(body=Lambda(args=arguments(args=[Name(" 149s "id='x', ctx=Param(), " 149s "annotation=None, type_comment=None)], posonlyargs=[], " 149s "vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, " 149s "defaults=[]), body=Name(id='x', ctx=Load(), " 149s "annotation=None, type_comment=None)" 149s "))") 149s > self.assertEqual(dump, norm) 149s E AssertionError: "Expr[59 chars]ram())]), body=Name(id='x', ctx=Load())))" != "Expr[59 chars]ram(), annotation=None, type_comment=None)], p[148 chars]e)))" 149s E - Expression(body=Lambda(args=arguments(args=[Name(id='x', ctx=Param())]), body=Name(id='x', ctx=Load()))) 149s E + Expression(body=Lambda(args=arguments(args=[Name(id='x', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=Name(id='x', ctx=Load(), annotation=None, type_comment=None))) 149s 149s tests/test_api.py:39: AssertionError 149s ____________________________ APITestCase.test_walk _____________________________ 149s 149s self = 149s 149s def test_walk(self): 149s code = 'x + 1' 149s tree = gast.parse(code, mode='eval') 149s dump = gast.dump(tree) 149s norm = ("Expression(body=BinOp(left=Name(id='x', ctx=Load(), " 149s "annotation=None, type_comment=None), op=Add(), " 149s "right=Constant(value=1, kind=None)))") 149s > self.assertEqual(dump, norm) 149s E AssertionError: "Expr[41 chars]oad()), op=Add(), right=Constant(value=1)))" != "Expr[41 chars]oad(), annotation=None, type_comment=None), op[40 chars]e)))" 149s E - Expression(body=BinOp(left=Name(id='x', ctx=Load()), op=Add(), right=Constant(value=1))) 149s E + Expression(body=BinOp(left=Name(id='x', ctx=Load(), annotation=None, type_comment=None), op=Add(), right=Constant(value=1, kind=None))) 149s E ? ++++++++++++++++++++++++++++++++++++ +++++++++++ 149s 149s tests/test_api.py:48: AssertionError 149s ______________________ CompatTestCase.test_ArgAnnotation _______________________ 149s 149s self = 149s 149s def test_ArgAnnotation(self): 149s code = 'def foo(x:int): pass' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=" 149s "[Name(id='x', ctx=Param(), annotation=Name" 149s "(id='int', ctx=Load(), annotation=None, type_comment=None" 149s "), type_comment=None)], posonlyargs=" 149s "[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=" 149s "None, defaults=[]), body=[Pass()], decorator_list=[], " 149s "returns=None, type_comment=None)], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[111 chars]oad()))]), body=[Pass()])])" != "Modu[111 chars]oad(), annotation=None, type_comment=None), ty[186 chars]=[])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='x', ctx=Param(), annotation=Name(id='int', ctx=Load()))]), body=[Pass()])]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='x', ctx=Param(), annotation=Name(id='int', ctx=Load(), annotation=None, type_comment=None), type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:42: AssertionError 149s ___________________________ CompatTestCase.test_Call ___________________________ 149s 149s self = 149s 149s def test_Call(self): 149s self.maxDiff = None 149s code = 'foo(x, y=1, *args, **kwargs)' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[Expr(value=Call(func=Name(id='foo', ctx=Load" 149s "(), annotation=None, type_comment=None" 149s "), args=[Name(id='x', ctx=Load(), " 149s "annotation=None, type_comment=None), Starred(value=Name(" 149s "id='args', ctx=Load(), annotation=None, type_comment=None)" 149s ", ctx=Load())], keywords=[keyword(" 149s "arg='y', value=Constant(value=1, kind=None)), keyword(arg" 149s "=None, value=Name(id='kwargs', ctx=Load(), annotation=None, " 149s "type_comment=None))]))], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[50 chars]oad()), args=[Name(id='x', ctx=Load()), Starre[149 chars]))])" != "Modu[50 chars]oad(), annotation=None, type_comment=None), ar[331 chars]=[])" 149s E - Module(body=[Expr(value=Call(func=Name(id='foo', ctx=Load()), args=[Name(id='x', ctx=Load()), Starred(value=Name(id='args', ctx=Load()), ctx=Load())], keywords=[keyword(arg='y', value=Constant(value=1)), keyword(value=Name(id='kwargs', ctx=Load()))]))]) 149s E + Module(body=[Expr(value=Call(func=Name(id='foo', ctx=Load(), annotation=None, type_comment=None), args=[Name(id='x', ctx=Load(), annotation=None, type_comment=None), Starred(value=Name(id='args', ctx=Load(), annotation=None, type_comment=None), ctx=Load())], keywords=[keyword(arg='y', value=Constant(value=1, kind=None)), keyword(arg=None, value=Name(id='kwargs', ctx=Load(), annotation=None, type_comment=None))]))], type_ignores=[]) 149s 149s tests/test_compat.py:213: AssertionError 149s _________________________ CompatTestCase.test_Ellipsis _________________________ 149s 149s self = 149s 149s def test_Ellipsis(self): 149s self.maxDiff = None 149s code = 'def foo(a): a[...]' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[" 149s "Name(id='a', ctx=Param(), annotation=None, type_comment=None)" 149s "], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[]" 149s ", kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=" 149s "Name(id='a', ctx=Load(), annotation=None, type_comment=None)" 149s ", slice=Constant(value=Ellipsis, kind=None), ctx=Load()))], " 149s "decorator_list=[], returns=None, type_comment=" 149s "None)], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[73 chars]ram())]), body=[Expr(value=Subscript(value=Nam[67 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[304 chars]=[])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param())]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load()), slice=Constant(value=Ellipsis), ctx=Load()))])]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load(), annotation=None, type_comment=None), slice=Constant(value=Ellipsis, kind=None), ctx=Load()))], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:317: AssertionError 149s _________________________ CompatTestCase.test_ExtSlice _________________________ 149s 149s self = 149s 149s def test_ExtSlice(self): 149s self.maxDiff = None 149s code = 'def foo(a): a[:,:]' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[" 149s "Name(id='a', ctx=Param(), annotation=None, type_comment=None)" 149s "], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[]" 149s ", kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=" 149s "Name(id='a', ctx=Load(), annotation=None, type_comment=None)" 149s ", slice=Tuple(elts=[Slice(lower=None, upper=None, step=" 149s "None), Slice(lower=None, upper=None, step=None)], ctx=Load())" 149s ", ctx=Load()))], decorator_list=[], returns=None, " 149s "type_comment=None)], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[73 chars]ram())]), body=[Expr(value=Subscript(value=Nam[85 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[377 chars]=[])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param())]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load()), slice=Tuple(elts=[Slice(), Slice()], ctx=Load()), ctx=Load()))])]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load(), annotation=None, type_comment=None), slice=Tuple(elts=[Slice(lower=None, upper=None, step=None), Slice(lower=None, upper=None, step=None)], ctx=Load()), ctx=Load()))], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:286: AssertionError 149s _____________________ CompatTestCase.test_ExtSliceEllipsis _____________________ 149s 149s self = 149s 149s def test_ExtSliceEllipsis(self): 149s self.maxDiff = None 149s code = 'def foo(a): a[1, ...]' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[" 149s "Name(id='a', ctx=Param(), annotation=None, type_comment=None)" 149s "], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[]" 149s ", kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=" 149s "Name(id='a', ctx=Load(), annotation=None, type_comment=None)" 149s ", slice=Tuple(elts=[Constant(value=1, kind=None)" 149s ", Constant(value=Ellipsis, kind=None)], ctx=Load()), ctx=" 149s "Load()))], decorator_list=[], returns=None, type_comment=" 149s "None)], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[73 chars]ram())]), body=[Expr(value=Subscript(value=Nam[112 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[360 chars]=[])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param())]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load()), slice=Tuple(elts=[Constant(value=1), Constant(value=Ellipsis)], ctx=Load()), ctx=Load()))])]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load(), annotation=None, type_comment=None), slice=Tuple(elts=[Constant(value=1, kind=None), Constant(value=Ellipsis, kind=None)], ctx=Load()), ctx=Load()))], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:333: AssertionError 149s ________________________ CompatTestCase.test_ExtSlices _________________________ 149s 149s self = 149s 149s def test_ExtSlices(self): 149s self.maxDiff = None 149s code = 'def foo(a): a[1,:]' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[" 149s "Name(id='a', ctx=Param(), annotation=None, type_comment=None)" 149s "], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[]" 149s ", kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=" 149s "Name(id='a', ctx=Load(), annotation=None, type_comment=None)" 149s ", slice=Tuple(elts=[Constant(value=1, kind=" 149s "None), Slice(lower=None, upper=None, step=None)], ctx=Load())" 149s ", ctx=Load()))], decorator_list=[], returns=None, " 149s "type_comment=None)], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[73 chars]ram())]), body=[Expr(value=Subscript(value=Nam[95 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[365 chars]=[])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param())]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load()), slice=Tuple(elts=[Constant(value=1), Slice()], ctx=Load()), ctx=Load()))])]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load(), annotation=None, type_comment=None), slice=Tuple(elts=[Constant(value=1, kind=None), Slice(lower=None, upper=None, step=None)], ctx=Load()), ctx=Load()))], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:302: AssertionError 149s ______________________ CompatTestCase.test_FormattedValue ______________________ 149s 149s self = 149s 149s def test_FormattedValue(self): 149s code = 'e = 1; f"{e}"' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[Assign(targets=[Name(id='e', ctx=Store()" 149s ", annotation=None, type_comment=None" 149s ")], value=Constant(value=1, kind=None), " 149s "type_comment=None), Expr(value=" 149s "JoinedStr(values=[FormattedValue(value=Name(id='e', " 149s "ctx=Load(), annotation=None, type_comment=None), " 149s "conversion=-1, format_spec=None)]))], " 149s "type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[44 chars]ore())], value=Constant(value=1)), Expr(value=[80 chars]))])" != "Modu[44 chars]ore(), annotation=None, type_comment=None)], v[217 chars]=[])" 149s E - Module(body=[Assign(targets=[Name(id='e', ctx=Store())], value=Constant(value=1)), Expr(value=JoinedStr(values=[FormattedValue(value=Name(id='e', ctx=Load()), conversion=-1)]))]) 149s E + Module(body=[Assign(targets=[Name(id='e', ctx=Store(), annotation=None, type_comment=None)], value=Constant(value=1, kind=None), type_comment=None), Expr(value=JoinedStr(values=[FormattedValue(value=Name(id='e', ctx=Load(), annotation=None, type_comment=None), conversion=-1, format_spec=None)]))], type_ignores=[]) 149s 149s tests/test_compat.py:70: AssertionError 149s __________________________ CompatTestCase.test_Index ___________________________ 149s 149s self = 149s 149s def test_Index(self): 149s code = 'def foo(a): a[1]' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[" 149s "Name(id='a', ctx=Param(), annotation=None, type_comment=None)" 149s "], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[]" 149s ", kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=" 149s "Name(id='a', ctx=Load(), annotation=None, type_comment=None)" 149s ", slice=Constant(value=1, kind=None), ctx=Load()" 149s "))], decorator_list=[], returns=None, type_comment=None)]" 149s ", type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[73 chars]ram())]), body=[Expr(value=Subscript(value=Nam[60 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[297 chars]=[])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param())]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load()), slice=Constant(value=1), ctx=Load()))])]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load(), annotation=None, type_comment=None), slice=Constant(value=1, kind=None), ctx=Load()))], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:270: AssertionError 149s ________________________ CompatTestCase.test_JoinedStr _________________________ 149s 149s self = 149s 149s def test_JoinedStr(self): 149s code = 'e = 1; f"e = {e}"' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[Assign(targets=[Name(id='e', ctx=Store()" 149s ", annotation=None, type_comment=None" 149s ")], value=Constant(value=1, kind=None), " 149s "type_comment=None), Expr(value=" 149s "JoinedStr(values=[Constant(value='e = ', kind=None), " 149s "FormattedValue(value=Name(id='e', ctx=Load(), " 149s "annotation=None, type_comment=None), " 149s "conversion=-1, format_spec=None)]))], " 149s "type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[44 chars]ore())], value=Constant(value=1)), Expr(value=[104 chars]))])" != "Modu[44 chars]ore(), annotation=None, type_comment=None)], v[252 chars]=[])" 149s E - Module(body=[Assign(targets=[Name(id='e', ctx=Store())], value=Constant(value=1)), Expr(value=JoinedStr(values=[Constant(value='e = '), FormattedValue(value=Name(id='e', ctx=Load()), conversion=-1)]))]) 149s E + Module(body=[Assign(targets=[Name(id='e', ctx=Store(), annotation=None, type_comment=None)], value=Constant(value=1, kind=None), type_comment=None), Expr(value=JoinedStr(values=[Constant(value='e = ', kind=None), FormattedValue(value=Name(id='e', ctx=Load(), annotation=None, type_comment=None), conversion=-1, format_spec=None)]))], type_ignores=[]) 149s 149s tests/test_compat.py:85: AssertionError 149s ___________________ CompatTestCase.test_KeywordOnlyArgument ____________________ 149s 149s self = 149s 149s def test_KeywordOnlyArgument(self): 149s code = 'def foo(*, x=1): pass' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=" 149s "[], posonlyargs=[], vararg=None, kwonlyargs=[Name" 149s "(id='x', ctx=Param(), annotation=None, type_comment=None" 149s ")], kw_defaults=[Constant(value=1, kind=None)], kwarg=" 149s "None, defaults=[]), body=[Pass()], decorator_list=[], " 149s "returns=None, type_comment=None)], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[43 chars]ents(kwonlyargs=[Name(id='x', ctx=Param())], k[45 chars]])])" != "Modu[43 chars]ents(args=[], posonlyargs=[], vararg=None, kwo[224 chars]=[])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(kwonlyargs=[Name(id='x', ctx=Param())], kw_defaults=[Constant(value=1)]), body=[Pass()])]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[], posonlyargs=[], vararg=None, kwonlyargs=[Name(id='x', ctx=Param(), annotation=None, type_comment=None)], kw_defaults=[Constant(value=1, kind=None)], kwarg=None, defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:54: AssertionError 149s ________________________ CompatTestCase.test_NamedExpr _________________________ 149s 149s self = 149s 149s def test_NamedExpr(self): 149s code = '(x := 1) ' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[Expr(value=NamedExpr(target=Name(id='x'," 149s " ctx=Store(), annotation=None, type_comment=None), " 149s "value=Constant(value=1, kind=None)))], type_ignores=" 149s "[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[56 chars]ore()), value=Constant(value=1)))])" != "Modu[56 chars]ore(), annotation=None, type_comment=None), va[49 chars]=[])" 149s E - Module(body=[Expr(value=NamedExpr(target=Name(id='x', ctx=Store()), value=Constant(value=1)))]) 149s E + Module(body=[Expr(value=NamedExpr(target=Name(id='x', ctx=Store(), annotation=None, type_comment=None), value=Constant(value=1, kind=None)))], type_ignores=[]) 149s E ? ++++++++++++++++++++++++++++++++++++ +++++++++++ +++++++++++++++++ 149s 149s tests/test_compat.py:123: AssertionError 149s _______________________ CompatTestCase.test_PosonlyArgs ________________________ 149s 149s self = 149s 149s def test_PosonlyArgs(self): 149s code = 'def foo(a, /, b): pass' 149s tree = gast.parse(code, type_comments=True) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(" 149s "args=[Name(id='b', ctx=Param(), annotation=None, " 149s "type_comment=None)], posonlyargs=[Name(id='a', " 149s "ctx=Param(), annotation=None, type_comment=None)], " 149s "vararg=None, kwonlyargs=[], kw_defaults=[], " 149s "kwarg=None, defaults=[]), body=[Pass()], " 149s "decorator_list=[], returns=None, type_comment=None)" 149s "], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[73 chars]ram())], posonlyargs=[Name(id='a', ctx=Param()[17 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[227 chars]=[])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='b', ctx=Param())], posonlyargs=[Name(id='a', ctx=Param())]), body=[Pass()])]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='b', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:113: AssertionError 149s __________________________ CompatTestCase.test_Raise ___________________________ 149s 149s self = 149s 149s def test_Raise(self): 149s codes = ('raise Exception', 149s 'raise "Exception"', 149s 'raise Exception, "err"', 149s 'raise Exception("err")', 149s 'raise E, V, T',) 149s norms = ("Module(body=[Raise(exc=Name(id='Exception', ctx=Load(), " 149s "annotation=None, type_comment=None)," 149s " cause=None)], type_ignores=[])", 149s 149s "Module(body=[Raise(exc=Constant(value='Exception', kind=" 149s "None), cause=None)], type_ignores=[])", 149s 149s "Module(body=[Raise(exc=Call(func=Name(id='Exception', " 149s "ctx=Load(), annotation=None, type_comment=None), " 149s "args=[Constant(value='err', kind=None)], " 149s "keywords=[]), cause=None)], type_ignores=[])", 149s 149s "Module(body=[Raise(exc=Call(func=Name(id='Exception', " 149s "ctx=Load(), annotation=None, type_comment=None), " 149s "args=[Constant(value='err', kind=None)], " 149s "keywords=[]), cause=None)], type_ignores=[])", 149s 149s "Module(body=[Raise(exc=Call(func=Attribute(value=Call(" 149s "func=Name(id='E', ctx=Load(), annotation=None, " 149s "type_comment=None), args=[Name(id='V', ctx=" 149s "Load(), annotation=None, type_comment=None)], keywords=[]), " 149s "attr='with_traceback', ctx=Load" 149s "()), args=[Name(id='T', ctx=Load(), annotation=None, " 149s "type_comment=None)], keywords=[]), " 149s "cause=None)], type_ignores=[])",) 149s 149s if sys.version_info.major == 3: 149s codes = codes[0], codes[1], codes[3] 149s norms = norms[0], norms[1], norms[3] 149s 149s for code, norm in zip(codes, norms): 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[45 chars]oad()))])" != "Modu[45 chars]oad(), annotation=None, type_comment=None), ca[24 chars]=[])" 149s E - Module(body=[Raise(exc=Name(id='Exception', ctx=Load()))]) 149s E + Module(body=[Raise(exc=Name(id='Exception', ctx=Load(), annotation=None, type_comment=None), cause=None)], type_ignores=[]) 149s 149s tests/test_compat.py:197: AssertionError 149s ________________________ CompatTestCase.test_TryExcept _________________________ 149s 149s self = 149s 149s def test_TryExcept(self): 149s code = 'try:pass\nexcept e:pass\nelse:pass' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(" 149s "type=Name(id='e', ctx=Load(), annotation=None, " 149s "type_comment=None), name=None, body=[Pass()])]" 149s ", orelse=[Pass()], finalbody=[])], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[75 chars]oad()), body=[Pass()])], orelse=[Pass()])])" != "Modu[75 chars]oad(), annotation=None, type_comment=None), na[71 chars]=[])" 149s E - Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(type=Name(id='e', ctx=Load()), body=[Pass()])], orelse=[Pass()])]) 149s E + Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(type=Name(id='e', ctx=Load(), annotation=None, type_comment=None), name=None, body=[Pass()])], orelse=[Pass()], finalbody=[])], type_ignores=[]) 149s 149s tests/test_compat.py:145: AssertionError 149s ______________________ CompatTestCase.test_TryExceptNamed ______________________ 149s 149s self = 149s 149s def test_TryExceptNamed(self): 149s code = 'try:pass\nexcept e as f:pass\nelse:pass' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(" 149s "type=Name(id='e', ctx=Load(), annotation=None, " 149s "type_comment=None), name=Name(id='f', ctx=" 149s "Store(), annotation=None, type_comment=None), body=[Pass()])]" 149s ", orelse=[Pass()], finalbody=[])], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[75 chars]oad()), name=Name(id='f', ctx=Store()), body=[[25 chars]])])" != "Modu[75 chars]oad(), annotation=None, type_comment=None), na[128 chars]=[])" 149s E - Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(type=Name(id='e', ctx=Load()), name=Name(id='f', ctx=Store()), body=[Pass()])], orelse=[Pass()])]) 149s E + Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(type=Name(id='e', ctx=Load(), annotation=None, type_comment=None), name=Name(id='f', ctx=Store(), annotation=None, type_comment=None), body=[Pass()])], orelse=[Pass()], finalbody=[])], type_ignores=[]) 149s 149s tests/test_compat.py:156: AssertionError 149s ________________________ CompatTestCase.test_TryFinally ________________________ 149s 149s self = 149s 149s def test_TryFinally(self): 149s code = 'try:pass\nfinally:pass' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[Try(body=[Pass()], handlers=[], orelse=[], " 149s "finalbody=[Pass()])], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: 'Modu[23 chars]()], finalbody=[Pass()])])' != 'Modu[23 chars]()], handlers=[], orelse=[], finalbody=[Pass()[17 chars]=[])' 149s E - Module(body=[Try(body=[Pass()], finalbody=[Pass()])]) 149s E + Module(body=[Try(body=[Pass()], handlers=[], orelse=[], finalbody=[Pass()])], type_ignores=[]) 149s 149s tests/test_compat.py:232: AssertionError 149s ________________________ CompatTestCase.test_TypeIgnore ________________________ 149s 149s self = 149s 149s def test_TypeIgnore(self): 149s code = 'def foo(): pass # type: ignore[excuse]' 149s tree = gast.parse(code, type_comments=True) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(" 149s "args=[], posonlyargs=[], vararg=None, kwonlyargs=[], " 149s "kw_defaults=[], kwarg=None, defaults=[]), body=[" 149s "Pass()], decorator_list=[], returns=None, " 149s "type_comment=None)], type_ignores=" 149s "[TypeIgnore(lineno=1, tag='[excuse]')])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[43 chars]ents(), body=[Pass()])], type_ignores=[TypeIgn[27 chars]')])" != "Modu[43 chars]ents(args=[], posonlyargs=[], vararg=None, kwo[171 chars]')])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(), body=[Pass()])], type_ignores=[TypeIgnore(lineno=1, tag='[excuse]')]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[TypeIgnore(lineno=1, tag='[excuse]')]) 149s 149s tests/test_compat.py:99: AssertionError 149s ___________________________ CompatTestCase.test_With ___________________________ 149s 149s self = 149s 149s def test_With(self): 149s code = 'with open("any"): pass' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[With(items=[withitem(context_expr=Call(func=" 149s "Name(id='open', ctx=Load(), annotation=None, " 149s "type_comment=None), args=[Constant(value='any', " 149s "kind=None)], keywords=[]), optional_vars=None)], body=[" 149s "Pass()], type_comment=None)], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[74 chars]oad()), args=[Constant(value='any')]))], body=[Pass()])])" != "Modu[74 chars]oad(), annotation=None, type_comment=None), ar[123 chars]=[])" 149s E - Module(body=[With(items=[withitem(context_expr=Call(func=Name(id='open', ctx=Load()), args=[Constant(value='any')]))], body=[Pass()])]) 149s E + Module(body=[With(items=[withitem(context_expr=Call(func=Name(id='open', ctx=Load(), annotation=None, type_comment=None), args=[Constant(value='any', kind=None)], keywords=[]), optional_vars=None)], body=[Pass()], type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:224: AssertionError 149s _____________________ CompatTestCase.test_keyword_argument _____________________ 149s 149s self = 149s 149s def test_keyword_argument(self): 149s code = 'def foo(**a): pass' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[], " 149s "posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], " 149s "kwarg=Name(id='a', ctx=Param(), annotation=None, " 149s "type_comment=None), defaults=[]), body=[Pass()], " 149s "decorator_list=[], returns=None, type_comment=None)], " 149s "type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[43 chars]ents(kwarg=Name(id='a', ctx=Param())), body=[Pass()])])" != "Modu[43 chars]ents(args=[], posonlyargs=[], vararg=None, kwo[192 chars]=[])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(kwarg=Name(id='a', ctx=Param())), body=[Pass()])]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=Name(id='a', ctx=Param(), annotation=None, type_comment=None), defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:256: AssertionError 149s ______________________ CompatTestCase.test_star_argument _______________________ 149s 149s self = 149s 149s def test_star_argument(self): 149s code = 'def foo(*a): pass' 149s tree = gast.parse(code) 149s compile(gast.gast_to_ast(tree), '', 'exec') 149s norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[], " 149s "posonlyargs=[], vararg=Name(id='a', ctx=Param(), " 149s "annotation=None, type_comment=None), " 149s "kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), " 149s "body=[Pass()], decorator_list=[], returns=None, " 149s "type_comment=None)], type_ignores=[])") 149s > self.assertEqual(gast.dump(tree), norm) 149s E AssertionError: "Modu[43 chars]ents(vararg=Name(id='a', ctx=Param())), body=[Pass()])])" != "Modu[43 chars]ents(args=[], posonlyargs=[], vararg=Name(id='[192 chars]=[])" 149s E - Module(body=[FunctionDef(name='foo', args=arguments(vararg=Name(id='a', ctx=Param())), body=[Pass()])]) 149s E + Module(body=[FunctionDef(name='foo', args=arguments(args=[], posonlyargs=[], vararg=Name(id='a', ctx=Param(), annotation=None, type_comment=None), kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) 149s 149s tests/test_compat.py:244: AssertionError 149s =============================== warnings summary =============================== 149s tests/test_api.py::APITestCase::test_literal_eval_code 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: Expression.__init__ missing 1 required positional argument: 'body'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_api.py: 2 warnings 149s tests/test_compat.py: 12 warnings 149s tests/test_self.py: 652 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: Constant.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py: 11 warnings 149s tests/test_self.py: 93 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: FunctionDef.__init__ missing 1 required positional argument: 'name'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py: 11 warnings 149s tests/test_self.py: 93 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: FunctionDef.__init__ missing 1 required positional argument: 'args'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py: 9 warnings 149s tests/test_self.py: 54 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: Expr.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py: 2 warnings 149s tests/test_self.py: 465 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: Call.__init__ missing 1 required positional argument: 'func'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py::CompatTestCase::test_Call 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: Starred.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py: 2 warnings 149s tests/test_self.py: 16 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: keyword.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py: 5 warnings 149s tests/test_self.py: 21 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: Subscript.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py: 5 warnings 149s tests/test_self.py: 21 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: Subscript.__init__ missing 1 required positional argument: 'slice'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py::CompatTestCase::test_FormattedValue 149s tests/test_compat.py::CompatTestCase::test_JoinedStr 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: FormattedValue.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py::CompatTestCase::test_FormattedValue 149s tests/test_compat.py::CompatTestCase::test_JoinedStr 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: FormattedValue.__init__ missing 1 required positional argument: 'conversion'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py::CompatTestCase::test_NamedExpr 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: NamedExpr.__init__ missing 1 required positional argument: 'target'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py::CompatTestCase::test_NamedExpr 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: NamedExpr.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py::CompatTestCase::test_TypeIgnore 149s tests/test_compat.py::CompatTestCase::test_TypeIgnore 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: TypeIgnore.__init__ missing 1 required positional argument: 'lineno'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py::CompatTestCase::test_TypeIgnore 149s tests/test_compat.py::CompatTestCase::test_TypeIgnore 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: TypeIgnore.__init__ missing 1 required positional argument: 'tag'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_compat.py::CompatTestCase::test_With 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: withitem.__init__ missing 1 required positional argument: 'context_expr'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py: 37 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: alias.__init__ missing 1 required positional argument: 'name'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: ClassDef.__init__ missing 1 required positional argument: 'name'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py: 70 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: If.__init__ missing 1 required positional argument: 'test'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py: 37 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: Compare.__init__ missing 1 required positional argument: 'left'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py: 819 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: Attribute.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py: 819 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: Attribute.__init__ missing 1 required positional argument: 'attr'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: BinOp.__init__ missing 1 required positional argument: 'right'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: BinOp.__init__ missing 1 required positional argument: 'left'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: BinOp.__init__ missing 1 required positional argument: 'op'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: GeneratorExp.__init__ missing 1 required positional argument: 'elt'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: comprehension.__init__ missing 1 required positional argument: 'target'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: comprehension.__init__ missing 1 required positional argument: 'is_async'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: comprehension.__init__ missing 1 required positional argument: 'iter'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: ListComp.__init__ missing 1 required positional argument: 'elt'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py: 11 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: BoolOp.__init__ missing 1 required positional argument: 'op'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py: 17 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: UnaryOp.__init__ missing 1 required positional argument: 'operand'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py: 17 warnings 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: UnaryOp.__init__ missing 1 required positional argument: 'op'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: For.__init__ missing 1 required positional argument: 'iter'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s tests/test_self.py::SelfTestCase::testCompile 149s /usr/lib/python3/dist-packages/gast/astn.py:20: DeprecationWarning: For.__init__ missing 1 required positional argument: 'target'. This will become an error in Python 3.15. 149s new_node = getattr(to, cls)() 149s 149s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 149s =========================== short test summary info ============================ 149s FAILED tests/test_api.py::APITestCase::test_dump - AssertionError: "Expr[59 c... 149s FAILED tests/test_api.py::APITestCase::test_walk - AssertionError: "Expr[41 c... 149s FAILED tests/test_compat.py::CompatTestCase::test_ArgAnnotation - AssertionEr... 149s FAILED tests/test_compat.py::CompatTestCase::test_Call - AssertionError: "Mod... 149s FAILED tests/test_compat.py::CompatTestCase::test_Ellipsis - AssertionError: ... 149s FAILED tests/test_compat.py::CompatTestCase::test_ExtSlice - AssertionError: ... 149s FAILED tests/test_compat.py::CompatTestCase::test_ExtSliceEllipsis - Assertio... 149s FAILED tests/test_compat.py::CompatTestCase::test_ExtSlices - AssertionError:... 149s FAILED tests/test_compat.py::CompatTestCase::test_FormattedValue - AssertionE... 149s FAILED tests/test_compat.py::CompatTestCase::test_Index - AssertionError: "Mo... 149s FAILED tests/test_compat.py::CompatTestCase::test_JoinedStr - AssertionError:... 149s FAILED tests/test_compat.py::CompatTestCase::test_KeywordOnlyArgument - Asser... 149s FAILED tests/test_compat.py::CompatTestCase::test_NamedExpr - AssertionError:... 149s FAILED tests/test_compat.py::CompatTestCase::test_PosonlyArgs - AssertionErro... 149s FAILED tests/test_compat.py::CompatTestCase::test_Raise - AssertionError: "Mo... 149s FAILED tests/test_compat.py::CompatTestCase::test_TryExcept - AssertionError:... 149s FAILED tests/test_compat.py::CompatTestCase::test_TryExceptNamed - AssertionE... 149s FAILED tests/test_compat.py::CompatTestCase::test_TryFinally - AssertionError... 149s FAILED tests/test_compat.py::CompatTestCase::test_TypeIgnore - AssertionError... 149s FAILED tests/test_compat.py::CompatTestCase::test_With - AssertionError: "Mod... 149s FAILED tests/test_compat.py::CompatTestCase::test_keyword_argument - Assertio... 149s FAILED tests/test_compat.py::CompatTestCase::test_star_argument - AssertionEr... 149s ================= 22 failed, 14 passed, 3401 warnings in 0.47s ================= 149s autopkgtest [10:32:36]: test upstream-tests: -----------------------] 150s upstream-tests FAIL non-zero exit status 1 150s autopkgtest [10:32:37]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 150s autopkgtest [10:32:37]: test autodep8-python3: preparing testbed 260s autopkgtest [10:34:27]: testbed dpkg architecture: arm64 261s autopkgtest [10:34:28]: testbed apt version: 2.9.8 261s autopkgtest [10:34:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 265s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 265s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 265s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 265s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 265s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 265s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [104 kB] 265s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 265s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [601 kB] 265s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 266s Fetched 1794 kB in 1s (2087 kB/s) 266s Reading package lists... 273s Reading package lists... 274s Building dependency tree... 274s Reading state information... 275s Calculating upgrade... 275s The following NEW packages will be installed: 275s python3.13-gdbm 275s The following packages will be upgraded: 275s libpython3-stdlib python3 python3-gdbm python3-minimal 276s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 276s Need to get 101 kB of archives. 276s After this operation, 141 kB of additional disk space will be used. 276s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 276s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 276s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 276s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-gdbm arm64 3.13.0-2 [30.7 kB] 276s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gdbm arm64 3.12.7-1 [8642 B] 277s Fetched 101 kB in 0s (219 kB/s) 277s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79924 files and directories currently installed.) 277s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 277s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 277s Setting up python3-minimal (3.12.7-1) ... 277s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79924 files and directories currently installed.) 277s Preparing to unpack .../python3_3.12.7-1_arm64.deb ... 277s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 278s Preparing to unpack .../libpython3-stdlib_3.12.7-1_arm64.deb ... 278s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 278s Selecting previously unselected package python3.13-gdbm. 278s Preparing to unpack .../python3.13-gdbm_3.13.0-2_arm64.deb ... 278s Unpacking python3.13-gdbm (3.13.0-2) ... 278s Preparing to unpack .../python3-gdbm_3.12.7-1_arm64.deb ... 278s Unpacking python3-gdbm:arm64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 278s Setting up python3.13-gdbm (3.13.0-2) ... 278s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 278s Setting up python3 (3.12.7-1) ... 278s Setting up python3-gdbm:arm64 (3.12.7-1) ... 278s Processing triggers for man-db (2.12.1-3) ... 279s Reading package lists... 280s Building dependency tree... 280s Reading state information... 281s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 282s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 282s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 282s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 282s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 284s Reading package lists... 284s Reading package lists... 284s Building dependency tree... 284s Reading state information... 285s Calculating upgrade... 285s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 285s Reading package lists... 286s Building dependency tree... 286s Reading state information... 287s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 304s Reading package lists... 304s Building dependency tree... 304s Reading state information... 305s Starting pkgProblemResolver with broken count: 0 305s Starting 2 pkgProblemResolver with broken count: 0 305s Done 306s The following additional packages will be installed: 306s libpython3.13-minimal libpython3.13-stdlib python3-all python3-gast 306s python3.13 python3.13-minimal 306s Suggested packages: 306s python3.13-venv python3.13-doc binfmt-support 306s The following NEW packages will be installed: 306s autopkgtest-satdep libpython3.13-minimal libpython3.13-stdlib python3-all 306s python3-gast python3.13 python3.13-minimal 306s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 306s Need to get 5780 kB/5780 kB of archives. 306s After this operation, 24.2 MB of additional disk space will be used. 306s Get:1 /tmp/autopkgtest.UH25r0/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [712 B] 306s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.0-2 [877 kB] 307s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.0-2 [2100 kB] 307s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.0-2 [2073 kB] 308s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.0-2 [719 kB] 308s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.7-1 [890 B] 308s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-gast all 0.5.2-2 [9394 B] 308s Fetched 5780 kB in 2s (3381 kB/s) 308s Selecting previously unselected package libpython3.13-minimal:arm64. 309s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79931 files and directories currently installed.) 309s Preparing to unpack .../0-libpython3.13-minimal_3.13.0-2_arm64.deb ... 309s Unpacking libpython3.13-minimal:arm64 (3.13.0-2) ... 309s Selecting previously unselected package python3.13-minimal. 309s Preparing to unpack .../1-python3.13-minimal_3.13.0-2_arm64.deb ... 309s Unpacking python3.13-minimal (3.13.0-2) ... 309s Selecting previously unselected package libpython3.13-stdlib:arm64. 309s Preparing to unpack .../2-libpython3.13-stdlib_3.13.0-2_arm64.deb ... 309s Unpacking libpython3.13-stdlib:arm64 (3.13.0-2) ... 309s Selecting previously unselected package python3.13. 309s Preparing to unpack .../3-python3.13_3.13.0-2_arm64.deb ... 309s Unpacking python3.13 (3.13.0-2) ... 309s Selecting previously unselected package python3-all. 309s Preparing to unpack .../4-python3-all_3.12.7-1_arm64.deb ... 309s Unpacking python3-all (3.12.7-1) ... 309s Selecting previously unselected package python3-gast. 309s Preparing to unpack .../5-python3-gast_0.5.2-2_all.deb ... 309s Unpacking python3-gast (0.5.2-2) ... 309s Selecting previously unselected package autopkgtest-satdep. 309s Preparing to unpack .../6-2-autopkgtest-satdep.deb ... 309s Unpacking autopkgtest-satdep (0) ... 309s Setting up python3-gast (0.5.2-2) ... 310s Setting up libpython3.13-minimal:arm64 (3.13.0-2) ... 310s Setting up python3.13-minimal (3.13.0-2) ... 311s Setting up libpython3.13-stdlib:arm64 (3.13.0-2) ... 311s Setting up python3.13 (3.13.0-2) ... 313s Setting up python3-all (3.12.7-1) ... 313s Setting up autopkgtest-satdep (0) ... 313s Processing triggers for man-db (2.12.1-3) ... 313s Processing triggers for systemd (256.5-2ubuntu4) ... 323s (Reading database ... 80679 files and directories currently installed.) 323s Removing autopkgtest-satdep (0) ... 329s autopkgtest [10:35:36]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import gast; print(gast)" ; done 329s autopkgtest [10:35:36]: test autodep8-python3: [----------------------- 330s Testing with python3.13: 330s 330s Testing with python3.12: 330s 330s autopkgtest [10:35:37]: test autodep8-python3: -----------------------] 332s autopkgtest [10:35:39]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 332s autodep8-python3 PASS (superficial) 334s autopkgtest [10:35:41]: @@@@@@@@@@@@@@@@@@@@ summary 334s upstream-tests FAIL non-zero exit status 1 334s autodep8-python3 PASS (superficial) 352s nova [W] Skipping flock in bos03-arm64 352s Creating nova instance adt-plucky-arm64-python-gast-20241113-103007-juju-7f2275-prod-proposed-migration-environment-20-b3ff7535-99f2-4b52-a9f7-c295414fad10 from image adt/ubuntu-plucky-arm64-server-20241113.img (UUID 2d7760e6-2439-4200-89d6-5ed33e5c6330)... 352s nova [W] Skipping flock in bos03-arm64 352s Creating nova instance adt-plucky-arm64-python-gast-20241113-103007-juju-7f2275-prod-proposed-migration-environment-20-b3ff7535-99f2-4b52-a9f7-c295414fad10 from image adt/ubuntu-plucky-arm64-server-20241113.img (UUID 2d7760e6-2439-4200-89d6-5ed33e5c6330)...