Skip to content

Merge pull request #1070 from hashicorp/release/0.7.1 #671

Merge pull request #1070 from hashicorp/release/0.7.1

Merge pull request #1070 from hashicorp/release/0.7.1 #671

Triggered via push October 26, 2023 15:36
Status Failure
Total duration 7m 11s
Artifacts 1

ci.yml

on: push
Run-Check
6s
Run-Check
E2E Tests Splitting
31s
E2E Tests Splitting
Matrix: E2E Tests
Slack Notification
4s
Slack Notification
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 5 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:37101": 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:42673": 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: "2023-10-26T15:38:55.746Z [INFO] cli: 0.7.1-dev (d87e024)\n2023-10-26T15:38:55.747Z [DEBUG] cli: configuration: config=\"&Config{LogLevel:DEBUG, Port:33039, 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:10033, 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:10033 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}}\"\n2023-10-26T15:38:55.748Z [INFO] ctrl: setting up controller: type=daemon\n2023-10-26T15:38:55.748Z [INFO] ctrl: initializing Consul client and testing connection\n2023-10-26T15:38:55.907Z [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.6.2 compatible_version_constraint=\">= 0.13.0, < 1.3.0\"\n2023-10-26T15:38:55.907Z [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:38989": 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:40669": 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:35221": 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: "2023-10-26T15:39:44.955Z [INFO] cli: 0.7.1-dev (d87e024)\n2023-10-26T15:39:44.955Z [DEBUG] cli: configuration: config=\"&Config{LogLevel:DEBUG, Port:8558, WorkingDir:tmp_validate_errors, ID:cts-fv-az268-34, Syslog:&SyslogConfig{Enabled:false, Facility:LOCAL0, Name:consul-terraform-sync}, Consul:&ConsulConfig{Address:127.0.0.1:22063, 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:22063 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}}\"\n2023-10-26T15:39:44.955Z [INFO] ctrl: setting up controller: type=daemon\n2023-10-26T15:39:44.955Z [INFO] ctrl: initializing Consul client and testing connection\n2023-10-26T15:39:45.007Z [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.6.2 compatible_version_constraint=\">= 0.13.0, < 1.3.0\"\n2023-10-26T15:39:45.007Z [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: "2023-10-26T15:39:44.955Z [INFO] cli: 0.7.1-dev (d87e024)\n2023-10-26T15:39:44.955Z [DEBUG] cli: configuration: config=\"&Config{LogLevel:DEBUG, Port:8558, WorkingDir:tmp_validate_errors, ID:cts-fv-az268-34, Syslog:&SyslogConfig{Enabled:false, Facility:LOCAL0, Name:consul-terraform-sync}, Consul:&ConsulConfig{Address:127.0.0.1:22063, 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:22063 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}}\"\n2023-10-26T15:39:44.955Z [INFO] ctrl: setting up controller: type=daemon\n2023-10-26T15:39:44.955Z [INFO] ctrl: initializing Consul client and testing connection\n2023-10-26T15:39:45.007Z [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.6.2 compatible_version_constraint=\">= 0.13.0, < 1.3.0\"\n2023-10-26T15:39:45.007Z [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:34483": 30s Test: TestE2E_StatusEndpoints
E2E Tests (0): e2e/command_test.go#L48
command_test.go:48: Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/command_test.go:48 Error: Received unexpected error: client timed out waiting for tasks run once using api host "localhost:45111": 30s Test: TestE2E_MetaCommandErrors
E2E Tests (0): e2e/command_test.go#L261
command_test.go:261: Error Trace: /home/runner/work/consul-terraform-sync/consul-terraform-sync/e2e/command_test.go:261 Error: Received unexpected error: client timed out waiting for tasks run once using api host "localhost:35011": 30s Test: TestE2E_ReenableTaskTriggers
E2E Tests (0)
Process completed with exit code 2.
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)
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)
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)
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)
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