Skip to content

Conversation

@yungyuc
Copy link
Member

@yungyuc yungyuc commented Nov 19, 2025

make pyprof takes forever and make build_macos-15_Release fails after running for 6 hours:

Run make pyprof
  make pyprof
  shell: /bin/bash -e {0}
  env:
    QT_DEBUG_PLUGINS: 1
    PIP_BREAK_SYSTEM_PACKAGES: 1
    AQT_CONFIG: thirdparty/aqt_settings.ini
    PKG_CONFIG_PATH: /Users/runner/work/modmesh/Qt/6.8.1/macos/lib/pkgconfig
    QT_ROOT_DIR: /Users/runner/work/modmesh/Qt/6.8.1/macos
    QT_PLUGIN_PATH: /Users/runner/work/modmesh/Qt/6.8.1/macos/plugins
    QML2_IMPORT_PATH: /Users/runner/work/modmesh/Qt/6.8.1/macos/qml
cmake --build build/dev314 --target _modmesh_py VERBOSE= -j
[ 96%] Built target modmesh_primary
[100%] Built target _modmesh
[100%] Built target _modmesh_py
/opt/homebrew/bin/python3 profiling/profile_arithmetic_simd.py > profiling/results/profile_arithmetic_simd.output
/Users/runner/work/modmesh/modmesh/profiling/profile_arithmetic_simd.py:111: RuntimeWarning: divide by zero encountered in divide
  return np.divide(src1, src2)
/opt/homebrew/bin/python3 profiling/profile_arithmetic.py > profiling/results/profile_arithmetic.output
/opt/homebrew/bin/python3 profiling/profile_median.py > profiling/results/profile_median.output
/opt/homebrew/bin/python3 profiling/profile_statistic_ops.py > profiling/results/profile_statistic_ops.output
Matplotlib is building the font cache; this may take a moment.
/opt/homebrew/bin/python3 profiling/profile_take_along_axis.py > profiling/results/profile_take_along_axis.output
Error: The operation was canceled.

A CI run history can be found at: https://github.com/solvcon/modmesh/actions/runs/19475614444/job/55734494567

@yungyuc yungyuc self-assigned this Nov 19, 2025
@yungyuc yungyuc added test testing and continuous integration build Build system and automation labels Nov 19, 2025
@KHLee529
Copy link
Collaborator

From the error message it seems like that profile_take_along_axis.py is the script that cause infinite run. Could you please try to first remove this script by renaming it to any name without prefix profile_?

Copy link
Collaborator

@KHLee529 KHLee529 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This temporary solution is fine. Let's find out the root cause in the following issue.

@yungyuc
Copy link
Member Author

yungyuc commented Nov 19, 2025

From the error message it seems like that profile_take_along_axis.py is the script that cause infinite run. Could you please try to first remove this script by renaming it to any name without prefix profile_?

Issue #635 is filed to track the fix of the root cause.

This temporary solution is fine. Let's find out the root cause in the following issue.

Thanks. The failure has been there for days, after migrating macos runner from v13 to v15 in PR #627. It is hindering development so we have to disable this part temporarily.

The follow-up issue #635 should be fixed as soon as possible.

@yungyuc yungyuc merged commit 86999cf into solvcon:master Nov 19, 2025
11 checks passed
@yungyuc yungyuc deleted the build/temporarily-off-macos15-pyprof branch November 19, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build system and automation test testing and continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants