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

gh action tweak #25

Merged
merged 1 commit into from
Jul 23, 2024
Merged

gh action tweak #25

merged 1 commit into from
Jul 23, 2024

Conversation

qrort
Copy link
Collaborator

@qrort qrort commented Jul 23, 2024

No description provided.

@qrort qrort force-pushed the gh-action branch 2 times, most recently from 79588b3 to 4c77c0c Compare July 23, 2024 16:42
Copy link

📝 Test results

ydbcp

15 tests (15 passed)
%%{init: {"theme":"base","themeVariables":{"fontFamily":"monospace","pieSectionTextSize":"24px","darkMode":true,"pie1":"#2da44e"}}}%%
pie showData
"Passed" : 15

Loading
📦 Package🟢 Passed🔴 Failed🟡 Skipped⏳ Duration
🟡 ydbcp/cmd/ydbcp0000ms
🧪 Tests(none)
🖨️ Output
(none)
🟡 ydbcp/internal/config0000ms
🧪 Tests(none)
🖨️ Output
(none)
🟡 ydbcp/internal/connectors/client0000ms
🧪 Tests(none)
🖨️ Output
(none)
🟡 ydbcp/internal/connectors/db0000ms
🧪 Tests(none)
🖨️ Output
(none)
🟢 ydbcp/internal/connectors/db/yql/queries2008ms
🧪 Tests
  • 🟢TestQueryBuilder_Read
  • 🟢TestQueryBuilder_Write
🖨️ Output
=== RUN   TestQueryBuilder_Read
2024-07-23T16:44:16.986Z	DEBUG	queries/read.go:145	read query	{"yql": "DECLARE $param0 AS String;\nDECLARE $param1 AS String;\nDECLARE $param2 AS String;\nDECLARE $param3 AS String;\nSELECT column1, column2, column3 FROM table1 WHERE (column1 = $param0 OR column1 = $param1) AND (column2 = $param2 OR column2 = $param3)"}
--- PASS: TestQueryBuilder_Read (0.00s)
=== RUN   TestQueryBuilder_Write
2024-07-23T16:44:16.986Z	DEBUG	queries/write.go:192	write query	{"yql": "DECLARE $id_0 AS Uuid;\nDECLARE $status_0 AS String;\nUPSERT INTO Backups (id, status) VALUES ($id_0, $status_0);\nDECLARE $id_1 AS Uuid;\nDECLARE $status_1 AS String;\nDECLARE $message_1 AS String;\nUPSERT INTO Operations (id, status, message) VALUES ($id_1, $status_1, $message_1)"}
--- PASS: TestQueryBuilder_Write (0.00s)
🟢 ydbcp/internal/handlers110010ms
🧪 Tests
  • 🟢TestRBOperationHandlerCancellingOperationCancelled
  • 🟢TestRBOperationHandlerCancellingOperationCompletedSuccessfully
  • 🟢TestRBOperationHandlerCancellingOperationInProgress
  • 🟢TestRBOperationHandlerDeadlineExceededForCancellingOperation
  • 🟢TestRBOperationHandlerDeadlineExceededForPendingOperation
  • 🟢TestRBOperationHandlerInvalidOperationResponse
  • 🟢TestRBOperationHandlerPendingOperationCancelled
  • 🟢TestRBOperationHandlerPendingOperationCompletedSuccessfully
  • 🟢TestRBOperationHandlerPendingOperationInProgress
  • 🟢TestRBOperationHandlerRetriableErrorForPendingOperation
  • 🟢TestTBOperationHandler
