2025-08-22 13:55:34,188 - INFO - Domain Default found not creating 2025-08-22 13:55:34,341 - INFO - Project ctest-TestBasicPolicy-28059174 not found, creating it 2025-08-22 13:55:34,854 - INFO - Created Project:ctest-TestBasicPolicy-28059174, ID : aba91b2d-c3fa-4965-b0be-6fb3339a9b38 2025-08-22 13:55:36,261 - INFO - ================================================================================ 2025-08-22 13:55:36,261 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-22 13:55:36,261 - 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-08-22 13:55:36,523 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-22 13:55:36,523 - INFO - Initial checks done. Running the testcase now 2025-08-22 13:55:36,523 - INFO - 2025-08-22 13:55:37,099 - DEBUG - Response for create_network : {'network': {'id': 'b362397f-ba7c-476b-84e4-3cc010967825', 'name': 'ctest-vn-32024292', 'tenant_id': 'aba91b2dc3fa4965b0be6fb3339a9b38', 'project_id': 'aba91b2dc3fa4965b0be6fb3339a9b38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28059174', 'ctest-vn-32024292'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 13:55:37,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '34e0ff51-ea36-4cc4-a291-9bbe2b443763', 'name': '', 'tenant_id': 'aba91b2dc3fa4965b0be6fb3339a9b38', 'network_id': 'b362397f-ba7c-476b-84e4-3cc010967825', 'ip_version': 4, 'cidr': '145.134.53.192/26', 'allocation_pools': [{'start': '145.134.53.194', 'end': '145.134.53.254'}], 'gateway_ip': '145.134.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.134.53.194', 'tags': [], 'project_id': 'aba91b2dc3fa4965b0be6fb3339a9b38'}} 2025-08-22 13:55:37,346 - INFO - Created VN ctest-vn-32024292 2025-08-22 13:55:37,401 - DEBUG - VN ctest-vn-32024292 UUID is b362397f-ba7c-476b-84e4-3cc010967825 2025-08-22 13:55:37,755 - DEBUG - Response for create_network : {'network': {'id': 'ff7fbab4-f499-448b-bcf8-e8b0edaf5349', 'name': 'ctest-vn-59082160', 'tenant_id': 'aba91b2dc3fa4965b0be6fb3339a9b38', 'project_id': 'aba91b2dc3fa4965b0be6fb3339a9b38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28059174', 'ctest-vn-59082160'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 13:55:37,948 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edd46968-3330-42fd-97f3-861462cf5be9', 'name': '', 'tenant_id': 'aba91b2dc3fa4965b0be6fb3339a9b38', 'network_id': 'ff7fbab4-f499-448b-bcf8-e8b0edaf5349', 'ip_version': 4, 'cidr': '220.133.244.192/26', 'allocation_pools': [{'start': '220.133.244.194', 'end': '220.133.244.254'}], 'gateway_ip': '220.133.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.133.244.194', 'tags': [], 'project_id': 'aba91b2dc3fa4965b0be6fb3339a9b38'}} 2025-08-22 13:55:37,966 - INFO - Created VN ctest-vn-59082160 2025-08-22 13:55:38,017 - DEBUG - VN ctest-vn-59082160 UUID is ff7fbab4-f499-448b-bcf8-e8b0edaf5349 2025-08-22 13:55:38,169 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-32024292, 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-28059174:ctest-vn-59082160, 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-08-22 13:55:38,492 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b362397f-ba7c-476b-84e4-3cc010967825', 'name': 'ctest-vn-32024292', 'tenant_id': 'aba91b2dc3fa4965b0be6fb3339a9b38', 'project_id': 'aba91b2dc3fa4965b0be6fb3339a9b38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34e0ff51-ea36-4cc4-a291-9bbe2b443763'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28059174', 'ctest-vn-32024292'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28059174', 'ctest-policy-allow-all-66280779']], 'subnet_ipam': [{'subnet_cidr': '145.134.53.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-22 13:55:38,793 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff7fbab4-f499-448b-bcf8-e8b0edaf5349', 'name': 'ctest-vn-59082160', 'tenant_id': 'aba91b2dc3fa4965b0be6fb3339a9b38', 'project_id': 'aba91b2dc3fa4965b0be6fb3339a9b38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['edd46968-3330-42fd-97f3-861462cf5be9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28059174', 'ctest-vn-59082160'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28059174', 'ctest-policy-allow-all-66280779']], 'subnet_ipam': [{'subnet_cidr': '220.133.244.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-22 13:55:38,941 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-22 13:55:39,242 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-22 13:55:39,268 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04ea8c22-e375-40ac-af44-d1fa6999dd92 2025-08-22 13:55:39,280 - DEBUG - Requesting: http://10.0.0.38:8082/project/aba91b2d-c3fa-4965-b0be-6fb3339a9b38 2025-08-22 13:55:39,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b362397f-ba7c-476b-84e4-3cc010967825 2025-08-22 13:55:39,371 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b362397f-ba7c-476b-84e4-3cc010967825 2025-08-22 13:55:39,380 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b242cf68-7292-4455-902f-26ed98057171 2025-08-22 13:55:39,387 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b242cf68-7292-4455-902f-26ed98057171 2025-08-22 13:55:39,394 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/728bf702-3cd8-428b-a4ae-80e827d1d728 2025-08-22 13:55:39,401 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-22 13:55:39,401 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b362397f-ba7c-476b-84e4-3cc010967825 2025-08-22 13:55:39,410 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b242cf68-7292-4455-902f-26ed98057171 2025-08-22 13:55:39,426 - INFO - Verified VN network id 10 for VN b362397f-ba7c-476b-84e4-3cc010967825 2025-08-22 13:55:39,426 - INFO - Verifications in API Server for VN ctest-vn-32024292 passed 2025-08-22 13:55:39,426 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b362397f-ba7c-476b-84e4-3cc010967825 2025-08-22 13:55:39,436 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b242cf68-7292-4455-902f-26ed98057171 2025-08-22 13:55:39,442 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b242cf68-7292-4455-902f-26ed98057171 2025-08-22 13:55:39,449 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/728bf702-3cd8-428b-a4ae-80e827d1d728 2025-08-22 13:55:39,462 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-32024292', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28059174', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12925957101259081579', 'uuid-lslong': '9575845503306201125'}, 'enable': 'true', 'created': '2025-08-22T13:55:37', 'last-modified': '2025-08-22T13:55:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017940'} 2025-08-22 13:55:39,468 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-22 13:55:39,469 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32024292 passed 2025-08-22 13:55:39,469 - DEBUG - ====Verifying policy data for ctest-vn-32024292 in API_Server ====== 2025-08-22 13:55:39,469 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-22 13:55:39,474 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04ea8c22-e375-40ac-af44-d1fa6999dd92 2025-08-22 13:55:39,485 - DEBUG - Requesting: http://10.0.0.38:8082/project/aba91b2d-c3fa-4965-b0be-6fb3339a9b38 2025-08-22 13:55:39,561 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b362397f-ba7c-476b-84e4-3cc010967825 2025-08-22 13:55:39,572 - DEBUG - ==>Verifying data for policy with id: 2e028fcc-8955-406c-beac-4a8f1034074c, fqn: ['default-domain', 'ctest-TestBasicPolicy-28059174', 'ctest-policy-allow-all-66280779'] 2025-08-22 13:55:39,573 - INFO - VN ctest-vn-32024292 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-22 13:55:39,573 - DEBUG - Verifying the vn in opserver 2025-08-22 13:55:39,573 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-32024292 virtual network link through opserver 10.0.0.38 2025-08-22 13:55:39,573 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-22 13:55:39,874 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-22 13:55:39,941 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-32024292', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-32024292?flat'} 2025-08-22 13:55:39,941 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-32024292 is found in opserver 2025-08-22 13:55:39,952 - DEBUG - Do not have enough data to verify VN in agent 2025-08-22 13:55:39,956 - DEBUG - VRF ids for VN ctest-vn-32024292: {} 2025-08-22 13:55:39,956 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-22 13:55:39,962 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04ea8c22-e375-40ac-af44-d1fa6999dd92 2025-08-22 13:55:39,973 - DEBUG - Requesting: http://10.0.0.38:8082/project/aba91b2d-c3fa-4965-b0be-6fb3339a9b38 2025-08-22 13:55:40,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff7fbab4-f499-448b-bcf8-e8b0edaf5349 2025-08-22 13:55:40,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff7fbab4-f499-448b-bcf8-e8b0edaf5349 2025-08-22 13:55:40,067 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a365166-2ebf-4e00-af69-e00013cbd426 2025-08-22 13:55:40,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a365166-2ebf-4e00-af69-e00013cbd426 2025-08-22 13:55:40,080 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8cfa1ac-c453-4189-9323-a33bbe0b03c5 2025-08-22 13:55:40,086 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-22 13:55:40,086 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff7fbab4-f499-448b-bcf8-e8b0edaf5349 2025-08-22 13:55:40,093 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a365166-2ebf-4e00-af69-e00013cbd426 2025-08-22 13:55:40,111 - INFO - Verified VN network id 11 for VN ff7fbab4-f499-448b-bcf8-e8b0edaf5349 2025-08-22 13:55:40,111 - INFO - Verifications in API Server for VN ctest-vn-59082160 passed 2025-08-22 13:55:40,111 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff7fbab4-f499-448b-bcf8-e8b0edaf5349 2025-08-22 13:55:40,121 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a365166-2ebf-4e00-af69-e00013cbd426 2025-08-22 13:55:40,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a365166-2ebf-4e00-af69-e00013cbd426 2025-08-22 13:55:40,134 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8cfa1ac-c453-4189-9323-a33bbe0b03c5 2025-08-22 13:55:40,147 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-59082160', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28059174', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18410639088074441867', 'uuid-lslong': '13616889319954273097'}, 'enable': 'true', 'created': '2025-08-22T13:55:37', 'last-modified': '2025-08-22T13:55:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.426289'} 2025-08-22 13:55:40,153 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-22 13:55:40,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59082160 passed 2025-08-22 13:55:40,153 - DEBUG - ====Verifying policy data for ctest-vn-59082160 in API_Server ====== 2025-08-22 13:55:40,153 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-22 13:55:40,158 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04ea8c22-e375-40ac-af44-d1fa6999dd92 2025-08-22 13:55:40,169 - DEBUG - Requesting: http://10.0.0.38:8082/project/aba91b2d-c3fa-4965-b0be-6fb3339a9b38 2025-08-22 13:55:40,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ff7fbab4-f499-448b-bcf8-e8b0edaf5349 2025-08-22 13:55:40,253 - DEBUG - ==>Verifying data for policy with id: 2e028fcc-8955-406c-beac-4a8f1034074c, fqn: ['default-domain', 'ctest-TestBasicPolicy-28059174', 'ctest-policy-allow-all-66280779'] 2025-08-22 13:55:40,253 - INFO - VN ctest-vn-59082160 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-22 13:55:40,253 - DEBUG - Verifying the vn in opserver 2025-08-22 13:55:40,254 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-59082160 virtual network link through opserver 10.0.0.38 2025-08-22 13:55:40,254 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-22 13:55:40,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-59082160', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-59082160?flat'} 2025-08-22 13:55:40,267 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-59082160 is found in opserver 2025-08-22 13:55:40,278 - DEBUG - Do not have enough data to verify VN in agent 2025-08-22 13:55:40,283 - DEBUG - VRF ids for VN ctest-vn-59082160: {} 2025-08-22 13:55:40,339 - DEBUG - Services list from nova: [, , ] 2025-08-22 13:55:41,341 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3910-1) 2025-08-22 13:55:42,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3910-1) 2025-08-22 13:55:42,492 - INFO - Waiting for VM ctest-TestBasicPolicy-28059174-54053476 to be up.. 2025-08-22 13:55:42,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 13:55:47,672 - DEBUG - VM is in ACTIVE state now 2025-08-22 13:55:47,673 - INFO - VM name : ctest-TestBasicPolicy-28059174-54053476 2025-08-22 13:55:47,759 - DEBUG - VM ctest-TestBasicPolicy-28059174-54053476 ID is 5dac90d9-a5a3-47aa-b143-62b9969345a0 2025-08-22 13:55:47,780 - DEBUG - VM ctest-TestBasicPolicy-28059174-54053476 launched on Node cn-jenkins-deploy-platform-ansible-os-3910-1 2025-08-22 13:55:47,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5dac90d9-a5a3-47aa-b143-62b9969345a0 2025-08-22 13:55:47,886 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d5c24519-bac9-44af-8554-9c66abb0c5c2 2025-08-22 13:55:51,134 - 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 1007ms') 2025-08-22 13:55:51,134 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28059174-54053476 failed! 2025-08-22 13:55:51,189 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28059174:ctest-vn-32024292 is 145.134.53.193 and allocation pool is NOT set 2025-08-22 13:55:53,248 - 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=3.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.360 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.360/1.710/3.060/1.350 ms') 2025-08-22 13:55:53,248 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28059174-54053476 passed 2025-08-22 13:55:53,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:55:53,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28059174-54053476, IP 145.134.53.195, Port 22 2025-08-22 13:55:53,556 - DEBUG - VM ctest-TestBasicPolicy-28059174-54053476 is ready for SSH connections 2025-08-22 13:55:53,556 - INFO - Waiting for VM ctest-TestBasicPolicy-28059174-69558815 to be up.. 2025-08-22 13:55:53,642 - DEBUG - VM is in ACTIVE state now 2025-08-22 13:55:53,642 - INFO - VM name : ctest-TestBasicPolicy-28059174-69558815 2025-08-22 13:55:53,740 - DEBUG - VM ctest-TestBasicPolicy-28059174-69558815 ID is 37a8632c-b64b-4028-849b-15115d553037 2025-08-22 13:55:53,740 - DEBUG - VM ctest-TestBasicPolicy-28059174-69558815 launched on Node cn-jenkins-deploy-platform-ansible-os-3910-1 2025-08-22 13:55:53,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/37a8632c-b64b-4028-849b-15115d553037 2025-08-22 13:55:53,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8a79653f-5770-4b18-a4b6-76b8c41efd95 2025-08-22 13:55:55,065 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.797 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 = 0.797/2.705/4.613/1.908 ms') 2025-08-22 13:55:55,065 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28059174-69558815 passed 2025-08-22 13:55:55,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:55:55,221 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28059174-69558815, IP 220.133.244.195, Port 22 2025-08-22 13:55:55,385 - DEBUG - VM ctest-TestBasicPolicy-28059174-69558815 is ready for SSH connections 2025-08-22 13:55:55,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:55:55,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.133.244.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-22 13:55:55,386 - DEBUG - ping -s 56 -c 3 -W 1 220.133.244.195 2025-08-22 13:55:59,429 - DEBUG - PING 220.133.244.195 (220.133.244.195): 56 data bytes 64 bytes from 220.133.244.195: seq=0 ttl=63 time=4.020 ms 64 bytes from 220.133.244.195: seq=1 ttl=63 time=0.757 ms 64 bytes from 220.133.244.195: seq=2 ttl=63 time=0.872 ms --- 220.133.244.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/1.883/4.020 ms 2025-08-22 13:55:59,429 - INFO - Ping to IP 220.133.244.195 from VM ctest-TestBasicPolicy-28059174-54053476 passed 2025-08-22 13:55:59,625 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2e028fcc-8955-406c-beac-4a8f1034074c", "href": "http://10.0.0.38:8082/network-policy/2e028fcc-8955-406c-beac-4a8f1034074c"}} 2025-08-22 13:55:59,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:55:59,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.133.244.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-22 13:55:59,625 - DEBUG - ping -s 56 -c 3 -W 1 220.133.244.195 2025-08-22 13:56:02,849 - DEBUG - PING 220.133.244.195 (220.133.244.195): 56 data bytes --- 220.133.244.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-22 13:56:02,850 - WARNING - Ping to IP 220.133.244.195 from VM ctest-TestBasicPolicy-28059174-54053476 failed 2025-08-22 13:56:02,850 - INFO - Deleting VM ctest-TestBasicPolicy-28059174-69558815 2025-08-22 13:56:02,919 - INFO - Deleting VM ctest-TestBasicPolicy-28059174-54053476 2025-08-22 13:56:03,387 - INFO - Deleted policy ctest-policy-allow-all-66280779 2025-08-22 13:56:03,388 - INFO - Deleting VN ctest-vn-59082160 2025-08-22 13:56:03,427 - DEBUG - VN ff7fbab4-f499-448b-bcf8-e8b0edaf5349 still in use: Unable to complete operation on network ff7fbab4-f499-448b-bcf8-e8b0edaf5349. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f7318ed-6741-4d82-9207-9bb49e9ddb31'] 2025-08-22 13:56:03,427 - WARNING - Deleting VN ctest-vn-59082160 failed..Will retry 2025-08-22 13:56:05,529 - DEBUG - Response for deleting network () 2025-08-22 13:56:05,529 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a365166-2ebf-4e00-af69-e00013cbd426 2025-08-22 13:56:05,538 - DEBUG - Response Code: 404 2025-08-22 13:56:05,538 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-22 13:56:05,547 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04ea8c22-e375-40ac-af44-d1fa6999dd92 2025-08-22 13:56:05,601 - DEBUG - Requesting: http://10.0.0.38:8082/project/aba91b2d-c3fa-4965-b0be-6fb3339a9b38 2025-08-22 13:56:05,676 - INFO - Validated that VN ctest-vn-59082160 is not found in API Server 2025-08-22 13:56:05,688 - DEBUG - VN ctest-vn-59082160 is not present in Agent 10.0.0.38 2025-08-22 13:56:05,688 - INFO - Validated that VN ctest-vn-59082160 is not in any agent 2025-08-22 13:56:05,704 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59082160 info 2025-08-22 13:56:05,704 - INFO - Deleting VN ctest-vn-32024292 2025-08-22 13:56:05,839 - DEBUG - Response for deleting network () 2025-08-22 13:56:05,839 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b242cf68-7292-4455-902f-26ed98057171 2025-08-22 13:56:05,843 - DEBUG - Response Code: 404 2025-08-22 13:56:05,844 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-22 13:56:05,848 - DEBUG - Requesting: http://10.0.0.38:8082/domain/04ea8c22-e375-40ac-af44-d1fa6999dd92 2025-08-22 13:56:05,901 - DEBUG - Requesting: http://10.0.0.38:8082/project/aba91b2d-c3fa-4965-b0be-6fb3339a9b38 2025-08-22 13:56:05,982 - INFO - Validated that VN ctest-vn-32024292 is not found in API Server 2025-08-22 13:56:05,991 - DEBUG - VN ctest-vn-32024292 is not present in Agent 10.0.0.38 2025-08-22 13:56:05,991 - INFO - Validated that VN ctest-vn-32024292 is not in any agent 2025-08-22 13:56:06,004 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32024292 info 2025-08-22 13:56:06,262 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 13:56:06,262 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-22 13:56:06,262 - INFO - -------------------------------------------------------------------------------- 2025-08-22 13:56:06,941 - INFO - Deleted project: ctest-TestBasicPolicy-28059174, ID : aba91b2d-c3fa-4965-b0be-6fb3339a9b38