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

Fails with Exit Code 2 #33

Open
ric-evans opened this issue Jun 8, 2023 · 0 comments
Open

Fails with Exit Code 2 #33

ric-evans opened this issue Jun 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ric-evans
Copy link
Member

Occasionally, the action fails with exit code 2. Restarting the action solves the issue, but that's a manual process. A restart loop may solve this. Perhaps there's an issue with the multi-processing.

From https://github.com/Observation-Management-Service/ewms-pilot/actions/runs/5214579132/jobs/9411022974

Run WIPACrepo/[email protected]
Run actions/setup-python@v4
Installed versions
Run git config user.name github-actions
Run pip3 install -r /home/runner/work/_actions/WIPACrepo/wipac-dev-py-setup-action/v1.15/requirements.txt
Collecting requests (from -r /home/runner/work/_actions/WIPACrepo/wipac-dev-py-setup-action/v1.15/requirements.txt (line 1))
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 1.7 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2 (from requests->-r /home/runner/work/_actions/WIPACrepo/wipac-dev-py-setup-action/v1.15/requirements.txt (line 1))
  Downloading charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.3/199.3 kB 10.6 MB/s eta 0:00:00
Collecting idna<4,>=2.5 (from requests->-r /home/runner/work/_actions/WIPACrepo/wipac-dev-py-setup-action/v1.15/requirements.txt (line 1))
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 21.2 MB/s eta 0:00:00
Collecting urllib3<3,>=1.21.1 (from requests->-r /home/runner/work/_actions/WIPACrepo/wipac-dev-py-setup-action/v1.15/requirements.txt (line 1))
  Downloading urllib3-2.0.3-py3-none-any.whl (123 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.6/123.6 kB 9.0 MB/s eta 0:00:00
Collecting certifi>=2017.4.17 (from requests->-r /home/runner/work/_actions/WIPACrepo/wipac-dev-py-setup-action/v1.15/requirements.txt (line 1))
  Downloading certifi-2023.5.7-py3-none-any.whl (156 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 44.9 MB/s eta 0:00:00
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Successfully installed certifi-2023.5.7 charset-normalizer-3.1.0 idna-3.4 requests-2.31.0 urllib3-2.0.3

Notice:  A new release of pip is available: 23.0.1 -> 23.1.2
Notice:  To update, run: pip install --upgrade pip
Collecting wipac-dev-tools
  Downloading wipac_dev_tools-1.6.16-py3-none-any.whl (18 kB)
Requirement already satisfied: requests in /opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages (from wipac-dev-tools) (2.31.0)
Collecting typing-extensions (from wipac-dev-tools)
  Downloading typing_extensions-4.6.3-py3-none-any.whl (31 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages (from requests->wipac-dev-tools) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in /opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages (from requests->wipac-dev-tools) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages (from requests->wipac-dev-tools) (2.0.3)
Requirement already satisfied: certifi>=2017.4.17 in /opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages (from requests->wipac-dev-tools) (2023.5.7)
Installing collected packages: typing-extensions, wipac-dev-tools
Successfully installed typing-extensions-4.6.3 wipac-dev-tools-1.6.16

Notice:  A new release of pip is available: 23.0.1 -> 23.1.2
Notice:  To update, run: pip install --upgrade pip
Observation-Management-Service/ewms-pilot
setup.cfg (+ README.md)
/home/runner/work/_temp/c01e9cd9-08d3-43e6-a7bc-6c4082aa86c7.sh: line 11: 1: command not found
/home/runner/work/_temp/c01e9cd9-08d3-43e6-a7bc-6c4082aa86c7.sh: line 11: 1: No such file or directory
setup_cfg_file: setup.cfg
github_full_repo: Observation-Management-Service/ewms-pilot
base_keywords: ['WIPAC', 'IceCube', 'Observation Management Service', 'Event Workflow Managment Service']
directory_exclude: ['test', 'tests', 'doc', 'docs', 'resource', 'resources', 'example', 'examples']
license: MIT
token: ***
commit_message: Use  if  (#40)

Co-authored-by: github-actions <[email protected]>
[wipac:cicd_setup_builder]
pypi_name = ewms-pilot
python_min = 3.8
author = WIPAC Developers
author_email = [email protected]
keywords_spaced = EWMS pilot message passing MQ task interface API

[metadata]  # generated by wipac:cicd_setup_builder: name, version, url, author, author_email, description, long_description, long_description_content_type, keywords, license, classifiers, download_url, project_urls
name = ewms-pilot
version = attr: ewms_pilot.__version__
url = https://github.com/Observation-Management-Service/ewms-pilot
author = WIPAC Developers
author_email = [email protected]
description = EWMS Pilot: MQ-Task Interface API
long_description = file: README.md
long_description_content_type = text/markdown
keywords =
	EWMS
	pilot
	message
	passing
	MQ
	task
	interface
	API
	WIPAC
	IceCube
	Observation Management Service
	Event Workflow Managment Service
license = MIT
classifiers =
	Development Status :: 4 - Beta
	License :: OSI Approved :: MIT License
	Programming Language :: Python :: 3.8
	Programming Language :: Python :: 3.9
	Programming Language :: Python :: 3.10
	Programming Language :: Python :: 3.11
download_url = https://pypi.org/project/ewms-pilot/
project_urls =
	Tracker = https://github.com/Observation-Management-Service/ewms-pilot/issues
	Source = https://github.com/Observation-Management-Service/ewms-pilot

[semantic_release]  # fully-generated by wipac:cicd_setup_builder
version_variable = ewms_pilot/__init__.py:__version__
upload_to_pypi = True
patch_without_tag = True
commit_parser = semantic_release.history.emoji_parser
major_emoji = [major]
minor_emoji = [minor]
patch_emoji = [fix], [patch]
branch = main

[options]  # generated by wipac:cicd_setup_builder: python_requires, packages
install_requires =
	htchirp
	oms-mqclient
python_requires = >=3.8, <3.12
packages = find:

[options.extras_require]
pulsar =
	oms-mqclient[pulsar]
rabbitmq =
	oms-mqclient[rabbitmq]
nats =
	oms-mqclient[nats]
all =
	oms-mqclient[all]
test =
	asyncstdlib
	pytest
	pytest-asyncio
	pytest-xdist

[options.package_data]  # generated by wipac:cicd_setup_builder: '*'
* = py.typed

[options.packages.find]  # generated by wipac:cicd_setup_builder: include/exclude
exclude =
	test
	tests
	doc
	docs
	resource
	resources
	example
	examples

[tool:pytest]
asyncio_mode = auto

On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
Run python -c '
ewms_pilot/__init__.py:__version__
ewms_pilot/
ewms_pilot/py.typed
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
Run pip3 install pip-tools
Collecting pip-tools
  Downloading pip_tools-6.[13](https://github.com/Observation-Management-Service/ewms-pilot/actions/runs/5214579132/jobs/9411022974#step:3:14).0-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.2/53.2 kB 2.1 MB/s eta 0:00:00
Collecting build (from pip-tools)
  Downloading build-0.10.0-py3-none-any.whl (17 kB)
Collecting click>=8 (from pip-tools)
  Downloading click-8.1.3-py3-none-any.whl ([96](https://github.com/Observation-Management-Service/ewms-pilot/actions/runs/5214579132/jobs/9411022974#step:3:101) kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 10.1 MB/s eta 0:00:00
Requirement already satisfied: pip>=22.2 in /opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages (from pip-tools) (23.0.1)
Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages (from pip-tools) (65.5.0)
Collecting wheel (from pip-tools)
  Downloading wheel-0.40.0-py3-none-any.whl (64 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.5/64.5 kB 22.6 MB/s eta 0:00:00
Collecting packaging>=19.0 (from build->pip-tools)
  Downloading packaging-23.1-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 16.0 MB/s eta 0:00:00
Collecting pyproject_hooks (from build->pip-tools)
  Downloading pyproject_hooks-1.0.0-py3-none-any.whl (9.3 kB)
Collecting tomli>=1.1.0 (from build->pip-tools)
  Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Installing collected packages: wheel, tomli, packaging, click, pyproject_hooks, build, pip-tools
Successfully installed build-0.10.0 click-8.1.3 packaging-23.1 pip-tools-6.13.0 pyproject_hooks-1.0.0 tomli-2.0.1 wheel-0.40.0

Notice:  A new release of pip is available: 23.0.1 -> 23.1.2
Notice:  To update, run: pip install --upgrade pip
requirements.txt
requirements-pulsar.txt
requirements-rabbitmq.txt
requirements-nats.txt
requirements-all.txt
requirements-test.txt
WARNING: the legacy dependency resolver is deprecated and will be removed in future versions of pip-tools. The default resolver will be changed to 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to silence this warning.
WARNING: the legacy dependency resolver is deprecated and will be removed in future versions of pip-tools. The default resolver will be changed to 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to silence this warning.
WARNING: the legacy dependency resolver is deprecated and will be removed in future versions of pip-tools. The default resolver will be changed to 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to silence this warning.
WARNING: the legacy dependency resolver is deprecated and will be removed in future versions of pip-tools. The default resolver will be changed to 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to silence this warning.
WARNING: the legacy dependency resolver is deprecated and will be removed in future versions of pip-tools. The default resolver will be changed to 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to silence this warning.
WARNING: the legacy dependency resolver is deprecated and will be removed in future versions of pip-tools. The default resolver will be changed to 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to silence this warning.
The dependency cache seems to have been corrupted.
Inspect, or delete, the following file:
  /home/runner/.cache/pip-tools/depcache-cp3.10.json
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --output-file=requirements.txt
#
certifi==[202](https://github.com/Observation-Management-Service/ewms-pilot/actions/runs/5214579132/jobs/9411022974#step:3:207)3.5.7
    # via requests
charset-normalizer==3.1.0
    # via requests
htchirp==2.0
    # via ewms-pilot (setup.py)
idna==3.4
    # via requests
oms-mqclient==2.1.0
    # via ewms-pilot (setup.py)
requests==2.31.0
    # via wipac-dev-tools
typing-extensions==4.6.3
    # via wipac-dev-tools
urllib3==2.0.3
    # via requests
wipac-dev-tools==1.6.16
    # via oms-mqclient
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --extra=rabbitmq --output-file=requirements-rabbitmq.txt
#
certifi==2023.5.7
    # via requests
charset-normalizer==3.1.0
    # via requests
htchirp==2.0
    # via ewms-pilot (setup.py)
idna==3.4
    # via requests
oms-mqclient[rabbitmq]==2.1.0
    # via ewms-pilot (setup.py)
pika==1.3.2
    # via oms-mqclient
requests==2.31.0
    # via wipac-dev-tools
typing-extensions==4.6.3
    # via wipac-dev-tools
urllib3==2.0.3
    # via requests
wipac-dev-tools==1.6.16
    # via oms-mqclient
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --extra=pulsar --output-file=requirements-pulsar.txt
#
certifi==2023.5.7
    # via
    #   pulsar-client
    #   requests
charset-normalizer==3.1.0
    # via requests
htchirp==2.0
    # via ewms-pilot (setup.py)
idna==3.4
    # via requests
oms-mqclient[pulsar]==2.1.0
    # via ewms-pilot (setup.py)
pulsar-client==3.2.0
    # via oms-mqclient
requests==2.31.0
    # via wipac-dev-tools
typing-extensions==4.6.3
    # via wipac-dev-tools
urllib3==2.0.3
    # via requests
wipac-dev-tools==1.6.16
    # via oms-mqclient
Error: Process completed with exit code 2.
@ric-evans ric-evans added the bug Something isn't working label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant