Source: python-zunclient Version: 4.3.0-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: [email protected] Usertags: ftbfs-20211220 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > ====================================================================== > FAIL: zunclient.tests.unit.test_shell.ShellTest.test_help_on_subcommand > zunclient.tests.unit.test_shell.ShellTest.test_help_on_subcommand > ---------------------------------------------------------------------- > testtools.testresult.real._StringException: Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/zunclient/tests/unit/test_shell.py", line 111, in > test_help_on_subcommand > self.assertThat((stdout + stderr), > File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in > assertThat > raise mismatch_error > testtools.matchers._impl.MismatchError: 'usage: zun create [-n <name>] [--cpu > <cpu>] [-m <memory>] [-e <KEY=VALUE>]\n [--workdir > <workdir>] [--label <KEY=VALUE>]\n [--image-pull-policy > <policy>] [-i]\n [--image-driver <image_driver>] [--hint > <key=value>]\n [--net <network=network, > port=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr>]\n > [--mount <mount>] [--runtime <runtime>]\n [--hostname > <hostname>] [--disk <disk>]\n [--availability-zone > <availability_zone>] [--auto-heal]\n [--privileged]\n > [--healthcheck > <cmd=command,interval=time,retries=integer,timeout=time>]\n > [--registry <registry>] [--host <host>]\n [--entrypoint > <entrypoint>]\n [--security-group <security-group> | -p > <port>]\n [--auto-remove | --restart <restart>]\n > <image> ...\n\nCreate a container.\n\nPositional arguments:\n <image> > name or ID or repo of the image (e.g. cirros:latest)\n > <command> Send command to the container\n\nOptions:\n -n <name>, > --name <name>\n name of the container\n --cpu <cpu> > The number of virtual cpus.\n -m <memory>, --memory <memory>\n > The container memory size in MiB\n -e <KEY=VALUE>, > --environment <KEY=VALUE>\n The environment > variables\n --workdir <workdir> The working directory for commands to run > in\n --label <KEY=VALUE> Adds a map of labels to a container. May be > used\n multiple times.\n --image-pull-policy > <policy>\n The policy which determines if the image > should be\n pulled prior to starting the container. It > can have\n following values: "ifnotpresent": only pull > the image\n if it does not already exist on the node. > "always":\n Always pull the image from > repository."never": never\n pull the image\n -i, > --interactive Keep STDIN open even if not attached, allocate a\n > pseudo-TTY\n --image-driver <image_driver>\n > The image driver to use to pull container image. It\n > can have following values: "docker": pull the image\n > from Docker Hub. "glance": pull the image from Glance.\n --hint > <key=value> The key-value pair(s) for scheduler to select host.\n > The format of this parameter is\n > "key=value[,key=value]". May be used multiple times.\n --net > <network=network, port=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr>\n > Create network enpoints for the container. network:\n > attach container to the specified neturon networks.\n > port: attach container to the neutron port with this\n > UUID. v4-fixed-ip: IPv4 fixed address for container.\n > v6-fixed-ip: IPv6 fixed address for container.\n --mount > <mount> A dictionary to configure volumes mounted inside the\n > container.\n --runtime <runtime> The runtime to use for this > container. It can have\n value "runc" or any other > custom runtime.\n --hostname <hostname>\n Container > host name\n --disk <disk> The disk size in GiB for per container.\n > --availability-zone <availability_zone>\n The > availability zone of the container.\n --auto-heal The flag of > healing non-existent container in docker.\n --privileged Give > extended privileges to this container\n --healthcheck > <cmd=command,interval=time,retries=integer,timeout=time>\n > Specify a test cmd to perform to check that the\n > containeris healthy. cmd: Command to run to check\n > health. interval: Time between running the check\n > (s|m|h) (default 0s). retries: Consecutive failures\n > needed to report unhealthy. timeout: Maximum time to\n > allow one check to run (s|m|h) (default 0s).\n --registry <registry>\n > The container image registry ID or name\n --host <host> > Requested host to create containers. Admin only by\n > default.(Supported by API versions 1.39 or above)\n --entrypoint > <entrypoint>\n The entrypoint which overwrites the > default ENTRYPOINT\n of the image. (Supported by API > versions 1.40 or\n above)\n --security-group > <security-group>\n The name of security group for the > container. May be\n used multiple times.\n -p <port>, > --expose-port <port>\n Expose container port(s) to > outside (format:\n <port>[/<protocol>])\n > --auto-remove Automatically remove the container when it exits\n > --restart <restart> Restart policy to apply when a container exits(no, > on-\n failure[:max-retry], always, unless-stopped)\n' > does not match /.*?^Optional arguments:/ > > > ====================================================================== > FAIL: > zunclient.tests.unit.test_shell.ShellTestKeystoneV3.test_help_on_subcommand > zunclient.tests.unit.test_shell.ShellTestKeystoneV3.test_help_on_subcommand > ---------------------------------------------------------------------- > testtools.testresult.real._StringException: Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/zunclient/tests/unit/test_shell.py", line 111, in > test_help_on_subcommand > self.assertThat((stdout + stderr), > File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in > assertThat > raise mismatch_error > testtools.matchers._impl.MismatchError: 'usage: zun create [-n <name>] [--cpu > <cpu>] [-m <memory>] [-e <KEY=VALUE>]\n [--workdir > <workdir>] [--label <KEY=VALUE>]\n [--image-pull-policy > <policy>] [-i]\n [--image-driver <image_driver>] [--hint > <key=value>]\n [--net <network=network, > port=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr>]\n > [--mount <mount>] [--runtime <runtime>]\n [--hostname > <hostname>] [--disk <disk>]\n [--availability-zone > <availability_zone>] [--auto-heal]\n [--privileged]\n > [--healthcheck > <cmd=command,interval=time,retries=integer,timeout=time>]\n > [--registry <registry>] [--host <host>]\n [--entrypoint > <entrypoint>]\n [--security-group <security-group> | -p > <port>]\n [--auto-remove | --restart <restart>]\n > <image> ...\n\nCreate a container.\n\nPositional arguments:\n <image> > name or ID or repo of the image (e.g. cirros:latest)\n > <command> Send command to the container\n\nOptions:\n -n <name>, > --name <name>\n name of the container\n --cpu <cpu> > The number of virtual cpus.\n -m <memory>, --memory <memory>\n > The container memory size in MiB\n -e <KEY=VALUE>, > --environment <KEY=VALUE>\n The environment > variables\n --workdir <workdir> The working directory for commands to run > in\n --label <KEY=VALUE> Adds a map of labels to a container. May be > used\n multiple times.\n --image-pull-policy > <policy>\n The policy which determines if the image > should be\n pulled prior to starting the container. It > can have\n following values: "ifnotpresent": only pull > the image\n if it does not already exist on the node. > "always":\n Always pull the image from > repository."never": never\n pull the image\n -i, > --interactive Keep STDIN open even if not attached, allocate a\n > pseudo-TTY\n --image-driver <image_driver>\n > The image driver to use to pull container image. It\n > can have following values: "docker": pull the image\n > from Docker Hub. "glance": pull the image from Glance.\n --hint > <key=value> The key-value pair(s) for scheduler to select host.\n > The format of this parameter is\n > "key=value[,key=value]". May be used multiple times.\n --net > <network=network, port=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr>\n > Create network enpoints for the container. network:\n > attach container to the specified neturon networks.\n > port: attach container to the neutron port with this\n > UUID. v4-fixed-ip: IPv4 fixed address for container.\n > v6-fixed-ip: IPv6 fixed address for container.\n --mount > <mount> A dictionary to configure volumes mounted inside the\n > container.\n --runtime <runtime> The runtime to use for this > container. It can have\n value "runc" or any other > custom runtime.\n --hostname <hostname>\n Container > host name\n --disk <disk> The disk size in GiB for per container.\n > --availability-zone <availability_zone>\n The > availability zone of the container.\n --auto-heal The flag of > healing non-existent container in docker.\n --privileged Give > extended privileges to this container\n --healthcheck > <cmd=command,interval=time,retries=integer,timeout=time>\n > Specify a test cmd to perform to check that the\n > containeris healthy. cmd: Command to run to check\n > health. interval: Time between running the check\n > (s|m|h) (default 0s). retries: Consecutive failures\n > needed to report unhealthy. timeout: Maximum time to\n > allow one check to run (s|m|h) (default 0s).\n --registry <registry>\n > The container image registry ID or name\n --host <host> > Requested host to create containers. Admin only by\n > default.(Supported by API versions 1.39 or above)\n --entrypoint > <entrypoint>\n The entrypoint which overwrites the > default ENTRYPOINT\n of the image. (Supported by API > versions 1.40 or\n above)\n --security-group > <security-group>\n The name of security group for the > container. May be\n used multiple times.\n -p <port>, > --expose-port <port>\n Expose container port(s) to > outside (format:\n <port>[/<protocol>])\n > --auto-remove Automatically remove the container when it exits\n > --restart <restart> Restart policy to apply when a container exits(no, > on-\n failure[:max-retry], always, unless-stopped)\n' > does not match /.*?^Optional arguments:/ > > > ---------------------------------------------------------------------- > Ran 228 tests in 2.150s > > FAILED (failures=2) > + echo ======> STESTR TEST SUITE FAILED FOR python3.10: displaying pip3 > freeze output... > ======> STESTR TEST SUITE FAILED FOR python3.10: displaying pip3 freeze > output... > + [ -x /usr/bin/pip3 ] > + pip3 freeze > alabaster==0.7.12 > appdirs==1.4.4 > attrs==20.3.0 > autopage==0.4.0 > Babel==2.8.0 > bcrypt==3.2.0 > blinker==1.4 > certifi==2020.6.20 > chardet==4.0.0 > cliff==3.9.0 > cmd2==0.0.0 > colorama==0.4.4 > cryptography==3.4.8 > ddt==1.4.2 > debtcollector==2.3.0 > decorator==4.4.2 > deprecation==2.0.7 > dnspython==2.1.0 > docker==5.0.3 > docutils==0.17.1 > dogpile.cache==1.1.4 > dulwich==0.20.26 > eventlet==0.30.2 > extras==1.0.0 > fasteners==0.14.1 > fixtures==3.0.0 > flake8==3.8.4 > future==0.18.2 > gabbi==2.0.1 > greenlet==1.1.2 > hacking==1.1.0 > httplib2==0.20.2 > idna==2.10 > imagesize==1.3.0 > importlib-metadata==4.6.4 > iniconfig==0.0.0 > iso8601==0.1.16 > jeepney==0.7.1 > Jinja2==3.0.1 > jmespath==0.10.0 > jsonpatch==1.32 > jsonpath-rw==1.4.0 > jsonpath-rw-ext==1.2.2 > jsonpointer==2.1 > jsonschema==3.2.0 > keyring==23.3.0 > keystoneauth1==4.4.0 > linecache2==1.0.0 > lxml==4.6.4 > Mako==1.1.3 > MarkupSafe==2.0.1 > mccabe==0.6.1 > monotonic==1.6 > more-itertools==8.10.0 > msgpack==1.0.2 > munch==2.3.2 > netaddr==0.8.0 > netifaces==0.11.0 > oauthlib==3.1.1 > openstackdocstheme==1.20.0 > openstacksdk==0.59.0 > os-client-config==2.1.0 > os-service-types==1.7.0 > os-testr==2.0.1 > osc-lib==2.4.2 > oslo.concurrency==4.4.0 > oslo.config==8.7.1 > oslo.context==3.3.2 > oslo.i18n==5.1.0 > oslo.log==4.6.0 > oslo.serialization==4.2.0 > oslo.utils==4.10.0 > oslotest==4.5.0 > osprofiler==3.4.2 > packaging==21.3 > paramiko==2.8.1 > pbr==5.6.0 > pep8==1.7.1 > pluggy==0.13.0 > ply==3.11 > prettytable==0.7.2 > py==1.10.0 > pycodestyle==2.6.0 > pyflakes==2.2.0 > Pygments==2.10.0 > pyinotify==0.9.6 > PyJWT==2.1.0 > PyNaCl==1.4.0 > pyOpenSSL==21.0.0 > pyparsing==2.4.7 > pyperclip==1.8.2 > pyrsistent==0.15.5 > pytest==6.2.5 > python-cinderclient==8.1.0 > python-dateutil==2.8.1 > python-glanceclient==3.5.0 > python-keystoneclient==4.3.0 > python-neutronclient==7.6.0 > python-novaclient==17.6.0 > python-openstackclient==5.6.0 > python-subunit==1.4.0 > python-swiftclient==3.12.0 > python-zunclient==4.3.0 > pytz==2021.3 > PyYAML==5.4.1 > requests==2.25.1 > requestsexceptions==1.4.0 > rfc3986==1.5.0 > roman==3.3 > SecretStorage==3.3.1 > simplejson==3.17.5 > six==1.16.0 > snowballstemmer==2.2.0 > Sphinx==4.3.2 > stestr==3.2.1 > stevedore==3.4.0 > tempest==29.0.0 > testrepository==0.0.20 > testresources==2.0.1 > testscenarios==0.5.0 > testtools==2.5.0 > toml==0.10.2 > traceback2==1.4.0 > unittest2==1.1.0 > urllib3==1.26.5 > voluptuous==0.12.1 > warlock==1.3.3 > wcwidth==0.1.9 > WebOb==1.8.6 > websocket-client==1.2.1 > wrapt==1.13.3 > wsgi-intercept==1.9.2 > zipp==1.0.0 > + exit 1 > make[1]: *** [debian/rules:21: override_dh_auto_install] Error 1 The full build log is available from: http://qa-logs.debian.net/2021/12/20/python-zunclient_4.3.0-2_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

