Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild for python310 #29

Conversation

regro-cf-autotick-bot
Copy link
Contributor

This PR has been triggered in an effort to update python310.

Notes and instructions for merging this PR:

  1. Please merge the PR only after the tests have passed.
  2. Feel free to push to the bot's branch to update this PR if needed.

Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.

This package has the following downstream children:

And potentially more.

If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase @conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

This PR was created by the regro-cf-autotick-bot.
The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. If you would like a local version of this bot, you might consider using rever. Rever is a tool for automating software releases and forms the backbone of the bot's conda-forge PRing capability. Rever is both conda (conda install -c conda-forge rever) and pip (pip install re-ver) installable.
Finally, feel free to drop us a line if there are any issues!
This PR was generated by https://github.com/regro/autotick-bot/actions/runs/1420151198, please use this URL for debugging

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@beckermr
Copy link
Member

beckermr commented Nov 4, 2021

@conda-forge-admin rerender

@beckermr beckermr added the automerge Merge the PR when CI passes label Nov 4, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2021

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2021

Hi! This is the friendly conda-forge automerge bot!

I considered the following status checks when analyzing this PR:

  • linter: passed
  • azure: passed

Thus the PR was passing and merged! Have a great day!

@ocefpaf
Copy link
Member

ocefpaf commented Nov 4, 2021

I've been seeing this failure on other feedstocks too, only for Python 3.10 and macOS.

/Users/runner/miniforge3/conda-bld/python-libarchive-c_1636046527334/test_tmp/run_test.sh: line 9:  9888 Abort trap: 6           pytest -vv --cov libarchive -k "not (test_fd or test_files or test_buffers or atime_ctime or custom_writer)"
Tests failed for python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2 - moving package to /Users/runner/miniforge3/conda-bld/broken
WARNING:conda_build.build:Tests failed for python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2 - moving package to /Users/runner/miniforge3/conda-bld/broken
WARNING conda_build.build:tests_failed(2955): Tests failed for python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2 - moving package to /Users/runner/miniforge3/conda-bld/broken
TESTS FAILED: python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2
#```

@bollwyvl
Copy link
Contributor

Ugh, this looks nasty...

https://www.shh.sh/2020/01/04/python-abort-trap-6.html

does someone have some fruity metal to run this on so they can see the GUI?

@dopplershift
Copy link
Member

I just ran the build locally and got no popup, just:

...
  File "/Users/rmay/miniconda3/conda-bld/python-libarchive-c_1637004090765/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/Users/rmay/miniconda3/conda-bld/python-libarchive-c_1637004090765/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.10/site-packages/_pytest/config/__init__.py", line 162 in main
  File "/Users/rmay/miniconda3/conda-bld/python-libarchive-c_1637004090765/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.10/site-packages/_pytest/config/__init__.py", line 185 in console_main
  File "/Users/rmay/miniconda3/conda-bld/python-libarchive-c_1637004090765/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/bin/pytest", line 11 in <module>
/Users/rmay/miniconda3/conda-bld/python-libarchive-c_1637004090765/test_tmp/run_test.sh: line 9: 26922 Abort trap: 6           pytest -vv --cov libarchive -k "not (test_fd or test_files or test_buffers or atime_ctime or custom_writer)"
Tests failed for python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2 - moving package to /Users/rmay/miniconda3/conda-bld/broken
WARNING:conda_build.build:Tests failed for python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2 - moving package to /Users/rmay/miniconda3/conda-bld/broken
WARNING conda_build.build:tests_failed(2970): Tests failed for python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2 - moving package to /Users/rmay/miniconda3/conda-bld/broken
TESTS FAILED: python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2

@dopplershift
Copy link
Member

Ok, looks like I get slightly further and can tell which test is failing:

