)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"dfee4d6c78c97d4c5ab3983f79beba68ee3fd91f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"01cd11d7_4b27caf7","updated":"2022-12-31 06:15:45.000000000","message":"Yeah, tox seems to hang after complaining during package building, leading to the timeout:\n\n Backend: run command prepare_metadata_for_build_wheel with args {\u0027metadata_directory\u0027: \u0027/home/zuul/src/opendev.org/openstack/swift/.tox/.pkg/.meta\u0027, \u0027config_settings\u0027: {\u0027--build-option\u0027: []}}\n   File \"/home/zuul/src/opendev.org/openstack/swift/.tox/.pkg/lib/python3.8/site-packages/setuptools/discovery.Backend: Wrote response {\u0027code\u0027: \u0027error: Multiple top-level packages discovered in a flat-layout: [\\\u0027etc\\\u0027, \\\u0027roles\\\u0027, \\\u0027swift\\\u0027, \\\u0027docker\\\u0027, \\\u0027releasenotes\\\u0027].\\n\\nTo avoid accidental inclusion of unwanted files or directories,\\nsetuptools will not proceed with this build.\\n\\nIf you are trying to create a single distribution with multiple packages\\non purpose, you should not rely on automatic discovery.\\nInstead, consider the following options:\\n\\n1. set up custom discovery (`find` directive with `include` or `exclude`)\\n2. use a `src-layout`\\n3. explicitly set `py_modules` or `packages` with a list of names\\n\\nTo find more information, look for \"package discovery\" on setuptools docs.\u0027, \u0027exc_type\u0027: \u0027SystemExit\u0027, \u0027exc_msg\u0027: \u0027error: Multiple top-level packages discovered in a flat-layout: [\\\u0027etc\\\u0027, \\\u0027roles\\\u0027, \\\u0027swift\\\u0027, \\\u0027.pkg: 83409 I exit None (0.08 seconds) /home/zuul/src/opendev.org/openstack/swift\u003e python /home/zuul/.local/tox/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ pid\u003d8595 [tox/execute/api.py:275]\n lower-constraints: 83410 E packaging backend failed (code\u003derror: Multiple top-level packages discovered in a flat-layout: [\u0027etc\u0027, \u0027roles\u0027, \u0027swift\u0027, \u0027docker\u0027, \u0027releasenotes\u0027].\n\n To avoid accidental inclusion of unwanted files or directories,\n setuptools will not proceed with this build.\n\n If you are trying to create a single distribution with multiple packages\n on purpose, you should not rely on automatic discovery.\n Instead, consider the following options:\n\n 1. set up custom discovery (`find` directive with `include` or `exclude`)\n 2. use a `src-layout`\n 3. explicitly set `py_modules` or `packages` with a list of names\n\n To find more information, look for \"package discovery\" on setuptools docs.), with SystemExit: error: Multiple top-level packages discovered in a flat-layout: [\u0027etc\u0027, \u0027roles\u0027, \u0027swift\u0027, \u0027docker\u0027, \u0027releasenotes\u0027].\n\n To avoid accidental inclusion of unwanted files or directories,\n setuptools will not proceed with this build.\n\n If you are trying to create a single distribution with multiple packages\n on purpose, you should not rely on automatic discovery.\n Instead, consider the following options:\n\n 1. set up custom discovery (`find` directive with `include` or `exclude`)\n 2. use a `src-layout`\n 3. explicitly set `py_modules` or `packages` with a list of names\n\n To find more information, look for \"package discovery\" on setuptools docs.\n /home/zuul/src/opendev.org/openstack/swift/.tox/.pkg/lib/python3.8/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: \u0027pbr\u0027\n   warnings.warn(msg)\n Traceback (most recent call last):\n   File \"/home/zuul/src/opendev.org/openstack/swift/.tox/.pkg/lib/python3.8/site-packages/setuptools/_distutils/core.py\", line 201, in run_commands\n     dist.run_commands()\n   File \"/home/zuul/src/opendev.org/openstack/swift/.tox/.pkg/lib/python3.8/site-packages/setuptools/_distutils/dist.py\", line 969, in run_commands\n     self.run_command(cmd)\n   File \"/home/zuul/src/opendev.org/openstack/swift/.tox/.pkg/lib/python3.8/site-packages/setuptools/dist.py\", line 1204, in run_command\n     self.set_defaults()\n   File \"/home/zuul/src/opendev.org/openstack/swift/.tox/.pkg/lib/python3.8/site-packages/setuptools/discovery.py\", line 340, in __call__\n     self._analyse_package_layout(ignore_ext_modules)\n   File \"/home/zuul/src/opendev.org/openstack/swift/.tox/.pkg/lib/python3.8/site-packages/setuptools/discovery.Backend: run command prepare_metadata_for_build_wheel with args {\u0027metadata_directory\u0027: \u0027/home/zuul/src/opendev.org/openstack/swift/.tox/.pkg/.meta\u0027, \u0027config_settings\u0027: {\u0027--build-option\u0027: []}}\n Backend: Wrote response {\u0027code\u0027: \u0027error: Multiple top-level packages discovered in a flat-layout: [\\\u0027etc\\\u0027, \\\u0027roles\\\u0027, \\\u0027swift\\\u0027, \\\u0027docker\\\u0027, \\\u0027releasenotes\\\u0027].\\n\\nTo avoid accidental inclusion of unwanted files or directories,\\nsetuptools will not proceed with this build.\\n\\nIf you are trying to create a single distribution with multiple packages\\non purpose, you should not rely on automatic discovery.\\nInstead, consider the following options:\\n\\n1. set up custom discovery (`find` directive with `include` or `exclude`)\\n2. use a `src-layout`\\n3. explicitly set `py_modules` or `packages` with a list of names\\n\\nTo find more information, look for \"package discovery\" on setuptools docs.\u0027, \u0027exc_type\u0027: \u0027SystemExit\u0027, \u0027exc_msg\u0027: \u0027error: Multiple top-level packages discovered in a flat-layout: [\\\u0027etc\\\u0027, \\\u0027roles\\\u0027, \\\u0027swift\\\u0027, \\\u0027 [tox/session/cmd/run/single.py:51]\n .pkg: 83411 W _exit\u003e python /home/zuul/.local/tox/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ [tox/tox_env/api.py:421]\n RUN END RESULT_TIMED_OUT: [untrusted : opendev.org/zuul/zuul-jobs/playbooks/tox/run.yaml@master]\n\nHaven\u0027t repro\u0027d locally; not sure if/when I\u0027d get around to trying.","commit_id":"3fd0a8f6dd0ac5905f1fc946c1082a63dc27e79d"}]}
