More sessions
This commit is contained in:
47
tmp/dalmatian/tool-outputs/run_shell_command_168.txt
Normal file
47
tmp/dalmatian/tool-outputs/run_shell_command_168.txt
Normal file
@@ -0,0 +1,47 @@
|
||||
Output: Run options: include {:locations=>{"./spec/integration/tests_local_configuration_spec.rb"=>[3119]}}
|
||||
|
||||
tests local configuration
|
||||
invokes "terraform validate" with the expected cluster options (FAILED - 1)
|
||||
|
||||
Failures:
|
||||
|
||||
1) tests local configuration invokes "terraform validate" with the expected cluster options
|
||||
Failure/Error: Helper.run!(cmd)
|
||||
|
||||
#<Dalmatian::Helper (class)> received :run! with unexpected arguments
|
||||
expected: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_example_var='bar' TF_VAR_environment='production' TF_VAR_cluster_name='shared-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='existing-shared-cluster-production' TF_VAR_dalmatian_role='dalmatian-read' terraform plan")
|
||||
got: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' TF_VAR_rds='{identifier =\"testservice\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},instance_class ={production =\"db.t2.small\",staging =\"db.t2.micro\"},engine =\"postgres\",engine_version =\"11.4\",allocated_storage =20,storage_encrypted =true,storage_type =\"gp3\",db_name =\"testapp\",port =5432,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,force_ssl =true,parameter_store_path_db_url_name =\"DATABASE_URL\",sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],check_sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],sync_sql_backup_to_azure =false,codebuild_access =[\"service-name\"]}' terraform validate")
|
||||
Please stub a default value first if message might be received with other args as well.
|
||||
# ./lib/dalmatian/terraform.rb:17:in `validate'
|
||||
# ./lib/dalmatian/testable.rb:25:in `terraform_validate'
|
||||
# ./lib/dalmatian/testable.rb:9:in `call'
|
||||
# ./lib/dalmatian/cluster.rb:353:in `test_rds'
|
||||
# ./lib/dalmatian/cluster.rb:261:in `deploy_rds'
|
||||
# ./lib/dalmatian/cluster.rb:70:in `block (2 levels) in deploy'
|
||||
# ./lib/dalmatian/cluster.rb:68:in `each'
|
||||
# ./lib/dalmatian/cluster.rb:68:in `block in deploy'
|
||||
# ./lib/dalmatian/cluster.rb:59:in `each'
|
||||
# ./lib/dalmatian/cluster.rb:59:in `deploy'
|
||||
# ./lib/dalmatian/infrastructure.rb:24:in `block in deploy'
|
||||
# ./lib/dalmatian/infrastructure.rb:22:in `each'
|
||||
# ./lib/dalmatian/infrastructure.rb:22:in `deploy'
|
||||
# ./lib/dalmatian/infrastructure.rb:18:in `test'
|
||||
# ./spec/integration/tests_local_configuration_spec.rb:3116:in `block (2 levels) in <module:Dalmatian>'
|
||||
# ./spec/support/spec_helper.rb:24:in `block (3 levels) in <top (required)>'
|
||||
# /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:24:in `block in modify'
|
||||
# /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `synchronize'
|
||||
# /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `modify'
|
||||
# ./spec/support/spec_helper.rb:20:in `block (2 levels) in <top (required)>'
|
||||
# /Users/bob/.bundles/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
|
||||
|
||||
Finished in 0.05628 seconds (files took 0.57525 seconds to load)
|
||||
1 example, 1 failure
|
||||
|
||||
Failed examples:
|
||||
|
||||
rspec ./spec/integration/tests_local_configuration_spec.rb:3119 # tests local configuration invokes "terraform validate" with the expected cluster options
|
||||
|
||||
Coverage report generated for RSpec to /Users/bob/git/dxw/dalmatian/coverage. 1125 / 1772 LOC (63.49%) covered.
|
||||
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
|
||||
Exit Code: 1
|
||||
Process Group PGID: 59577
|
||||
Reference in New Issue
Block a user