chore: address io/ioutil depreciation #837
Annotations
3 errors
|
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-08-05T23:35:40.302Z [INFO] cli: 0.7.1-dev (d761473)\n2024-08-05T23:35:40.302Z [DEBUG] cli: configuration: config=\"&Config{LogLevel:DEBUG, Port:8558, WorkingDir:tmp_validate_errors, ID:cts-fv-az891-174, Syslog:&SyslogConfig{Enabled:false, Facility:LOCAL0, Name:consul-terraform-sync}, Consul:&ConsulConfig{Address:127.0.0.1:11575, 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:11575 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-08-05T23:35:40.302Z [INFO] ctrl: setting up controller: type=daemon\n2024-08-05T23:35:40.302Z [INFO] ctrl: initializing Consul client and testing connection\n2024-08-05T23:35:40.501Z [INFO] driver.terraform: skipping install, terraform already exists: tf_version=1.7.5 install_path=/home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e\n2024-08-05T23:35:40.502Z [INFO] cli: initializing controller\n2024-08-05T23:35:40.502Z [INFO] ctrl: initializing driver factory\n2024-08-05T23:35:40.539Z [INFO] api: starting server: port=8558\n2024-08-05T23:35:40.541Z [DEBUG] registration: creating default HTTP health check: url=http://localhost:8558/v1/health\n2024-08-05T23:35:40.541Z [INFO] ctrl: executing all tasks once through\n2024-08-05T23:35:40.541Z [INFO] ctrl: running task once: task_name=cts_error_task\n2024-08-05T23:35:40.541Z [INFO] registration: registering Consul-Terraform-Sync as a service with Consul: id=cts-fv-az891-174 service_name=consul-terraform-sync\n2024-08-05T23:35:40.541Z [DEBUG] client.consul: registering service: service_id=cts-fv-az891-174 service_name=consul-terraform-sync\n2024-08-05T23:35:40.541Z [INFO] client.terraformcli: Terraform logging is set, Terraform logs will output with Consul-Terraform-Sync logs\n2024-08-05T23:35:40.541Z [INFO] driver.terraform: retrieved 0 Terraform handlers for task: task_name=cts_error_task\n2024-08-05T23:35:40.542Z [DEBUG] templates.tftmpl: creating file in root module for task: file_name=main.tf task_name=cts_error_task file_pa
|
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-08-05T23:35:40.302Z [INFO] cli: 0.7.1-dev (d761473)\n2024-08-05T23:35:40.302Z [DEBUG] cli: configuration: config=\"&Config{LogLevel:DEBUG, Port:8558, WorkingDir:tmp_validate_errors, ID:cts-fv-az891-174, Syslog:&SyslogConfig{Enabled:false, Facility:LOCAL0, Name:consul-terraform-sync}, Consul:&ConsulConfig{Address:127.0.0.1:11575, 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:11575 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-08-05T23:35:40.302Z [INFO] ctrl: setting up controller: type=daemon\n2024-08-05T23:35:40.302Z [INFO] ctrl: initializing Consul client and testing connection\n2024-08-05T23:35:40.501Z [INFO] driver.terraform: skipping install, terraform already exists: tf_version=1.7.5 install_path=/home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e\n2024-08-05T23:35:40.502Z [INFO] cli: initializing controller\n2024-08-05T23:35:40.502Z [INFO] ctrl: initializing driver factory\n2024-08-05T23:35:40.539Z [INFO] api: starting server: port=8558\n2024-08-05T23:35:40.541Z [DEBUG] registration: creating default HTTP health check: url=http://localhost:8558/v1/health\n2024-08-05T23:35:40.541Z [INFO] ctrl: executing all tasks once through\n2024-08-05T23:35:40.541Z [INFO] ctrl: running task once: task_name=cts_error_task\n2024-08-05T23:35:40.541Z [INFO] registration: registering Consul-Terraform-Sync as a service with Consul: id=cts-fv-az891-174 service_name=consul-terraform-sync\n2024-08-05T23:35:40.541Z [DEBUG] client.consul: registering service: service_id=cts-fv-az891-174 service_name=consul-terraform-sync\n2024-08-05T23:35:40.541Z [INFO] client.terraformcli: Terraform logging is set, Terraform logs will output with Consul-Terraform-Sync logs\n2024-08-05T23:35:40.541Z [INFO] driver.terraform: retrieved 0 Terraform handlers for task: task_name=cts_error_task\n2024-08-05T23:35:40.542Z [DEBUG] templates.tftmpl: creating file in root module for task: file_name=main.tf task_name=cts_error_task file_pa
|
This job failed
Loading