Skip to content

Need to review this... but it will fix some tests that started failin…

Sign in for the full log view
GitHub Actions / Integration tests report failed Nov 6, 2024 in 0s

37 passed, 11 failed and 0 skipped

Tests failed

❌ report.xml

48 tests were completed in 87s with 37 passed, 11 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/conductor-sdk/conductor-go/test/integration_tests 37✅ 11❌ 82s

❌ github.com/conductor-sdk/conductor-go/test/integration_tests

❌ TestRoleManagementForApplicationUser
	=== RUN   TestRoleManagementForApplicationUser
❌ TestDeleteEnvVariable
	=== RUN   TestDeleteEnvVariable
❌ TestGetEnvVariable
	=== RUN   TestGetEnvVariable
❌ TestUpdateTaskRefByName
	=== RUN   TestUpdateTaskRefByName
❌ TestGetGrantedPermissions
	=== RUN   TestGetGrantedPermissions
❌ TestWorkerBatchSize
	=== RUN   TestWorkerBatchSize
❌ TestFaultyWorker
	=== RUN   TestFaultyWorker
❌ TestWorkerWithNonRetryableError
	=== RUN   TestWorkerWithNonRetryableError
❌ TestHttpTask
	=== RUN   TestHttpTask
❌ TestInlineTask
	=== RUN   TestInlineTask
❌ TestRemoveWorkflow
	=== RUN   TestRemoveWorkflow
✅ TestApplicationLifecycle
✅ TestAccessKeyLifecycle
✅ TestGetTagsForApplication
✅ TestApplicationClientIntegration
✅ TestApplicationClientErrorHandling
✅ TestGetAccessKeys
✅ TestCreateOrUpdateEnvVariable
✅ TestDeleteTagForEnvVar
✅ TestGetAllEnvVariables
✅ TestGetTagsForEnvVar
✅ TestPutTagForEnvVar
✅ TestRetryNotFound
✅ TestRegisterWorkflow
✅ TestGetWorkflow
✅ TestUpdateTaskByRefName
✅ TestUpdate
✅ TestIntegrationClient
✅ TestRegisterWorkflowDefWithTags
✅ TestUpdateWorkflowDefWithTags
✅ TestRegisterTaskDefWithTags
✅ TestGetTagsForTaskDef
✅ TestUpdateTaskDefWithTags
✅ TestCheckPermissions
✅ TestDeleteUser
✅ TestGetUser
✅ TestGetUserNotFound
✅ TestListUsers
✅ TestUpsertUser
✅ TestSqsEventTask
✅ TestConductorEventTask
✅ TestKafkaPublishTask
✅ TestDoWhileTask
✅ TestTerminateTask
✅ TestSwitchTask
✅ TestDynamicForkWorkflow
✅ TestComplexSwitchWorkflow
✅ TestWorkflowCreation

Annotations

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestRoleManagementForApplicationUser

Failed test found in:
  report.xml
Error:
  === RUN   TestRoleManagementForApplicationUser
Raw output
=== RUN   TestRoleManagementForApplicationUser
    application_client_test.go:53: 
        	Error Trace:	application_client_test.go:53
        	Error:      	Expected nil, but got: &errors.errorString{s:"undefined response type"}
        	Test:       	TestRoleManagementForApplicationUser
    application_client_test.go:58: 
        	Error Trace:	application_client_test.go:58
        	Error:      	Expected nil, but got: &errors.errorString{s:"undefined response type"}
        	Test:       	TestRoleManagementForApplicationUser
--- FAIL: TestRoleManagementForApplicationUser (0.20s)

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestDeleteEnvVariable

Failed test found in:
  report.xml
Error:
  === RUN   TestDeleteEnvVariable
Raw output
=== RUN   TestDeleteEnvVariable
    env_client_test.go:34: 
        	Error Trace:	env_client_test.go:34
        	Error:      	Received unexpected error:
        	            	invalid character 'e' in literal true (expecting 'r')
        	Test:       	TestDeleteEnvVariable
--- FAIL: TestDeleteEnvVariable (0.07s)

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestGetEnvVariable

Failed test found in:
  report.xml
Error:
  === RUN   TestGetEnvVariable
Raw output
=== RUN   TestGetEnvVariable
    env_client_test.go:60: 
        	Error Trace:	env_client_test.go:60
        	Error:      	Should NOT be empty, but was 
        	Test:       	TestGetEnvVariable
--- FAIL: TestGetEnvVariable (0.03s)

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestUpdateTaskRefByName

Failed test found in:
  report.xml
Error:
  === RUN   TestUpdateTaskRefByName
