2025-02-06 12:57:24,193 - INFO - Domain Default found not creating 2025-02-06 12:57:24,334 - INFO - Project ctest-TestBasicPolicy-20959779 not found, creating it 2025-02-06 12:57:24,796 - INFO - Created Project:ctest-TestBasicPolicy-20959779, ID : cc22101c-1d4a-47d5-918b-d21bf8fed6b9 2025-02-06 12:57:26,355 - INFO - ================================================================================ 2025-02-06 12:57:26,355 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-06 12:57:26,355 - 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-02-06 12:57:26,615 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.17': '0'}} with 2025-02-06 12:57:26,615 - INFO - Initial checks done. Running the testcase now 2025-02-06 12:57:26,615 - INFO - 2025-02-06 12:57:27,203 - DEBUG - Response for create_network : {'network': {'id': '0408b5a9-cca8-4cc2-9915-28540c61d5d4', 'name': 'ctest-vn-16219543', 'tenant_id': 'cc22101c1d4a47d5918bd21bf8fed6b9', 'project_id': 'cc22101c1d4a47d5918bd21bf8fed6b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20959779', 'ctest-vn-16219543'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 12:57:27,426 - DEBUG - Response for create_subnet : {'subnet': {'id': '77caefca-cd20-4a4d-a494-eba32ff3d840', 'name': '', 'tenant_id': 'cc22101c1d4a47d5918bd21bf8fed6b9', 'network_id': '0408b5a9-cca8-4cc2-9915-28540c61d5d4', 'ip_version': 4, 'cidr': '79.248.44.192/26', 'allocation_pools': [{'start': '79.248.44.194', 'end': '79.248.44.254'}], 'gateway_ip': '79.248.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.248.44.194', 'tags': [], 'project_id': 'cc22101c1d4a47d5918bd21bf8fed6b9'}} 2025-02-06 12:57:27,444 - INFO - Created VN ctest-vn-16219543 2025-02-06 12:57:27,498 - DEBUG - VN ctest-vn-16219543 UUID is 0408b5a9-cca8-4cc2-9915-28540c61d5d4 2025-02-06 12:57:27,848 - DEBUG - Response for create_network : {'network': {'id': 'bcae9e31-ddcb-47ae-bd34-737b2ee030c0', 'name': 'ctest-vn-29541951', 'tenant_id': 'cc22101c1d4a47d5918bd21bf8fed6b9', 'project_id': 'cc22101c1d4a47d5918bd21bf8fed6b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20959779', 'ctest-vn-29541951'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 12:57:28,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b939ffaa-9870-45d3-8fde-72bfd57af1dc', 'name': '', 'tenant_id': 'cc22101c1d4a47d5918bd21bf8fed6b9', 'network_id': 'bcae9e31-ddcb-47ae-bd34-737b2ee030c0', 'ip_version': 4, 'cidr': '205.86.46.128/26', 'allocation_pools': [{'start': '205.86.46.130', 'end': '205.86.46.190'}], 'gateway_ip': '205.86.46.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.86.46.130', 'tags': [], 'project_id': 'cc22101c1d4a47d5918bd21bf8fed6b9'}} 2025-02-06 12:57:28,092 - INFO - Created VN ctest-vn-29541951 2025-02-06 12:57:28,146 - DEBUG - VN ctest-vn-29541951 UUID is bcae9e31-ddcb-47ae-bd34-737b2ee030c0 2025-02-06 12:57:28,257 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-16219543, 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-20959779:ctest-vn-29541951, 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-02-06 12:57:28,563 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0408b5a9-cca8-4cc2-9915-28540c61d5d4', 'name': 'ctest-vn-16219543', 'tenant_id': 'cc22101c1d4a47d5918bd21bf8fed6b9', 'project_id': 'cc22101c1d4a47d5918bd21bf8fed6b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77caefca-cd20-4a4d-a494-eba32ff3d840'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20959779', 'ctest-vn-16219543'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20959779', 'ctest-policy-allow-all-94766934']], 'subnet_ipam': [{'subnet_cidr': '79.248.44.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-06 12:57:28,856 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bcae9e31-ddcb-47ae-bd34-737b2ee030c0', 'name': 'ctest-vn-29541951', 'tenant_id': 'cc22101c1d4a47d5918bd21bf8fed6b9', 'project_id': 'cc22101c1d4a47d5918bd21bf8fed6b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b939ffaa-9870-45d3-8fde-72bfd57af1dc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20959779', 'ctest-vn-29541951'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20959779', 'ctest-policy-allow-all-94766934']], 'subnet_ipam': [{'subnet_cidr': '205.86.46.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-06 12:57:29,018 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-06 12:57:29,357 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-06 12:57:29,384 - DEBUG - Requesting: http://10.0.0.24:8082/domain/f6d1ccab-fbc6-46b5-9c91-98ccf0568927 2025-02-06 12:57:29,398 - DEBUG - Requesting: http://10.0.0.24:8082/project/cc22101c-1d4a-47d5-918b-d21bf8fed6b9 2025-02-06 12:57:29,471 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/0408b5a9-cca8-4cc2-9915-28540c61d5d4 2025-02-06 12:57:29,484 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/0408b5a9-cca8-4cc2-9915-28540c61d5d4 2025-02-06 12:57:29,495 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e555378c-3f9b-4c06-8660-bcafe3ce93eb 2025-02-06 12:57:29,503 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e555378c-3f9b-4c06-8660-bcafe3ce93eb 2025-02-06 12:57:29,510 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/ce66910d-e981-4043-8db9-eb41efec9e38 2025-02-06 12:57:29,517 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-06 12:57:29,517 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/0408b5a9-cca8-4cc2-9915-28540c61d5d4 2025-02-06 12:57:29,527 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e555378c-3f9b-4c06-8660-bcafe3ce93eb 2025-02-06 12:57:29,542 - INFO - Verified VN network id 8 for VN 0408b5a9-cca8-4cc2-9915-28540c61d5d4 2025-02-06 12:57:29,542 - INFO - Verifications in API Server for VN ctest-vn-16219543 passed 2025-02-06 12:57:29,542 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/0408b5a9-cca8-4cc2-9915-28540c61d5d4 2025-02-06 12:57:29,553 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e555378c-3f9b-4c06-8660-bcafe3ce93eb 2025-02-06 12:57:29,560 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e555378c-3f9b-4c06-8660-bcafe3ce93eb 2025-02-06 12:57:29,568 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/ce66910d-e981-4043-8db9-eb41efec9e38 2025-02-06 12:57:29,580 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-16219543', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20959779', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '290681916853079234', 'uuid-lslong': '11030767203764000212'}, 'enable': 'true', 'created': '2025-02-06T12:57:27', 'last-modified': '2025-02-06T12:57:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.042207'} 2025-02-06 12:57:29,587 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-06 12:57:29,587 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16219543 passed 2025-02-06 12:57:29,587 - DEBUG - ====Verifying policy data for ctest-vn-16219543 in API_Server ====== 2025-02-06 12:57:29,587 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-06 12:57:29,592 - DEBUG - Requesting: http://10.0.0.24:8082/domain/f6d1ccab-fbc6-46b5-9c91-98ccf0568927 2025-02-06 12:57:29,604 - DEBUG - Requesting: http://10.0.0.24:8082/project/cc22101c-1d4a-47d5-918b-d21bf8fed6b9 2025-02-06 12:57:29,681 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/0408b5a9-cca8-4cc2-9915-28540c61d5d4 2025-02-06 12:57:29,692 - DEBUG - ==>Verifying data for policy with id: 94fe65d3-bb5a-443b-b96b-143110f73a2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-20959779', 'ctest-policy-allow-all-94766934'] 2025-02-06 12:57:29,692 - INFO - VN ctest-vn-16219543 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-06 12:57:29,692 - DEBUG - Verifying the vn in opserver 2025-02-06 12:57:29,692 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-16219543 virtual network link through opserver 10.0.0.24 2025-02-06 12:57:29,692 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-06 12:57:30,027 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-06 12:57:30,084 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-16219543', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-16219543?flat'} 2025-02-06 12:57:30,084 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-16219543 is found in opserver 2025-02-06 12:57:30,097 - DEBUG - Do not have enough data to verify VN in agent 2025-02-06 12:57:30,103 - DEBUG - VRF ids for VN ctest-vn-16219543: {} 2025-02-06 12:57:30,103 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-06 12:57:30,108 - DEBUG - Requesting: http://10.0.0.24:8082/domain/f6d1ccab-fbc6-46b5-9c91-98ccf0568927 2025-02-06 12:57:30,120 - DEBUG - Requesting: http://10.0.0.24:8082/project/cc22101c-1d4a-47d5-918b-d21bf8fed6b9 2025-02-06 12:57:30,193 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/bcae9e31-ddcb-47ae-bd34-737b2ee030c0 2025-02-06 12:57:30,205 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/bcae9e31-ddcb-47ae-bd34-737b2ee030c0 2025-02-06 12:57:30,215 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed02b500-b253-4326-bfd2-3aebd7691c98 2025-02-06 12:57:30,222 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed02b500-b253-4326-bfd2-3aebd7691c98 2025-02-06 12:57:30,228 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/59f9486e-b36e-4394-bd51-c4e39e40bede 2025-02-06 12:57:30,235 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-06 12:57:30,235 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/bcae9e31-ddcb-47ae-bd34-737b2ee030c0 2025-02-06 12:57:30,244 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed02b500-b253-4326-bfd2-3aebd7691c98 2025-02-06 12:57:30,257 - INFO - Verified VN network id 9 for VN bcae9e31-ddcb-47ae-bd34-737b2ee030c0 2025-02-06 12:57:30,257 - INFO - Verifications in API Server for VN ctest-vn-29541951 passed 2025-02-06 12:57:30,257 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/bcae9e31-ddcb-47ae-bd34-737b2ee030c0 2025-02-06 12:57:30,269 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed02b500-b253-4326-bfd2-3aebd7691c98 2025-02-06 12:57:30,276 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed02b500-b253-4326-bfd2-3aebd7691c98 2025-02-06 12:57:30,282 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/59f9486e-b36e-4394-bd51-c4e39e40bede 2025-02-06 12:57:30,294 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-29541951', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20959779', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13595978262089779118', 'uuid-lslong': '13633648944861950144'}, 'enable': 'true', 'created': '2025-02-06T12:57:27', 'last-modified': '2025-02-06T12:57:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.517226'} 2025-02-06 12:57:30,300 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-06 12:57:30,300 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29541951 passed 2025-02-06 12:57:30,300 - DEBUG - ====Verifying policy data for ctest-vn-29541951 in API_Server ====== 2025-02-06 12:57:30,301 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-06 12:57:30,306 - DEBUG - Requesting: http://10.0.0.24:8082/domain/f6d1ccab-fbc6-46b5-9c91-98ccf0568927 2025-02-06 12:57:30,317 - DEBUG - Requesting: http://10.0.0.24:8082/project/cc22101c-1d4a-47d5-918b-d21bf8fed6b9 2025-02-06 12:57:30,389 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/bcae9e31-ddcb-47ae-bd34-737b2ee030c0 2025-02-06 12:57:30,399 - DEBUG - ==>Verifying data for policy with id: 94fe65d3-bb5a-443b-b96b-143110f73a2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-20959779', 'ctest-policy-allow-all-94766934'] 2025-02-06 12:57:30,399 - INFO - VN ctest-vn-29541951 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-06 12:57:30,400 - DEBUG - Verifying the vn in opserver 2025-02-06 12:57:30,400 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-29541951 virtual network link through opserver 10.0.0.24 2025-02-06 12:57:30,400 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-06 12:57:30,410 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-29541951', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-29541951?flat'} 2025-02-06 12:57:30,410 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-29541951 is found in opserver 2025-02-06 12:57:30,421 - DEBUG - Do not have enough data to verify VN in agent 2025-02-06 12:57:30,426 - DEBUG - VRF ids for VN ctest-vn-29541951: {} 2025-02-06 12:57:30,485 - DEBUG - Services list from nova: [, , ] 2025-02-06 12:57:31,562 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2701-1) 2025-02-06 12:57:32,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2701-1) 2025-02-06 12:57:32,891 - INFO - Waiting for VM ctest-TestBasicPolicy-20959779-44697372 to be up.. 2025-02-06 12:57:32,978 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 12:57:38,059 - DEBUG - VM is in ACTIVE state now 2025-02-06 12:57:38,059 - INFO - VM name : ctest-TestBasicPolicy-20959779-44697372 2025-02-06 12:57:38,130 - DEBUG - VM ctest-TestBasicPolicy-20959779-44697372 ID is 3b546dc8-5aea-4989-9167-5de395c9e4d9 2025-02-06 12:57:38,149 - DEBUG - VM ctest-TestBasicPolicy-20959779-44697372 launched on Node cn-jenkins-deploy-platform-ansible-os-2701-1 2025-02-06 12:57:38,223 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/3b546dc8-5aea-4989-9167-5de395c9e4d9 2025-02-06 12:57:38,232 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/3c5e7f77-c87f-4a95-83a3-c6917b845eba 2025-02-06 12:57:41,497 - 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 1022ms') 2025-02-06 12:57:41,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20959779-44697372 failed! 2025-02-06 12:57:41,554 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20959779:ctest-vn-16219543 is 79.248.44.193 and allocation pool is NOT set 2025-02-06 12:57:43,620 - 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=8.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.579 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.579/4.769/8.960/4.190 ms') 2025-02-06 12:57:43,620 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20959779-44697372 passed 2025-02-06 12:57:43,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 12:57:43,778 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20959779-44697372, IP 79.248.44.195, Port 22 2025-02-06 12:57:43,941 - DEBUG - VM ctest-TestBasicPolicy-20959779-44697372 is ready for SSH connections 2025-02-06 12:57:43,941 - INFO - Waiting for VM ctest-TestBasicPolicy-20959779-03515145 to be up.. 2025-02-06 12:57:44,026 - DEBUG - VM is in ACTIVE state now 2025-02-06 12:57:44,026 - INFO - VM name : ctest-TestBasicPolicy-20959779-03515145 2025-02-06 12:57:44,111 - DEBUG - VM ctest-TestBasicPolicy-20959779-03515145 ID is 1306812f-f5a6-46c7-ae32-99ad05864f30 2025-02-06 12:57:44,111 - DEBUG - VM ctest-TestBasicPolicy-20959779-03515145 launched on Node cn-jenkins-deploy-platform-ansible-os-2701-1 2025-02-06 12:57:44,195 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/1306812f-f5a6-46c7-ae32-99ad05864f30 2025-02-06 12:57:44,204 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/1afa087a-4eac-403a-9f37-7aae46a4ad4c 2025-02-06 12:57:45,449 - 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=9.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.841 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.841/5.046/9.252/4.205 ms') 2025-02-06 12:57:45,450 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20959779-03515145 passed 2025-02-06 12:57:45,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 12:57:45,606 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20959779-03515145, IP 205.86.46.131, Port 22 2025-02-06 12:57:45,765 - DEBUG - VM ctest-TestBasicPolicy-20959779-03515145 is ready for SSH connections 2025-02-06 12:57:45,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 12:57:45,765 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.86.46.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-06 12:57:45,765 - DEBUG - ping -s 56 -c 3 -W 1 205.86.46.131 2025-02-06 12:57:49,505 - DEBUG - PING 205.86.46.131 (205.86.46.131): 56 data bytes 64 bytes from 205.86.46.131: seq=0 ttl=63 time=3.790 ms 64 bytes from 205.86.46.131: seq=1 ttl=63 time=0.809 ms 64 bytes from 205.86.46.131: seq=2 ttl=63 time=0.742 ms --- 205.86.46.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.780/3.790 ms 2025-02-06 12:57:49,505 - INFO - Ping to IP 205.86.46.131 from VM ctest-TestBasicPolicy-20959779-44697372 passed 2025-02-06 12:57:49,701 - DEBUG - Policy Update Response {"network-policy": {"uuid": "94fe65d3-bb5a-443b-b96b-143110f73a2b", "href": "http://10.0.0.24:8082/network-policy/94fe65d3-bb5a-443b-b96b-143110f73a2b"}} 2025-02-06 12:57:49,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 12:57:49,702 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.86.46.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-06 12:57:49,702 - DEBUG - ping -s 56 -c 3 -W 1 205.86.46.131 2025-02-06 12:57:52,926 - DEBUG - PING 205.86.46.131 (205.86.46.131): 56 data bytes 64 bytes from 205.86.46.131: seq=0 ttl=63 time=1.612 ms --- 205.86.46.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.612/1.612/1.612 ms 2025-02-06 12:57:52,926 - WARNING - Ping to IP 205.86.46.131 from VM ctest-TestBasicPolicy-20959779-44697372 failed 2025-02-06 12:57:52,926 - INFO - Deleting VM ctest-TestBasicPolicy-20959779-03515145 2025-02-06 12:57:53,003 - INFO - Deleting VM ctest-TestBasicPolicy-20959779-44697372 2025-02-06 12:57:53,388 - INFO - Deleted policy ctest-policy-allow-all-94766934 2025-02-06 12:57:53,388 - INFO - Deleting VN ctest-vn-29541951 2025-02-06 12:57:53,422 - DEBUG - VN bcae9e31-ddcb-47ae-bd34-737b2ee030c0 still in use: Unable to complete operation on network bcae9e31-ddcb-47ae-bd34-737b2ee030c0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff95a0bc-0f3f-4159-9ba9-86c4841711e0'] 2025-02-06 12:57:53,422 - WARNING - Deleting VN ctest-vn-29541951 failed..Will retry 2025-02-06 12:57:55,529 - DEBUG - Response for deleting network () 2025-02-06 12:57:55,530 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed02b500-b253-4326-bfd2-3aebd7691c98 2025-02-06 12:57:55,538 - DEBUG - Response Code: 404 2025-02-06 12:57:55,538 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-06 12:57:55,544 - DEBUG - Requesting: http://10.0.0.24:8082/domain/f6d1ccab-fbc6-46b5-9c91-98ccf0568927 2025-02-06 12:57:55,600 - DEBUG - Requesting: http://10.0.0.24:8082/project/cc22101c-1d4a-47d5-918b-d21bf8fed6b9 2025-02-06 12:57:55,675 - INFO - Validated that VN ctest-vn-29541951 is not found in API Server 2025-02-06 12:57:55,690 - DEBUG - VN ctest-vn-29541951 is not present in Agent 10.0.0.24 2025-02-06 12:57:55,690 - INFO - Validated that VN ctest-vn-29541951 is not in any agent 2025-02-06 12:57:55,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29541951 info 2025-02-06 12:57:55,708 - INFO - Deleting VN ctest-vn-16219543 2025-02-06 12:57:55,835 - DEBUG - Response for deleting network () 2025-02-06 12:57:55,836 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e555378c-3f9b-4c06-8660-bcafe3ce93eb 2025-02-06 12:57:55,844 - DEBUG - Response Code: 404 2025-02-06 12:57:55,844 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-06 12:57:55,852 - DEBUG - Requesting: http://10.0.0.24:8082/domain/f6d1ccab-fbc6-46b5-9c91-98ccf0568927 2025-02-06 12:57:55,908 - DEBUG - Requesting: http://10.0.0.24:8082/project/cc22101c-1d4a-47d5-918b-d21bf8fed6b9 2025-02-06 12:57:55,982 - INFO - Validated that VN ctest-vn-16219543 is not found in API Server 2025-02-06 12:57:55,994 - DEBUG - VN ctest-vn-16219543 is not present in Agent 10.0.0.24 2025-02-06 12:57:55,994 - INFO - Validated that VN ctest-vn-16219543 is not in any agent 2025-02-06 12:57:56,010 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16219543 info 2025-02-06 12:57:56,268 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 12:57:56,268 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-06 12:57:56,268 - INFO - -------------------------------------------------------------------------------- 2025-02-06 12:57:56,993 - INFO - Deleted project: ctest-TestBasicPolicy-20959779, ID : cc22101c-1d4a-47d5-918b-d21bf8fed6b9