Skip to content

WIP

b3e2ffa
Select commit
Loading
Failed to load commit list.
Open

[draft] Semantic Chunking #69

WIP
b3e2ffa
Select commit
Loading
Failed to load commit list.
Jenkins - ci.eionet.europa.eu / Jenkins failed Sep 22, 2025 in 7m 55s

Testing/Volto 16/Integration tests Volto 16: error in 'sh' step

Testing / Volto 17 / Volto 17 / ES lint / Shell Script

Error in sh step, with arguments docker run --rm --name="$IMAGE_NAME-eslint" --entrypoint=make --workdir=/app/src/addons/$GIT_NAME $IMAGE_NAME-frontend lint.

script returned exit code 2
Build log
+ docker run --rm --name=jenkins-volto-addons-volto-chatbot-chunking-6-eslint --entrypoint=make --workdir=/app/src/addons/volto-chatbot jenkins-volto-addons-volto-chatbot-chunking-6-frontend lint
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
ESLint found too many warnings (maximum: 0).

/app/src/addons/volto-chatbot/src/ChatBlock/useQualityMarkers.js
  5:58  warning  Unable to resolve path to module '@sentry/browser'  import/no-unresolved

/app/src/addons/volto-chatbot/src/halloumi/index.js
   96:3  warning  Unexpected console statement  no-console
  196:5  warning  Unexpected console statement  no-console
  204:5  warning  Unexpected console statement  no-console

/app/src/addons/volto-chatbot/src/halloumi/preprocessing.js
   8:16  warning  'processTextToSemanticChunks2' is defined but never used  no-unused-vars
  86:3   warning  Unexpected console statement                              no-console

✖ 6 problems (0 errors, 6 warnings)

make: *** [Makefile:122: lint] Error 1

Testing / Volto 16 / Volto 16 / Integration tests Volto 16 / Shell Script

Error in sh step, with arguments docker logs $IMAGE_NAME-cypress16; exit 1.

script returned exit code 1
Build log
+ docker logs jenkins-volto-addons-volto-chatbot-chunking-6-cypress16
 WAIT  Compiling...

ℹ Compiling Client
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
✔ Client: Compiled with some errors in 26.05s
ℹ Compiling Server
ℹ Compiling Client
✔ Client: Compiled with some errors in 384.31ms
✔ Server: Compiled with some errors in 12.58s

/app/node_modules/@langchain/core/dist/utils/stream.cjs:14
class IterableReadableStream extends ReadableStream {
                                     ^
ReferenceError: ReadableStream is not defined
    at Object.<anonymous> (/app/node_modules/@langchain/core/dist/utils/stream.cjs:14:38)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/app/node_modules/@langchain/core/dist/tracers/log_stream.cjs:6:21)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
sswp> !!! Script exited with code 1
+ exit 1

Details

  • Declarative: Checkout SCM (6.4 sec)
    • Declarative: Tool Install (2.2 sec)
      • Release (1.7 sec)
      • Check if testing needed (46 sec)
      • Testing (6 min 47 sec)
        • Volto 17 (28 ms)
          • Volto 17 (1 min 26 sec)
            • Build test image (46 sec)
            • Fix code (9.8 sec)
            • ES lint (7 sec)
              Error: script returned exit code 2 - logs
            • Style lint (2.5 sec)
            • Prettier (1.9 sec)
            • Unit tests (2 sec)
            • Integration tests (2 sec)
            • Report to SonarQube (1.9 sec)
        • Volto 16 (6 min 44 sec)
          • Volto 16 (6 min 40 sec)
            • Build test image (1 min 31 sec)
            • Unit tests Volto 16 (15 sec)
            • Integration tests Volto 16 (4 min 39 sec)
              Error: script returned exit code 1 - logs
      • SonarQube compare to master (1.9 sec)
      • Pull Request (1.8 sec)
      • Declarative: Post Actions (1.8 sec)