Skip to content

bug: GitHub Workflows: macOS test always failed when os = "self-hosted" #864

@bact

Description

@bact

Description

macOS test config matrix.os = "self-hosted" always failed.

.github/workflows/macos-test.yml

Expected results

If nothing is wrong with the code itself, the test should pass.

Can compare this with the results from Windows, Linux, and macOS os = "macos-latest" test configs.

Current results

From one of the test, this is the result:

14: 51074 Killed: 9               python -m unittest discover
/Users/pythainlp/miniconda3/envs/pythainlp38/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 2 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
Error: Process completed with exit code 137.

See in full: https://github.com/PyThaiNLP/pythainlp/actions/runs/6847071857/job/18614686269?pr=862

Steps to reproduce

Commit any code that will trigger the unittest on GitHub workflow

PyThaiNLP version

dev latest

Python version

3.8

Operating system and version

macOS

More info

No response

Possible solution

No response

Files

.github/workflows/macos-test.yml

Metadata

Metadata

Assignees

Labels

bugbugs in the libraryhelp wantedno contributor yet

Type

No type

Projects

Status

To do

Relationships

None yet

Development

No branches or pull requests

Issue actions