tests/test_atime_mtime_ctime.py::test_memory_time_setters[zip-int] PASSED                                                        [  4%]
tests/test_atime_mtime_ctime.py::test_memory_time_setters[pax-float] PASSED                                                      [  8%]
tests/test_atime_mtime_ctime.py::test_file_time_setters[zip-int] PASSED                                                          [ 12%]
tests/test_atime_mtime_ctime.py::test_file_time_setters[pax-float] PASSED                                                        [ 16%]
tests/test_convert.py::test_convert PASSED                                                                                       [ 20%]
tests/test_entry.py::test_entry_properties PASSED                                                                                [ 25%]
tests/test_entry.py::test_check_ArchiveEntry_against_TarInfo PASSED                                                              [ 29%]
tests/test_entry.py::test_check_archiveentry_using_python_testtar PASSED                                                         [ 33%]
tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_tar PASSED                                          [ 37%]
tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_zip PASSED                                          [ 41%]
tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_zip2 PASSED                                         [ 45%]
tests/test_entry.py::test_check_archiveentry_with_unicode_entries_and_name_zip PASSED                                            [ 50%]
tests/test_errors.py::test_add_files_nonexistent PASSED                                                                          [ 54%]
tests/test_errors.py::test_check_int_logs_warnings PASSED                                                                        [ 58%]
tests/test_errors.py::test_check_null PASSED                                                                                     [ 62%]
tests/test_errors.py::test_error_string_decoding PASSED                                                                          [ 66%]
tests/test_rwx.py::test_write_fail PASSED                                                                                        [ 70%]
tests/test_rwx.py::test_write_not_fail PASSED                                                                                    [ 75%]
tests/test_rwx.py::test_adding_entry_from_memory[zip-content] Fatal Python error: Aborted

I'll note that the test_adding_entry_from_memory test is the problem here. If I skip it, everything else passes. Also, if I skip the zip-content, then it still fails:

tests/test_rwx.py::test_adding_entry_from_memory[gnutar-] Fatal Python error: Aborted

@dopplershift
Copy link
Member

Here's the crash report from macOS if it helps. Nothing is jumping out to me here.

@dopplershift
Copy link
Member

dopplershift commented Nov 15, 2021

Hmmm. Both here and in the linked rtree build, libffi is involved. And it looks like there were change to the libffi stuff for the 3.10 build on osx. @isuruf thoughts?

@isuruf
Copy link
Member

isuruf commented Nov 15, 2021

And it looks like there were change to the libffi stuff for the 3.10 build on osx.

The only change was for osx-arm64, but here it is failing for osx-64.

@ihnorton
Copy link

ihnorton commented Nov 17, 2021

FWIW, I ran build-locally.py from this branch on macOS 10.14, targeting osx_64_python3.10.____cpython, and all tests seem to pass. Was trying to figure out how to reproduce conda-forge/python-feedstock#522.

export PREFIX=/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place
export SRC_DIR=/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/test_tmp
import: 'libarchive'
import: 'libarchive'
+ python -c 'import libarchive; libarchive.extract_file('\''test/hello_world.xar'\'')'
+ python -c 'import os, shutil, libarchive; shutil.copytree(os.path.dirname(libarchive.__file__), '\''src/libarchive'\'')'
+ cd src
+ pytest -vv --cov libarchive -k 'not (test_fd or test_files or test_buffers or atime_ctime or custom_writer)'
============================= test session starts ==============================
platform darwin -- Python 3.10.0, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- $PREFIX/bin/python
cachedir: .pytest_cache
rootdir: $SRC_DIR/src
plugins: cov-3.0.0
collecting ... collected 33 items / 9 deselected / 24 selected

tests/test_atime_mtime_ctime.py::test_memory_time_setters[zip-int] PASSED [  4%]
tests/test_atime_mtime_ctime.py::test_memory_time_setters[pax-float] PASSED [  8%]
tests/test_atime_mtime_ctime.py::test_file_time_setters[zip-int] PASSED  [ 12%]
tests/test_atime_mtime_ctime.py::test_file_time_setters[pax-float] PASSED [ 16%]
tests/test_convert.py::test_convert PASSED                               [ 20%]
tests/test_entry.py::test_entry_properties PASSED                        [ 25%]
tests/test_entry.py::test_check_ArchiveEntry_against_TarInfo PASSED      [ 29%]
tests/test_entry.py::test_check_archiveentry_using_python_testtar PASSED [ 33%]
tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_tar PASSED [ 37%]
tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_zip PASSED [ 41%]
tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_zip2 PASSED [ 45%]
tests/test_entry.py::test_check_archiveentry_with_unicode_entries_and_name_zip PASSED [ 50%]
tests/test_errors.py::test_add_files_nonexistent PASSED                  [ 54%]
tests/test_errors.py::test_check_int_logs_warnings PASSED                [ 58%]
tests/test_errors.py::test_check_null PASSED                             [ 62%]
tests/test_errors.py::test_error_string_decoding PASSED                  [ 66%]
tests/test_rwx.py::test_write_fail PASSED                                [ 70%]
tests/test_rwx.py::test_write_not_fail PASSED                            [ 75%]
tests/test_rwx.py::test_adding_entry_from_memory[zip-content] PASSED     [ 79%]
tests/test_rwx.py::test_adding_entry_from_memory[gnutar-] PASSED         [ 83%]
tests/test_rwx.py::test_adding_entry_from_memory[pax-{"a": 1, "b": 2, "c": 3}] PASSED [ 87%]
tests/test_rwx.py::test_adding_entry_from_memory[7zip-lorem\x00ipsum] PASSED [ 91%]
tests/test_security_flags.py::test_no_dot_dot PASSED                     [ 95%]
tests/test_security_flags.py::test_absolute PASSED                       [100%]

