Skip to content

Update OCC build

Update OCC build #831

Triggered via pull request November 13, 2023 11:45
Status Failure
Total duration 23m 27s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 4 warnings, and 1 notice
tests/notebook.spec.ts:67:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct: ui-tests/tests/notebook.spec.ts#L45
1) tests/notebook.spec.ts:67:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct Error: Screenshot comparison failed: 351068 pixels (ratio 0.90 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts-snapshots/light-Notebook-ipynb-cell-0-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Light-theme-Cell-outputs-should-be-correct/light-Notebook-ipynb-cell-0-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Light-theme-Cell-outputs-should-be-correct/light-Notebook-ipynb-cell-0-diff.png 43 | 44 | for (let c = 0; c < numCellImages; ++c) { > 45 | expect(results[c]).toMatchSnapshot( | ^ 46 | getCaptureImageName(contextPrefix, notebook, c) 47 | ); 48 | } at testCellOutputs (/home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:45:26) at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:71:5
tests/notebook.spec.ts:74:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct: ui-tests/tests/notebook.spec.ts#L45
2) tests/notebook.spec.ts:74:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct Error: Screenshot comparison failed: 4236 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts-snapshots/dark-Notebook-ipynb-cell-0-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Dark-theme-Cell-outputs-should-be-correct/dark-Notebook-ipynb-cell-0-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Dark-theme-Cell-outputs-should-be-correct/dark-Notebook-ipynb-cell-0-diff.png 43 | 44 | for (let c = 0; c < numCellImages; ++c) { > 45 | expect(results[c]).toMatchSnapshot( | ^ 46 | getCaptureImageName(contextPrefix, notebook, c) 47 | ); 48 | } at testCellOutputs (/home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:45:26) at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:78:5
tests/ui.spec.ts:65:11 › UI Test › File rendering test › Should be able to render example1.FCStd without error: ui-tests/tests/ui.spec.ts#L86
3) tests/ui.spec.ts:65:11 › UI Test › File rendering test › Should be able to render example1.FCStd without error Error: Screenshot comparison failed: 57371 pixels (ratio 0.04 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts-snapshots/Render-example1-FCStd-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-rendering-test-Should-be-able-to-render-example1-FCStd-without-error/Render-example1-FCStd-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-rendering-test-Should-be-able-to-render-example1-FCStd-without-error/Render-example1-FCStd-diff.png 84 | expect(errors).toBe(0); 85 | if (main) { > 86 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 87 | name: `Render-${file}.png`, 88 | maxDiffPixelRatio: 0.01 89 | }); at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts:86:43
tests/ui.spec.ts:65:11 › UI Test › File rendering test › Should be able to render cut.FCStd without error: ui-tests/tests/ui.spec.ts#L86
4) tests/ui.spec.ts:65:11 › UI Test › File rendering test › Should be able to render cut.FCStd without error Error: Screenshot comparison failed: 50392 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts-snapshots/Render-cut-FCStd-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-rendering-test-Should-be-able-to-render-cut-FCStd-without-error/Render-cut-FCStd-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-rendering-test-Should-be-able-to-render-cut-FCStd-without-error/Render-cut-FCStd-diff.png 84 | expect(errors).toBe(0); 85 | if (main) { > 86 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 87 | name: `Render-${file}.png`, 88 | maxDiffPixelRatio: 0.01 89 | }); at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts:86:43
tests/ui.spec.ts:65:11 › UI Test › File rendering test › Should be able to render test.jcad without error: ui-tests/tests/ui.spec.ts#L86
5) tests/ui.spec.ts:65:11 › UI Test › File rendering test › Should be able to render test.jcad without error Error: Screenshot comparison failed: 19327 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts-snapshots/Render-test-jcad-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-rendering-test-Should-be-able-to-render-test-jcad-without-error/Render-test-jcad-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-rendering-test-Should-be-able-to-render-test-jcad-without-error/Render-test-jcad-diff.png 84 | expect(errors).toBe(0); 85 | if (main) { > 86 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 87 | name: `Render-${file}.png`, 88 | maxDiffPixelRatio: 0.01 89 | }); at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts:86:43
tests/ui.spec.ts:244:9 › UI Test › File operator test › Should be able to do multi selection: ui-tests/tests/ui.spec.ts#L285
6) tests/ui.spec.ts:244:9 › UI Test › File operator test › Should be able to do multi selection ── Error: Screenshot comparison failed: 16579 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts-snapshots/MultiSelect-example3-FCStd-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-operator-test-Should-be-able-to-do-multi-selection/MultiSelect-example3-FCStd-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-operator-test-Should-be-able-to-do-multi-selection/MultiSelect-example3-FCStd-diff.png 283 | let main = await page.$('#jp-main-split-panel'); 284 | if (main) { > 285 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 286 | name: `MultiSelect-${fileName}.png` 287 | }); 288 | } at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts:285:41
Integration tests
Process completed with exit code 1.
Build jupytercad
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build jupytercad
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build jupytercad
This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See `https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba` for a migration guide.
Integration tests
This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See `https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba` for a migration guide.
🎭 Playwright Run Summary
6 failed tests/notebook.spec.ts:67:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct tests/notebook.spec.ts:74:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct tests/ui.spec.ts:65:11 › UI Test › File rendering test › Should be able to render example1.FCStd without error tests/ui.spec.ts:65:11 › UI Test › File rendering test › Should be able to render cut.FCStd without error tests/ui.spec.ts:65:11 › UI Test › File rendering test › Should be able to render test.jcad without error tests/ui.spec.ts:244:9 › UI Test › File operator test › Should be able to do multi selection ─── 14 passed (3.2m)

Artifacts

Produced during runtime
Name Size
extension-artifacts Expired
34.8 MB
jupytercad-playwright-tests Expired
4.32 MB