Skip to content

feat: Split MT credit consumption logic to public and billing #8517

feat: Split MT credit consumption logic to public and billing

feat: Split MT credit consumption logic to public and billing #8517

Triggered via pull request February 21, 2025 09:13
Status Failure
Total duration 15m 5s
Artifacts 10

test.yml

on: pull_request
Build backend 🏗️
4m 47s
Build backend 🏗️
Build frontend 🏗️
1m 28s
Build frontend 🏗️
Install E2E dependencies ⬇️
53s
Install E2E dependencies ⬇️
Frontend static check 🪲
2m 15s
Frontend static check 🪲
E2E Static Check 🪲
31s
E2E Static Check 🪲
Ktlint 🪲
1m 20s
Ktlint 🪲
Matrix: BT ‍🔎
Matrix: E2E testing ‍🔎
Everything passed 🎉
0s
Everything passed 🎉
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
io.tolgee.autoTranslating.AutoTranslatingTest ► consumes last positive credits(): backend/app/src/test/kotlin/io/tolgee/autoTranslating/AutoTranslatingTest.kt#L171
Failed test found in: backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.autoTranslating.AutoTranslatingTest.xml backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.autoTranslating.AutoTranslatingTest.xml backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.autoTranslating.AutoTranslatingTest.xml backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.autoTranslating.AutoTranslatingTest.xml backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.autoTranslating.AutoTranslatingTest.xml backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.autoTranslating.AutoTranslatingTest.xml Error: org.opentest4j.AssertionFailedError:
BT ‍🔎 (server-app:runContextRecreatingTests)
Final attempt failed. Child_process exited with error code 1
io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest ► primary service is first (GOOGLE)(): backend/app/src/test/kotlin/io/tolgee/api/v2/controllers/translationSuggestionController/TranslationSuggestionControllerMtTest.kt#L92
Failed test found in: backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerMtTest.xml Error: kotlin.UninitializedPropertyAccessException: lateinit property machineTranslationProperties has not been initialized
io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerStreamingTest ► it does not return unsupporting services(): backend/api/src/main/kotlin/io/tolgee/component/VersionFilter.kt#L24
Failed test found in: backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionControllerStreamingTest.xml Error: java.util.ConcurrentModificationException
io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionWithCacheTest ► translating is optimized(): backend/app/src/test/kotlin/io/tolgee/api/v2/controllers/translationSuggestionController/TranslationSuggestionWithCacheTest.kt#L62
Failed test found in: backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.translationSuggestionController.TranslationSuggestionWithCacheTest.xml Error: kotlin.UninitializedPropertyAccessException: lateinit property machineTranslationProperties has not been initialized
io.tolgee.api.v2.controllers.v2KeyController.KeyControllerKeySearchTest ► search is not slow(): backend/app/src/test/kotlin/io/tolgee/api/v2/controllers/v2KeyController/KeyControllerKeySearchTest.kt#L106
Failed test found in: backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.v2KeyController.KeyControllerKeySearchTest.xml Error: java.lang.AssertionError:
io.tolgee.service.OrganizationServiceTest ► mt bucket fetches only mt bucket (tests the one-to-one lazy initialization)(): backend/app/src/test/kotlin/io/tolgee/service/OrganizationServiceTest.kt#L70
Failed test found in: backend/app/build/test-results/runStandardTests/TEST-io.tolgee.service.OrganizationServiceTest.xml Error: jakarta.persistence.NoResultException: No result found for query [from MtCreditBucket mb where mb.organization.id = :id]
BT ‍🔎 (server-app:runStandardTests)
Final attempt failed. Child_process exited with error code 1
Everything passed 🎉
Process completed with exit code 1.
BT ‍🔎 (server-app:runStandardTests)
Test report summary exceeded limit of 65535 bytes and will be trimmed

Artifacts

Produced during runtime
Name Size
backend
239 MB
backend_test_reports_data_test
144 KB
backend_test_reports_ee-test_test
316 KB
backend_test_reports_security_test
18.7 KB
backend_test_reports_server-app_runContextRecreatingTests
225 KB
backend_test_reports_server-app_runStandardTests
706 KB
backend_test_reports_server-app_runWebsocketTests
97.7 KB
backend_test_reports_server-app_runWithoutEeTests
60.1 KB
e2e_deps
197 MB
webapp
2.3 MB