2025-02-02 14:47:13,518 - INFO - Domain Default found not creating 2025-02-02 14:47:13,675 - INFO - Project ctest-TestBasicPolicy-86800384 not found, creating it 2025-02-02 14:47:14,166 - INFO - Created Project:ctest-TestBasicPolicy-86800384, ID : ecae34c0-1d64-4da6-9c84-2301ec5970b7 2025-02-02 14:47:15,593 - INFO - ================================================================================ 2025-02-02 14:47:15,593 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-02 14:47:15,593 - 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-02 14:47:15,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.5': '0'}} with 2025-02-02 14:47:15,852 - INFO - Initial checks done. Running the testcase now 2025-02-02 14:47:15,852 - INFO - 2025-02-02 14:47:16,377 - DEBUG - Response for create_network : {'network': {'id': '264b3111-2294-431d-9a8f-356f3a7562ed', 'name': 'ctest-vn-68027948', 'tenant_id': 'ecae34c01d644da69c842301ec5970b7', 'project_id': 'ecae34c01d644da69c842301ec5970b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86800384', 'ctest-vn-68027948'], 'port_security_enabled': True, 'description': ''}} 2025-02-02 14:47:16,568 - DEBUG - Response for create_subnet : {'subnet': {'id': '255d1d9a-886b-405d-94a9-6a10a3df48b6', 'name': '', 'tenant_id': 'ecae34c01d644da69c842301ec5970b7', 'network_id': '264b3111-2294-431d-9a8f-356f3a7562ed', 'ip_version': 4, 'cidr': '7.223.133.192/26', 'allocation_pools': [{'start': '7.223.133.194', 'end': '7.223.133.254'}], 'gateway_ip': '7.223.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.223.133.194', 'tags': [], 'project_id': 'ecae34c01d644da69c842301ec5970b7'}} 2025-02-02 14:47:16,586 - INFO - Created VN ctest-vn-68027948 2025-02-02 14:47:16,640 - DEBUG - VN ctest-vn-68027948 UUID is 264b3111-2294-431d-9a8f-356f3a7562ed 2025-02-02 14:47:16,967 - DEBUG - Response for create_network : {'network': {'id': '34e08675-10c6-4b1a-ab22-b8526782e5cc', 'name': 'ctest-vn-90695145', 'tenant_id': 'ecae34c01d644da69c842301ec5970b7', 'project_id': 'ecae34c01d644da69c842301ec5970b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86800384', 'ctest-vn-90695145'], 'port_security_enabled': True, 'description': ''}} 2025-02-02 14:47:17,137 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd45318a5-05a8-4e37-a3ca-26040f59c07d', 'name': '', 'tenant_id': 'ecae34c01d644da69c842301ec5970b7', 'network_id': '34e08675-10c6-4b1a-ab22-b8526782e5cc', 'ip_version': 4, 'cidr': '31.74.194.64/26', 'allocation_pools': [{'start': '31.74.194.66', 'end': '31.74.194.126'}], 'gateway_ip': '31.74.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.74.194.66', 'tags': [], 'project_id': 'ecae34c01d644da69c842301ec5970b7'}} 2025-02-02 14:47:17,156 - INFO - Created VN ctest-vn-90695145 2025-02-02 14:47:17,208 - DEBUG - VN ctest-vn-90695145 UUID is 34e08675-10c6-4b1a-ab22-b8526782e5cc 2025-02-02 14:47:17,320 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-68027948, 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-86800384:ctest-vn-90695145, 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-02 14:47:17,613 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '264b3111-2294-431d-9a8f-356f3a7562ed', 'name': 'ctest-vn-68027948', 'tenant_id': 'ecae34c01d644da69c842301ec5970b7', 'project_id': 'ecae34c01d644da69c842301ec5970b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['255d1d9a-886b-405d-94a9-6a10a3df48b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86800384', 'ctest-vn-68027948'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86800384', 'ctest-policy-allow-all-17552974']], 'subnet_ipam': [{'subnet_cidr': '7.223.133.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-02 14:47:17,851 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34e08675-10c6-4b1a-ab22-b8526782e5cc', 'name': 'ctest-vn-90695145', 'tenant_id': 'ecae34c01d644da69c842301ec5970b7', 'project_id': 'ecae34c01d644da69c842301ec5970b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d45318a5-05a8-4e37-a3ca-26040f59c07d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86800384', 'ctest-vn-90695145'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86800384', 'ctest-policy-allow-all-17552974']], 'subnet_ipam': [{'subnet_cidr': '31.74.194.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-02 14:47:18,000 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-02 14:47:18,299 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-02 14:47:18,328 - DEBUG - Requesting: http://10.0.0.29:8082/domain/12cfde75-4360-4f78-bcfd-bc6852afedc0 2025-02-02 14:47:18,342 - DEBUG - Requesting: http://10.0.0.29:8082/project/ecae34c0-1d64-4da6-9c84-2301ec5970b7 2025-02-02 14:47:18,419 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/264b3111-2294-431d-9a8f-356f3a7562ed 2025-02-02 14:47:18,432 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/264b3111-2294-431d-9a8f-356f3a7562ed 2025-02-02 14:47:18,441 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a615de3b-1303-4249-849e-eb74cc6afab5 2025-02-02 14:47:18,448 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a615de3b-1303-4249-849e-eb74cc6afab5 2025-02-02 14:47:18,456 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/302582fa-5191-411a-9139-59dba350bd06 2025-02-02 14:47:18,462 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-02 14:47:18,462 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/264b3111-2294-431d-9a8f-356f3a7562ed 2025-02-02 14:47:18,471 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a615de3b-1303-4249-849e-eb74cc6afab5 2025-02-02 14:47:18,486 - INFO - Verified VN network id 9 for VN 264b3111-2294-431d-9a8f-356f3a7562ed 2025-02-02 14:47:18,486 - INFO - Verifications in API Server for VN ctest-vn-68027948 passed 2025-02-02 14:47:18,486 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/264b3111-2294-431d-9a8f-356f3a7562ed 2025-02-02 14:47:18,497 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a615de3b-1303-4249-849e-eb74cc6afab5 2025-02-02 14:47:18,508 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a615de3b-1303-4249-849e-eb74cc6afab5 2025-02-02 14:47:18,524 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/302582fa-5191-411a-9139-59dba350bd06 2025-02-02 14:47:18,538 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-68027948', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86800384', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2759353146358907677', 'uuid-lslong': '11137179155348939501'}, 'enable': 'true', 'created': '2025-02-02T14:47:16', 'last-modified': '2025-02-02T14:47:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946493'} 2025-02-02 14:47:18,544 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-02 14:47:18,544 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68027948 passed 2025-02-02 14:47:18,544 - DEBUG - ====Verifying policy data for ctest-vn-68027948 in API_Server ====== 2025-02-02 14:47:18,544 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-02 14:47:18,550 - DEBUG - Requesting: http://10.0.0.29:8082/domain/12cfde75-4360-4f78-bcfd-bc6852afedc0 2025-02-02 14:47:18,561 - DEBUG - Requesting: http://10.0.0.29:8082/project/ecae34c0-1d64-4da6-9c84-2301ec5970b7 2025-02-02 14:47:18,632 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/264b3111-2294-431d-9a8f-356f3a7562ed 2025-02-02 14:47:18,642 - DEBUG - ==>Verifying data for policy with id: 2621f69d-6d35-4810-b558-386811114912, fqn: ['default-domain', 'ctest-TestBasicPolicy-86800384', 'ctest-policy-allow-all-17552974'] 2025-02-02 14:47:18,642 - INFO - VN ctest-vn-68027948 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-02 14:47:18,643 - DEBUG - Verifying the vn in opserver 2025-02-02 14:47:18,643 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-68027948 virtual network link through opserver 10.0.0.29 2025-02-02 14:47:18,643 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-02-02 14:47:18,934 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-02-02 14:47:18,991 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-68027948', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-68027948?flat'} 2025-02-02 14:47:18,991 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-68027948 is found in opserver 2025-02-02 14:47:19,003 - DEBUG - Do not have enough data to verify VN in agent 2025-02-02 14:47:19,009 - DEBUG - VRF ids for VN ctest-vn-68027948: {} 2025-02-02 14:47:19,009 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-02 14:47:19,015 - DEBUG - Requesting: http://10.0.0.29:8082/domain/12cfde75-4360-4f78-bcfd-bc6852afedc0 2025-02-02 14:47:19,026 - DEBUG - Requesting: http://10.0.0.29:8082/project/ecae34c0-1d64-4da6-9c84-2301ec5970b7 2025-02-02 14:47:19,099 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/34e08675-10c6-4b1a-ab22-b8526782e5cc 2025-02-02 14:47:19,111 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/34e08675-10c6-4b1a-ab22-b8526782e5cc 2025-02-02 14:47:19,137 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/e591b4d3-a16f-4b5e-9313-c80b30851ea7 2025-02-02 14:47:19,163 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/e591b4d3-a16f-4b5e-9313-c80b30851ea7 2025-02-02 14:47:19,182 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/f496e8b5-d3f1-4c3e-b36d-9760216f1f2d 2025-02-02 14:47:19,192 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-02 14:47:19,192 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/34e08675-10c6-4b1a-ab22-b8526782e5cc 2025-02-02 14:47:19,205 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/e591b4d3-a16f-4b5e-9313-c80b30851ea7 2025-02-02 14:47:19,269 - INFO - Verified VN network id 10 for VN 34e08675-10c6-4b1a-ab22-b8526782e5cc 2025-02-02 14:47:19,269 - INFO - Verifications in API Server for VN ctest-vn-90695145 passed 2025-02-02 14:47:19,269 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/34e08675-10c6-4b1a-ab22-b8526782e5cc 2025-02-02 14:47:19,294 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/e591b4d3-a16f-4b5e-9313-c80b30851ea7 2025-02-02 14:47:19,306 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/e591b4d3-a16f-4b5e-9313-c80b30851ea7 2025-02-02 14:47:19,319 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/f496e8b5-d3f1-4c3e-b36d-9760216f1f2d 2025-02-02 14:47:19,341 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-90695145', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86800384', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3810193122106166042', 'uuid-lslong': '12331621393757300172'}, 'enable': 'true', 'created': '2025-02-02T14:47:16', 'last-modified': '2025-02-02T14:47:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.507836'} 2025-02-02 14:47:19,348 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-02 14:47:19,348 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90695145 passed 2025-02-02 14:47:19,348 - DEBUG - ====Verifying policy data for ctest-vn-90695145 in API_Server ====== 2025-02-02 14:47:19,348 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-02 14:47:19,370 - DEBUG - Requesting: http://10.0.0.29:8082/domain/12cfde75-4360-4f78-bcfd-bc6852afedc0 2025-02-02 14:47:19,386 - DEBUG - Requesting: http://10.0.0.29:8082/project/ecae34c0-1d64-4da6-9c84-2301ec5970b7 2025-02-02 14:47:19,490 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/34e08675-10c6-4b1a-ab22-b8526782e5cc 2025-02-02 14:47:19,503 - DEBUG - ==>Verifying data for policy with id: 2621f69d-6d35-4810-b558-386811114912, fqn: ['default-domain', 'ctest-TestBasicPolicy-86800384', 'ctest-policy-allow-all-17552974'] 2025-02-02 14:47:19,503 - INFO - VN ctest-vn-90695145 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-02 14:47:19,503 - DEBUG - Verifying the vn in opserver 2025-02-02 14:47:19,503 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-90695145 virtual network link through opserver 10.0.0.29 2025-02-02 14:47:19,503 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-02-02 14:47:19,519 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-90695145', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-90695145?flat'} 2025-02-02 14:47:19,519 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-90695145 is found in opserver 2025-02-02 14:47:19,530 - DEBUG - Do not have enough data to verify VN in agent 2025-02-02 14:47:19,535 - DEBUG - VRF ids for VN ctest-vn-90695145: {} 2025-02-02 14:47:19,615 - DEBUG - Services list from nova: [, , ] 2025-02-02 14:47:20,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2671-1) 2025-02-02 14:47:21,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2671-1) 2025-02-02 14:47:21,926 - INFO - Waiting for VM ctest-TestBasicPolicy-86800384-60864052 to be up.. 2025-02-02 14:47:22,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-02 14:47:27,097 - DEBUG - VM is in ACTIVE state now 2025-02-02 14:47:27,097 - INFO - VM name : ctest-TestBasicPolicy-86800384-60864052 2025-02-02 14:47:27,170 - DEBUG - VM ctest-TestBasicPolicy-86800384-60864052 ID is 58b4cad4-bb28-409b-84da-31cdf43ededb 2025-02-02 14:47:27,189 - DEBUG - VM ctest-TestBasicPolicy-86800384-60864052 launched on Node cn-jenkins-deploy-platform-ansible-os-2671-1 2025-02-02 14:47:27,261 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/58b4cad4-bb28-409b-84da-31cdf43ededb 2025-02-02 14:47:27,270 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/328bd3d4-6b62-46e1-be4b-2c49facf6462 2025-02-02 14:47:30,518 - 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 1011ms') 2025-02-02 14:47:30,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86800384-60864052 failed! 2025-02-02 14:47:30,580 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86800384:ctest-vn-68027948 is 7.223.133.193 and allocation pool is NOT set 2025-02-02 14:47:32,639 - 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=4.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 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 = 1.376/3.177/4.979/1.801 ms') 2025-02-02 14:47:32,639 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86800384-60864052 passed 2025-02-02 14:47:32,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-02 14:47:32,793 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86800384-60864052, IP 7.223.133.195, Port 22 2025-02-02 14:47:32,951 - DEBUG - VM ctest-TestBasicPolicy-86800384-60864052 is ready for SSH connections 2025-02-02 14:47:32,951 - INFO - Waiting for VM ctest-TestBasicPolicy-86800384-53801016 to be up.. 2025-02-02 14:47:33,032 - DEBUG - VM is in ACTIVE state now 2025-02-02 14:47:33,032 - INFO - VM name : ctest-TestBasicPolicy-86800384-53801016 2025-02-02 14:47:33,109 - DEBUG - VM ctest-TestBasicPolicy-86800384-53801016 ID is e94024d3-cc45-4735-890c-428a0b9cfb95 2025-02-02 14:47:33,109 - DEBUG - VM ctest-TestBasicPolicy-86800384-53801016 launched on Node cn-jenkins-deploy-platform-ansible-os-2671-1 2025-02-02 14:47:33,186 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/e94024d3-cc45-4735-890c-428a0b9cfb95 2025-02-02 14:47:33,197 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/271c4e53-db61-4f01-a823-9264fb6951b4 2025-02-02 14:47:34,447 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.653/2.825/1.171 ms') 2025-02-02 14:47:34,447 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86800384-53801016 passed 2025-02-02 14:47:34,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-02 14:47:34,600 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86800384-53801016, IP 31.74.194.67, Port 22 2025-02-02 14:47:34,751 - DEBUG - VM ctest-TestBasicPolicy-86800384-53801016 is ready for SSH connections 2025-02-02 14:47:34,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-02 14:47:34,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.74.194.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-02-02 14:47:34,752 - DEBUG - ping -s 56 -c 3 -W 1 31.74.194.67 2025-02-02 14:47:38,716 - DEBUG - PING 31.74.194.67 (31.74.194.67): 56 data bytes 64 bytes from 31.74.194.67: seq=0 ttl=63 time=3.387 ms 64 bytes from 31.74.194.67: seq=1 ttl=63 time=0.812 ms 64 bytes from 31.74.194.67: seq=2 ttl=63 time=0.780 ms --- 31.74.194.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/1.659/3.387 ms 2025-02-02 14:47:38,717 - INFO - Ping to IP 31.74.194.67 from VM ctest-TestBasicPolicy-86800384-60864052 passed 2025-02-02 14:47:38,892 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2621f69d-6d35-4810-b558-386811114912", "href": "http://10.0.0.29:8082/network-policy/2621f69d-6d35-4810-b558-386811114912"}} 2025-02-02 14:47:38,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-02 14:47:38,892 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.74.194.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-02-02 14:47:38,892 - DEBUG - ping -s 56 -c 3 -W 1 31.74.194.67 2025-02-02 14:47:42,108 - DEBUG - PING 31.74.194.67 (31.74.194.67): 56 data bytes --- 31.74.194.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-02 14:47:42,108 - WARNING - Ping to IP 31.74.194.67 from VM ctest-TestBasicPolicy-86800384-60864052 failed 2025-02-02 14:47:42,108 - INFO - Deleting VM ctest-TestBasicPolicy-86800384-53801016 2025-02-02 14:47:42,186 - INFO - Deleting VM ctest-TestBasicPolicy-86800384-60864052 2025-02-02 14:47:42,625 - INFO - Deleted policy ctest-policy-allow-all-17552974 2025-02-02 14:47:42,626 - INFO - Deleting VN ctest-vn-90695145 2025-02-02 14:47:42,669 - DEBUG - VN 34e08675-10c6-4b1a-ab22-b8526782e5cc still in use: Unable to complete operation on network 34e08675-10c6-4b1a-ab22-b8526782e5cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c1e4e0d-27f6-4094-9ca0-584ca6e49653'] 2025-02-02 14:47:42,670 - WARNING - Deleting VN ctest-vn-90695145 failed..Will retry 2025-02-02 14:47:44,771 - DEBUG - Response for deleting network () 2025-02-02 14:47:44,772 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/e591b4d3-a16f-4b5e-9313-c80b30851ea7 2025-02-02 14:47:44,782 - DEBUG - Response Code: 404 2025-02-02 14:47:44,782 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-02 14:47:44,790 - DEBUG - Requesting: http://10.0.0.29:8082/domain/12cfde75-4360-4f78-bcfd-bc6852afedc0 2025-02-02 14:47:44,848 - DEBUG - Requesting: http://10.0.0.29:8082/project/ecae34c0-1d64-4da6-9c84-2301ec5970b7 2025-02-02 14:47:44,923 - INFO - Validated that VN ctest-vn-90695145 is not found in API Server 2025-02-02 14:47:44,936 - DEBUG - VN ctest-vn-90695145 is not present in Agent 10.0.0.29 2025-02-02 14:47:44,936 - INFO - Validated that VN ctest-vn-90695145 is not in any agent 2025-02-02 14:47:44,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90695145 info 2025-02-02 14:47:44,953 - INFO - Deleting VN ctest-vn-68027948 2025-02-02 14:47:45,063 - DEBUG - Response for deleting network () 2025-02-02 14:47:45,063 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a615de3b-1303-4249-849e-eb74cc6afab5 2025-02-02 14:47:45,069 - DEBUG - Response Code: 404 2025-02-02 14:47:45,069 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-02 14:47:45,075 - DEBUG - Requesting: http://10.0.0.29:8082/domain/12cfde75-4360-4f78-bcfd-bc6852afedc0 2025-02-02 14:47:45,131 - DEBUG - Requesting: http://10.0.0.29:8082/project/ecae34c0-1d64-4da6-9c84-2301ec5970b7 2025-02-02 14:47:45,207 - INFO - Validated that VN ctest-vn-68027948 is not found in API Server 2025-02-02 14:47:45,218 - DEBUG - VN ctest-vn-68027948 is not present in Agent 10.0.0.29 2025-02-02 14:47:45,218 - INFO - Validated that VN ctest-vn-68027948 is not in any agent 2025-02-02 14:47:45,234 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68027948 info 2025-02-02 14:47:45,491 - DEBUG - No XMPP flaps were noticed during the test 2025-02-02 14:47:45,492 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-02 14:47:45,492 - INFO - -------------------------------------------------------------------------------- 2025-02-02 14:47:46,179 - INFO - Deleted project: ctest-TestBasicPolicy-86800384, ID : ecae34c0-1d64-4da6-9c84-2301ec5970b7