2025-09-11 11:22:33,159 - INFO - Domain Default found not creating 2025-09-11 11:22:33,307 - INFO - Project ctest-TestBasicPolicy-72460665 not found, creating it 2025-09-11 11:22:33,756 - INFO - Created Project:ctest-TestBasicPolicy-72460665, ID : 34506e3f-6ea2-4b62-889f-9f8530a2aa77 2025-09-11 11:22:35,148 - INFO - ================================================================================ 2025-09-11 11:22:35,148 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 11:22:35,148 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-09-11 11:22:35,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-09-11 11:22:35,403 - INFO - Initial checks done. Running the testcase now 2025-09-11 11:22:35,403 - INFO - 2025-09-11 11:22:35,920 - DEBUG - Response for create_network : {'network': {'id': '3e8523e8-c3d3-4e74-839e-ece4d9fc8ccd', 'name': 'ctest-vn-18982092', 'tenant_id': '34506e3f6ea24b62889f9f8530a2aa77', 'project_id': '34506e3f6ea24b62889f9f8530a2aa77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72460665', 'ctest-vn-18982092'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 11:22:36,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '719c0484-e814-4dbb-b986-c27d250401e5', 'name': '', 'tenant_id': '34506e3f6ea24b62889f9f8530a2aa77', 'network_id': '3e8523e8-c3d3-4e74-839e-ece4d9fc8ccd', 'ip_version': 4, 'cidr': '135.29.187.0/26', 'allocation_pools': [{'start': '135.29.187.2', 'end': '135.29.187.62'}], 'gateway_ip': '135.29.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.29.187.2', 'tags': [], 'project_id': '34506e3f6ea24b62889f9f8530a2aa77'}} 2025-09-11 11:22:36,081 - INFO - Created VN ctest-vn-18982092 2025-09-11 11:22:36,133 - DEBUG - VN ctest-vn-18982092 UUID is 3e8523e8-c3d3-4e74-839e-ece4d9fc8ccd 2025-09-11 11:22:36,463 - DEBUG - Response for create_network : {'network': {'id': '9780dc63-eaf9-4167-9343-b78f7721993c', 'name': 'ctest-vn-49873153', 'tenant_id': '34506e3f6ea24b62889f9f8530a2aa77', 'project_id': '34506e3f6ea24b62889f9f8530a2aa77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72460665', 'ctest-vn-49873153'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 11:22:36,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '59322dea-edcf-4f22-b5ca-32188c14f4a4', 'name': '', 'tenant_id': '34506e3f6ea24b62889f9f8530a2aa77', 'network_id': '9780dc63-eaf9-4167-9343-b78f7721993c', 'ip_version': 4, 'cidr': '136.154.235.64/26', 'allocation_pools': [{'start': '136.154.235.66', 'end': '136.154.235.126'}], 'gateway_ip': '136.154.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.154.235.66', 'tags': [], 'project_id': '34506e3f6ea24b62889f9f8530a2aa77'}} 2025-09-11 11:22:36,682 - INFO - Created VN ctest-vn-49873153 2025-09-11 11:22:36,732 - DEBUG - VN ctest-vn-49873153 UUID is 9780dc63-eaf9-4167-9343-b78f7721993c 2025-09-11 11:22:36,847 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-18982092, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-49873153, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-09-11 11:22:37,144 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3e8523e8-c3d3-4e74-839e-ece4d9fc8ccd', 'name': 'ctest-vn-18982092', 'tenant_id': '34506e3f6ea24b62889f9f8530a2aa77', 'project_id': '34506e3f6ea24b62889f9f8530a2aa77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['719c0484-e814-4dbb-b986-c27d250401e5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72460665', 'ctest-vn-18982092'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72460665', 'ctest-policy-allow-all-82745411']], 'subnet_ipam': [{'subnet_cidr': '135.29.187.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 11:22:37,363 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9780dc63-eaf9-4167-9343-b78f7721993c', 'name': 'ctest-vn-49873153', 'tenant_id': '34506e3f6ea24b62889f9f8530a2aa77', 'project_id': '34506e3f6ea24b62889f9f8530a2aa77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59322dea-edcf-4f22-b5ca-32188c14f4a4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72460665', 'ctest-vn-49873153'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72460665', 'ctest-policy-allow-all-82745411']], 'subnet_ipam': [{'subnet_cidr': '136.154.235.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 11:22:37,517 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-11 11:22:37,809 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-11 11:22:37,838 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fcd05486-4794-4521-a44f-dc0b67f859be 2025-09-11 11:22:37,851 - DEBUG - Requesting: http://10.0.0.38:8082/project/34506e3f-6ea2-4b62-889f-9f8530a2aa77 2025-09-11 11:22:37,929 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3e8523e8-c3d3-4e74-839e-ece4d9fc8ccd 2025-09-11 11:22:37,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3e8523e8-c3d3-4e74-839e-ece4d9fc8ccd 2025-09-11 11:22:37,975 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbe3216-af28-43da-8ca4-8cea824ce5f6 2025-09-11 11:22:37,993 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbe3216-af28-43da-8ca4-8cea824ce5f6 2025-09-11 11:22:38,010 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1126f5fa-87a7-46c4-8b53-54c2cd853e16 2025-09-11 11:22:38,040 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 11:22:38,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3e8523e8-c3d3-4e74-839e-ece4d9fc8ccd 2025-09-11 11:22:38,054 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbe3216-af28-43da-8ca4-8cea824ce5f6 2025-09-11 11:22:38,087 - INFO - Verified VN network id 12 for VN 3e8523e8-c3d3-4e74-839e-ece4d9fc8ccd 2025-09-11 11:22:38,087 - INFO - Verifications in API Server for VN ctest-vn-18982092 passed 2025-09-11 11:22:38,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3e8523e8-c3d3-4e74-839e-ece4d9fc8ccd 2025-09-11 11:22:38,121 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbe3216-af28-43da-8ca4-8cea824ce5f6 2025-09-11 11:22:38,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbe3216-af28-43da-8ca4-8cea824ce5f6 2025-09-11 11:22:38,134 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1126f5fa-87a7-46c4-8b53-54c2cd853e16 2025-09-11 11:22:38,144 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-18982092', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72460665', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4505046484878839412', 'uuid-lslong': '9484278332942748877'}, 'enable': 'true', 'created': '2025-09-11T11:22:35', 'last-modified': '2025-09-11T11:22:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.023331'} 2025-09-11 11:22:38,150 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 11:22:38,150 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18982092 passed 2025-09-11 11:22:38,150 - DEBUG - ====Verifying policy data for ctest-vn-18982092 in API_Server ====== 2025-09-11 11:22:38,150 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-11 11:22:38,162 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fcd05486-4794-4521-a44f-dc0b67f859be 2025-09-11 11:22:38,192 - DEBUG - Requesting: http://10.0.0.38:8082/project/34506e3f-6ea2-4b62-889f-9f8530a2aa77 2025-09-11 11:22:38,295 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3e8523e8-c3d3-4e74-839e-ece4d9fc8ccd 2025-09-11 11:22:38,316 - DEBUG - ==>Verifying data for policy with id: ae58de7f-50ce-4cc4-a54b-b1f86c8193bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-72460665', 'ctest-policy-allow-all-82745411'] 2025-09-11 11:22:38,316 - INFO - VN ctest-vn-18982092 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 11:22:38,316 - DEBUG - Verifying the vn in opserver 2025-09-11 11:22:38,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-18982092 virtual network link through opserver 10.0.0.38 2025-09-11 11:22:38,316 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-11 11:22:38,651 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-11 11:22:38,705 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-18982092', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-18982092?flat'} 2025-09-11 11:22:38,705 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-18982092 is found in opserver 2025-09-11 11:22:38,715 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 11:22:38,720 - DEBUG - VRF ids for VN ctest-vn-18982092: {} 2025-09-11 11:22:38,720 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-11 11:22:38,726 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fcd05486-4794-4521-a44f-dc0b67f859be 2025-09-11 11:22:38,739 - DEBUG - Requesting: http://10.0.0.38:8082/project/34506e3f-6ea2-4b62-889f-9f8530a2aa77 2025-09-11 11:22:38,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9780dc63-eaf9-4167-9343-b78f7721993c 2025-09-11 11:22:38,819 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9780dc63-eaf9-4167-9343-b78f7721993c 2025-09-11 11:22:38,826 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6f89a72-0e3d-4524-a87f-1672608e729a 2025-09-11 11:22:38,832 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6f89a72-0e3d-4524-a87f-1672608e729a 2025-09-11 11:22:38,838 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1270c383-3624-4ecf-a4eb-0625b6272515 2025-09-11 11:22:38,843 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 11:22:38,843 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9780dc63-eaf9-4167-9343-b78f7721993c 2025-09-11 11:22:38,851 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6f89a72-0e3d-4524-a87f-1672608e729a 2025-09-11 11:22:38,863 - INFO - Verified VN network id 13 for VN 9780dc63-eaf9-4167-9343-b78f7721993c 2025-09-11 11:22:38,863 - INFO - Verifications in API Server for VN ctest-vn-49873153 passed 2025-09-11 11:22:38,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9780dc63-eaf9-4167-9343-b78f7721993c 2025-09-11 11:22:38,871 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6f89a72-0e3d-4524-a87f-1672608e729a 2025-09-11 11:22:38,876 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6f89a72-0e3d-4524-a87f-1672608e729a 2025-09-11 11:22:38,883 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1270c383-3624-4ecf-a4eb-0625b6272515 2025-09-11 11:22:38,894 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-49873153', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72460665', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10916967818448159079', 'uuid-lslong': '10611526973821917500'}, 'enable': 'true', 'created': '2025-09-11T11:22:36', 'last-modified': '2025-09-11T11:22:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.549151'} 2025-09-11 11:22:38,899 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 11:22:38,899 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49873153 passed 2025-09-11 11:22:38,899 - DEBUG - ====Verifying policy data for ctest-vn-49873153 in API_Server ====== 2025-09-11 11:22:38,899 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-11 11:22:38,904 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fcd05486-4794-4521-a44f-dc0b67f859be 2025-09-11 11:22:38,913 - DEBUG - Requesting: http://10.0.0.38:8082/project/34506e3f-6ea2-4b62-889f-9f8530a2aa77 2025-09-11 11:22:38,985 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9780dc63-eaf9-4167-9343-b78f7721993c 2025-09-11 11:22:38,993 - DEBUG - ==>Verifying data for policy with id: ae58de7f-50ce-4cc4-a54b-b1f86c8193bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-72460665', 'ctest-policy-allow-all-82745411'] 2025-09-11 11:22:38,993 - INFO - VN ctest-vn-49873153 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 11:22:38,994 - DEBUG - Verifying the vn in opserver 2025-09-11 11:22:38,994 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-49873153 virtual network link through opserver 10.0.0.38 2025-09-11 11:22:38,994 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-11 11:22:39,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-49873153', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-49873153?flat'} 2025-09-11 11:22:39,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-49873153 is found in opserver 2025-09-11 11:22:39,011 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 11:22:39,015 - DEBUG - VRF ids for VN ctest-vn-49873153: {} 2025-09-11 11:22:39,075 - DEBUG - Services list from nova: [, , ] 2025-09-11 11:22:40,082 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4089-1) 2025-09-11 11:22:41,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4089-1) 2025-09-11 11:22:41,181 - INFO - Waiting for VM ctest-TestBasicPolicy-72460665-62068238 to be up.. 2025-09-11 11:22:41,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 11:22:46,347 - DEBUG - VM is in ACTIVE state now 2025-09-11 11:22:46,348 - INFO - VM name : ctest-TestBasicPolicy-72460665-62068238 2025-09-11 11:22:46,420 - DEBUG - VM ctest-TestBasicPolicy-72460665-62068238 ID is 8835a200-6791-4f7b-af4e-d0695a49eef6 2025-09-11 11:22:46,439 - DEBUG - VM ctest-TestBasicPolicy-72460665-62068238 launched on Node cn-jenkins-deploy-platform-ansible-os-4089-1 2025-09-11 11:22:46,510 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8835a200-6791-4f7b-af4e-d0695a49eef6 2025-09-11 11:22:46,517 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e5ae8a98-2414-4836-93fc-716cbd1e44af 2025-09-11 11:22:49,780 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-09-11 11:22:49,780 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72460665-62068238 failed! 2025-09-11 11:22:49,832 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72460665:ctest-vn-18982092 is 135.29.187.1 and allocation pool is NOT set 2025-09-11 11:22:51,888 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.443/5.717/10.991/5.274 ms') 2025-09-11 11:22:51,888 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72460665-62068238 passed 2025-09-11 11:22:52,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:22:52,037 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72460665-62068238, IP 135.29.187.3, Port 22 2025-09-11 11:22:52,211 - DEBUG - VM ctest-TestBasicPolicy-72460665-62068238 is ready for SSH connections 2025-09-11 11:22:52,211 - INFO - Waiting for VM ctest-TestBasicPolicy-72460665-23798869 to be up.. 2025-09-11 11:22:52,290 - DEBUG - VM is in ACTIVE state now 2025-09-11 11:22:52,290 - INFO - VM name : ctest-TestBasicPolicy-72460665-23798869 2025-09-11 11:22:52,364 - DEBUG - VM ctest-TestBasicPolicy-72460665-23798869 ID is 84547ff5-ea77-440d-94cd-e59943948e81 2025-09-11 11:22:52,364 - DEBUG - VM ctest-TestBasicPolicy-72460665-23798869 launched on Node cn-jenkins-deploy-platform-ansible-os-4089-1 2025-09-11 11:22:52,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/84547ff5-ea77-440d-94cd-e59943948e81 2025-09-11 11:22:52,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c3e75dd0-c8fa-40b8-aba0-ad7d3114a02a 2025-09-11 11:22:53,680 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.03 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.034/3.239/4.445/1.205 ms') 2025-09-11 11:22:53,680 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72460665-23798869 passed 2025-09-11 11:22:53,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:22:53,833 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72460665-23798869, IP 136.154.235.67, Port 22 2025-09-11 11:22:54,003 - DEBUG - VM ctest-TestBasicPolicy-72460665-23798869 is ready for SSH connections 2025-09-11 11:22:54,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:22:54,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.154.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-11 11:22:54,004 - DEBUG - ping -s 56 -c 3 -W 1 136.154.235.67 2025-09-11 11:22:58,060 - DEBUG - PING 136.154.235.67 (136.154.235.67): 56 data bytes 64 bytes from 136.154.235.67: seq=0 ttl=63 time=4.216 ms 64 bytes from 136.154.235.67: seq=1 ttl=63 time=0.885 ms 64 bytes from 136.154.235.67: seq=2 ttl=63 time=1.183 ms --- 136.154.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.885/2.094/4.216 ms 2025-09-11 11:22:58,060 - INFO - Ping to IP 136.154.235.67 from VM ctest-TestBasicPolicy-72460665-62068238 passed 2025-09-11 11:22:58,232 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ae58de7f-50ce-4cc4-a54b-b1f86c8193bb", "href": "http://10.0.0.38:8082/network-policy/ae58de7f-50ce-4cc4-a54b-b1f86c8193bb"}} 2025-09-11 11:22:58,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:22:58,233 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.154.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-11 11:22:58,233 - DEBUG - ping -s 56 -c 3 -W 1 136.154.235.67 2025-09-11 11:23:01,445 - DEBUG - PING 136.154.235.67 (136.154.235.67): 56 data bytes --- 136.154.235.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 11:23:01,445 - WARNING - Ping to IP 136.154.235.67 from VM ctest-TestBasicPolicy-72460665-62068238 failed 2025-09-11 11:23:01,445 - INFO - Deleting VM ctest-TestBasicPolicy-72460665-23798869 2025-09-11 11:23:01,513 - INFO - Deleting VM ctest-TestBasicPolicy-72460665-62068238 2025-09-11 11:23:01,878 - INFO - Deleted policy ctest-policy-allow-all-82745411 2025-09-11 11:23:01,878 - INFO - Deleting VN ctest-vn-49873153 2025-09-11 11:23:01,914 - DEBUG - VN 9780dc63-eaf9-4167-9343-b78f7721993c still in use: Unable to complete operation on network 9780dc63-eaf9-4167-9343-b78f7721993c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-adb8dc13-f62b-4a7d-9c01-bed6a2cf6453'] 2025-09-11 11:23:01,914 - WARNING - Deleting VN ctest-vn-49873153 failed..Will retry 2025-09-11 11:23:04,011 - DEBUG - Response for deleting network () 2025-09-11 11:23:04,011 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6f89a72-0e3d-4524-a87f-1672608e729a 2025-09-11 11:23:04,016 - DEBUG - Response Code: 404 2025-09-11 11:23:04,016 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-11 11:23:04,020 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fcd05486-4794-4521-a44f-dc0b67f859be 2025-09-11 11:23:04,073 - DEBUG - Requesting: http://10.0.0.38:8082/project/34506e3f-6ea2-4b62-889f-9f8530a2aa77 2025-09-11 11:23:04,139 - INFO - Validated that VN ctest-vn-49873153 is not found in API Server 2025-09-11 11:23:04,148 - DEBUG - VN ctest-vn-49873153 is not present in Agent 10.0.0.38 2025-09-11 11:23:04,148 - INFO - Validated that VN ctest-vn-49873153 is not in any agent 2025-09-11 11:23:04,161 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49873153 info 2025-09-11 11:23:04,161 - INFO - Deleting VN ctest-vn-18982092 2025-09-11 11:23:04,282 - DEBUG - Response for deleting network () 2025-09-11 11:23:04,283 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cbe3216-af28-43da-8ca4-8cea824ce5f6 2025-09-11 11:23:04,289 - DEBUG - Response Code: 404 2025-09-11 11:23:04,289 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-11 11:23:04,296 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fcd05486-4794-4521-a44f-dc0b67f859be 2025-09-11 11:23:04,350 - DEBUG - Requesting: http://10.0.0.38:8082/project/34506e3f-6ea2-4b62-889f-9f8530a2aa77 2025-09-11 11:23:04,422 - INFO - Validated that VN ctest-vn-18982092 is not found in API Server 2025-09-11 11:23:04,434 - DEBUG - VN ctest-vn-18982092 is not present in Agent 10.0.0.38 2025-09-11 11:23:04,434 - INFO - Validated that VN ctest-vn-18982092 is not in any agent 2025-09-11 11:23:04,448 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18982092 info 2025-09-11 11:23:04,706 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 11:23:04,706 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-11 11:23:04,706 - INFO - -------------------------------------------------------------------------------- 2025-09-11 11:23:05,407 - INFO - Deleted project: ctest-TestBasicPolicy-72460665, ID : 34506e3f-6ea2-4b62-889f-9f8530a2aa77