Raw output
=== RUN   TestUpdateTaskRefByName
    task_resource_test.go:60: Failed to updated task by ref name. Reason:  error: {"timestamp":"2024-11-06T00:39:53.892+00:00","status":"404","error":"Not Found","exception":"org.springframework.web.servlet.resource.NoResourceFoundException","message":"No static resource api/tasks/TEST_GO_TASK_SIMPLE/COMPLETED.","path":"/api/tasks/TEST_GO_TASK_SIMPLE/COMPLETED","host":"orkes-conductor-deployment-566b64c475-xsv46","cause":"No static resource api/tasks/TEST_GO_TASK_SIMPLE/COMPLETED."}, body: {"timestamp":"2024-11-06T00:39:53.892+00:00","status":"404","error":"Not Found","exception":"org.springframework.web.servlet.resource.NoResourceFoundException","message":"No static resource api/tasks/TEST_GO_TASK_SIMPLE/COMPLETED.","path":"/api/tasks/TEST_GO_TASK_SIMPLE/COMPLETED","host":"orkes-conductor-deployment-566b64c475-xsv46","cause":"No static resource api/tasks/TEST_GO_TASK_SIMPLE/COMPLETED."} , workflowId:   , return_value:   , response:,  {404  404 HTTP/1.1 1 1 map[Cache-Control:[no-cache, no-store, max-age=0, must-revalidate] Connection:[keep-alive] Content-Encoding:[gzip] Content-Type:[application/json] Date:[Wed, 06 Nov 2024 00:39:53 GMT] Expires:[0] Pragma:[no-cache] Strict-Transport-Security:[max-age=15724800; includeSubDomains] Vary:[Accept-Encoding Origin Access-Control-Request-Method Access-Control-Request-Headers] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Xss-Protection:[0]] 0xc00003b420 -1 [chunked] false false map[] 0xc0003f0e00 0xc000271340}
--- FAIL: TestUpdateTaskRefByName (0.34s)

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestGetGrantedPermissions

Failed test found in:
  report.xml
Error:
  === RUN   TestGetGrantedPermissions
Raw output
=== RUN   TestGetGrantedPermissions
    user_client_test.go:61: GetGrantedPermissions failed: json: cannot unmarshal object into Go value of type []rbac.GrantedAccess
--- FAIL: TestGetGrantedPermissions (0.07s)

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestWorkerBatchSize

Failed test found in:
  report.xml
Error:
  === RUN   TestWorkerBatchSize
Raw output
=== RUN   TestWorkerBatchSize
    worker_test.go:42: invalid completed workflows
--- FAIL: TestWorkerBatchSize (8.29s)

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestFaultyWorker

Failed test found in:
  report.xml
Error:
  === RUN   TestFaultyWorker
Raw output
=== RUN   TestFaultyWorker
    worker_test.go:94: timeout
--- FAIL: TestFaultyWorker (5.11s)

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestWorkerWithNonRetryableError

Failed test found in:
  report.xml
Error:
  === RUN   TestWorkerWithNonRetryableError
Raw output
=== RUN   TestWorkerWithNonRetryableError
    worker_test.go:120: timeout
--- FAIL: TestWorkerWithNonRetryableError (5.23s)

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestHttpTask

Failed test found in:
  report.xml
Error:
  === RUN   TestHttpTask
Raw output
=== RUN   TestHttpTask
    workflow_def_test.go:39: timeout
--- FAIL: TestHttpTask (7.09s)

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestInlineTask

Failed test found in:
  report.xml
Error:
  === RUN   TestInlineTask
Raw output
=== RUN   TestInlineTask
    workflow_def_test.go:147: timeout
--- FAIL: TestInlineTask (7.12s)

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Integration tests report

github.com/conductor-sdk/conductor-go/test/integration_tests ► TestRemoveWorkflow

Failed test found in:
  report.xml
Error:
  === RUN   TestRemoveWorkflow
Raw output
=== RUN   TestRemoveWorkflow
    workflow_definition_test.go:52: 
        	Error Trace:	workflow_definition_test.go:52
        	Error:      	Received unexpected error:
        	            	no such workflow by Id 
        	Test:       	TestRemoveWorkflow
        	Messages:   	Failed to get workflow execution
--- FAIL: TestRemoveWorkflow (0.16s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x8d0ecd]

goroutine 318 [running]:
testing.tRunner.func1.2({0x9438c0, 0xdf6dd0})
	/opt/hostedtoolcache/go/1.19.13/x64/src/testing/testing.go:1396 +0x24e
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.19.13/x64/src/testing/testing.go:1399 +0x39f
panic({0x9438c0, 0xdf6dd0})
	/opt/hostedtoolcache/go/1.19.13/x64/src/runtime/panic.go:884 +0x212
github.com/conductor-sdk/conductor-go/test/integration_tests.TestRemoveWorkflow(0x0?)
	/home/runner/work/conductor-go/conductor-go/test/integration_tests/workflow_definition_test.go:53 +0x3cd
testing.tRunner(0xc0002e91e0, 0xa16578)
	/opt/hostedtoolcache/go/1.19.13/x64/src/testing/testing.go:1446 +0x10b
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.19.13/x64/src/testing/testing.go:1493 +0x35f