Duplicated and extra matrix jobs generated when using macOS runner
See original GitHub issueAssociated GitHub Community ticket: https://github.community/t/specific-workflow-runs-keeps-failing-with-an-internal-error-on-macos/135997
The customer set a matrix in his workflow like as below:
ci_macos:
name: macOS + vcpkg
runs-on: macos-10.15
strategy:
matrix:
qbt_gui: ["GUI=ON", "GUI=OFF"]
fail-fast: false
According to the matrix configurations, it should only generate 2 matrix jobs:
macOS + vcpkg (GUI=ON)
runs onmacos-10.15
macOS + vcpkg (GUI=OFF)
runs onmacos-10.15
But when executing the workflow, it will generate some duplicated and extra matrix jobs, and all the extra matrix jobs will go failed. This causes the workflow run to be failed.
In the same workflow, the customer also set the similar matrix configurations to run jobs on the Ubuntu runners, the matrix can work fine, and no any extra matrix jobs generated.
ci_ubuntu:
name: Ubuntu
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-18.04]
qbt_gui: ["GUI=ON", "GUI=OFF"]
fail-fast: false
See the following two examples: https://github.com/qbittorrent/qBittorrent/actions/runs/277763652/workflow https://github.com/qbittorrent/qBittorrent/actions/runs/277637794/workflow
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top GitHub Comments
@ruvceskistefan Thanks, but this issue is no longer relevant. It was probably some spurious problem at the time, or some kind of bug that has since been fixed.
I’ll be taking a look at this item today or tomorrow. I don’t have perms to transfer/assign this issue to myself, but I’ll keep an eye on it.