Skip to content

build(deps): bump torchmetrics from 0.9.1 to 1.7.3 in /tests/e2e #845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/e2e/mnist_pip_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytorch_lightning==1.9.5
torchmetrics==0.9.1
torchmetrics==1.7.3
torchvision==0.20.1
minio

Unchanged files with check annotations Beta

// Copyright 2024 IBM, Red Hat
//
// Licensed under the Apache License, Version 2.0 (the "License");
const image = `widgets-cell-${i}.png`;
if (captures[i]) {
expect.soft(captures[i]).toMatchSnapshot(image); // Compare pre-existing capture

Check failure on line 63 in ui-tests/tests/widget_notebook_example.test.ts

GitHub Actions / verify-3_widget_example

tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook

1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: expect(Buffer).toMatchSnapshot(expected) 3889 pixels (ratio 0.04 of all image pixels) are different. Expected: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts-snapshots/widgets-cell-5-linux.png Received: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-5-actual.png Diff: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-5-diff.png 61 | 62 | if (captures[i]) { > 63 | expect.soft(captures[i]).toMatchSnapshot(image); // Compare pre-existing capture | ^ 64 | continue; 65 | } 66 | } at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:63:34

Check failure on line 63 in ui-tests/tests/widget_notebook_example.test.ts

GitHub Actions / verify-3_widget_example

tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook

1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: expect(Buffer).toMatchSnapshot(expected) 495 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts-snapshots/widgets-cell-4-linux.png Received: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-4-actual.png Diff: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-4-diff.png 61 | 62 | if (captures[i]) { > 63 | expect.soft(captures[i]).toMatchSnapshot(image); // Compare pre-existing capture | ^ 64 | continue; 65 | } 66 | } at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:63:34

Check failure on line 63 in ui-tests/tests/widget_notebook_example.test.ts

GitHub Actions / verify-3_widget_example

tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook

1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: expect(Buffer).toMatchSnapshot(expected) 1056 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts-snapshots/widgets-cell-3-linux.png Received: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-3-actual.png Diff: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-3-diff.png 61 | 62 | if (captures[i]) { > 63 | expect.soft(captures[i]).toMatchSnapshot(image); // Compare pre-existing capture | ^ 64 | continue; 65 | } 66 | } at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:63:34

Check failure on line 63 in ui-tests/tests/widget_notebook_example.test.ts

GitHub Actions / verify-3_widget_example

tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook

1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: expect(Buffer).toMatchSnapshot(expected) Expected an image 844px by 232px, received 844px by 209px. 4656 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts-snapshots/widgets-cell-2-linux.png Received: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-2-actual.png Diff: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-2-diff.png 61 | 62 | if (captures[i]) { > 63 | expect.soft(captures[i]).toMatchSnapshot(image); // Compare pre-existing capture | ^ 64 | continue; 65 | } 66 | } at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:63:34

Check failure on line 63 in ui-tests/tests/widget_notebook_example.test.ts

GitHub Actions / verify-3_widget_example

tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook

1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: expect(Buffer).toMatchSnapshot(expected) 315 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts-snapshots/widgets-cell-0-linux.png Received: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-0-actual.png Diff: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-0-diff.png 61 | 62 | if (captures[i]) { > 63 | expect.soft(captures[i]).toMatchSnapshot(image); // Compare pre-existing capture | ^ 64 | continue; 65 | } 66 | } at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:63:34
continue;
}
}
const upAndRunningMessage = await page.waitForSelector('text=Requested cluster is up and running!');
expect(upAndRunningMessage).not.toBeNull();
const dashboardReadyMessage = await page.waitForSelector('text=Dashboard is ready!');

Check failure on line 100 in ui-tests/tests/widget_notebook_example.test.ts

GitHub Actions / verify-3_widget_example

tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook

1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: proxy.waitForSelector: Test ended. Call log: - waiting for locator('text=Dashboard is ready!') to be visible 98 | expect(upAndRunningMessage).not.toBeNull(); 99 | > 100 | const dashboardReadyMessage = await page.waitForSelector('text=Dashboard is ready!'); | ^ 101 | expect(dashboardReadyMessage).not.toBeNull(); 102 | }); 103 | at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:100:48 at interactWithWidget (/home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:186:7) at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:88:5
expect(dashboardReadyMessage).not.toBeNull();
});