2025-06-30 11:44:43,320 - INFO - Domain Default found not creating 2025-06-30 11:44:43,465 - INFO - Project ctest-TestBasicPolicy-58239983 not found, creating it 2025-06-30 11:44:43,913 - INFO - Created Project:ctest-TestBasicPolicy-58239983, ID : 329d490f-12e2-49ae-8024-12c0c732ba06 2025-06-30 11:44:45,327 - INFO - ================================================================================ 2025-06-30 11:44:45,327 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 11:44:45,327 - 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-06-30 11:44:45,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-06-30 11:44:45,582 - INFO - Initial checks done. Running the testcase now 2025-06-30 11:44:45,582 - INFO - 2025-06-30 11:44:46,107 - DEBUG - Response for create_network : {'network': {'id': 'ff457328-6179-4a12-a186-adcf1d24bd26', 'name': 'ctest-vn-38417985', 'tenant_id': '329d490f12e249ae802412c0c732ba06', 'project_id': '329d490f12e249ae802412c0c732ba06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58239983', 'ctest-vn-38417985'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:44:46,281 - DEBUG - Response for create_subnet : {'subnet': {'id': '05a11686-5c44-4266-9229-afe77d66318e', 'name': '', 'tenant_id': '329d490f12e249ae802412c0c732ba06', 'network_id': 'ff457328-6179-4a12-a186-adcf1d24bd26', 'ip_version': 4, 'cidr': '66.98.12.64/26', 'allocation_pools': [{'start': '66.98.12.66', 'end': '66.98.12.126'}], 'gateway_ip': '66.98.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.98.12.66', 'tags': [], 'project_id': '329d490f12e249ae802412c0c732ba06'}} 2025-06-30 11:44:46,299 - INFO - Created VN ctest-vn-38417985 2025-06-30 11:44:46,352 - DEBUG - VN ctest-vn-38417985 UUID is ff457328-6179-4a12-a186-adcf1d24bd26 2025-06-30 11:44:46,649 - DEBUG - Response for create_network : {'network': {'id': '0ddb38a9-8e2e-4c23-9262-a92c78ee79c1', 'name': 'ctest-vn-34701009', 'tenant_id': '329d490f12e249ae802412c0c732ba06', 'project_id': '329d490f12e249ae802412c0c732ba06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58239983', 'ctest-vn-34701009'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:44:46,838 - DEBUG - Response for create_subnet : {'subnet': {'id': '857b1ca8-3f58-424f-96a7-717dcff12350', 'name': '', 'tenant_id': '329d490f12e249ae802412c0c732ba06', 'network_id': '0ddb38a9-8e2e-4c23-9262-a92c78ee79c1', 'ip_version': 4, 'cidr': '14.177.80.64/26', 'allocation_pools': [{'start': '14.177.80.66', 'end': '14.177.80.126'}], 'gateway_ip': '14.177.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.177.80.66', 'tags': [], 'project_id': '329d490f12e249ae802412c0c732ba06'}} 2025-06-30 11:44:46,857 - INFO - Created VN ctest-vn-34701009 2025-06-30 11:44:46,915 - DEBUG - VN ctest-vn-34701009 UUID is 0ddb38a9-8e2e-4c23-9262-a92c78ee79c1 2025-06-30 11:44:47,035 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-38417985, 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-58239983:ctest-vn-34701009, 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-06-30 11:44:47,367 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff457328-6179-4a12-a186-adcf1d24bd26', 'name': 'ctest-vn-38417985', 'tenant_id': '329d490f12e249ae802412c0c732ba06', 'project_id': '329d490f12e249ae802412c0c732ba06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['05a11686-5c44-4266-9229-afe77d66318e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58239983', 'ctest-vn-38417985'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58239983', 'ctest-policy-allow-all-57431914']], 'subnet_ipam': [{'subnet_cidr': '66.98.12.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:44:47,585 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ddb38a9-8e2e-4c23-9262-a92c78ee79c1', 'name': 'ctest-vn-34701009', 'tenant_id': '329d490f12e249ae802412c0c732ba06', 'project_id': '329d490f12e249ae802412c0c732ba06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['857b1ca8-3f58-424f-96a7-717dcff12350'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58239983', 'ctest-vn-34701009'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58239983', 'ctest-policy-allow-all-57431914']], 'subnet_ipam': [{'subnet_cidr': '14.177.80.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:44:47,743 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 11:44:48,041 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 11:44:48,068 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ce6183f5-1fef-4cea-8664-bb95e386f2d8 2025-06-30 11:44:48,082 - DEBUG - Requesting: http://10.0.0.49:8082/project/329d490f-12e2-49ae-8024-12c0c732ba06 2025-06-30 11:44:48,155 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ff457328-6179-4a12-a186-adcf1d24bd26 2025-06-30 11:44:48,166 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ff457328-6179-4a12-a186-adcf1d24bd26 2025-06-30 11:44:48,175 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9d955102-171f-47c6-bf83-3e896f39b8ca 2025-06-30 11:44:48,182 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9d955102-171f-47c6-bf83-3e896f39b8ca 2025-06-30 11:44:48,189 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/043b95e8-7692-4609-9cb1-975f232da2d0 2025-06-30 11:44:48,195 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 11:44:48,195 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ff457328-6179-4a12-a186-adcf1d24bd26 2025-06-30 11:44:48,203 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9d955102-171f-47c6-bf83-3e896f39b8ca 2025-06-30 11:44:48,217 - INFO - Verified VN network id 8 for VN ff457328-6179-4a12-a186-adcf1d24bd26 2025-06-30 11:44:48,217 - INFO - Verifications in API Server for VN ctest-vn-38417985 passed 2025-06-30 11:44:48,217 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ff457328-6179-4a12-a186-adcf1d24bd26 2025-06-30 11:44:48,226 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9d955102-171f-47c6-bf83-3e896f39b8ca 2025-06-30 11:44:48,233 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9d955102-171f-47c6-bf83-3e896f39b8ca 2025-06-30 11:44:48,240 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/043b95e8-7692-4609-9cb1-975f232da2d0 2025-06-30 11:44:48,252 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-38417985', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58239983', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18394234870335883794', 'uuid-lslong': '11639181392044408102'}, 'enable': 'true', 'created': '2025-06-30T11:44:46', 'last-modified': '2025-06-30T11:44:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906563'} 2025-06-30 11:44:48,258 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 11:44:48,258 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38417985 passed 2025-06-30 11:44:48,258 - DEBUG - ====Verifying policy data for ctest-vn-38417985 in API_Server ====== 2025-06-30 11:44:48,258 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 11:44:48,264 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ce6183f5-1fef-4cea-8664-bb95e386f2d8 2025-06-30 11:44:48,275 - DEBUG - Requesting: http://10.0.0.49:8082/project/329d490f-12e2-49ae-8024-12c0c732ba06 2025-06-30 11:44:48,346 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ff457328-6179-4a12-a186-adcf1d24bd26 2025-06-30 11:44:48,355 - DEBUG - ==>Verifying data for policy with id: f470cae5-4135-4fa6-83df-ba03ca8f3111, fqn: ['default-domain', 'ctest-TestBasicPolicy-58239983', 'ctest-policy-allow-all-57431914'] 2025-06-30 11:44:48,355 - INFO - VN ctest-vn-38417985 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 11:44:48,355 - DEBUG - Verifying the vn in opserver 2025-06-30 11:44:48,356 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-38417985 virtual network link through opserver 10.0.0.49 2025-06-30 11:44:48,356 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-30 11:44:48,645 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-30 11:44:48,700 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-38417985', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-38417985?flat'} 2025-06-30 11:44:48,700 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-38417985 is found in opserver 2025-06-30 11:44:48,711 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 11:44:48,717 - DEBUG - VRF ids for VN ctest-vn-38417985: {} 2025-06-30 11:44:48,717 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 11:44:48,722 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ce6183f5-1fef-4cea-8664-bb95e386f2d8 2025-06-30 11:44:48,734 - DEBUG - Requesting: http://10.0.0.49:8082/project/329d490f-12e2-49ae-8024-12c0c732ba06 2025-06-30 11:44:48,810 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0ddb38a9-8e2e-4c23-9262-a92c78ee79c1 2025-06-30 11:44:48,822 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0ddb38a9-8e2e-4c23-9262-a92c78ee79c1 2025-06-30 11:44:48,831 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bdcd1145-6f88-4c54-8872-50e4976b2611 2025-06-30 11:44:48,839 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bdcd1145-6f88-4c54-8872-50e4976b2611 2025-06-30 11:44:48,846 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/3f09fd6c-be44-440f-ba01-04a307726ded 2025-06-30 11:44:48,853 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 11:44:48,853 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0ddb38a9-8e2e-4c23-9262-a92c78ee79c1 2025-06-30 11:44:48,863 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bdcd1145-6f88-4c54-8872-50e4976b2611 2025-06-30 11:44:48,878 - INFO - Verified VN network id 9 for VN 0ddb38a9-8e2e-4c23-9262-a92c78ee79c1 2025-06-30 11:44:48,878 - INFO - Verifications in API Server for VN ctest-vn-34701009 passed 2025-06-30 11:44:48,878 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0ddb38a9-8e2e-4c23-9262-a92c78ee79c1 2025-06-30 11:44:48,888 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bdcd1145-6f88-4c54-8872-50e4976b2611 2025-06-30 11:44:48,896 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bdcd1145-6f88-4c54-8872-50e4976b2611 2025-06-30 11:44:48,903 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/3f09fd6c-be44-440f-ba01-04a307726ded 2025-06-30 11:44:48,916 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-34701009', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58239983', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '998454043278724131', 'uuid-lslong': '10548179285727672769'}, 'enable': 'true', 'created': '2025-06-30T11:44:46', 'last-modified': '2025-06-30T11:44:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.349021'} 2025-06-30 11:44:48,923 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 11:44:48,923 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34701009 passed 2025-06-30 11:44:48,923 - DEBUG - ====Verifying policy data for ctest-vn-34701009 in API_Server ====== 2025-06-30 11:44:48,923 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 11:44:48,930 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ce6183f5-1fef-4cea-8664-bb95e386f2d8 2025-06-30 11:44:48,943 - DEBUG - Requesting: http://10.0.0.49:8082/project/329d490f-12e2-49ae-8024-12c0c732ba06 2025-06-30 11:44:49,016 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0ddb38a9-8e2e-4c23-9262-a92c78ee79c1 2025-06-30 11:44:49,027 - DEBUG - ==>Verifying data for policy with id: f470cae5-4135-4fa6-83df-ba03ca8f3111, fqn: ['default-domain', 'ctest-TestBasicPolicy-58239983', 'ctest-policy-allow-all-57431914'] 2025-06-30 11:44:49,027 - INFO - VN ctest-vn-34701009 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 11:44:49,027 - DEBUG - Verifying the vn in opserver 2025-06-30 11:44:49,027 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-34701009 virtual network link through opserver 10.0.0.49 2025-06-30 11:44:49,027 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-30 11:44:49,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-34701009', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-34701009?flat'} 2025-06-30 11:44:49,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-34701009 is found in opserver 2025-06-30 11:44:49,050 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 11:44:49,057 - DEBUG - VRF ids for VN ctest-vn-34701009: {} 2025-06-30 11:44:49,112 - DEBUG - Services list from nova: [, , ] 2025-06-30 11:44:50,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3574-1) 2025-06-30 11:44:51,347 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3574-1) 2025-06-30 11:44:51,347 - INFO - Waiting for VM ctest-TestBasicPolicy-58239983-72615057 to be up.. 2025-06-30 11:44:51,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 11:44:56,524 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:44:56,524 - INFO - VM name : ctest-TestBasicPolicy-58239983-72615057 2025-06-30 11:44:56,598 - DEBUG - VM ctest-TestBasicPolicy-58239983-72615057 ID is fbdc6e39-3c61-474a-b5db-848a3ba72a0c 2025-06-30 11:44:56,616 - DEBUG - VM ctest-TestBasicPolicy-58239983-72615057 launched on Node cn-jenkins-deploy-platform-ansible-os-3574-1 2025-06-30 11:44:56,689 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/fbdc6e39-3c61-474a-b5db-848a3ba72a0c 2025-06-30 11:44:56,698 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/686003d4-386e-4f38-82e1-97c8a85627a6 2025-06-30 11:44:59,948 - 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 1012ms') 2025-06-30 11:44:59,948 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58239983-72615057 failed! 2025-06-30 11:45:00,004 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58239983:ctest-vn-38417985 is 66.98.12.65 and allocation pool is NOT set 2025-06-30 11:45:02,066 - 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=2.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.476/1.549/2.623/1.073 ms') 2025-06-30 11:45:02,066 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58239983-72615057 passed 2025-06-30 11:45:02,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:02,220 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58239983-72615057, IP 66.98.12.67, Port 22 2025-06-30 11:45:02,375 - DEBUG - VM ctest-TestBasicPolicy-58239983-72615057 is ready for SSH connections 2025-06-30 11:45:02,375 - INFO - Waiting for VM ctest-TestBasicPolicy-58239983-07136571 to be up.. 2025-06-30 11:45:02,452 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:45:02,452 - INFO - VM name : ctest-TestBasicPolicy-58239983-07136571 2025-06-30 11:45:02,532 - DEBUG - VM ctest-TestBasicPolicy-58239983-07136571 ID is 8ad8d550-6b7f-4c3c-9252-cd9756491c3e 2025-06-30 11:45:02,532 - DEBUG - VM ctest-TestBasicPolicy-58239983-07136571 launched on Node cn-jenkins-deploy-platform-ansible-os-3574-1 2025-06-30 11:45:02,611 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/8ad8d550-6b7f-4c3c-9252-cd9756491c3e 2025-06-30 11:45:02,622 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5b35aeff-72f3-40ea-8170-1b2037c5f256 2025-06-30 11:45:03,875 - 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=3.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.907 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.907/2.349/3.791/1.442 ms') 2025-06-30 11:45:03,875 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58239983-07136571 passed 2025-06-30 11:45:04,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:04,032 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58239983-07136571, IP 14.177.80.67, Port 22 2025-06-30 11:45:04,186 - DEBUG - VM ctest-TestBasicPolicy-58239983-07136571 is ready for SSH connections 2025-06-30 11:45:04,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:04,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.177.80.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-30 11:45:04,187 - DEBUG - ping -s 56 -c 3 -W 1 14.177.80.67 2025-06-30 11:45:07,864 - DEBUG - PING 14.177.80.67 (14.177.80.67): 56 data bytes 64 bytes from 14.177.80.67: seq=0 ttl=63 time=3.340 ms 64 bytes from 14.177.80.67: seq=1 ttl=63 time=1.008 ms 64 bytes from 14.177.80.67: seq=2 ttl=63 time=0.863 ms --- 14.177.80.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/1.737/3.340 ms 2025-06-30 11:45:07,864 - INFO - Ping to IP 14.177.80.67 from VM ctest-TestBasicPolicy-58239983-72615057 passed 2025-06-30 11:45:08,051 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f470cae5-4135-4fa6-83df-ba03ca8f3111", "href": "http://10.0.0.49:8082/network-policy/f470cae5-4135-4fa6-83df-ba03ca8f3111"}} 2025-06-30 11:45:08,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:08,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.177.80.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-30 11:45:08,052 - DEBUG - ping -s 56 -c 3 -W 1 14.177.80.67 2025-06-30 11:45:11,256 - DEBUG - PING 14.177.80.67 (14.177.80.67): 56 data bytes --- 14.177.80.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-30 11:45:11,256 - WARNING - Ping to IP 14.177.80.67 from VM ctest-TestBasicPolicy-58239983-72615057 failed 2025-06-30 11:45:11,256 - INFO - Deleting VM ctest-TestBasicPolicy-58239983-07136571 2025-06-30 11:45:11,325 - INFO - Deleting VM ctest-TestBasicPolicy-58239983-72615057 2025-06-30 11:45:11,710 - INFO - Deleted policy ctest-policy-allow-all-57431914 2025-06-30 11:45:11,710 - INFO - Deleting VN ctest-vn-34701009 2025-06-30 11:45:11,748 - DEBUG - VN 0ddb38a9-8e2e-4c23-9262-a92c78ee79c1 still in use: Unable to complete operation on network 0ddb38a9-8e2e-4c23-9262-a92c78ee79c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-45e90b73-0b9c-4db6-a16b-571553f7a13d'] 2025-06-30 11:45:11,748 - WARNING - Deleting VN ctest-vn-34701009 failed..Will retry 2025-06-30 11:45:13,844 - DEBUG - Response for deleting network () 2025-06-30 11:45:13,845 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bdcd1145-6f88-4c54-8872-50e4976b2611 2025-06-30 11:45:13,850 - DEBUG - Response Code: 404 2025-06-30 11:45:13,850 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 11:45:13,856 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ce6183f5-1fef-4cea-8664-bb95e386f2d8 2025-06-30 11:45:13,909 - DEBUG - Requesting: http://10.0.0.49:8082/project/329d490f-12e2-49ae-8024-12c0c732ba06 2025-06-30 11:45:13,990 - INFO - Validated that VN ctest-vn-34701009 is not found in API Server 2025-06-30 11:45:14,001 - DEBUG - VN ctest-vn-34701009 is not present in Agent 10.0.0.49 2025-06-30 11:45:14,001 - INFO - Validated that VN ctest-vn-34701009 is not in any agent 2025-06-30 11:45:14,017 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34701009 info 2025-06-30 11:45:14,018 - INFO - Deleting VN ctest-vn-38417985 2025-06-30 11:45:14,120 - DEBUG - Response for deleting network () 2025-06-30 11:45:14,120 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9d955102-171f-47c6-bf83-3e896f39b8ca 2025-06-30 11:45:14,130 - DEBUG - Response Code: 404 2025-06-30 11:45:14,130 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-30 11:45:14,135 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ce6183f5-1fef-4cea-8664-bb95e386f2d8 2025-06-30 11:45:14,190 - DEBUG - Requesting: http://10.0.0.49:8082/project/329d490f-12e2-49ae-8024-12c0c732ba06 2025-06-30 11:45:14,262 - INFO - Validated that VN ctest-vn-38417985 is not found in API Server 2025-06-30 11:45:14,273 - DEBUG - VN ctest-vn-38417985 is not present in Agent 10.0.0.49 2025-06-30 11:45:14,273 - INFO - Validated that VN ctest-vn-38417985 is not in any agent 2025-06-30 11:45:14,291 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38417985 info 2025-06-30 11:45:14,545 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 11:45:14,545 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-30 11:45:14,546 - INFO - -------------------------------------------------------------------------------- 2025-06-30 11:45:15,205 - INFO - Deleted project: ctest-TestBasicPolicy-58239983, ID : 329d490f-12e2-49ae-8024-12c0c732ba06