ci: [NGOv2.X] Fixing WebGL timeout and reenabling macOS job #3507
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR focuses on investigating often timeouts of WebGL job happening on Ubuntu platform (note that there are no timeouts on Windows) and also on re-enabling macOS job that was disabled due to error "Light baking could not be started because no valid OpenCL device could be found" and is tracked in MTT-11726
When it comes to the error on macOS, the build was failing due to a light baking error in different scenes with message "no valid OpenCL device could be found." This common issue on Apple Silicon VMs, where OpenCL support is often missing for the GPU lightmapper, can be resolved by disabling "Baked Global Illumination" for the scene. Since those scenes in testproject do not really need baked lighting and I didn't spot any difference with this option disabled I went forward with disabling it for testproject scenes and this resolves macOS issue.
For the Ubuntu timeout problem I restored image version to v4 instead of pointing to specific version since the issue that caused us to do so was resolved. I also increased flavor to xlarge (from large) because it seems that with more resources the process is not hanging anymore (will run test 5 times to confirm)
Backport
#3511