You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
COLLECTIONS_PATHS(/Users/james/Development/ansible-content-builder-demo/ansible.cfg) = ['/Users/james/Development/ansible-content-builder-demo/col>
CONFIG_FILE() = /Users/james/Development/ansible-content-builder-demo/ansible.cfg
PAGER(env: PAGER) = less
OS / ENVIRONMENT
macOS 14.4.1 (on M1 CPU)
Python 3.12.2 installed via Homebrew
Ansible installed via pip in a virtual environment
STEPS TO REPRODUCE
$ cat hosts[builder]localhost[builder:vars]ansible_python_interpreter=./.venv/bin/python3ansible_connection=local$ cat build.yaml ─╯
---
- hosts: localhostgather_facts: yesvars:
ansible_python_interpreter: ./.venv/bin/python3pre_tasks:
- debug:
var: ansible_python_interpreterroles:
- ansible.content_builder.run$ cat MANIFEST.yaml ─╯
---
collection:
path: ./collections/ansible_collections/amazon/cloudnamespace: amazonname: cloudplugins:
- type: module_openapiname: "amazon_cloud"content: cloudapi_object_path: api_specifications# plugin:resource: API resource. When plugin:content is set to cloud this parameter is set to the path of modules.yaml from module_openapi_cloudresource: ./collections/ansible_collections/ansible/content_builder/roles/module_openapi_cloud/files/action: generate_allunique_key: ""rm_swagger_json: ""module_version: "1.0.0"author: "Ansible Cloud Team"
EXPECTED RESULTS
Content Builder should run successfully
ACTUAL RESULTS
TASK [Generate cloud content] *********************************************************************************************************************
task path: /Users/james/Development/ansible-content-builder-demo/collections/ansible_collections/ansible/content_builder/roles/module_openapi/tasks/main.yaml:7
TASK [ansible.content_builder.module_openapi_cloud : Generate schema for "cloud"] *****************************************************************
task path: /Users/james/Development/ansible-content-builder-demo/collections/ansible_collections/ansible/content_builder/roles/module_openapi_cloud/tasks/main.yaml:2
Collecting Schema
AWS::Backup::BackupVault
objc[78638]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[78638]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
ERROR! A worker was found in a dead state
The text was updated successfully, but these errors were encountered:
Just a quick update - I've repeated the same tests, using the same virtual environment build on Ubuntu 22.04 with Python 3.10 and the fork error seen does not occur. I haven't had time yet to test with a newer Python version, but just wanted to feed this back in case it's useful.
SUMMARY
When attempting to run Ansible Content Builder to build against AWS using the example code, Python crashes
ISSUE TYPE
COMPONENT NAME
ansible.content_builder.module_openapi_cloud
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
macOS 14.4.1 (on M1 CPU)
Python 3.12.2 installed via Homebrew
Ansible installed via pip in a virtual environment
STEPS TO REPRODUCE
EXPECTED RESULTS
Content Builder should run successfully
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: