ubicloud/spec/prog
Enes Cakir 73b0c66fc0 Fix Vnet::SubnetNexus#destroy to not violate strand leases
Previously, Vnet::SubnetNexus#destroy ran:

```ruby
strand.children.select { it.prog == "Aws::Vpc" }.each { it.destroy }
```

This is not safe as there could be an existing lease for Aws::Vpc
children.

@jeremy fixed a similar issue at 773562ebc.

Fix this by private subnet increments the destroy semaphore instead of
destroying directly. Aws::Vpc will pop out if the destroy semaphore is
incremented.

I didn’t add semaphore :destroy to Aws::Vpc, since one of its subjects
is :private_subnet, which already has a destroy semaphore.
2025-10-03 17:51:41 +03:00
..
ai Change all create_with_id to create 2025-08-06 01:55:51 +09:00
aws Fix Vnet::SubnetNexus#destroy to not violate strand leases 2025-10-03 17:51:41 +03:00
dns_zone Use create_with_id in the specs 2025-08-07 02:13:08 +09:00
github Change all create_with_id to create 2025-08-06 01:55:51 +09:00
kubernetes More checks to k8s update_billing_records spec 2025-09-19 09:13:43 +03:00
minio Validate minio cluster information before use 2025-09-27 02:10:40 +09:00
postgres Start using az selection capabilities of the VM for PG Standby 2025-09-19 16:19:50 +02:00
storage Use create_with_id in the specs 2025-08-07 02:13:08 +09:00
test Add normal restart e2e test to CSI 2025-09-24 11:59:14 +02:00
victoria_metrics Change all create_with_id to create 2025-08-06 01:55:51 +09:00
vm Fix Vm::Nexus#destroy to not violate strand leases 2025-10-03 17:51:41 +03:00
vnet Fix Vnet::SubnetNexus#destroy to not violate strand leases 2025-10-03 17:51:41 +03:00
base_spec.rb Add Prog::Base.current_prog to find prog information in the stack 2025-09-24 20:14:15 -07:00
bootstrap_rhizome_spec.rb Fix PostgresServerNexus#destroy to not violate strand leases 2025-09-16 06:11:16 +09:00
check_usage_alerts_spec.rb Remove all skip_if_frozen{_models} calls in the specs 2024-10-30 12:08:24 -07:00
download_boot_image_spec.rb Print image download logs if it's failed 2025-08-27 20:06:15 +03:00
download_cloud_hypervisor_spec.rb Add create_vm_host spec helper 2025-02-03 08:34:22 +03:00
download_firmware_spec.rb Add create_vm_host spec helper 2025-02-03 08:34:22 +03:00
expire_project_invitations_spec.rb Expire project invitation after 7 days 2024-09-10 19:21:45 +03:00
heartbeat_spec.rb Call original Clog.emit message when mocking in the tests 2025-05-31 01:20:38 +09:00
install_dnsmasq_spec.rb Have last exiting child schedule parent strand 2025-06-28 03:30:43 +09:00
install_rhizome_spec.rb Fix PostgresServerNexus#destroy to not violate strand leases 2025-09-16 06:11:16 +09:00
learn_cpu_spec.rb Fix learning total_dies in arm64. 2024-11-22 12:08:50 -08:00
learn_memory_spec.rb Clean up nap/hop/exit expectations in specs 2023-10-31 18:04:34 +03:00
learn_network_spec.rb VmHost learn network without IPv6 2025-09-04 14:15:35 +02:00
learn_os_spec.rb Switch VM Host Reimage defaults and specs to Ubuntu 24.04 2025-09-12 10:53:44 +03:00
learn_pci_spec.rb Change all create_with_id to create 2025-08-06 01:55:51 +09:00
learn_storage_spec.rb Change all create_with_id to create 2025-08-06 01:55:51 +09:00
log_vm_host_utilizations_spec.rb Log how many runners can fit into available capacity 2025-07-17 09:59:55 +01:00
page_nexus_spec.rb Change rubocop TargetRubyVersion to 3.4 2025-04-26 06:51:19 +09:00
redeliver_github_failures_spec.rb Use Time.utc instead of Time.parse in tests 2025-04-30 16:44:32 +03:00
remove_boot_image_spec.rb Change all create_with_id to create 2025-08-06 01:55:51 +09:00
resolve_globally_blocked_dnsnames_spec.rb Change all create_with_id to create 2025-08-06 01:55:51 +09:00
rotate_ssh_key_spec.rb Add tests for Prog::RotateSshKey 2023-08-07 09:44:56 +03:00
rotate_storage_kek_spec.rb Change rubocop TargetRubyVersion to 3.4 2025-04-26 06:51:19 +09:00
setup_grafana_spec.rb Have last exiting child schedule parent strand 2025-06-28 03:30:43 +09:00
setup_hugepages_spec.rb Change the hugepages arithmetic. 2024-02-27 11:34:14 -08:00
setup_nftables_spec.rb Start using nftables at host to block unused ip addresses 2024-02-21 11:40:20 +01:00
setup_node_exporter_spec.rb Add node_exporter installation prog to VmHost 2025-06-25 10:59:23 +02:00
setup_sysstat_spec.rb Install Sysstat. 2023-11-10 12:54:43 -08:00
test_smoke_spec.rb Add respirate smoke test 2025-05-31 01:20:38 +09:00
validate_vat_spec.rb Send an email if the validated VAT is invalid 2025-03-19 09:46:45 +03:00