🖨️ Output
=== RUN   TestRBOperationHandlerInvalidOperationResponse
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:37	received operation	{"id": "41e3ec24-09e1-4cc6-a0a0-cf9772d6c536", "type": "RB", "state": "PENDING", "message": ""}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:64	getting operation status	{"id": "41e3ec24-09e1-4cc6-a0a0-cf9772d6c536", "type": "RB", "ydb_operation_id": "1"}
--- PASS: TestRBOperationHandlerInvalidOperationResponse (0.00s)
=== RUN   TestRBOperationHandlerDeadlineExceededForPendingOperation
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:37	received operation	{"id": "f7e54ce2-e660-496a-a59b-c26aa3b3dad5", "type": "RB", "state": "PENDING", "message": ""}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:64	getting operation status	{"id": "f7e54ce2-e660-496a-a59b-c26aa3b3dad5", "type": "RB", "ydb_operation_id": "1"}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:110	cancelling operation due to ttl	{"id": "f7e54ce2-e660-496a-a59b-c26aa3b3dad5", "type": "RB", "ydb_operation_id": "1"}
--- PASS: TestRBOperationHandlerDeadlineExceededForPendingOperation (0.00s)
=== RUN   TestRBOperationHandlerPendingOperationInProgress
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:37	received operation	{"id": "d4c67f45-8a0a-4bb5-9d35-364670e44866", "type": "RB", "state": "PENDING", "message": ""}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:64	getting operation status	{"id": "d4c67f45-8a0a-4bb5-9d35-364670e44866", "type": "RB", "ydb_operation_id": "1"}
--- PASS: TestRBOperationHandlerPendingOperationInProgress (0.00s)
=== RUN   TestRBOperationHandlerPendingOperationCompletedSuccessfully
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:37	received operation	{"id": "00f385c4-35b3-4ed3-8a2d-d92426383bab", "type": "RB", "state": "PENDING", "message": ""}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:64	getting operation status	{"id": "00f385c4-35b3-4ed3-8a2d-d92426383bab", "type": "RB", "ydb_operation_id": "1"}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:173	forgetting operation	{"id": "00f385c4-35b3-4ed3-8a2d-d92426383bab", "type": "RB", "ydb_operation_id": "1"}
--- PASS: TestRBOperationHandlerPendingOperationCompletedSuccessfully (0.00s)
=== RUN   TestRBOperationHandlerPendingOperationCancelled
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:37	received operation	{"id": "d67482a6-0dec-4c89-bb43-ed77bf54a115", "type": "RB", "state": "PENDING", "message": ""}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:64	getting operation status	{"id": "d67482a6-0dec-4c89-bb43-ed77bf54a115", "type": "RB", "ydb_operation_id": "1"}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:173	forgetting operation	{"id": "d67482a6-0dec-4c89-bb43-ed77bf54a115", "type": "RB", "ydb_operation_id": "1"}
--- PASS: TestRBOperationHandlerPendingOperationCancelled (0.00s)
=== RUN   TestRBOperationHandlerDeadlineExceededForCancellingOperation
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:37	received operation	{"id": "55ebae0d-9c7d-4fab-a145-74fafcb27f54", "type": "RB", "state": "CANCELLING", "message": ""}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:64	getting operation status	{"id": "55ebae0d-9c7d-4fab-a145-74fafcb27f54", "type": "RB", "ydb_operation_id": "1"}
--- PASS: TestRBOperationHandlerDeadlineExceededForCancellingOperation (0.00s)
=== RUN   TestRBOperationHandlerCancellingOperationInProgress
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:37	received operation	{"id": "e24ab629-6aea-43ec-9fcc-8f26ebe240c7", "type": "RB", "state": "CANCELLING", "message": ""}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:64	getting operation status	{"id": "e24ab629-6aea-43ec-9fcc-8f26ebe240c7", "type": "RB", "ydb_operation_id": "1"}
--- PASS: TestRBOperationHandlerCancellingOperationInProgress (0.00s)
=== RUN   TestRBOperationHandlerCancellingOperationCompletedSuccessfully
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:37	received operation	{"id": "e13ea22f-b56b-4a78-83fe-6516a7909fd1", "type": "RB", "state": "CANCELLING", "message": ""}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:64	getting operation status	{"id": "e13ea22f-b56b-4a78-83fe-6516a7909fd1", "type": "RB", "ydb_operation_id": "1"}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:173	forgetting operation	{"id": "e13ea22f-b56b-4a78-83fe-6516a7909fd1", "type": "RB", "ydb_operation_id": "1"}
--- PASS: TestRBOperationHandlerCancellingOperationCompletedSuccessfully (0.00s)
=== RUN   TestRBOperationHandlerCancellingOperationCancelled
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:37	received operation	{"id": "656c21f3-8dbe-4748-b4f1-09147aaf81f3", "type": "RB", "state": "CANCELLING", "message": ""}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:64	getting operation status	{"id": "656c21f3-8dbe-4748-b4f1-09147aaf81f3", "type": "RB", "ydb_operation_id": "1"}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:173	forgetting operation	{"id": "656c21f3-8dbe-4748-b4f1-09147aaf81f3", "type": "RB", "ydb_operation_id": "1"}
--- PASS: TestRBOperationHandlerCancellingOperationCancelled (0.00s)
=== RUN   TestRBOperationHandlerRetriableErrorForPendingOperation
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:37	received operation	{"id": "917a05f5-00b5-4bb7-ae6e-ea66ee55b939", "type": "RB", "state": "PENDING", "message": ""}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:64	getting operation status	{"id": "917a05f5-00b5-4bb7-ae6e-ea66ee55b939", "type": "RB", "ydb_operation_id": "1"}
2024-07-23T16:44:17.565Z	INFO	handlers/restore_backup.go:87	received retriable error	{"id": "917a05f5-00b5-4bb7-ae6e-ea66ee55b939", "type": "RB", "ydb_operation_id": "1"}
--- PASS: TestRBOperationHandlerRetriableErrorForPendingOperation (0.00s)
=== RUN   TestTBOperationHandler
--- PASS: TestTBOperationHandler (0.00s)
🟢 ydbcp/internal/processor2008ms
🧪 Tests
  • 🟢TestOperationHandlerRegistry
  • 🟢TestProcessor
🖨️ Output
=== RUN   TestProcessor
2024-07-23T16:44:17.565Z	DEBUG	processor/processor.go:76	Operation Processor started	{"period": "10s"}
2024-07-23T16:44:17.565Z	DEBUG	processor/processor.go:108	operation already running	{"operation": "Operation, id 4ecb8d30-197d-427d-b21c-c93ca6e88251, type TB, state PENDING"}
2024-07-23T16:44:17.565Z	DEBUG	processor/processor.go:108	operation already running	{"operation": "Operation, id 4ecb8d30-197d-427d-b21c-c93ca6e88251, type TB, state PENDING"}
2024-07-23T16:44:17.565Z	DEBUG	processor/processor.go:118	start operation handler	{"operation": "Operation, id 4ecb8d30-197d-427d-b21c-c93ca6e88251, type TB, state PENDING"}
2024-07-23T16:44:17.565Z	DEBUG	processor/processor_test.go:41	TB handler called for operation	{"operation": "Operation, id 4ecb8d30-197d-427d-b21c-c93ca6e88251, type TB, state PENDING"}
2024-07-23T16:44:17.565Z	DEBUG	processor/processor.go:137	operation handler is finished	{"operationID": "4ecb8d30-197d-427d-b21c-c93ca6e88251"}
2024-07-23T16:44:17.565Z	DEBUG	processor/processor.go:83	Operation Processor stopped
--- PASS: TestProcessor (0.00s)
=== RUN   TestOperationHandlerRegistry
--- PASS: TestOperationHandlerRegistry (0.00s)
🟡 ydbcp/internal/types0000ms
🧪 Tests(none)
🖨️ Output
(none)
🟡 ydbcp/internal/util/ticker0000ms
🧪 Tests(none)
🖨️ Output
(none)
🟡 ydbcp/internal/util/timer0000ms
🧪 Tests(none)
🖨️ Output
(none)
🟡 ydbcp/internal/util/xlog0000ms
🧪 Tests(none)
🖨️ Output
(none)
🟡 ydbcp/pkg/proto0000ms
🧪 Tests(none)
🖨️ Output
(none)

@qrort qrort merged commit b2c9e1e into main Jul 23, 2024
1 check passed
@qrort qrort deleted the gh-action branch July 23, 2024 16:55
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.

2 participants