chore: address io/ioutil depreciation #795
Annotations
6 errors and 2 warnings
Run E2E tests
Process completed with exit code 2.
|
Annotate tests:
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
|
Annotate tests:
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
|
Annotate tests:
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
|
Annotate tests:
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
|
Annotate tests:
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
|
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/.
|
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/
|
Loading