Skip to content
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

Development add 8 automated jest test #2890

Merged
merged 22 commits into from
Aug 20, 2024

Conversation

A-Harby
Copy link
Contributor

@A-Harby A-Harby commented Jun 5, 2024

Description

Add the automated tests for the remaining application as the other PR at #2784, with the same changes request there.

@A-Harby A-Harby requested a review from 0oM4R June 27, 2024 15:13
Copy link
Contributor

@0oM4R 0oM4R left a comment

Choose a reason for hiding this comment

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

some tests failed

@0oM4R
Copy link
Contributor

0oM4R commented Jul 1, 2024

image
btw tests from 1228 to 12335 are failing

@A-Harby
Copy link
Contributor Author

A-Harby commented Jul 1, 2024

image btw tests from 1228 to 12335 are failing

its reported on another issue #3009.

@A-Harby A-Harby requested a review from 0oM4R July 1, 2024 13:50
@0oM4R
Copy link
Contributor

0oM4R commented Jul 2, 2024

are you sure that fix break condition is enough ?? it gives like one more iteration only,
and wordpress still failing, i think we should increase the timeout

image

@A-Harby
Copy link
Contributor Author

A-Harby commented Jul 2, 2024

increase timeout duration in all the application

increase timeout duration in all the application

@A-Harby A-Harby marked this pull request as ready for review August 8, 2024 10:52
@0oM4R
Copy link
Contributor

0oM4R commented Aug 8, 2024

i can't run the tests,
image

@0oM4R
Copy link
Contributor

0oM4R commented Aug 8, 2024

full tests report

