This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_packaging failure under Snow Leopard
Type: behavior Stage: resolved
Components: Distutils2, macOS Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: alexis, eric.araujo, georg.brandl, janssen, ned.deily, pitrou, python-dev, vstinner
Priority: release blocker Keywords:

Created on 2011-08-16 20:33 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (15)
msg142220 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-08-16 20:33
http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%202%203.x/builds/789/steps/test/logs/stdio
msg142221 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011-08-16 20:35
[309/358/1] test_packaging
[70190 refs]
test_formats (packaging.tests.test_command_bdist.BuildTestCase) ... ok
test_show_formats (packaging.tests.test_command_bdist.BuildTestCase) ... ok
test_skip_build (packaging.tests.test_command_bdist.BuildTestCase) ... ok
test_finalize_options (packaging.tests.test_command_bdist_dumb.BuildDumbTestCase) ... ok
test_simple_built (packaging.tests.test_command_bdist_dumb.BuildDumbTestCase) ... copying build/lib/foo.py -> build/bdist.macosx-10.4-x86_64/dumb/usr/local/lib/python3.3/site-packages
ok
test_minimal (packaging.tests.test_command_bdist_msi.BDistMSITestCase) ... skipped 'runs only on win32'
test_get_exe_bytes (packaging.tests.test_command_bdist_wininst.BuildWinInstTestCase) ... ok
test_finalize_options (packaging.tests.test_command_build.BuildTestCase) ... ok
test_build_libraries (packaging.tests.test_command_build_clib.BuildCLibTestCase) ... ok
test_check_library_dist (packaging.tests.test_command_build_clib.BuildCLibTestCase) ... ok
test_finalize_options (packaging.tests.test_command_build_clib.BuildCLibTestCase) ... ok
test_get_source_files (packaging.tests.test_command_build_clib.BuildCLibTestCase) ... ok
test_run (packaging.tests.test_command_build_clib.BuildCLibTestCase) ... ok
test_build_ext (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_compiler_option (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_deployment_target_default (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_deployment_target_higher_ok (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_deployment_target_too_low (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_ext_fullpath (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_finalize_options (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_get_outputs (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_get_source_files (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_optional_extension (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_solaris_enable_shared (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_user_site (packaging.tests.test_command_build_ext.BuildExtTestCase) ... ok
test_dont_write_bytecode (packaging.tests.test_command_build_py.BuildPyTestCase) ... ok
test_empty_package_dir (packaging.tests.test_command_build_py.BuildPyTestCase) ... ok
test_package_data (packaging.tests.test_command_build_py.BuildPyTestCase) ... ok
test_build (packaging.tests.test_command_build_scripts.BuildScriptsTestCase) ... ok
test_default_settings (packaging.tests.test_command_build_scripts.BuildScriptsTestCase) ... ok
test_version_int (packaging.tests.test_command_build_scripts.BuildScriptsTestCase) ... ok
test_check_all (packaging.tests.test_command_check.CheckTestCase) ... ok
test_check_hooks (packaging.tests.test_command_check.CheckTestCase) ... ok
test_check_metadata (packaging.tests.test_command_check.CheckTestCase) ... ok
test_check_metadata_1_2 (packaging.tests.test_command_check.CheckTestCase) ... ok
test_check_restructuredtext (packaging.tests.test_command_check.CheckTestCase) ... skipped 'requires docutils'
test_warn (packaging.tests.test_command_check.CheckTestCase) ... ok
test_simple_run (packaging.tests.test_command_clean.cleanTestCase) ... ok
test_dump_options (packaging.tests.test_command_cmd.CommandTestCase) ... ok
test_ensure_dirname (packaging.tests.test_command_cmd.CommandTestCase) ... ok
test_ensure_filename (packaging.tests.test_command_cmd.CommandTestCase) ... ok
test_ensure_string (packaging.tests.test_command_cmd.CommandTestCase) ... ok
test_ensure_string_list (packaging.tests.test_command_cmd.CommandTestCase) ... ok
test_make_file (packaging.tests.test_command_cmd.CommandTestCase) ... ok
test_clean (packaging.tests.test_command_config.ConfigTestCase) ... ok
test_dump_file (packaging.tests.test_command_config.ConfigTestCase) ... ok
test_finalize_options (packaging.tests.test_command_config.ConfigTestCase) ... ok
test_search_cpp (packaging.tests.test_command_config.ConfigTestCase) ... ok
test_simple_run (packaging.tests.test_command_install_data.InstallDataTestCase) ... ok
test_finalize_options (packaging.tests.test_command_install_dist.InstallTestCase) ... ok
test_handle_extra_path (packaging.tests.test_command_install_dist.InstallTestCase) ... ok
test_home_installation_scheme (packaging.tests.test_command_install_dist.InstallTestCase) ... ok
test_old_record (packaging.tests.test_command_install_dist.InstallTestCase) ... ok
test_user_site (packaging.tests.test_command_install_dist.InstallTestCase) ... ok
test_empty_install (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok
test_installer (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok
test_no_record (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok
test_record (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok
test_requested (packaging.tests.test_command_install_distinfo.InstallDistinfoTestCase) ... ok
test_simple_run (packaging.tests.test_command_install_headers.InstallHeadersTestCase) ... ok
test_byte_compile (packaging.tests.test_command_install_lib.InstallLibTestCase) ... ok
test_dont_write_bytecode (packaging.tests.test_command_install_lib.InstallLibTestCase) ... ok
test_finalize_options (packaging.tests.test_command_install_lib.InstallLibTestCase) ... ok
test_get_inputs (packaging.tests.test_command_install_lib.InstallLibTestCase) ... ok
test_get_outputs (packaging.tests.test_command_install_lib.InstallLibTestCase) ... ok
test_default_settings (packaging.tests.test_command_install_scripts.InstallScriptsTestCase) ... ok
test_installation (packaging.tests.test_command_install_scripts.InstallScriptsTestCase) ... copying /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpk4t76t/tmppspwto/script1.py -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpk4t76t/tmpjw_97p
copying /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpk4t76t/tmppspwto/script2.py -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpk4t76t/tmpjw_97p
copying /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpk4t76t/tmppspwto/shell.sh -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpk4t76t/tmpjw_97p
ok
test_create_pypirc (packaging.tests.test_command_register.RegisterTestCase) ... ok
test_password_not_in_file (packaging.tests.test_command_register.RegisterTestCase) ... ok
test_password_reset (packaging.tests.test_command_register.RegisterTestCase) ... ok
test_register_pep345 (packaging.tests.test_command_register.RegisterTestCase) ... ok
test_registration (packaging.tests.test_command_register.RegisterTestCase) ... ok
test_strict (packaging.tests.test_command_register.RegisterTestCase) ... skipped 'needs docutils'
test_add_defaults (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_finalize_options (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_get_file_list (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_make_distribution (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_make_distribution_owner_group (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_manifest_builder (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_manifest_marker (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_manual_manifest (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_metadata_check_option (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_prune_file_list (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_show_formats (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_template (packaging.tests.test_command_sdist.SDistTestCase) ... ok
test_builds_before_running_tests (packaging.tests.test_command_test.TestTest) ... ok
test_calls_discover (packaging.tests.test_command_test.TestTest) ... ok
test_checks_requires (packaging.tests.test_command_test.TestTest) ... ok
test_custom_runner (packaging.tests.test_command_test.TestTest) ... ok
test_gets_unittest_discovery (packaging.tests.test_command_test.TestTest) ... ok
test_runs_unittest (packaging.tests.test_command_test.TestTest) ... ok
test_finalize_options (packaging.tests.test_command_upload.UploadTestCase) ... ok
test_finalize_options_unsigned_identity_raises_exception (packaging.tests.test_command_upload.UploadTestCase) ... ok
test_saved_password (packaging.tests.test_command_upload.UploadTestCase) ... ok
test_upload (packaging.tests.test_command_upload.UploadTestCase) ... ok
test_upload_docs (packaging.tests.test_command_upload.UploadTestCase) ... ok
test_upload_without_files_raises_exception (packaging.tests.test_command_upload.UploadTestCase) ... ok
test_checks_index_html_presence (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok
test_checks_upload_dir (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok
test_default_uploaddir (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok
test_default_uploaddir_looks_for_doc_also (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok
test_handling_response (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok
test_https_connection (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok
test_reads_pypirc_data (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok
test_show_response (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok
test_upload (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok
test_zip_dir (packaging.tests.test_command_upload_docs.UploadDocsTestCase) ... ok
test_customize_compiler (packaging.tests.test_compiler.CompilerTestCase) ... ok
test_gen_lib_options (packaging.tests.test_compiler.CompilerTestCase) ... ok
test_config (packaging.tests.test_config.ConfigTestCase) ... ok
test_metadata_requires_description_files (packaging.tests.test_config.ConfigTestCase) ... ok
test_metadata_requires_description_files_missing (packaging.tests.test_config.ConfigTestCase) ... ok
test_missing_setup_hook_warns (packaging.tests.test_config.ConfigTestCase) ... ok
test_multiline_description_file (packaging.tests.test_config.ConfigTestCase) ... ok
test_multiple_description_file (packaging.tests.test_config.ConfigTestCase) ... ok
test_multiple_setup_hooks (packaging.tests.test_config.ConfigTestCase) ... ok
test_parse_extensions_in_config (packaging.tests.test_config.ConfigTestCase) ... ok
test_project_setup_hook_works (packaging.tests.test_config.ConfigTestCase) ... ok
test_sub_commands (packaging.tests.test_config.ConfigTestCase) ... ok
test_ask (packaging.tests.test_create.CreateTestCase) ... ok
test_ask_yn (packaging.tests.test_create.CreateTestCase) ... ok
test_convert_setup_py_to_cfg (packaging.tests.test_create.CreateTestCase) ... ok
test_convert_setup_py_to_cfg_with_description_in_readme (packaging.tests.test_create.CreateTestCase) ... ok
test_find_files (packaging.tests.test_create.CreateTestCase) ... ok
test_set_multi (packaging.tests.test_create.CreateTestCase) ... ok
test_check_config_h (packaging.tests.test_cygwinccompiler.CygwinCCompilerTestCase) ... ok
test_get_msvcr (packaging.tests.test_cygwinccompiler.CygwinCCompilerTestCase) ... ok
test_final_exemple_glob (packaging.tests.test_database.DataFilesTestCase) ... ok
test_get_file (packaging.tests.test_database.DataFilesTestCase) ... ok
test_glob_in_base (packaging.tests.test_database.DataFilesTestCase) ... ok
test_multiple_match (packaging.tests.test_database.DataFilesTestCase) ... ok
test_recursive_glob (packaging.tests.test_database.DataFilesTestCase) ... ok
test_set_match (packaging.tests.test_database.DataFilesTestCase) ... ok
test_set_match_exclude (packaging.tests.test_database.DataFilesTestCase) ... ok
test_set_match_multiple (packaging.tests.test_database.DataFilesTestCase) ... ok
test_simple_glob (packaging.tests.test_database.DataFilesTestCase) ... ok
test_distinfo_dirname (packaging.tests.test_database.TestDatabase) ... ok
test_get_distribution (packaging.tests.test_database.TestDatabase) ... ok
test_get_distributions (packaging.tests.test_database.TestDatabase) ... FAIL
test_get_file_users (packaging.tests.test_database.TestDatabase) ... ok
test_obsoletes (packaging.tests.test_database.TestDatabase) ... ok
test_provides (packaging.tests.test_database.TestDatabase) ... ok
test_yield_distribution (packaging.tests.test_database.TestDatabase) ... FAIL
test_comparison (packaging.tests.test_database.TestDistribution) ... ok
test_get_distinfo_file (packaging.tests.test_database.TestDistribution) ... ok
test_get_resources_path (packaging.tests.test_database.TestDistribution) ... ok
test_instantiation (packaging.tests.test_database.TestDistribution) ... ok
test_list_distinfo_files (packaging.tests.test_database.TestDistribution) ... ok
test_list_installed_files (packaging.tests.test_database.TestDistribution) ... ok
test_repr (packaging.tests.test_database.TestDistribution) ... ok
test_uses (packaging.tests.test_database.TestDistribution) ... ok
test_comparison (packaging.tests.test_database.TestEggInfoDistribution) ... ok
test_instantiation (packaging.tests.test_database.TestEggInfoDistribution) ... ok
test_list_installed_files (packaging.tests.test_database.TestEggInfoDistribution) ... skipped 'not implemented yet'
test_repr (packaging.tests.test_database.TestEggInfoDistribution) ... ok
test_dependent_dists (packaging.tests.test_depgraph.DepGraphTestCase) ... ok
test_dependent_dists_egg (packaging.tests.test_depgraph.DepGraphTestCase) ... ok
test_generate_graph (packaging.tests.test_depgraph.DepGraphTestCase) ... ok
test_generate_graph_egg (packaging.tests.test_depgraph.DepGraphTestCase) ... ok
test_graph_bad_version_to_dot (packaging.tests.test_depgraph.DepGraphTestCase) ... ok
test_graph_disconnected_to_dot (packaging.tests.test_depgraph.DepGraphTestCase) ... ok
test_graph_to_dot (packaging.tests.test_depgraph.DepGraphTestCase) ... ok
test_main (packaging.tests.test_depgraph.DepGraphTestCase) ... ok
test_repr (packaging.tests.test_depgraph.DepGraphTestCase) ... ok
test_bad_attr (packaging.tests.test_dist.DistributionTestCase) ... ok
test_bad_version (packaging.tests.test_dist.DistributionTestCase) ... ok
test_debug_mode (packaging.tests.test_dist.DistributionTestCase) ... ok
test_empty_options (packaging.tests.test_dist.DistributionTestCase) ... ok
test_finalize_options (packaging.tests.test_dist.DistributionTestCase) ... ok
test_find_config_files_disable (packaging.tests.test_dist.DistributionTestCase) ... ok
test_hooks_callable (packaging.tests.test_dist.DistributionTestCase) ... ok
test_hooks_get_run (packaging.tests.test_dist.DistributionTestCase) ... ok
test_hooks_importable (packaging.tests.test_dist.DistributionTestCase) ... ok
test_non_empty_options (packaging.tests.test_dist.DistributionTestCase) ... ok
test_special_hooks_parsing (packaging.tests.test_dist.DistributionTestCase) ... ok
test_write_pkg_file (packaging.tests.test_dist.DistributionTestCase) ... ok
test_custom_pydistutils (packaging.tests.test_dist.MetadataTestCase) ... ok
test_description (packaging.tests.test_dist.MetadataTestCase) ... ok
test_obsoletes_dist (packaging.tests.test_dist.MetadataTestCase) ... ok
test_provides_dist (packaging.tests.test_dist.MetadataTestCase) ... ok
test_read_metadata (packaging.tests.test_dist.MetadataTestCase) ... ok
test_requires_dist (packaging.tests.test_dist.MetadataTestCase) ... ok
test_show_help (packaging.tests.test_dist.MetadataTestCase) ... ok
test_simple_metadata (packaging.tests.test_dist.MetadataTestCase) ... ok
test_conflicts (packaging.tests.test_install.TestInstall) ... ok
test_existing_deps (packaging.tests.test_install.TestInstall) ... ok
test_install_dists_rollback (packaging.tests.test_install.TestInstall) ... ok
test_install_dists_success (packaging.tests.test_install.TestInstall) ... ok
test_install_from_infos_conflict (packaging.tests.test_install.TestInstall) ... ok
test_install_from_infos_install_succes (packaging.tests.test_install.TestInstall) ... ok
test_install_from_infos_remove_rollback (packaging.tests.test_install.TestInstall) ... ok
test_install_from_infos_remove_success (packaging.tests.test_install.TestInstall) ... ok
test_install_permission_denied (packaging.tests.test_install.TestInstall) ... ok
test_installation_unexisting_project (packaging.tests.test_install.TestInstall) ... ok
test_move_files (packaging.tests.test_install.TestInstall) ... ok
test_update_infos (packaging.tests.test_install.TestInstall) ... ok
test_upgrade_existing_deps (packaging.tests.test_install.TestInstall) ... ok
test_default_actions (packaging.tests.test_manifest.ManifestTestCase) ... ok
test_manifest_reader (packaging.tests.test_manifest.ManifestTestCase) ... ok
test_interpret (packaging.tests.test_markers.MarkersTestCase) ... ok
test_best_choice (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_check_author (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_check_homepage (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_check_name (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_check_name_strict (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_check_predicates (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_check_version (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_check_version_strict (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_description (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_instantiation (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_mapping_api (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_metadata_markers (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_metadata_read_write (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_multiple_predicates (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_project_url (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_project_urls (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_versions (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_warnings (packaging.tests.test_metadata.MetadataTestCase) ... ok
test_additional_fixers (packaging.tests.test_mixin2to3.Mixin2to3TestCase) ... ok
test_convert_code_only (packaging.tests.test_mixin2to3.Mixin2to3TestCase) ... ok
test_doctests_only (packaging.tests.test_mixin2to3.Mixin2to3TestCase) ... ok
test_no_compiler (packaging.tests.test_msvc9compiler.msvc9compilerTestCase) ... skipped 'runs only on win32'
test_reg_class (packaging.tests.test_msvc9compiler.msvc9compilerTestCase) ... skipped 'runs only on win32'
test_remove_visual_c_ref (packaging.tests.test_msvc9compiler.msvc9compilerTestCase) ... skipped 'runs only on win32'
test_comparison (packaging.tests.test_pypi_dist.TestDistInfo) ... ok
test_download (packaging.tests.test_pypi_dist.TestDistInfo) ... ok
test_get_url (packaging.tests.test_pypi_dist.TestDistInfo) ... ok
test_hashname (packaging.tests.test_pypi_dist.TestDistInfo) ... ok
test_unpack (packaging.tests.test_pypi_dist.TestDistInfo) ... ok
test_add_dist (packaging.tests.test_pypi_dist.TestReleaseInfo) ... ok
test_get_infos_from_url (packaging.tests.test_pypi_dist.TestReleaseInfo) ... ok
test_get_unknown_distribution (packaging.tests.test_pypi_dist.TestReleaseInfo) ... ok
test_instantiation (packaging.tests.test_pypi_dist.TestReleaseInfo) ... ok
test_split_archive_name (packaging.tests.test_pypi_dist.TestReleaseInfo) ... ok
test_append (packaging.tests.test_pypi_dist.TestReleasesList) ... ok
test_filter (packaging.tests.test_pypi_dist.TestReleasesList) ... ok
test_get_last (packaging.tests.test_pypi_dist.TestReleasesList) ... ok
test_prefer_final (packaging.tests.test_pypi_dist.TestReleasesList) ... ok
test_prefer_source (packaging.tests.test_pypi_dist.TestReleasesList) ... skipped 'method not implemented yet'
test_records_requests (packaging.tests.test_pypi_server.PyPIServerTest) ... ok
test_serve_static_content (packaging.tests.test_pypi_server.PyPIServerTest) ... ok
test_bad_urls (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_browse_local_files (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_default_link_matcher (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_follow_externals (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_found_links (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_get_link_matcher (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_is_browsable (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_links_priority (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_not_scan_all_links (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_restrict_hosts (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_search_projects (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_simple_link_matcher (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... ok
test_uses_mirrors (packaging.tests.test_pypi_simple.SimpleCrawlerTestCase) ... /Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/packaging/pypi/simple.py:88: ResourceWarning: unclosed <socket.socket object, fd=13, family=2, type=1, proto=6>
  return wrapped(self, *args, **kwargs)
ok
test_get_distributions (packaging.tests.test_pypi_xmlrpc.TestXMLRPCClient) ... ok
test_get_metadata (packaging.tests.test_pypi_xmlrpc.TestXMLRPCClient) ... ok
test_get_releases (packaging.tests.test_pypi_xmlrpc.TestXMLRPCClient) ... ok
test_search_projects (packaging.tests.test_pypi_xmlrpc.TestXMLRPCClient) ... ok
test_search_projects_bad_fields (packaging.tests.test_pypi_xmlrpc.TestXMLRPCClient) ... ok
test_install (packaging.tests.test_run.CoreTestCase) ... ok
test_remove_issue (packaging.tests.test_uninstall.UninstallTestCase) ... copying build/lib/meh/__init__.py -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpmz9640/tmp7m0cmx/lib/python3.3/site-packages/meh
copying build/lib/meh/meh_utils.py -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpmz9640/tmp7m0cmx/lib/python3.3/site-packages/meh
copying build/lib/meh/sub/__init__.py -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpmz9640/tmp7m0cmx/lib/python3.3/site-packages/meh/sub
copying build/lib/meh/sub/meh_utils.py -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpmz9640/tmp7m0cmx/lib/python3.3/site-packages/meh/sub
ok
test_uninstall (packaging.tests.test_uninstall.UninstallTestCase) ... copying build/lib/foo/__init__.py -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpz7hfs6/tmpr7yb4_/lib/python3.3/site-packages/foo
copying build/lib/foo/foo_utils.py -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpz7hfs6/tmpr7yb4_/lib/python3.3/site-packages/foo
copying build/lib/foo/sub/__init__.py -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpz7hfs6/tmpr7yb4_/lib/python3.3/site-packages/foo/sub
copying build/lib/foo/sub/foo_utils.py -> /var/folders/3M/3MMiDEqmEiGyT5q5zPW31++++TM/-Tmp-/tmpz7hfs6/tmpr7yb4_/lib/python3.3/site-packages/foo/sub
ok
test_uninstall_unknow_distribution (packaging.tests.test_uninstall.UninstallTestCase) ... ok
test_runtime_libdir_option (packaging.tests.test_unixccompiler.UnixCCompilerTestCase) ... ok
test_egginfo_to_distinfo_distutils (packaging.tests.test_util.EggInfoToDistInfoTestCase) ... ok
test_egginfo_to_distinfo_setuptools (packaging.tests.test_util.EggInfoToDistInfoTestCase) ... ok
test_glob_all (packaging.tests.test_util.GlobTestCase) ... ok
test_glob_set_head (packaging.tests.test_util.GlobTestCase) ... ok
test_glob_set_middle (packaging.tests.test_util.GlobTestCase) ... ok
test_glob_set_tail (packaging.tests.test_util.GlobTestCase) ... ok
test_invalid_glob_pattern (packaging.tests.test_util.GlobTestCase) ... ok
test_recursive_glob_head (packaging.tests.test_util.GlobTestCase) ... ok
test_recursive_glob_middle (packaging.tests.test_util.GlobTestCase) ... ok
test_recursive_glob_tail (packaging.tests.test_util.GlobTestCase) ... ok
test_regex_rich_glob (packaging.tests.test_util.GlobTestCase) ... ok
test_simple_glob (packaging.tests.test_util.GlobTestCase) ... ok
test_simple_glob_in_dir (packaging.tests.test_util.GlobTestCase) ... ok
test_egg_info_and_non_setuptools_setup_py_is_setuptools_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_egg_info_dir_and_setup_py_is_setuptools_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_empty_package_is_not_based_on_anything (packaging.tests.test_util.PackagingLibChecks) ... ok
test_get_install_method_with_distutils_pkg (packaging.tests.test_util.PackagingLibChecks) ... ok
test_get_install_method_with_packaging_pkg (packaging.tests.test_util.PackagingLibChecks) ... ok
test_get_install_method_with_setuptools_pkg (packaging.tests.test_util.PackagingLibChecks) ... ok
test_get_install_method_with_unknown_pkg (packaging.tests.test_util.PackagingLibChecks) ... ok
test_is_distutils_logs_pkg_info_file_found (packaging.tests.test_util.PackagingLibChecks) ... ok
test_is_distutils_logs_setup_py_text_found (packaging.tests.test_util.PackagingLibChecks) ... ok
test_is_distutils_logs_setup_py_text_not_found (packaging.tests.test_util.PackagingLibChecks) ... ok
test_is_packaging_logs_setup_cfg_found (packaging.tests.test_util.PackagingLibChecks) ... ok
test_is_packaging_logs_setup_cfg_not_found (packaging.tests.test_util.PackagingLibChecks) ... ok
test_is_setuptools_logs_egg_info_dir_found (packaging.tests.test_util.PackagingLibChecks) ... ok
test_is_setuptools_logs_setup_py_text_found (packaging.tests.test_util.PackagingLibChecks) ... ok
test_is_setuptools_logs_setup_py_text_not_found (packaging.tests.test_util.PackagingLibChecks) ... ok
test_pkg_info_and_non_distutils_setup_py_is_distutils_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_pkg_info_file_and_setup_py_is_distutils_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_setup_cfg_and_invalid_setup_cfg_is_not_packaging_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_setup_cfg_with_no_metadata_section_is_not_packaging_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_setup_cfg_with_valid_metadata_section_is_packaging_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_setup_py_importing_distutils_is_distutils_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_setup_py_importing_setuptools_is_setuptools_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_setup_py_not_importing_distutils_is_not_distutils_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_setup_py_not_importing_setuptools_is_not_setuptools_based (packaging.tests.test_util.PackagingLibChecks) ... ok
test_cfg_to_args (packaging.tests.test_util.UtilTestCase) ... ok
test_change_root (packaging.tests.test_util.UtilTestCase) ... ok
test_convert_path (packaging.tests.test_util.UtilTestCase) ... ok
test_dont_write_bytecode (packaging.tests.test_util.UtilTestCase) ... ok
test_encode_multipart (packaging.tests.test_util.UtilTestCase) ... ok
test_find_exe_version (packaging.tests.test_util.UtilTestCase) ... ok
test_find_packages (packaging.tests.test_util.UtilTestCase) ... ok
test_get_compiler_versions (packaging.tests.test_util.UtilTestCase) ... ok
test_import_nested_first_time (packaging.tests.test_util.UtilTestCase) ... ok
test_newer (packaging.tests.test_util.UtilTestCase) ... ok
test_resolve_name (packaging.tests.test_util.UtilTestCase) ... ok
test_rfc822_escape (packaging.tests.test_util.UtilTestCase) ... ok
test_run_2to3_on_code (packaging.tests.test_util.UtilTestCase) ... ok
test_run_2to3_on_doctests (packaging.tests.test_util.UtilTestCase) ... ok
test_server_empty_registration (packaging.tests.test_util.UtilTestCase) ... ok
test_server_registration (packaging.tests.test_util.UtilTestCase) ... ok
test_spawn (packaging.tests.test_util.UtilTestCase) ... ok
test_split_quoted (packaging.tests.test_util.UtilTestCase) ... ok
test_strtobool (packaging.tests.test_util.UtilTestCase) ... ok
test_basic_versions (packaging.tests.test_version.VersionTestCase) ... ok
test_comparison (packaging.tests.test_version.VersionTestCase) ... ok
test_from_parts (packaging.tests.test_version.VersionTestCase) ... ok
test_hash (packaging.tests.test_version.VersionTestCase) ... ok
test_huge_version (packaging.tests.test_version.VersionTestCase) ... ok
test_irrational_versions (packaging.tests.test_version.VersionTestCase) ... ok
test_is_final (packaging.tests.test_version.VersionTestCase) ... ok
test_predicate (packaging.tests.test_version.VersionTestCase) ... ok
test_predicate_name (packaging.tests.test_version.VersionTestCase) ... ok
test_repr (packaging.tests.test_version.VersionTestCase) ... ok
test_suggest_normalized_version (packaging.tests.test_version.VersionTestCase) ... ok
test_parse_numdots (packaging.tests.test_version.VersionWhiteBoxTestCase) ... ok

======================================================================
FAIL: test_get_distributions (packaging.tests.test_database.TestDatabase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/packaging/tests/test_database.py", line 320, in test_get_distributions
    self.assertEqual(sorted(found_dists), sorted(fake_dists))
AssertionError: Lists differ: [] != [('babar', '0.1'), ('choxie', ...

Second list contains 4 additional elements.
First extra element 0:
('babar', '0.1')

- []
+ [('babar', '0.1'),
+  ('choxie', '2.0.0.9'),
+  ('grammar', '1.0a4'),
+  ('towel-stuff', '0.1')]

======================================================================
FAIL: test_yield_distribution (packaging.tests.test_database.TestDatabase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/packaging/tests/test_database.py", line 503, in test_yield_distribution
    checkLists(eggs, found)
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/packaging/tests/test_database.py", line 490, in <lambda>
    checkLists = lambda x, y: self.assertEqual(sorted(x), sorted(y))
AssertionError: Lists differ: [('bacon', '0.1'), ('banana', ... != []

First list contains 7 additional elements.
First extra element 0:
('bacon', '0.1')

+ []
- [('bacon', '0.1'),
-  ('banana', '0.4'),
-  ('cheese', '2.0.2'),
-  ('coconuts-aster', '10.3'),
-  ('nut', 'funkyversion'),
-  ('strawberry', '0.6'),
-  ('truffles', '5.0')]

----------------------------------------------------------------------
Ran 332 tests in 39.249s

FAILED (failures=2, skipped=8)
Warning -- os.environ was modified by test_packaging
Warning -- threading._dangling was modified by test_packaging
test test_packaging failed
msg142364 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-08-18 16:43
Is it possible to run the test suite with -vv on the buildbot to see the changes made to os.environ?  On a related note, is it possible to get SSH access to a similar machine?  If not, I will add debugging info in a commit and watch the buildbot; it will be more tedious and also make noise for python-checkins, but well.
msg142376 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-08-18 17:22
Bill is the owner of that buildbot.
msg142386 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-08-18 17:58
I can reproduce this.  With -vv, the only difference in os.environ is HOME:
  Before: 'HOME': '/Users/nad'
  After:  'HOME': '/tmp/tmpqryo48/tmpt_mcrw'

Also, Warning -- threading._dangling was modified by test_packaging
  Before: <_weakrefset.WeakSet object at 0x1019f0610>
  After:  <_weakrefset.WeakSet object at 0x1019f05a0>
msg142388 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-08-18 18:07
Thanks.  I’m not sure if it’s possible to use for example -vvG to stop regrtest right after the test that fails to restore HOME; when I fixed similar environ changes, I had to edit regrtest to make it fail early.

The culprit may be packaging.tests.test_database.TestDatabase.
msg142399 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-08-18 19:45
The culrpit is test_custom_pydistutils (packaging.tests.test_dist.MetadataTestCase)

Lib/packaging/tests/test_dist.py:379 & 386
msg142466 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-08-19 15:48
New changeset 40f4a3d6a532 by Éric Araujo in branch 'default':
Restore $HOME after test has run (should fix #12765)
http://hg.python.org/cpython/rev/40f4a3d6a532
msg142467 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-08-19 15:49
Thank you sir!  How did you find it?
msg142474 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-08-19 16:21
I found it by patching the appropriate unittest test runner to check before and after each test case.  It would be nice if there were a standard option to do that.
msg143254 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-08-31 14:33
Still failing.
msg143260 - (view) Author: Bill Janssen (janssen) * (Python committer) Date: 2011-08-31 15:16
I'm on vacation right now and can't get to it...

Bill

On Thu, Aug 18, 2011 at 12:22 PM, Antoine Pitrou <report@bugs.python.org> wrote:
>
> Antoine Pitrou <pitrou@free.fr> added the comment:
>
> Bill is the owner of that buildbot.
>
> ----------
> nosy: +janssen
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue12765>
> _______________________________________
>
msg144108 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-09-15 22:10
New changeset d3e072083ff3 by Ned Deily in branch 'default':
Issue #12765: Fix packaging.test.test_database failures on OS X due
http://hg.python.org/cpython/rev/d3e072083ff3
msg144109 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-09-15 22:16
The database test failures were due to the fact that, on OS X, the tempdir was created in /var which on OS X is actually a symlink to /private/var so the tests for path inclusion which used startswith were failing.  I added a call to os.path.realpath to normalize fake_dists_path to the actual full path. (/etc and /tmp on OS X are also symlinked to /private, BTW).
msg144192 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-09-17 15:20
test_packaging now passes on the buildbot, thanks!  (The current failure is test_socket.)
History
Date User Action Args
2022-04-11 14:57:20adminsetnosy: + georg.brandl
github: 56974
2011-09-17 15:20:19eric.araujosetstatus: open -> closed
resolution: fixed
messages: + msg144192

stage: needs patch -> resolved
2011-09-15 22:16:42ned.deilysetmessages: + msg144109
2011-09-15 22:10:31python-devsetmessages: + msg144108
2011-08-31 15:16:46janssensetmessages: + msg143260
2011-08-31 14:33:08eric.araujosetstatus: pending -> open
resolution: fixed -> (no value)
messages: + msg143254

stage: commit review -> needs patch
2011-08-20 05:36:36ned.deilysetstatus: open -> pending
2011-08-19 16:21:59ned.deilysetstatus: pending -> open

messages: + msg142474
2011-08-19 15:49:29eric.araujosetstatus: open -> pending
resolution: fixed
messages: + msg142467

stage: needs patch -> commit review
2011-08-19 15:48:38python-devsetnosy: + python-dev
messages: + msg142466
2011-08-18 19:45:42ned.deilysetmessages: + msg142399
2011-08-18 18:07:45eric.araujosetmessages: + msg142388
2011-08-18 17:58:26ned.deilysetnosy: + ned.deily
messages: + msg142386
2011-08-18 17:22:40pitrousetnosy: + janssen
messages: + msg142376
2011-08-18 16:43:27eric.araujosetnosy: + alexis
messages: + msg142364
components: + macOS, Distutils2, - Library (Lib), Tests
2011-08-16 20:35:11vstinnersetnosy: + vstinner
messages: + msg142221
2011-08-16 20:33:35pitroucreate