Skip to content

Feat: Updating CCAI Block with https://github.com/GoogleCloudPlatform/gcc-conversational_ai_analytics #4

Feat: Updating CCAI Block with https://github.com/GoogleCloudPlatform/gcc-conversational_ai_analytics

Feat: Updating CCAI Block with https://github.com/GoogleCloudPlatform/gcc-conversational_ai_analytics #4

GitHub Actions / JEST Tests failed Dec 12, 2024 in 1s

13 passed, 4 failed and 0 skipped

Tests failed

❌ junit.xml

17 tests were completed in 573ms with 13 passed, 4 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Marketplace Automation Tests 13✅ 4❌ 538ms

❌ Marketplace Automation Tests

Marketplace Automation Tests License File Exists
  ✅ Marketplace Automation Tests License File Exists
Marketplace Automation Tests README File Exists
  ✅ Marketplace Automation Tests README File Exists
Marketplace Automation Tests Marketplace JSON Exists
  ✅ Marketplace Automation Tests Marketplace JSON Exists
Marketplace Automation Tests Manifest File Exists
  ✅ Marketplace Automation Tests Manifest File Exists
Marketplace Automation Tests At Least One Dashboard File Exists
  ❌ Marketplace Automation Tests At Least One Dashboard File Exists
	Error: ENOENT: no such file or directory, scandir '/home/runner/work/block-ccai-insights/block-ccai-insights/main/dashboards/'
Marketplace.json Schema: Markeplace.json contains valid JSON format.
  ✅ Marketplace.json Schema: Markeplace.json contains valid JSON format.
Marketplace.json Schema: label property exists and is valid
  ✅ Marketplace.json Schema: label property exists and is valid
Marketplace.json Schema: category_label property exists and is valid
  ✅ Marketplace.json Schema: category_label property exists and is valid
Marketplace.json Schema: branding property exists and is valid
  ✅ Marketplace.json Schema: branding property exists and is valid
Marketplace.json Schema: models property exists and is valid
  ✅ Marketplace.json Schema: models property exists and is valid
Marketplace.json Schema: constants property exists and is valid
  ✅ Marketplace.json Schema: constants property exists and is valid
Testing constants: Constants Match Between Manifest and Marketplace
  ✅ Testing constants: Constants Match Between Manifest and Marketplace
Testing constants: Marketplace constants are unique
  ✅ Testing constants: Marketplace constants are unique
Testing constants: Marketplace constants labels are unique
  ✅ Testing constants: Marketplace constants labels are unique
Verify File Extensions:  Model file exists and has extension .lkml
  ❌ Verify File Extensions:  Model file exists and has extension .lkml
	Error: expect(received).not.toBe(expected) // Object.is equality
Verify File Extensions:  Views folder exists
  ❌ Verify File Extensions:  Views folder exists
	Error: expect(received).toBe(expected) // Object.is equality
Verify File Extensions:  Explores folder exists
  ❌ Verify File Extensions:  Explores folder exists
	Error: expect(received).toBe(expected) // Object.is equality

Annotations

Check failure on line 53 in marketplace.spec.js

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

Marketplace Automation Tests ► Marketplace Automation Tests At Least One Dashboard File Exists ► Marketplace Automation Tests At Least One Dashboard File Exists

Failed test found in:
  junit.xml
Error:
  Error: ENOENT: no such file or directory, scandir '/home/runner/work/block-ccai-insights/block-ccai-insights/main/dashboards/'
Raw output
Error: ENOENT: no such file or directory, scandir '/home/runner/work/block-ccai-insights/block-ccai-insights/main/dashboards/'
    at Object.readdirSync (node:fs:1525:3)
    at Object.<anonymous> (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/marketplace.spec.js:53:26)
    at Promise.then.completed (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/utils.js:391:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/utils.js:316:10)
    at _callCircusTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:218:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:155:3)
    at _runTestsForDescribeBlock (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:66:9)
    at _runTestsForDescribeBlock (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:60:9)

Check failure on line 172 in marketplace.spec.js

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

Marketplace Automation Tests ► Verify File Extensions: Model file exists and has extension .lkml ► Verify File Extensions: Model file exists and has extension .lkml

Failed test found in:
  junit.xml
Error:
  Error: expect(received).not.toBe(expected) // Object.is equality
Raw output
Error: expect(received).not.toBe(expected) // Object.is equality

Expected: not undefined
    at Object.<anonymous> (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/marketplace.spec.js:172:38)
    at Promise.then.completed (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/utils.js:391:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/utils.js:316:10)
    at _callCircusTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:218:40)
    at _runTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:155:3)
    at _runTestsForDescribeBlock (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:66:9)
    at _runTestsForDescribeBlock (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:60:9)
    at run (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:25:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:170:21)
    at jestAdapter (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:82:19)
    at runTestInternal (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-runner/build/runTest.js:389:16)
    at runTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-runner/build/runTest.js:475:34)
    at TestRunner.runTests (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-runner/build/index.js:111:12)
    at TestScheduler.scheduleTests (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/@jest/core/build/TestScheduler.js:333:13)
    at runJest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/@jest/core/build/runJest.js:404:19)

Check failure on line 178 in marketplace.spec.js

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

Marketplace Automation Tests ► Verify File Extensions: Views folder exists ► Verify File Extensions: Views folder exists

Failed test found in:
  junit.xml
Error:
  Error: expect(received).toBe(expected) // Object.is equality
Raw output
Error: expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false
    at Object.<anonymous> (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/marketplace.spec.js:178:35)
    at Promise.then.completed (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/utils.js:391:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/utils.js:316:10)
    at _callCircusTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:218:40)
    at _runTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:155:3)
    at _runTestsForDescribeBlock (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:66:9)
    at _runTestsForDescribeBlock (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:60:9)
    at run (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:25:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:170:21)
    at jestAdapter (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:82:19)
    at runTestInternal (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-runner/build/runTest.js:389:16)
    at runTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-runner/build/runTest.js:475:34)
    at TestRunner.runTests (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-runner/build/index.js:111:12)
    at TestScheduler.scheduleTests (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/@jest/core/build/TestScheduler.js:333:13)
    at runJest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/@jest/core/build/runJest.js:404:19)

Check failure on line 192 in marketplace.spec.js

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

Marketplace Automation Tests ► Verify File Extensions: Explores folder exists ► Verify File Extensions: Explores folder exists

Failed test found in:
  junit.xml
Error:
  Error: expect(received).toBe(expected) // Object.is equality
Raw output
Error: expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false
    at Object.<anonymous> (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/marketplace.spec.js:192:38)
    at Promise.then.completed (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/utils.js:391:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/utils.js:316:10)
    at _callCircusTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:218:40)
    at _runTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:155:3)
    at _runTestsForDescribeBlock (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:66:9)
    at _runTestsForDescribeBlock (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:60:9)
    at run (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/run.js:25:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:170:21)
    at jestAdapter (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:82:19)
    at runTestInternal (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-runner/build/runTest.js:389:16)
    at runTest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-runner/build/runTest.js:475:34)
    at TestRunner.runTests (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/jest-runner/build/index.js:111:12)
    at TestScheduler.scheduleTests (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/@jest/core/build/TestScheduler.js:333:13)
    at runJest (/home/runner/work/block-ccai-insights/block-ccai-insights/json-tests/node_modules/@jest/core/build/runJest.js:404:19)