<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="jest tests" tests="8" failures="6" errors="0" time="254.159">
  <testsuite name="nextcloud.test.ts" errors="0" failures="0" skipped="0" timestamp="2024-08-08T14:21:18" time="90.268" tests="1">
    <testcase classname=" TC2692 - Applications: Deploy Nextcloud" name=" TC2692 - Applications: Deploy Nextcloud" time="65.412">
    </testcase>
    <testcase classname=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." name=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." time="0">
      <failure>{&quot;message&quot;:&quot;&quot;,&quot;stack&quot;:&quot;Error: Error listing contracts by twin id 800.\n\t RequestError: HTTP request failed .\n    at sendWithFullResponse (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/helpers/requests.ts:19:11)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at send (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/helpers/requests.ts:24:20)\n    at Graphql.getItemTotalCount (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/clients/graphql/client.ts:9:27)\n    at TFContracts.listNodeContractsByTwinId (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/clients/tf-grid/contracts.ts:190:34)\n    at TFContracts.listMyNodeContracts (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/clients/tf-grid/contracts.ts:294:12)\n    at GWModule.getMyContracts (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/modules/base.ts:181:23)\n    at GWModule._list (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/modules/base.ts:237:23)\n    at GWModule.list (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/modules/gateway.ts:95:12)\n    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/nextcloud.test.ts:232:19)&quot;}</failure>
    </testcase>
  </testsuite>
  <testsuite name="taiga.test.ts" errors="0" failures="0" skipped="0" timestamp="2024-08-08T14:22:48" time="155.602" tests="1">
    <testcase classname=" TC2691 - Applications: Deploy Taiga" name=" TC2691 - Applications: Deploy Taiga" time="134.937">
    </testcase>
  </testsuite>
  <testsuite name="wordpress.test.ts" errors="0" failures="1" skipped="0" timestamp="2024-08-08T14:25:24" time="2.62" tests="1">
    <testcase classname=" TC2700 - Applications: Deploy Wordpress" name=" TC2700 - Applications: Deploy Wordpress" time="0.001">
      <failure>Error: Failed to connect to Grid proxy server.
	 RequestError: HTTP request failed .
    at sendWithFullResponse (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/helpers/requests.ts:19:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at send (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/helpers/requests.ts:24:20)
    at GridClient.testConnectionUrls (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/client.ts:156:7)
    at GridClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/client.ts:116:5)
    at getClient (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/client_loader.ts:34:3)
    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/wordpress.test.ts:14:16)</failure>
    </testcase>
    <testcase classname=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." name=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." time="0">
      <failure>{&quot;message&quot;:&quot;&quot;,&quot;stack&quot;:&quot;TypeError: Cannot read properties of undefined (reading &apos;machines&apos;)\n    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/wordpress.test.ts:223:36)\n    at Promise.then.completed (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:293:28)\n    at new Promise (&lt;anonymous&gt;)\n    at callAsyncCircusFn (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:226:10)\n    at _callCircusHook (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:262:40)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at _runTestsForDescribeBlock (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:163:7)\n    at run (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:68:3)\n    at runAndTransformResultsToJestFormat (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n    at jestAdapter (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n    at runTestInternal (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)\n    at runTest (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)&quot;}</failure>
    </testcase>
  </testsuite>
  <testsuite name="nodepilot.test.ts" errors="0" failures="1" skipped="0" timestamp="2024-08-08T14:25:27" time="2.71" tests="1">
    <testcase classname=" TC2701 - Applications: Deploy Nodepilot" name=" TC2701 - Applications: Deploy Nodepilot" time="0">
      <failure>Error: TFChainError: Unable to establish a connection with the chain wss://tfchain.grid.tf/ws 

    at TFClient.newProvider (/home/kassem/threefold/tfgrid-sdk-ts/packages/tfchain_client/dist/node/client.js:98:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TFClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/tfchain_client/dist/node/client.js:114:9)
    at GridClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/client.ts:108:5)
    at getClient (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/client_loader.ts:34:3)
    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/nodepilot.test.ts:18:16)</failure>
    </testcase>
    <testcase classname=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." name=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." time="0">
      <failure>{&quot;message&quot;:&quot;&quot;,&quot;stack&quot;:&quot;TypeError: Cannot read properties of undefined (reading &apos;machines&apos;)\n    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/nodepilot.test.ts:195:36)\n    at Promise.then.completed (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:293:28)\n    at new Promise (&lt;anonymous&gt;)\n    at callAsyncCircusFn (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:226:10)\n    at _callCircusHook (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:262:40)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at _runTestsForDescribeBlock (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:163:7)\n    at run (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:68:3)\n    at runAndTransformResultsToJestFormat (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n    at jestAdapter (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n    at runTestInternal (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)\n    at runTest (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)&quot;}</failure>
    </testcase>
  </testsuite>
  <testsuite name="subsquid.test.ts" errors="0" failures="1" skipped="0" timestamp="2024-08-08T14:25:29" time="0.78" tests="1">
    <testcase classname=" TC2693 - Applications: Deploy Subsquid" name=" TC2693 - Applications: Deploy Subsquid" time="0">
      <failure>Error: TFChainError: Unable to establish a connection with the chain wss://tfchain.dev.grid.tf/ws 

    at TFClient.newProvider (/home/kassem/threefold/tfgrid-sdk-ts/packages/tfchain_client/dist/node/client.js:98:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TFClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/tfchain_client/dist/node/client.js:114:9)
    at GridClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/client.ts:108:5)
    at getClient (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/client_loader.ts:34:3)
    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/subsquid.test.ts:14:16)</failure>
    </testcase>
    <testcase classname=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." name=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." time="0">
      <failure>{&quot;message&quot;:&quot;&quot;,&quot;stack&quot;:&quot;TypeError: Cannot read properties of undefined (reading &apos;machines&apos;)\n    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/subsquid.test.ts:221:36)\n    at Promise.then.completed (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:293:28)\n    at new Promise (&lt;anonymous&gt;)\n    at callAsyncCircusFn (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:226:10)\n    at _callCircusHook (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:262:40)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at _runTestsForDescribeBlock (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:163:7)\n    at run (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:68:3)\n    at runAndTransformResultsToJestFormat (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n    at jestAdapter (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n    at runTestInternal (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)\n    at runTest (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)&quot;}</failure>
    </testcase>
  </testsuite>
  <testsuite name="mattermost.test.ts" errors="0" failures="1" skipped="0" timestamp="2024-08-08T14:25:30" time="0.694" tests="1">
    <testcase classname=" TC2689 - Applications: Deploy Mattermost" name=" TC2689 - Applications: Deploy Mattermost" time="0">
      <failure>Error: TFChainError: Unable to establish a connection with the chain wss://tfchain.dev.grid.tf/ws 

    at TFClient.newProvider (/home/kassem/threefold/tfgrid-sdk-ts/packages/tfchain_client/dist/node/client.js:98:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TFClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/tfchain_client/dist/node/client.js:114:9)
    at GridClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/client.ts:108:5)
    at getClient (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/client_loader.ts:34:3)
    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/mattermost.test.ts:14:16)</failure>
    </testcase>
    <testcase classname=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." name=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." time="0">
      <failure>{&quot;message&quot;:&quot;&quot;,&quot;stack&quot;:&quot;TypeError: Cannot read properties of undefined (reading &apos;machines&apos;)\n    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/mattermost.test.ts:223:36)\n    at Promise.then.completed (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:293:28)\n    at new Promise (&lt;anonymous&gt;)\n    at callAsyncCircusFn (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:226:10)\n    at _callCircusHook (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:262:40)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at _runTestsForDescribeBlock (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:163:7)\n    at run (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:68:3)\n    at runAndTransformResultsToJestFormat (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n    at jestAdapter (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n    at runTestInternal (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)\n    at runTest (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)&quot;}</failure>
    </testcase>
  </testsuite>
  <testsuite name="discourse.test.ts" errors="0" failures="1" skipped="0" timestamp="2024-08-08T14:25:31" time="0.702" tests="1">
    <testcase classname=" TC2690 - Applications: Deploy Discourse" name=" TC2690 - Applications: Deploy Discourse" time="0">
      <failure>Error: TFChainError: Unable to establish a connection with the chain wss://tfchain.dev.grid.tf/ws 

    at TFClient.newProvider (/home/kassem/threefold/tfgrid-sdk-ts/packages/tfchain_client/dist/node/client.js:98:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TFClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/tfchain_client/dist/node/client.js:114:9)
    at GridClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/client.ts:108:5)
    at getClient (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/client_loader.ts:34:3)
    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/discourse.test.ts:16:16)</failure>
    </testcase>
    <testcase classname=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." name=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." time="0">
      <failure>{&quot;message&quot;:&quot;&quot;,&quot;stack&quot;:&quot;TypeError: Cannot read properties of undefined (reading &apos;machines&apos;)\n    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/discourse.test.ts:235:36)\n    at Promise.then.completed (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:293:28)\n    at new Promise (&lt;anonymous&gt;)\n    at callAsyncCircusFn (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:226:10)\n    at _callCircusHook (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:262:40)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at _runTestsForDescribeBlock (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:163:7)\n    at run (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:68:3)\n    at runAndTransformResultsToJestFormat (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n    at jestAdapter (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n    at runTestInternal (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)\n    at runTest (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)&quot;}</failure>
    </testcase>
  </testsuite>
  <testsuite name="umbrel.test.ts" errors="0" failures="1" skipped="0" timestamp="2024-08-08T14:25:32" time="0.702" tests="1">
    <testcase classname=" TC2694 - Applications: Deploy Umbrel" name=" TC2694 - Applications: Deploy Umbrel" time="0.001">
      <failure>Error: TFChainError: Unable to establish a connection with the chain wss://tfchain.dev.grid.tf/ws 

    at TFClient.newProvider (/home/kassem/threefold/tfgrid-sdk-ts/packages/tfchain_client/dist/node/client.js:98:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TFClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/tfchain_client/dist/node/client.js:114:9)
    at GridClient.connect (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/src/client.ts:108:5)
    at getClient (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/client_loader.ts:34:3)
    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/umbrel.test.ts:14:16)</failure>
    </testcase>
    <testcase classname=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." name=" Test execution failure: could be caused by test hooks like &apos;afterAll&apos;." time="0">
      <failure>{&quot;message&quot;:&quot;&quot;,&quot;stack&quot;:&quot;TypeError: Cannot read properties of undefined (reading &apos;machines&apos;)\n    at Object.&lt;anonymous&gt; (/home/kassem/threefold/tfgrid-sdk-ts/packages/grid_client/tests/modules/applications/umbrel.test.ts:186:36)\n    at Promise.then.completed (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:293:28)\n    at new Promise (&lt;anonymous&gt;)\n    at callAsyncCircusFn (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:226:10)\n    at _callCircusHook (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:262:40)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at _runTestsForDescribeBlock (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:163:7)\n    at run (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/run.js:68:3)\n    at runAndTransformResultsToJestFormat (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n    at jestAdapter (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n    at runTestInternal (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:367:16)\n    at runTest (/home/kassem/threefold/tfgrid-sdk-ts/node_modules/jest-runner/build/runTest.js:444:34)&quot;}</failure>
    </testcase>
  </testsuite>
</testsuites>

@A-Harby
Copy link
Contributor Author

A-Harby commented Aug 8, 2024

For discourse, see threefoldtech/tf-images#250.
For QSFS, see #3195.

But for the PR, it working fine and reporting the issues: https://github.com/threefoldtech/tfgrid-sdk-ts/runs/28524963380

@A-Harby A-Harby marked this pull request as draft August 8, 2024 15:49
@A-Harby
Copy link
Contributor Author

A-Harby commented Aug 11, 2024

Tested again and made sure all the solutions were passing: https://github.com/threefoldtech/tfgrid-sdk-ts/actions/runs/10341327705/job/28623032778.

image

And security issues were fixed too.

@A-Harby A-Harby marked this pull request as ready for review August 11, 2024 19:54
@0oM4R
Copy link
Contributor

0oM4R commented Aug 13, 2024

image
Screenshot from 2024-08-13 13-59-09
will give it another try on dev machine, and can we reduce the logs number, to make debug easier

@0oM4R
Copy link
Contributor

0oM4R commented Aug 14, 2024

Screenshot from 2024-08-14 09-31-24
image

Also, the test doesn't exit after finish

@A-Harby
Copy link
Contributor Author

A-Harby commented Aug 14, 2024

@0oM4R, we agreed to skip both tests.

So everything should be running fine now; can we merge this?

Copy link
Contributor

@0oM4R 0oM4R left a comment

Choose a reason for hiding this comment

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

Screenshot from 2024-08-19 13-44-58

thank you 👏

@AhmedHanafy725 AhmedHanafy725 merged commit a542a73 into development Aug 20, 2024
11 of 12 checks passed
@AhmedHanafy725 AhmedHanafy725 deleted the development_add_8_automated_jest_test branch August 20, 2024 13:03
@xmonader xmonader added this to the 2.6.0 milestone Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants