2025-04-23 10:51:40,812 - INFO - Domain Default found not creating 2025-04-23 10:51:40,953 - INFO - Project ctest-TestBasicPolicy-79241656 not found, creating it 2025-04-23 10:51:41,424 - INFO - Created Project:ctest-TestBasicPolicy-79241656, ID : 29e3314e-b682-4e8a-8677-02d56da47128 2025-04-23 10:51:42,839 - INFO - ================================================================================ 2025-04-23 10:51:42,839 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-23 10:51:42,839 - 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-04-23 10:51:43,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-04-23 10:51:43,099 - INFO - Initial checks done. Running the testcase now 2025-04-23 10:51:43,100 - INFO - 2025-04-23 10:51:43,774 - DEBUG - Response for create_network : {'network': {'id': 'bd55b27b-cbae-4f60-a4cf-6b4660bb95a8', 'name': 'ctest-vn-20866192', 'tenant_id': '29e3314eb6824e8a867702d56da47128', 'project_id': '29e3314eb6824e8a867702d56da47128', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79241656', 'ctest-vn-20866192'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 10:51:43,944 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e34ad07-7965-434d-b49d-b845c4df428d', 'name': '', 'tenant_id': '29e3314eb6824e8a867702d56da47128', 'network_id': 'bd55b27b-cbae-4f60-a4cf-6b4660bb95a8', 'ip_version': 4, 'cidr': '69.23.77.0/26', 'allocation_pools': [{'start': '69.23.77.2', 'end': '69.23.77.62'}], 'gateway_ip': '69.23.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.23.77.2', 'tags': [], 'project_id': '29e3314eb6824e8a867702d56da47128'}} 2025-04-23 10:51:43,963 - INFO - Created VN ctest-vn-20866192 2025-04-23 10:51:44,015 - DEBUG - VN ctest-vn-20866192 UUID is bd55b27b-cbae-4f60-a4cf-6b4660bb95a8 2025-04-23 10:51:44,330 - DEBUG - Response for create_network : {'network': {'id': 'b07f7c6f-bc6f-4fc8-aaf0-729585223e42', 'name': 'ctest-vn-48169064', 'tenant_id': '29e3314eb6824e8a867702d56da47128', 'project_id': '29e3314eb6824e8a867702d56da47128', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79241656', 'ctest-vn-48169064'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 10:51:44,543 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b44d147d-83b8-4a39-b748-aa422df18b5f', 'name': '', 'tenant_id': '29e3314eb6824e8a867702d56da47128', 'network_id': 'b07f7c6f-bc6f-4fc8-aaf0-729585223e42', 'ip_version': 4, 'cidr': '38.15.65.128/26', 'allocation_pools': [{'start': '38.15.65.130', 'end': '38.15.65.190'}], 'gateway_ip': '38.15.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.15.65.130', 'tags': [], 'project_id': '29e3314eb6824e8a867702d56da47128'}} 2025-04-23 10:51:44,560 - INFO - Created VN ctest-vn-48169064 2025-04-23 10:51:44,614 - DEBUG - VN ctest-vn-48169064 UUID is b07f7c6f-bc6f-4fc8-aaf0-729585223e42 2025-04-23 10:51:44,725 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-20866192, 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-79241656:ctest-vn-48169064, 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-04-23 10:51:45,008 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bd55b27b-cbae-4f60-a4cf-6b4660bb95a8', 'name': 'ctest-vn-20866192', 'tenant_id': '29e3314eb6824e8a867702d56da47128', 'project_id': '29e3314eb6824e8a867702d56da47128', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e34ad07-7965-434d-b49d-b845c4df428d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79241656', 'ctest-vn-20866192'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79241656', 'ctest-policy-allow-all-26373386']], 'subnet_ipam': [{'subnet_cidr': '69.23.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 10:51:45,239 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b07f7c6f-bc6f-4fc8-aaf0-729585223e42', 'name': 'ctest-vn-48169064', 'tenant_id': '29e3314eb6824e8a867702d56da47128', 'project_id': '29e3314eb6824e8a867702d56da47128', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b44d147d-83b8-4a39-b748-aa422df18b5f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79241656', 'ctest-vn-48169064'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79241656', 'ctest-policy-allow-all-26373386']], 'subnet_ipam': [{'subnet_cidr': '38.15.65.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 10:51:45,387 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-04-23 10:51:45,698 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-04-23 10:51:45,731 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d6f5708-c3a2-4280-b8c9-d5275d0f5c09 2025-04-23 10:51:45,744 - DEBUG - Requesting: http://10.0.0.49:8082/project/29e3314e-b682-4e8a-8677-02d56da47128 2025-04-23 10:51:45,888 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/bd55b27b-cbae-4f60-a4cf-6b4660bb95a8 2025-04-23 10:51:45,931 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/bd55b27b-cbae-4f60-a4cf-6b4660bb95a8 2025-04-23 10:51:45,945 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e4388fcb-1203-4676-a6a1-8d7dfc506655 2025-04-23 10:51:45,957 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e4388fcb-1203-4676-a6a1-8d7dfc506655 2025-04-23 10:51:45,976 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/6a2b8b96-ee44-4fbf-b456-777ee6b64bae 2025-04-23 10:51:45,990 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 10:51:45,990 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/bd55b27b-cbae-4f60-a4cf-6b4660bb95a8 2025-04-23 10:51:46,006 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e4388fcb-1203-4676-a6a1-8d7dfc506655 2025-04-23 10:51:46,027 - INFO - Verified VN network id 9 for VN bd55b27b-cbae-4f60-a4cf-6b4660bb95a8 2025-04-23 10:51:46,027 - INFO - Verifications in API Server for VN ctest-vn-20866192 passed 2025-04-23 10:51:46,027 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/bd55b27b-cbae-4f60-a4cf-6b4660bb95a8 2025-04-23 10:51:46,050 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e4388fcb-1203-4676-a6a1-8d7dfc506655 2025-04-23 10:51:46,058 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e4388fcb-1203-4676-a6a1-8d7dfc506655 2025-04-23 10:51:46,066 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/6a2b8b96-ee44-4fbf-b456-777ee6b64bae 2025-04-23 10:51:46,081 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-20866192', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79241656', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13643006890956705632', 'uuid-lslong': '11875828692414076328'}, 'enable': 'true', 'created': '2025-04-23T10:51:43', 'last-modified': '2025-04-23T10:51:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.084152'} 2025-04-23 10:51:46,088 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 10:51:46,088 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20866192 passed 2025-04-23 10:51:46,089 - DEBUG - ====Verifying policy data for ctest-vn-20866192 in API_Server ====== 2025-04-23 10:51:46,089 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-04-23 10:51:46,100 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d6f5708-c3a2-4280-b8c9-d5275d0f5c09 2025-04-23 10:51:46,121 - DEBUG - Requesting: http://10.0.0.49:8082/project/29e3314e-b682-4e8a-8677-02d56da47128 2025-04-23 10:51:46,212 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/bd55b27b-cbae-4f60-a4cf-6b4660bb95a8 2025-04-23 10:51:46,227 - DEBUG - ==>Verifying data for policy with id: 7d55d0d0-9906-433d-b203-d53d80dc1768, fqn: ['default-domain', 'ctest-TestBasicPolicy-79241656', 'ctest-policy-allow-all-26373386'] 2025-04-23 10:51:46,227 - INFO - VN ctest-vn-20866192 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 10:51:46,227 - DEBUG - Verifying the vn in opserver 2025-04-23 10:51:46,227 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-20866192 virtual network link through opserver 10.0.0.49 2025-04-23 10:51:46,227 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-04-23 10:51:46,539 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-04-23 10:51:46,593 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-20866192', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-20866192?flat'} 2025-04-23 10:51:46,593 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-20866192 is found in opserver 2025-04-23 10:51:46,604 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 10:51:46,608 - DEBUG - VRF ids for VN ctest-vn-20866192: {} 2025-04-23 10:51:46,608 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-04-23 10:51:46,614 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d6f5708-c3a2-4280-b8c9-d5275d0f5c09 2025-04-23 10:51:46,625 - DEBUG - Requesting: http://10.0.0.49:8082/project/29e3314e-b682-4e8a-8677-02d56da47128 2025-04-23 10:51:46,696 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b07f7c6f-bc6f-4fc8-aaf0-729585223e42 2025-04-23 10:51:46,712 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b07f7c6f-bc6f-4fc8-aaf0-729585223e42 2025-04-23 10:51:46,721 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d54bddfb-0885-40be-aa16-79da7a2b9ef4 2025-04-23 10:51:46,728 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d54bddfb-0885-40be-aa16-79da7a2b9ef4 2025-04-23 10:51:46,734 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/168ed1a6-1086-4497-8587-d255f8eea9de 2025-04-23 10:51:46,740 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 10:51:46,740 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b07f7c6f-bc6f-4fc8-aaf0-729585223e42 2025-04-23 10:51:46,749 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d54bddfb-0885-40be-aa16-79da7a2b9ef4 2025-04-23 10:51:46,762 - INFO - Verified VN network id 10 for VN b07f7c6f-bc6f-4fc8-aaf0-729585223e42 2025-04-23 10:51:46,762 - INFO - Verifications in API Server for VN ctest-vn-48169064 passed 2025-04-23 10:51:46,762 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b07f7c6f-bc6f-4fc8-aaf0-729585223e42 2025-04-23 10:51:46,771 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d54bddfb-0885-40be-aa16-79da7a2b9ef4 2025-04-23 10:51:46,777 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d54bddfb-0885-40be-aa16-79da7a2b9ef4 2025-04-23 10:51:46,782 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/168ed1a6-1086-4497-8587-d255f8eea9de 2025-04-23 10:51:46,793 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-48169064', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79241656', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12718020692062195656', 'uuid-lslong': '12317470967367614018'}, 'enable': 'true', 'created': '2025-04-23T10:51:44', 'last-modified': '2025-04-23T10:51:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.575703'} 2025-04-23 10:51:46,799 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 10:51:46,799 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48169064 passed 2025-04-23 10:51:46,799 - DEBUG - ====Verifying policy data for ctest-vn-48169064 in API_Server ====== 2025-04-23 10:51:46,799 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-04-23 10:51:46,804 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d6f5708-c3a2-4280-b8c9-d5275d0f5c09 2025-04-23 10:51:46,813 - DEBUG - Requesting: http://10.0.0.49:8082/project/29e3314e-b682-4e8a-8677-02d56da47128 2025-04-23 10:51:46,884 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b07f7c6f-bc6f-4fc8-aaf0-729585223e42 2025-04-23 10:51:46,893 - DEBUG - ==>Verifying data for policy with id: 7d55d0d0-9906-433d-b203-d53d80dc1768, fqn: ['default-domain', 'ctest-TestBasicPolicy-79241656', 'ctest-policy-allow-all-26373386'] 2025-04-23 10:51:46,893 - INFO - VN ctest-vn-48169064 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 10:51:46,893 - DEBUG - Verifying the vn in opserver 2025-04-23 10:51:46,893 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-48169064 virtual network link through opserver 10.0.0.49 2025-04-23 10:51:46,893 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-04-23 10:51:46,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-48169064', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-48169064?flat'} 2025-04-23 10:51:46,905 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-48169064 is found in opserver 2025-04-23 10:51:46,915 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 10:51:46,919 - DEBUG - VRF ids for VN ctest-vn-48169064: {} 2025-04-23 10:51:46,971 - DEBUG - Services list from nova: [, , ] 2025-04-23 10:51:47,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3180-1) 2025-04-23 10:51:49,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3180-1) 2025-04-23 10:51:49,244 - INFO - Waiting for VM ctest-TestBasicPolicy-79241656-81242637 to be up.. 2025-04-23 10:51:49,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 10:51:54,417 - DEBUG - VM is in ACTIVE state now 2025-04-23 10:51:54,417 - INFO - VM name : ctest-TestBasicPolicy-79241656-81242637 2025-04-23 10:51:54,492 - DEBUG - VM ctest-TestBasicPolicy-79241656-81242637 ID is 807a56b7-f957-4d99-b4b9-a3af423597a8 2025-04-23 10:51:54,509 - DEBUG - VM ctest-TestBasicPolicy-79241656-81242637 launched on Node cn-jenkins-deploy-platform-ansible-os-3180-1 2025-04-23 10:51:54,582 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/807a56b7-f957-4d99-b4b9-a3af423597a8 2025-04-23 10:51:54,591 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/3277020f-872e-430e-8ce6-0b0d746d5003 2025-04-23 10:51:57,851 - 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 1028ms') 2025-04-23 10:51:57,851 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79241656-81242637 failed! 2025-04-23 10:51:57,910 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79241656:ctest-vn-20866192 is 69.23.77.1 and allocation pool is NOT set 2025-04-23 10:51:59,976 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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.398/2.056/3.714/1.658 ms') 2025-04-23 10:51:59,976 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79241656-81242637 passed 2025-04-23 10:52:00,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 10:52:00,127 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79241656-81242637, IP 69.23.77.3, Port 22 2025-04-23 10:52:00,282 - DEBUG - VM ctest-TestBasicPolicy-79241656-81242637 is ready for SSH connections 2025-04-23 10:52:00,282 - INFO - Waiting for VM ctest-TestBasicPolicy-79241656-03038324 to be up.. 2025-04-23 10:52:00,355 - DEBUG - VM is in ACTIVE state now 2025-04-23 10:52:00,355 - INFO - VM name : ctest-TestBasicPolicy-79241656-03038324 2025-04-23 10:52:00,431 - DEBUG - VM ctest-TestBasicPolicy-79241656-03038324 ID is fcd77a82-eb1c-4e0d-8c91-8d42579a74ce 2025-04-23 10:52:00,431 - DEBUG - VM ctest-TestBasicPolicy-79241656-03038324 launched on Node cn-jenkins-deploy-platform-ansible-os-3180-1 2025-04-23 10:52:00,504 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/fcd77a82-eb1c-4e0d-8c91-8d42579a74ce 2025-04-23 10:52:00,513 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/55b0ff3b-e42b-4675-86bd-86b0cb12465c 2025-04-23 10:52:01,746 - 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=2.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/1.584/2.719/1.135 ms') 2025-04-23 10:52:01,746 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79241656-03038324 passed 2025-04-23 10:52:01,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 10:52:01,907 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79241656-03038324, IP 38.15.65.131, Port 22 2025-04-23 10:52:02,066 - DEBUG - VM ctest-TestBasicPolicy-79241656-03038324 is ready for SSH connections 2025-04-23 10:52:02,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 10:52:02,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.15.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-04-23 10:52:02,067 - DEBUG - ping -s 56 -c 3 -W 1 38.15.65.131 2025-04-23 10:52:06,051 - DEBUG - PING 38.15.65.131 (38.15.65.131): 56 data bytes 64 bytes from 38.15.65.131: seq=0 ttl=63 time=3.247 ms 64 bytes from 38.15.65.131: seq=1 ttl=63 time=0.862 ms 64 bytes from 38.15.65.131: seq=2 ttl=63 time=0.852 ms --- 38.15.65.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/1.653/3.247 ms 2025-04-23 10:52:06,052 - INFO - Ping to IP 38.15.65.131 from VM ctest-TestBasicPolicy-79241656-81242637 passed 2025-04-23 10:52:06,234 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7d55d0d0-9906-433d-b203-d53d80dc1768", "href": "http://10.0.0.49:8082/network-policy/7d55d0d0-9906-433d-b203-d53d80dc1768"}} 2025-04-23 10:52:06,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 10:52:06,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.15.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-04-23 10:52:06,235 - DEBUG - ping -s 56 -c 3 -W 1 38.15.65.131 2025-04-23 10:52:09,448 - DEBUG - PING 38.15.65.131 (38.15.65.131): 56 data bytes --- 38.15.65.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-23 10:52:09,448 - WARNING - Ping to IP 38.15.65.131 from VM ctest-TestBasicPolicy-79241656-81242637 failed 2025-04-23 10:52:09,448 - INFO - Deleting VM ctest-TestBasicPolicy-79241656-03038324 2025-04-23 10:52:09,508 - INFO - Deleting VM ctest-TestBasicPolicy-79241656-81242637 2025-04-23 10:52:09,857 - INFO - Deleted policy ctest-policy-allow-all-26373386 2025-04-23 10:52:09,858 - INFO - Deleting VN ctest-vn-48169064 2025-04-23 10:52:09,891 - DEBUG - VN b07f7c6f-bc6f-4fc8-aaf0-729585223e42 still in use: Unable to complete operation on network b07f7c6f-bc6f-4fc8-aaf0-729585223e42. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-97f61a4a-ddb6-4ca5-b166-1d95ae72aea8'] 2025-04-23 10:52:09,891 - WARNING - Deleting VN ctest-vn-48169064 failed..Will retry 2025-04-23 10:52:11,988 - DEBUG - Response for deleting network () 2025-04-23 10:52:11,988 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/d54bddfb-0885-40be-aa16-79da7a2b9ef4 2025-04-23 10:52:11,993 - DEBUG - Response Code: 404 2025-04-23 10:52:11,993 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-04-23 10:52:12,001 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d6f5708-c3a2-4280-b8c9-d5275d0f5c09 2025-04-23 10:52:12,058 - DEBUG - Requesting: http://10.0.0.49:8082/project/29e3314e-b682-4e8a-8677-02d56da47128 2025-04-23 10:52:12,132 - INFO - Validated that VN ctest-vn-48169064 is not found in API Server 2025-04-23 10:52:12,145 - DEBUG - VN ctest-vn-48169064 is not present in Agent 10.0.0.49 2025-04-23 10:52:12,145 - INFO - Validated that VN ctest-vn-48169064 is not in any agent 2025-04-23 10:52:12,161 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48169064 info 2025-04-23 10:52:12,161 - INFO - Deleting VN ctest-vn-20866192 2025-04-23 10:52:12,270 - DEBUG - Response for deleting network () 2025-04-23 10:52:12,271 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e4388fcb-1203-4676-a6a1-8d7dfc506655 2025-04-23 10:52:12,277 - DEBUG - Response Code: 404 2025-04-23 10:52:12,278 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-04-23 10:52:12,284 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d6f5708-c3a2-4280-b8c9-d5275d0f5c09 2025-04-23 10:52:12,345 - DEBUG - Requesting: http://10.0.0.49:8082/project/29e3314e-b682-4e8a-8677-02d56da47128 2025-04-23 10:52:12,417 - INFO - Validated that VN ctest-vn-20866192 is not found in API Server 2025-04-23 10:52:12,431 - DEBUG - VN ctest-vn-20866192 is not present in Agent 10.0.0.49 2025-04-23 10:52:12,431 - INFO - Validated that VN ctest-vn-20866192 is not in any agent 2025-04-23 10:52:12,451 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20866192 info 2025-04-23 10:52:12,704 - DEBUG - No XMPP flaps were noticed during the test 2025-04-23 10:52:12,704 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-23 10:52:12,704 - INFO - -------------------------------------------------------------------------------- 2025-04-23 10:52:13,371 - INFO - Deleted project: ctest-TestBasicPolicy-79241656, ID : 29e3314e-b682-4e8a-8677-02d56da47128