Skip to content

upgrade libssl3 libcrypto3 to solve CVE-2024-9143 #326

upgrade libssl3 libcrypto3 to solve CVE-2024-9143

upgrade libssl3 libcrypto3 to solve CVE-2024-9143 #326

GitHub Actions / JUnit Test Report failed Nov 10, 2024 in 0s

38 tests run, 28 passed, 0 skipped, 10 failed.

Annotations

Check failure on line 1 in com/port-labs/port-k8s-exporter/pkg/crd

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

com/port-labs/port-k8s-exporter/pkg/crd.TestCRD_crd_autoDiscoverCRDsToActionsNamespaced/Check_blueprint

Failed
Raw output
=== RUN   TestCRD_crd_autoDiscoverCRDsToActionsNamespaced/Check_blueprint
    crd_test.go:128: Blueprint not found
--- FAIL: TestCRD_crd_autoDiscoverCRDsToActionsNamespaced/Check_blueprint (0.00s)

Check failure on line 1 in com/port-labs/port-k8s-exporter/pkg/crd

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

com/port-labs/port-k8s-exporter/pkg/crd.TestCRD_crd_autoDiscoverCRDsToActionsNamespaced

Failed
Raw output
=== RUN   TestCRD_crd_autoDiscoverCRDsToActionsNamespaced
I1110 14:21:26.369468   10973 crd.go:373] Discovering CRDs/XRDs with pattern: true
I1110 14:21:26.782893   10973 crd.go:336] Blueprint already exists, patching blueprint properties
E1110 14:21:29.342853   10973 crd.go:339] Error patching blueprint: error patching Port blueprint: failed to patch blueprint, got: {"ok":false,"error":"not_found","message":"Blueprint with identifier \"testkind\" was not found","details":{"resource":"Blueprint","byField":"identifier","withValue":"testkind"}}
E1110 14:21:29.342874   10973 crd.go:344] Error creating blueprint: error patching Port blueprint: failed to patch blueprint, got: {"ok":false,"error":"not_found","message":"Blueprint with identifier \"testkind\" was not found","details":{"resource":"Blueprint","byField":"identifier","withValue":"testkind"}}
E1110 14:21:29.455414   10973 crd.go:360] Error creating blueprint action: failed to create action, got: {"ok":false,"error":"not_found","message":"Blueprint with identifier \"testkind\" was not found","details":{"resource":"Blueprint","byField":"identifier","withValue":"testkind"}}
E1110 14:21:29.548622   10973 crd.go:360] Error creating blueprint action: failed to create action, got: {"ok":false,"error":"not_found","message":"Blueprint with identifier \"testkind\" was not found","details":{"resource":"Blueprint","byField":"identifier","withValue":"testkind"}}
E1110 14:21:29.642132   10973 crd.go:360] Error creating blueprint action: failed to create action, got: {"ok":false,"error":"not_found","message":"Blueprint with identifier \"testkind\" was not found","details":{"resource":"Blueprint","byField":"identifier","withValue":"testkind"}}
    crd_test.go:124: Error getting blueprint: error getting Port blueprint: failed to get blueprint, got: {"ok":false,"error":"not_found","message":"Blueprint with identifier \"testkind\" was not found","details":{"resource":"Blueprint","byField":"identifier","withValue":"testkind"}}
--- FAIL: TestCRD_crd_autoDiscoverCRDsToActionsNamespaced (7.36s)
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=0x70 pc=0x141ebdc]

goroutine 47 [running]:
testing.tRunner.func1.2({0x1528760, 0x2436ae0})
	/opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1631 +0x24a
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1634 +0x377
panic({0x1528760?, 0x2436ae0?})
	/opt/hostedtoolcache/go/1.22.8/x64/src/runtime/panic.go:770 +0x132
github.com/port-labs/port-k8s-exporter/pkg/crd.checkBlueprintAndActionsProperties.func1(0xc00046f6c0)
	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/crd/crd_test.go:130 +0x5c
testing.tRunner(0xc00046f6c0, 0xc0003f02e8)
	/opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1689 +0xfb
created by testing.(*T).Run in goroutine 67
	/opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1742 +0x390

Check failure on line 1 in com/port-labs/port-k8s-exporter/pkg/defaults

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

com/port-labs/port-k8s-exporter/pkg/defaults.Test_InitIntegration_InitDefaults

Failed
Raw output
=== RUN   Test_InitIntegration_InitDefaults
I1110 14:20:44.718674   10972 init.go:20] Initializing Port integration
I1110 14:20:50.133454   10972 init.go:29] Could not get integration with state key 601394ea-bbd5-4768-bb1d-6cf69ce76471, error: error getting Port integration: failed to get integration, got: {"ok":false,"error":"not_found","message":"Integration with installationId \"601394ea-bbd5-4768-bb1d-6cf69ce76471\" was not found","details":{"resource":"Integration","byField":"installationId","withValue":"601394ea-bbd5-4768-bb1d-6cf69ce76471"}}
I1110 14:20:50.133475   10972 init.go:30] Creating integration
I1110 14:20:50.133483   10972 init.go:35] Creating default resources
I1110 14:21:09.347867   10972 defaults.go:200] Created blueprint namespace
I1110 14:21:14.667844   10972 defaults.go:200] Created blueprint cluster
W1110 14:21:17.712422   10972 defaults.go:197] Failed to create blueprint workload: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"identifier_taken","message":"The identifier \"workloadEntity\" is taken, page's identifier should be unique","details":{"identifier":"workloadEntity"}}
I1110 14:21:17.712443   10972 defaults.go:138] Failed to create resources: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"identifier_taken","message":"The identifier \"workloadEntity\" is taken, page's identifier should be unique","details":{"identifier":"workloadEntity"}}.
I1110 14:21:17.712448   10972 defaults.go:282] Failed to create resources. Rolling back blueprints: [namespace cluster]
W1110 14:21:40.726918   10972 init.go:37] Error initializing defaults: AbortDefaultCreationError
W1110 14:21:40.726934   10972 init.go:38] The integration will start without default integration mapping and other default resources. Please create them manually in Port. 
I1110 14:21:40.726940   10972 init.go:45] Could not create default resources, creating integration with no resources
I1110 14:21:40.726945   10972 init.go:46] Creating integration with config: &{false false []  false <nil> <nil>}
    defaults_test.go:81: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/defaults/defaults_test.go:81
        	Error:      	Expected nil, but got: &errors.errorString{s:"error getting Port blueprint: failed to get blueprint, got: {\"ok\":false,\"error\":\"not_found\",\"message\":\"Blueprint with identifier \\\"workload\\\" was not found\",\"details\":{\"resource\":\"Blueprint\",\"byField\":\"identifier\",\"withValue\":\"workload\"}}"}
        	Test:       	Test_InitIntegration_InitDefaults
    defaults_test.go:84: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/defaults/defaults_test.go:84
        	Error:      	Expected nil, but got: &errors.errorString{s:"error getting Port blueprint: failed to get blueprint, got: {\"ok\":false,\"error\":\"not_found\",\"message\":\"Blueprint with identifier \\\"namespace\\\" was not found\",\"details\":{\"resource\":\"Blueprint\",\"byField\":\"identifier\",\"withValue\":\"namespace\"}}"}
        	Test:       	Test_InitIntegration_InitDefaults
    defaults_test.go:87: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/defaults/defaults_test.go:87
        	Error:      	Expected nil, but got: &errors.errorString{s:"error getting Port blueprint: failed to get blueprint, got: {\"ok\":false,\"error\":\"not_found\",\"message\":\"Blueprint with identifier \\\"cluster\\\" was not found\",\"details\":{\"resource\":\"Blueprint\",\"byField\":\"identifier\",\"withValue\":\"cluster\"}}"}
        	Test:       	Test_InitIntegration_InitDefaults
    defaults_test.go:90: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/defaults/defaults_test.go:90
        	Error:      	Expected nil, but got: &errors.errorString{s:"error getting Port page: failed to get page, got: {\"ok\":false,\"error\":\"not_found\",\"message\":\"Page with identifier \\\"workload_overview_dashboard\\\" was not found\",\"details\":{\"resource\":\"Page\",\"byField\":\"identifier\",\"withValue\":\"workload_overview_dashboard\"}}"}
        	Test:       	Test_InitIntegration_InitDefaults
    defaults_test.go:93: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/defaults/defaults_test.go:93
        	Error:      	Expected nil, but got: &errors.errorString{s:"error getting Port page: failed to get page, got: {\"ok\":false,\"error\":\"not_found\",\"message\":\"Page with identifier \\\"availability_scorecard_dashboard\\\" was not found\",\"details\":{\"resource\":\"Page\",\"byField\":\"identifier\",\"withValue\":\"availability_scorecard_dashboard\"}}"}
        	Test:       	Test_InitIntegration_InitDefaults
    defaults_test.go:27: Deleting default resources for 601394ea-bbd5-4768-bb1d-6cf69ce76471
    defaults_test.go:27: Deleting default resources for 601394ea-bbd5-4768-bb1d-6cf69ce76471
--- FAIL: Test_InitIntegration_InitDefaults (79.10s)

Check failure on line 1 in com/port-labs/port-k8s-exporter/pkg/defaults

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

com/port-labs/port-k8s-exporter/pkg/defaults.Test_InitIntegration_BlueprintExists

Failed
Raw output
=== RUN   Test_InitIntegration_BlueprintExists
    defaults_test.go:122: Error creating Port blueprint: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"identifier_taken","message":"The identifier \"workloadEntity\" is taken, page's identifier should be unique","details":{"identifier":"workloadEntity"}}
I1110 14:22:47.695588   10972 init.go:20] Initializing Port integration
I1110 14:22:48.078362   10972 init.go:29] Could not get integration with state key e337b1f4-2651-4fff-9dc2-5b71ca6bde84, error: error getting Port integration: failed to get integration, got: {"ok":false,"error":"not_found","message":"Integration with installationId \"e337b1f4-2651-4fff-9dc2-5b71ca6bde84\" was not found","details":{"resource":"Integration","byField":"installationId","withValue":"e337b1f4-2651-4fff-9dc2-5b71ca6bde84"}}
I1110 14:22:48.078380   10972 init.go:30] Creating integration
I1110 14:22:48.078389   10972 init.go:35] Creating default resources
W1110 14:23:08.914144   10972 defaults.go:197] Failed to create blueprint workload: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"identifier_taken","message":"The identifier \"workloadEntity\" is taken, page's identifier should be unique","details":{"identifier":"workloadEntity"}}
W1110 14:23:12.270035   10972 defaults.go:197] Failed to create blueprint namespace: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_v8Ynx2CGRVQlVUNQ-moderator\" was not found","details":{"field":"name","value":"bp_v8Ynx2CGRVQlVUNQ-moderator"}}
W1110 14:23:18.481356   10972 defaults.go:197] Failed to create blueprint cluster: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_jV1tkRW2oStOazzF-moderator\" was not found","details":{"field":"name","value":"bp_jV1tkRW2oStOazzF-moderator"}}
I1110 14:23:18.481383   10972 defaults.go:138] Failed to create resources: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"identifier_taken","message":"The identifier \"workloadEntity\" is taken, page's identifier should be unique","details":{"identifier":"workloadEntity"}}.
I1110 14:23:18.481391   10972 defaults.go:138] Failed to create resources: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_v8Ynx2CGRVQlVUNQ-moderator\" was not found","details":{"field":"name","value":"bp_v8Ynx2CGRVQlVUNQ-moderator"}}.
I1110 14:23:18.481397   10972 defaults.go:138] Failed to create resources: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_jV1tkRW2oStOazzF-moderator\" was not found","details":{"field":"name","value":"bp_jV1tkRW2oStOazzF-moderator"}}.
I1110 14:23:18.481405   10972 defaults.go:282] Failed to create resources. Rolling back blueprints: []
W1110 14:23:18.481417   10972 init.go:37] Error initializing defaults: AbortDefaultCreationError
W1110 14:23:18.481425   10972 init.go:38] The integration will start without default integration mapping and other default resources. Please create them manually in Port. 
I1110 14:23:18.481432   10972 init.go:45] Could not create default resources, creating integration with no resources
I1110 14:23:18.481437   10972 init.go:46] Creating integration with config: &{false false []  false <nil> <nil>}
    defaults_test.go:136: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/defaults/defaults_test.go:136
        	Error:      	Expected nil, but got: &errors.errorString{s:"error getting Port blueprint: failed to get blueprint, got: {\"ok\":false,\"error\":\"not_found\",\"message\":\"Blueprint with identifier \\\"workload\\\" was not found\",\"details\":{\"resource\":\"Blueprint\",\"byField\":\"identifier\",\"withValue\":\"workload\"}}"}
        	Test:       	Test_InitIntegration_BlueprintExists
    defaults_test.go:27: Deleting default resources for e337b1f4-2651-4fff-9dc2-5b71ca6bde84
--- FAIL: Test_InitIntegration_BlueprintExists (76.90s)

Check failure on line 1 in com/port-labs/port-k8s-exporter/pkg/defaults

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

com/port-labs/port-k8s-exporter/pkg/defaults.Test_InitIntegration_PageExists

Failed
Raw output
=== RUN   Test_InitIntegration_PageExists
    defaults_test.go:148: Error creating Port page: error creating Port page: failed to create page, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_MC0H8Ck0F4dMoryH-moderator\" was not found","details":{"field":"name","value":"bp_MC0H8Ck0F4dMoryH-moderator"}}
I1110 14:24:13.671486   10972 init.go:20] Initializing Port integration
I1110 14:24:15.581695   10972 init.go:29] Could not get integration with state key 64b8329a-d17a-4d2a-b25e-566c310c91ea, error: error getting Port integration: failed to get integration, got: {"ok":false,"error":"not_found","message":"Integration with installationId \"64b8329a-d17a-4d2a-b25e-566c310c91ea\" was not found","details":{"resource":"Integration","byField":"installationId","withValue":"64b8329a-d17a-4d2a-b25e-566c310c91ea"}}
I1110 14:24:15.581712   10972 init.go:30] Creating integration
I1110 14:24:15.581721   10972 init.go:35] Creating default resources
W1110 14:24:34.245600   10972 defaults.go:197] Failed to create blueprint workload: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"identifier_taken","message":"The identifier \"workloadEntity\" is taken, page's identifier should be unique","details":{"identifier":"workloadEntity"}}
W1110 14:24:38.291330   10972 defaults.go:197] Failed to create blueprint cluster: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_DyzLOtlO0PvJxu72-moderator\" was not found","details":{"field":"name","value":"bp_DyzLOtlO0PvJxu72-moderator"}}
W1110 14:24:49.024561   10972 defaults.go:197] Failed to create blueprint namespace: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_DyzLOtlO0PvJxu72-moderator\" was not found","details":{"field":"name","value":"bp_DyzLOtlO0PvJxu72-moderator"}}
I1110 14:24:49.024588   10972 defaults.go:138] Failed to create resources: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"identifier_taken","message":"The identifier \"workloadEntity\" is taken, page's identifier should be unique","details":{"identifier":"workloadEntity"}}.
I1110 14:24:49.024594   10972 defaults.go:138] Failed to create resources: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_DyzLOtlO0PvJxu72-moderator\" was not found","details":{"field":"name","value":"bp_DyzLOtlO0PvJxu72-moderator"}}.
I1110 14:24:49.024598   10972 defaults.go:138] Failed to create resources: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_DyzLOtlO0PvJxu72-moderator\" was not found","details":{"field":"name","value":"bp_DyzLOtlO0PvJxu72-moderator"}}.
I1110 14:24:49.024602   10972 defaults.go:282] Failed to create resources. Rolling back blueprints: []
W1110 14:24:49.024611   10972 init.go:37] Error initializing defaults: AbortDefaultCreationError
W1110 14:24:49.024618   10972 init.go:38] The integration will start without default integration mapping and other default resources. Please create them manually in Port. 
I1110 14:24:49.024627   10972 init.go:45] Could not create default resources, creating integration with no resources
I1110 14:24:49.024636   10972 init.go:46] Creating integration with config: &{false false []  false <nil> <nil>}
    defaults_test.go:162: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/defaults/defaults_test.go:162
        	Error:      	Expected nil, but got: &errors.errorString{s:"error getting Port page: failed to get page, got: {\"ok\":false,\"error\":\"not_found\",\"message\":\"Page with identifier \\\"workload_overview_dashboard\\\" was not found\",\"details\":{\"resource\":\"Page\",\"byField\":\"identifier\",\"withValue\":\"workload_overview_dashboard\"}}"}
        	Test:       	Test_InitIntegration_PageExists
    defaults_test.go:27: Deleting default resources for 64b8329a-d17a-4d2a-b25e-566c310c91ea
--- FAIL: Test_InitIntegration_PageExists (60.31s)

Check failure on line 1 in com/port-labs/port-k8s-exporter/pkg/event_handler/polling

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

com/port-labs/port-k8s-exporter/pkg/event_handler/polling.TestPolling_DifferentConfiguration

Failed
Raw output
=== RUN   TestPolling_DifferentConfiguration
I1110 14:20:43.390639   11031 polling.go:58] Starting polling handler
I1110 14:20:43.693361   11031 polling.go:67] Polling handler started
I1110 14:20:43.693384   11031 polling.go:75] Polling event listener iteration after 1 seconds. Checking for changes...
I1110 14:20:46.874859   11031 polling.go:75] Polling event listener iteration after 1 seconds. Checking for changes...
    polling_test.go:78: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/event_handler/polling/polling_test.go:78
        	Error:      	Should be true
        	Test:       	TestPolling_DifferentConfiguration
I1110 14:20:48.411048   11031 polling.go:80] Changes detected. Resyncing...
--- FAIL: TestPolling_DifferentConfiguration (10.58s)

Check failure on line 1 in com/port-labs/port-k8s-exporter/pkg/handlers

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

com/port-labs/port-k8s-exporter/pkg/handlers.TestSuccessfulControllersHandle

Failed
Raw output
=== RUN   TestSuccessfulControllersHandle
    controllers_test.go:253: creating blueprint k8s-export-test-2f7f5c84e57d
I1110 14:20:58.389241   11675 init.go:20] Initializing Port integration
I1110 14:21:04.360558   11675 init.go:29] Could not get integration with state key 6aa09a48-bab6-44a3-951c-2f7f5c84e57d, error: error getting Port integration: failed to get integration, got: {"ok":false,"error":"not_found","message":"Integration with installationId \"6aa09a48-bab6-44a3-951c-2f7f5c84e57d\" was not found","details":{"resource":"Integration","byField":"installationId","withValue":"6aa09a48-bab6-44a3-951c-2f7f5c84e57d"}}
I1110 14:21:04.360570   11675 init.go:30] Creating integration
I1110 14:21:04.360575   11675 init.go:45] Could not create default resources, creating integration with no resources
I1110 14:21:04.360579   11675 init.go:46] Creating integration with config: &{true true [{apps/v1/deployments {} {{[{.metadata.name  "k8s-export-test-2f7f5c84e57d" "Microservice"  map[arr:.spec.template.spec.containers bool:true num:1 obj:.spec.selector text:"pod"] map[]}]} }} {apps/v1/daemonsets {} {{[{.metadata.name  "k8s-export-test-2f7f5c84e57d" "Microservice"  map[arr:.spec.template.spec.containers bool:true num:1 obj:.spec.selector text:"pod"] map[]}]} }}]  false <nil> <nil>}
I1110 14:21:09.406400   11675 crd.go:369] Discovering CRDs is disabled
I1110 14:21:41.306701   11675 controllers.go:72] Starting informers
I1110 14:21:41.306740   11675 controllers.go:89] Waiting for informer cache to sync for resource 'apps/v1/deployments'
I1110 14:21:41.407092   11675 controllers.go:89] Waiting for informer cache to sync for resource 'apps/v1/daemonsets'
I1110 14:21:41.407117   11675 controllers.go:97] Starting full initial resync for resource 'apps/v1/deployments'
I1110 14:21:41.407124   11675 controllers.go:97] Starting full initial resync for resource 'apps/v1/daemonsets'
I1110 14:21:42.393808   11675 controller.go:375] Successfully upserted entity '8f4c4ab2-9ee2-477d-9b20-cc5ff0cc95ae' of blueprint 'k8s-export-test-2f7f5c84e57d'
I1110 14:21:42.393830   11675 controllers.go:99] Done full initial resync, starting live events sync for resource 'apps/v1/daemonsets'
I1110 14:21:49.756011   11675 controller.go:375] Successfully upserted entity '8dae605a-6712-4be8-8e49-d8ebfb889d2b' of blueprint 'k8s-export-test-2f7f5c84e57d'
I1110 14:21:49.756042   11675 controllers.go:99] Done full initial resync, starting live events sync for resource 'apps/v1/deployments'
I1110 14:21:49.991997   11675 controllers.go:123] Deleting stale entities
I1110 14:22:07.419432   11675 entity.go:120] Successfully deleted entity '8ef449cc-4bba-4a3e-b3dc-5fadbd4c9521' of blueprint 'k8s-export-test-2f7f5c84e57d'
I1110 14:22:07.419454   11675 controllers.go:125] Done deleting stale entities
I1110 14:22:22.186601   11675 controller.go:375] Successfully upserted entity 'e66bcc1e-15eb-48f8-a0b3-480383a3794e' of blueprint 'k8s-export-test-2f7f5c84e57d'
I1110 14:22:22.617392   11675 controller.go:375] Successfully upserted entity '75705e48-a7b7-42ec-ae38-93551eaae86d' of blueprint 'k8s-export-test-2f7f5c84e57d'
I1110 14:22:31.131460   11675 controller.go:375] Successfully upserted entity '8f4c4ab2-9ee2-477d-9b20-cc5ff0cc95ae' of blueprint 'k8s-export-test-2f7f5c84e57d'
I1110 14:22:31.147979   11675 controller.go:375] Successfully upserted entity 'e66bcc1e-15eb-48f8-a0b3-480383a3794e' of blueprint 'k8s-export-test-2f7f5c84e57d'
I1110 14:22:46.137296   11675 controller.go:392] Successfully deleted entity '8dae605a-6712-4be8-8e49-d8ebfb889d2b' of blueprint 'k8s-export-test-2f7f5c84e57d'
I1110 14:22:46.971834   11675 controller.go:392] Successfully deleted entity '8f4c4ab2-9ee2-477d-9b20-cc5ff0cc95ae' of blueprint 'k8s-export-test-2f7f5c84e57d'
    controllers_test.go:556: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/handlers/controllers_test.go:556
        	Error:      	Condition never satisfied
        	Test:       	TestSuccessfulControllersHandle
    controllers_test.go:71: deleting resources for 6aa09a48-bab6-44a3-951c-2f7f5c84e57d
--- FAIL: TestSuccessfulControllersHandle (125.48s)

Check failure on line 1 in com/port-labs/port-k8s-exporter/pkg/handlers

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

com/port-labs/port-k8s-exporter/pkg/handlers.TestControllersHandleTolerateFailure

Failed
Raw output
=== RUN   TestControllersHandleTolerateFailure
    controllers_test.go:253: creating blueprint k8s-export-test-e6abae613c05
I1110 14:22:54.020357   11675 controller.go:392] Successfully deleted entity 'e66bcc1e-15eb-48f8-a0b3-480383a3794e' of blueprint 'k8s-export-test-2f7f5c84e57d'
I1110 14:22:57.674666   11675 controller.go:392] Successfully deleted entity '75705e48-a7b7-42ec-ae38-93551eaae86d' of blueprint 'k8s-export-test-2f7f5c84e57d'
    controllers_test.go:255: Error creating Port blueprint: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_BqFICjU400ENELxZ-moderator\" was not found","details":{"field":"name","value":"bp_BqFICjU400ENELxZ-moderator"}}, retrying once
    controllers_test.go:257: Error when retrying to create Port blueprint: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with name \"bp_bBEsStptrJUh86rd-moderator\" was not found","details":{"field":"name","value":"bp_bBEsStptrJUh86rd-moderator"}} 
--- FAIL: TestControllersHandleTolerateFailure (40.59s)

Check failure on line 1 in com/port-labs/port-k8s-exporter/pkg/k8s

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

com/port-labs/port-k8s-exporter/pkg/k8s.TestRunEventsSyncWithCreateEvent

Failed
Raw output
=== RUN   TestRunEventsSyncWithCreateEvent
    controller_test.go:148: creating blueprint k8s-export-test-9605ab11a917
    controller_test.go:472: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/k8s/controller_test.go:472
        	Error:      	Condition never satisfied
        	Test:       	TestRunEventsSyncWithCreateEvent
I1110 14:23:54.816297   11734 controller.go:375] Successfully upserted entity '452f51d3-eec7-4db7-8416-a311950b0bb2' of blueprint 'k8s-export-test-9605ab11a917'
    controller_test.go:62: deleting resources for 4b0a0488-908a-43f4-a7c1-9605ab11a917
--- FAIL: TestRunEventsSyncWithCreateEvent (29.39s)

Check failure on line 1 in com/port-labs/port-k8s-exporter/pkg/k8s

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

com/port-labs/port-k8s-exporter/pkg/k8s.TestRunEventsSyncWithUpdateEvent

Failed
Raw output
=== RUN   TestRunEventsSyncWithUpdateEvent
    controller_test.go:148: creating blueprint k8s-export-test-efb7d105ee72
    controller_test.go:150: Error creating Port blueprint: error creating blueprint: failed to create blueprint, got: {"ok":false,"error":"role_not_found","message":"Role with id \"role_5bkrEktevTGIFRWz\" was not found","details":{"field":"id","value":"role_5bkrEktevTGIFRWz"}}, retrying
I1110 14:24:45.067906   11734 controller.go:375] Successfully upserted entity '0c81cc01-19a3-4d09-9952-4bcb0d3763fe' of blueprint 'k8s-export-test-efb7d105ee72'
    controller_test.go:492: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/k8s/controller_test.go:492
        	Error:      	Condition never satisfied
        	Test:       	TestRunEventsSyncWithUpdateEvent
    controller_test.go:501: 
        	Error Trace:	/home/runner/work/port-k8s-exporter/port-k8s-exporter/pkg/k8s/controller_test.go:501
        	Error:      	Condition never satisfied
        	Test:       	TestRunEventsSyncWithUpdateEvent
    controller_test.go:62: deleting resources for a7fc683f-dcaf-42c7-a6bb-efb7d105ee72
I1110 14:24:55.713679   11734 controller.go:375] Successfully upserted entity '0c81cc01-19a3-4d09-9952-4bcb0d3763fe' of blueprint 'k8s-export-test-efb7d105ee72'
--- FAIL: TestRunEventsSyncWithUpdateEvent (75.53s)