---------- coverage: platform darwin, python 3.10.0-final-0 ----------
Name                      Stmts   Miss  Cover
---------------------------------------------
libarchive/__init__.py        6      0   100%
libarchive/entry.py         125      2    98%
libarchive/exception.py       9      2    78%
libarchive/extract.py        51      5    90%
libarchive/ffi.py           200     13    94%
libarchive/flags.py           7      7     0%
libarchive/read.py           84     37    56%
libarchive/write.py         144     24    83%
---------------------------------------------
TOTAL                       626     90    86%


======================= 24 passed, 9 deselected in 0.47s =======================
+ exit 0

Resource usage statistics from testing python-libarchive-c:
   Process count: 2
   CPU time: Sys=0:00:00.0, User=0:00:00.0
   Memory: 10.8M
   Disk usage: 1.8K
   Time elapsed: 0:00:02.1


TEST END: /private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/osx-64/python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2
Renaming work directory '/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work' to '/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work_moved_python-libarchive-c-3.1-py310h2ec42d9_1_osx-64_main_build_loop'
INFO:conda_build.utils:Renaming work directory '/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work' to '/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work_moved_python-libarchive-c-3.1-py310h2ec42d9_1_osx-64_main_build_loop'
INFO conda_build.utils:shutil_move_more_retrying(2091): Renaming work directory '/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work' to '/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work_moved_python-libarchive-c-3.1-py310h2ec42d9_1_osx-64_main_build_loop'
shutil.move(work)=/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work, dest=/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work_moved_python-libarchive-c-3.1-py310h2ec42d9_1_osx-64_main_build_loop)
INFO:conda_build.utils:shutil.move(work)=/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work, dest=/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work_moved_python-libarchive-c-3.1-py310h2ec42d9_1_osx-64_main_build_loop)
INFO conda_build.utils:shutil_move_more_retrying(2098): shutil.move(work)=/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work, dest=/private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/python-libarchive-c_1637163782640/work_moved_python-libarchive-c-3.1-py310h2ec42d9_1_osx-64_main_build_loop)
# Automatic uploading is disabled
# If you want to upload package(s) to anaconda.org later, type:


# To have conda build upload to anaconda.org automatically, use
# conda config --set anaconda_upload yes
anaconda upload \
    /private/tmp/python-libarchive-c-feedstock/miniforge3/conda-bld/osx-64/python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2
anaconda_upload is not set.  Not uploading wheels: []

INFO :: The inputs making up the hashes for the built packages are as follows:
{
  "python-libarchive-c-3.1-py310h2ec42d9_1": {
    "recipe": {
      "channel_targets": "conda-forge main",
      "python": "3.10.* *_cpython",
      "target_platform": "osx-64"
    }
  }
}


####################################################################################
Resource usage summary:

Total time: 0:01:45.2
CPU usage: sys=0:00:00.0, user=0:00:00.1
Maximum memory usage observed: 10.8M
Total disk usage observed (not including envs): 3.7K
Validating outputs
+ validate_recipe_outputs ''
validation results:
{
  "osx-64/python-libarchive-c-3.1-py310h2ec42d9_1.tar.bz2": false
}
NOTE: Any outputs marked as False are not allowed for this feedstock.
Uploading packages
+ [[ False != \F\a\l\s\e ]]

@erykoff
Copy link

erykoff commented Nov 20, 2021

@conda-forge-admin restart ci

@github-actions github-actions bot merged commit 96309dc into conda-forge:master Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge the PR when CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants