chore: address io/ioutil depreciation #795
ci.yml
on: pull_request
Annotations
19 errors and 13 warnings
E2E Tests (3):
e2e/e2e_test.go#L517
e2e_test.go:517:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/e2e_test.go:517
Error: Received unexpected error:
exit status 16
Test: TestE2EInspectMode
|
E2E Tests (3):
e2e/e2e_test.go#L583
e2e_test.go:583:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/e2e_test.go:583
Error: Received unexpected error:
exit status 16
Test: TestE2E_OnceMode
|
E2E Tests (3):
e2e/registration_test.go#L113
registration_test.go:113:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/registration_test.go:113
Error: Received unexpected error:
client timed out waiting for tasks run once using api host "127.0.0.1:45683": 30s
Test: TestE2E_ServiceRegistration_Configured
|
E2E Tests (3):
e2e/registration_test.go#L156
registration_test.go:156:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/registration_test.go:156
Error: Received unexpected error:
client timed out waiting for tasks run once using api host "localhost:43891": 30s
Test: TestE2E_ServiceRegistration_DeregisterWhenStopped
|
E2E Tests (3):
e2e/registration_test.go#L276
registration_test.go:276:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/registration_test.go:276
Error: "2024-03-13T23:13:38.090Z [INFO] cli: 0.7.1-dev (6b08820)\n2024-03-13T23:13:38.090Z [DEBUG] cli: configuration: config=\"&Config{LogLevel:DEBUG, Port:36033, WorkingDir:tmp_registration_init_failure, ID:cts-01, Syslog:&SyslogConfig{Enabled:false, Facility:LOCAL0, Name:consul-terraform-sync}, Consul:&ConsulConfig{Address:127.0.0.1:26545, Auth:&AuthConfig{Enabled:false, Username:, Password:}, KVNamespace:, KVPath:consul-terraform-sync/, TLS:&TLSConfig{CACert:/home/runner/work/consul-terraform-sync/consul-terraform-sync/testutils/certs/consul_cert.pem, CAPath:, Cert:, Enabled:true, Key:, ServerName:, Verify:true}, Token:, Transport:&TransportConfig{DialKeepAlive:30s, DialTimeout:30s, DisableKeepAlives:false, IdleConnTimeout:5000000000, MaxIdleConns:0, MaxIdleConnsPerHost:100, TLSHandshakeTimeout:10s}, ServiceRegistration:&ServiceRegistrationConfig{Enabled:true, ServiceName:consul-terraform-sync, Address:, Namespace:, DefaultCheck: &DefaultCheckConfig{Enabled:true, Address:}}}, Vault:&VaultConfig{Address:, Enabled:false, Namespace:,RenewToken:false, TLS:\"&TLSConfig{CACert:, CAPath:, Cert:, Enabled:true, Key:, ServerName:, Verify:true}\", Token:false, VaultAgentTokenFile:false, Transport:\"&TransportConfig{DialKeepAlive:30s, DialTimeout:30s, DisableKeepAlives:false, IdleConnTimeout:5000000000, MaxIdleConns:0, MaxIdleConnsPerHost:100, TLSHandshakeTimeout:10s}\", UnwrapToken:false}, Driver:&DriverConfig{Terraform:&TerraformConfig{Version:, Log:true, PersistLog:false, Path:/home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e, Backend:map[consul:map[address:127.0.0.1:26545 ca_file:/home/runner/work/consul-terraform-sync/consul-terraform-sync/testutils/certs/consul_cert.pem gzip:true path:consul-terraform-sync/terraform scheme:https]], RequiredProviders:map[]}}, Tasks:{&TaskConfig{Name:failing_task, Description:e2e test, Providers:[], Services (deprecated):[], Module:./test_modules/failing_module, VarFiles:[], Version:, TFVersion: , BufferPeriod:(*BufferPeriodConfig)(nil), Enabled:true, Condition:&ServicesConditionConfig{&ServicesMonitorConfig{Regexp:, Names:[api web], Datacenter:, Namespace:, Filter:, CTSUserDefinedMeta:map[]}, UseAsModuleInput:true}, ModuleInput:{}}}, Services (deprecated):{}, TerraformProviders:{&map[local:(redacted)]}, BufferPeriod:&BufferPeriodConfig{Enabled:false, Min:0s, Max:0s},TLS:&CTSTLSConfig{CACert:, CAPath:, Cert:, Enabled:false, Key:, VerifyIncoming:false}}\"\n2024-03-13T23:13:38.090Z [INFO] ctrl: setting up controller: type=daemon\n2024-03-13T23:13:38.090Z [INFO] ctrl: initializing Consul client and testing connection\n2024-03-13T23:13:38.255Z [ERROR] driver.terraform: found Terraform version does not satisfy the version constraint: terraform_path=/home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e version=1.7.4 compatible_version_constraint=\">= 0.13.0, <= 1.6.2\"\n2024-03-13T23:13:38.255Z [ERROR] cli: error installing driver: error=\"unsupported Terraform version: remove Terraform from the configured path or specify a new path to safely install a compatible version.\"\n" does not contain "registering Consul-Terraform-Sync as a service with Consul"
Test: TestE2E_ServiceRegistration_InitError
|
E2E Tests (3):
e2e/registration_test.go#L278
registration_test.go:278:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/registration_test.go:278
Error: Should be true
Test: TestE2E_ServiceRegistration_InitError
|
E2E Tests (3):
e2e/render_test.go#L74
render_test.go:74:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/render_test.go:74
Error: Received unexpected error:
unsupported Terraform version: remove Terraform from the configured path or specify a new path to safely install a compatible version.
Test: TestServicesRenderRace
|
E2E Tests (3)
Process completed with exit code 2.
|
E2E Tests (1)
Process completed with exit code 2.
|
E2E Tests (2)
Process completed with exit code 2.
|
E2E Tests (2):
e2e/e2e_test.go#L59
e2e_test.go:59:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/e2e_test.go:59
Error: Received unexpected error:
client timed out waiting for tasks run once using api host "localhost:44925": 30s
Test: TestE2EBasic
|
E2E Tests (2):
e2e/e2e_test.go#L127
e2e_test.go:127:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/e2e_test.go:127
Error: Received unexpected error:
client timed out waiting for tasks run once using api host "localhost:39787": 30s
Test: TestE2ENoTasks
|
E2E Tests (2):
e2e/e2e_test.go#L233
e2e_test.go:233:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/e2e_test.go:233
Error: Received unexpected error:
client timed out waiting for tasks run once using api host "localhost:36509": 30s
Test: TestE2ERestartConsul
|
E2E Tests (2):
e2e/e2e_test.go#L400
e2e_test.go:400:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/e2e_test.go:400
Error: "2024-03-13T23:14:21.452Z [INFO] cli: 0.7.1-dev (6b08820)\n2024-03-13T23:14:21.452Z [DEBUG] cli: configuration: config=\"&Config{LogLevel:DEBUG, Port:8558, WorkingDir:tmp_validate_errors, ID:cts-fv-az1490-915, Syslog:&SyslogConfig{Enabled:false, Facility:LOCAL0, Name:consul-terraform-sync}, Consul:&ConsulConfig{Address:127.0.0.1:23581, Auth:&AuthConfig{Enabled:false, Username:, Password:}, KVNamespace:, KVPath:consul-terraform-sync/, TLS:&TLSConfig{CACert:/home/runner/work/consul-terraform-sync/consul-terraform-sync/testutils/certs/consul_cert.pem, CAPath:, Cert:, Enabled:true, Key:, ServerName:, Verify:true}, Token:, Transport:&TransportConfig{DialKeepAlive:30s, DialTimeout:30s, DisableKeepAlives:false, IdleConnTimeout:5000000000, MaxIdleConns:0, MaxIdleConnsPerHost:100, TLSHandshakeTimeout:10s}, ServiceRegistration:&ServiceRegistrationConfig{Enabled:true, ServiceName:consul-terraform-sync, Address:, Namespace:, DefaultCheck: &DefaultCheckConfig{Enabled:true, Address:}}}, Vault:&VaultConfig{Address:, Enabled:false, Namespace:,RenewToken:false, TLS:\"&TLSConfig{CACert:, CAPath:, Cert:, Enabled:true, Key:, ServerName:, Verify:true}\", Token:false, VaultAgentTokenFile:false, Transport:\"&TransportConfig{DialKeepAlive:30s, DialTimeout:30s, DisableKeepAlives:false, IdleConnTimeout:5000000000, MaxIdleConns:0, MaxIdleConnsPerHost:100, TLSHandshakeTimeout:10s}\", UnwrapToken:false}, Driver:&DriverConfig{Terraform:&TerraformConfig{Version:, Log:true, PersistLog:false, Path:/home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e, Backend:map[consul:map[address:127.0.0.1:23581 ca_file:/home/runner/work/consul-terraform-sync/consul-terraform-sync/testutils/certs/consul_cert.pem gzip:true path:consul-terraform-sync/terraform scheme:https]], RequiredProviders:map[]}}, Tasks:{&TaskConfig{Name:cts_error_task, Description:, Providers:[], Services (deprecated):[], Module:./test_modules/incompatible_w_cts, VarFiles:[], Version:, TFVersion: , BufferPeriod:(*BufferPeriodConfig)(nil), Enabled:true, Condition:&CatalogServicesConditionConfig{&CatalogServicesMonitorConfig{Regexp:^api$|^db$, Datacenter:, Namespace:, NodeMeta:map[], UseAsModuleInput:true}}, ModuleInput:{}}}, Services (deprecated):{}, TerraformProviders:{&map[local:(redacted)]}, BufferPeriod:&BufferPeriodConfig{Enabled:false, Min:0s, Max:0s},TLS:&CTSTLSConfig{CACert:, CAPath:, Cert:, Enabled:false, Key:, VerifyIncoming:false}}\"\n2024-03-13T23:14:21.452Z [INFO] ctrl: setting up controller: type=daemon\n2024-03-13T23:14:21.452Z [INFO] ctrl: initializing Consul client and testing connection\n2024-03-13T23:14:21.479Z [ERROR] driver.terraform: found Terraform version does not satisfy the version constraint: terraform_path=/home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e version=1.7.4 compatible_version_constraint=\">= 0.13.0, <= 1.6.2\"\n2024-03-13T23:14:21.479Z [ERROR] cli: error installing driver: error=\"unsupported Terraform version: remove Terraform from the configured path or specify a new path to safely install a compatible version.\"\n" does not contain "module for task \"cts_error_task\" is missing the \"services\" variable"
Test: TestE2EValidateError
|
E2E Tests (2):
e2e/e2e_test.go#L401
e2e_test.go:401:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/e2e_test.go:401
Error: "2024-03-13T23:14:21.452Z [INFO] cli: 0.7.1-dev (6b08820)\n2024-03-13T23:14:21.452Z [DEBUG] cli: configuration: config=\"&Config{LogLevel:DEBUG, Port:8558, WorkingDir:tmp_validate_errors, ID:cts-fv-az1490-915, Syslog:&SyslogConfig{Enabled:false, Facility:LOCAL0, Name:consul-terraform-sync}, Consul:&ConsulConfig{Address:127.0.0.1:23581, Auth:&AuthConfig{Enabled:false, Username:, Password:}, KVNamespace:, KVPath:consul-terraform-sync/, TLS:&TLSConfig{CACert:/home/runner/work/consul-terraform-sync/consul-terraform-sync/testutils/certs/consul_cert.pem, CAPath:, Cert:, Enabled:true, Key:, ServerName:, Verify:true}, Token:, Transport:&TransportConfig{DialKeepAlive:30s, DialTimeout:30s, DisableKeepAlives:false, IdleConnTimeout:5000000000, MaxIdleConns:0, MaxIdleConnsPerHost:100, TLSHandshakeTimeout:10s}, ServiceRegistration:&ServiceRegistrationConfig{Enabled:true, ServiceName:consul-terraform-sync, Address:, Namespace:, DefaultCheck: &DefaultCheckConfig{Enabled:true, Address:}}}, Vault:&VaultConfig{Address:, Enabled:false, Namespace:,RenewToken:false, TLS:\"&TLSConfig{CACert:, CAPath:, Cert:, Enabled:true, Key:, ServerName:, Verify:true}\", Token:false, VaultAgentTokenFile:false, Transport:\"&TransportConfig{DialKeepAlive:30s, DialTimeout:30s, DisableKeepAlives:false, IdleConnTimeout:5000000000, MaxIdleConns:0, MaxIdleConnsPerHost:100, TLSHandshakeTimeout:10s}\", UnwrapToken:false}, Driver:&DriverConfig{Terraform:&TerraformConfig{Version:, Log:true, PersistLog:false, Path:/home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e, Backend:map[consul:map[address:127.0.0.1:23581 ca_file:/home/runner/work/consul-terraform-sync/consul-terraform-sync/testutils/certs/consul_cert.pem gzip:true path:consul-terraform-sync/terraform scheme:https]], RequiredProviders:map[]}}, Tasks:{&TaskConfig{Name:cts_error_task, Description:, Providers:[], Services (deprecated):[], Module:./test_modules/incompatible_w_cts, VarFiles:[], Version:, TFVersion: , BufferPeriod:(*BufferPeriodConfig)(nil), Enabled:true, Condition:&CatalogServicesConditionConfig{&CatalogServicesMonitorConfig{Regexp:^api$|^db$, Datacenter:, Namespace:, NodeMeta:map[], UseAsModuleInput:true}}, ModuleInput:{}}}, Services (deprecated):{}, TerraformProviders:{&map[local:(redacted)]}, BufferPeriod:&BufferPeriodConfig{Enabled:false, Min:0s, Max:0s},TLS:&CTSTLSConfig{CACert:, CAPath:, Cert:, Enabled:false, Key:, VerifyIncoming:false}}\"\n2024-03-13T23:14:21.452Z [INFO] ctrl: setting up controller: type=daemon\n2024-03-13T23:14:21.452Z [INFO] ctrl: initializing Consul client and testing connection\n2024-03-13T23:14:21.479Z [ERROR] driver.terraform: found Terraform version does not satisfy the version constraint: terraform_path=/home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e version=1.7.4 compatible_version_constraint=\">= 0.13.0, <= 1.6.2\"\n2024-03-13T23:14:21.479Z [ERROR] cli: error installing driver: error=\"unsupported Terraform version: remove Terraform from the configured path or specify a new path to safely install a compatible version.\"\n" does not contain "module for task \"cts_error_task\" is missing the \"catalog_services\" variable, add to module or set \"use_as_module_input\" to false"
Test: TestE2EValidateError
|
E2E Tests (0):
e2e/api_test.go#L72
api_test.go:72:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/api_test.go:72
Error: Received unexpected error:
client timed out waiting for tasks run once using api host "localhost:33885": 30s
Test: TestE2E_StatusEndpoints
|
E2E Tests (0):
e2e/command_test.go#L47
command_test.go:47:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/command_test.go:47
Error: Received unexpected error:
client timed out waiting for tasks run once using api host "localhost:46197": 30s
Test: TestE2E_MetaCommandErrors
|
E2E Tests (0):
e2e/command_test.go#L260
command_test.go:260:
Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/command_test.go:260
Error: Received unexpected error:
client timed out waiting for tasks run once using api host "localhost:42889": 30s
Test: TestE2E_ReenableTaskTriggers
|
E2E Tests (0)
Process completed with exit code 2.
|
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
E2E Tests Splitting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Unit and Integration Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, hashicorp/setup-terraform@v2, guyarb/golang-test-annotations@f54c4b21ff43e36adfe5fb7e6a31be8e2512abf4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Unit and Integration Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: guyarb/golang-test-annotations@f54c4b21ff43e36adfe5fb7e6a31be8e2512abf4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
E2E Tests (3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, hashicorp/setup-terraform@v2, actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a, guyarb/golang-test-annotations@f54c4b21ff43e36adfe5fb7e6a31be8e2512abf4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
E2E Tests (3)
The following actions uses node12 which is deprecated and will be forced to run on node16: guyarb/golang-test-annotations@f54c4b21ff43e36adfe5fb7e6a31be8e2512abf4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
E2E Tests (1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, hashicorp/setup-terraform@v2, actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a, guyarb/golang-test-annotations@f54c4b21ff43e36adfe5fb7e6a31be8e2512abf4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
E2E Tests (1)
The following actions uses node12 which is deprecated and will be forced to run on node16: guyarb/golang-test-annotations@f54c4b21ff43e36adfe5fb7e6a31be8e2512abf4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
E2E Tests (2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, hashicorp/setup-terraform@v2, actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a, guyarb/golang-test-annotations@f54c4b21ff43e36adfe5fb7e6a31be8e2512abf4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
E2E Tests (2)
The following actions uses node12 which is deprecated and will be forced to run on node16: guyarb/golang-test-annotations@f54c4b21ff43e36adfe5fb7e6a31be8e2512abf4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
E2E Tests (0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, hashicorp/setup-terraform@v2, actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a, guyarb/golang-test-annotations@f54c4b21ff43e36adfe5fb7e6a31be8e2512abf4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
E2E Tests (0)
The following actions uses node12 which is deprecated and will be forced to run on node16: guyarb/golang-test-annotations@f54c4b21ff43e36adfe5fb7e6a31be8e2512abf4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-tests-parts
Expired
|
2.39 KB |
|