2025-08-10 09:29:14,906 - INFO - Domain Default found not creating 2025-08-10 09:29:15,017 - INFO - Project ctest-TestBasicPolicy-15063597 not found, creating it 2025-08-10 09:29:15,520 - INFO - Created Project:ctest-TestBasicPolicy-15063597, ID : 845a1dfd-1de9-4a01-8d06-178e956e8ed8 2025-08-10 09:29:16,890 - INFO - ================================================================================ 2025-08-10 09:29:16,890 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-10 09:29:16,890 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-08-10 09:29:17,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-08-10 09:29:17,141 - INFO - Initial checks done. Running the testcase now 2025-08-10 09:29:17,141 - INFO - 2025-08-10 09:29:17,662 - DEBUG - Response for create_network : {'network': {'id': '0a7b03b4-dcea-49fe-b12c-be811a381a65', 'name': 'ctest-vn-49276434', 'tenant_id': '845a1dfd1de94a018d06178e956e8ed8', 'project_id': '845a1dfd1de94a018d06178e956e8ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15063597', 'ctest-vn-49276434'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 09:29:17,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '0525b762-9c37-4096-bd69-05cf5e3fc25a', 'name': '', 'tenant_id': '845a1dfd1de94a018d06178e956e8ed8', 'network_id': '0a7b03b4-dcea-49fe-b12c-be811a381a65', 'ip_version': 4, 'cidr': '145.219.154.128/26', 'allocation_pools': [{'start': '145.219.154.130', 'end': '145.219.154.190'}], 'gateway_ip': '145.219.154.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.219.154.130', 'tags': [], 'project_id': '845a1dfd1de94a018d06178e956e8ed8'}} 2025-08-10 09:29:17,894 - INFO - Created VN ctest-vn-49276434 2025-08-10 09:29:17,944 - DEBUG - VN ctest-vn-49276434 UUID is 0a7b03b4-dcea-49fe-b12c-be811a381a65 2025-08-10 09:29:18,244 - DEBUG - Response for create_network : {'network': {'id': '0065bd48-3afb-472c-81ce-2bbd9e1c567b', 'name': 'ctest-vn-39800608', 'tenant_id': '845a1dfd1de94a018d06178e956e8ed8', 'project_id': '845a1dfd1de94a018d06178e956e8ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15063597', 'ctest-vn-39800608'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 09:29:18,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '807fc443-5faa-4def-9476-1b0546def789', 'name': '', 'tenant_id': '845a1dfd1de94a018d06178e956e8ed8', 'network_id': '0065bd48-3afb-472c-81ce-2bbd9e1c567b', 'ip_version': 4, 'cidr': '153.100.119.192/26', 'allocation_pools': [{'start': '153.100.119.194', 'end': '153.100.119.254'}], 'gateway_ip': '153.100.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.100.119.194', 'tags': [], 'project_id': '845a1dfd1de94a018d06178e956e8ed8'}} 2025-08-10 09:29:18,464 - INFO - Created VN ctest-vn-39800608 2025-08-10 09:29:18,516 - DEBUG - VN ctest-vn-39800608 UUID is 0065bd48-3afb-472c-81ce-2bbd9e1c567b 2025-08-10 09:29:18,648 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-49276434, 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-15063597:ctest-vn-39800608, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-08-10 09:29:18,941 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0a7b03b4-dcea-49fe-b12c-be811a381a65', 'name': 'ctest-vn-49276434', 'tenant_id': '845a1dfd1de94a018d06178e956e8ed8', 'project_id': '845a1dfd1de94a018d06178e956e8ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0525b762-9c37-4096-bd69-05cf5e3fc25a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15063597', 'ctest-vn-49276434'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15063597', 'ctest-policy-allow-all-10893691']], 'subnet_ipam': [{'subnet_cidr': '145.219.154.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-10 09:29:19,213 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0065bd48-3afb-472c-81ce-2bbd9e1c567b', 'name': 'ctest-vn-39800608', 'tenant_id': '845a1dfd1de94a018d06178e956e8ed8', 'project_id': '845a1dfd1de94a018d06178e956e8ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['807fc443-5faa-4def-9476-1b0546def789'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15063597', 'ctest-vn-39800608'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15063597', 'ctest-policy-allow-all-10893691']], 'subnet_ipam': [{'subnet_cidr': '153.100.119.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-10 09:29:19,360 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 09:29:19,653 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 09:29:19,678 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1b4cb339-e1f4-4999-9237-131f3eae35de 2025-08-10 09:29:19,690 - DEBUG - Requesting: http://10.0.0.49:8082/project/845a1dfd-1de9-4a01-8d06-178e956e8ed8 2025-08-10 09:29:19,764 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0a7b03b4-dcea-49fe-b12c-be811a381a65 2025-08-10 09:29:19,775 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0a7b03b4-dcea-49fe-b12c-be811a381a65 2025-08-10 09:29:19,783 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f911b302-6436-464a-93bf-871bfdbb04be 2025-08-10 09:29:19,789 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f911b302-6436-464a-93bf-871bfdbb04be 2025-08-10 09:29:19,795 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/0ac56e8a-5093-4382-9639-6b2b992911e3 2025-08-10 09:29:19,800 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-10 09:29:19,800 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0a7b03b4-dcea-49fe-b12c-be811a381a65 2025-08-10 09:29:19,808 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f911b302-6436-464a-93bf-871bfdbb04be 2025-08-10 09:29:19,820 - INFO - Verified VN network id 11 for VN 0a7b03b4-dcea-49fe-b12c-be811a381a65 2025-08-10 09:29:19,820 - INFO - Verifications in API Server for VN ctest-vn-49276434 passed 2025-08-10 09:29:19,820 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0a7b03b4-dcea-49fe-b12c-be811a381a65 2025-08-10 09:29:19,828 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f911b302-6436-464a-93bf-871bfdbb04be 2025-08-10 09:29:19,834 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f911b302-6436-464a-93bf-871bfdbb04be 2025-08-10 09:29:19,840 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/0ac56e8a-5093-4382-9639-6b2b992911e3 2025-08-10 09:29:19,851 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-49276434', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15063597', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '755201437850028542', 'uuid-lslong': '12766788505388456549'}, 'enable': 'true', 'created': '2025-08-10T09:29:17', 'last-modified': '2025-08-10T09:29:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.941707'} 2025-08-10 09:29:19,856 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-10 09:29:19,857 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49276434 passed 2025-08-10 09:29:19,857 - DEBUG - ====Verifying policy data for ctest-vn-49276434 in API_Server ====== 2025-08-10 09:29:19,857 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 09:29:19,861 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1b4cb339-e1f4-4999-9237-131f3eae35de 2025-08-10 09:29:19,871 - DEBUG - Requesting: http://10.0.0.49:8082/project/845a1dfd-1de9-4a01-8d06-178e956e8ed8 2025-08-10 09:29:19,943 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0a7b03b4-dcea-49fe-b12c-be811a381a65 2025-08-10 09:29:19,951 - DEBUG - ==>Verifying data for policy with id: 6192497f-d7fb-4f33-bb54-7c5e4a29f92e, fqn: ['default-domain', 'ctest-TestBasicPolicy-15063597', 'ctest-policy-allow-all-10893691'] 2025-08-10 09:29:19,951 - INFO - VN ctest-vn-49276434 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-10 09:29:19,952 - DEBUG - Verifying the vn in opserver 2025-08-10 09:29:19,952 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-49276434 virtual network link through opserver 10.0.0.49 2025-08-10 09:29:19,952 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-10 09:29:20,239 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-10 09:29:20,287 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-49276434', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-49276434?flat'} 2025-08-10 09:29:20,287 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-49276434 is found in opserver 2025-08-10 09:29:20,297 - DEBUG - Do not have enough data to verify VN in agent 2025-08-10 09:29:20,302 - DEBUG - VRF ids for VN ctest-vn-49276434: {} 2025-08-10 09:29:20,302 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 09:29:20,306 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1b4cb339-e1f4-4999-9237-131f3eae35de 2025-08-10 09:29:20,317 - DEBUG - Requesting: http://10.0.0.49:8082/project/845a1dfd-1de9-4a01-8d06-178e956e8ed8 2025-08-10 09:29:20,385 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0065bd48-3afb-472c-81ce-2bbd9e1c567b 2025-08-10 09:29:20,397 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0065bd48-3afb-472c-81ce-2bbd9e1c567b 2025-08-10 09:29:20,406 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70d41869-d6e3-44d3-ae15-4fe0beb6bcc8 2025-08-10 09:29:20,412 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70d41869-d6e3-44d3-ae15-4fe0beb6bcc8 2025-08-10 09:29:20,418 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/bfaa9f2e-05da-4fbf-bd3b-6314c8563a24 2025-08-10 09:29:20,423 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-10 09:29:20,423 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0065bd48-3afb-472c-81ce-2bbd9e1c567b 2025-08-10 09:29:20,431 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70d41869-d6e3-44d3-ae15-4fe0beb6bcc8 2025-08-10 09:29:20,443 - INFO - Verified VN network id 12 for VN 0065bd48-3afb-472c-81ce-2bbd9e1c567b 2025-08-10 09:29:20,443 - INFO - Verifications in API Server for VN ctest-vn-39800608 passed 2025-08-10 09:29:20,443 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0065bd48-3afb-472c-81ce-2bbd9e1c567b 2025-08-10 09:29:20,451 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70d41869-d6e3-44d3-ae15-4fe0beb6bcc8 2025-08-10 09:29:20,457 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70d41869-d6e3-44d3-ae15-4fe0beb6bcc8 2025-08-10 09:29:20,463 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/bfaa9f2e-05da-4fbf-bd3b-6314c8563a24 2025-08-10 09:29:20,473 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-39800608', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15063597', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '28637090572617516', 'uuid-lslong': '9353461569496569467'}, 'enable': 'true', 'created': '2025-08-10T09:29:18', 'last-modified': '2025-08-10T09:29:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329667'} 2025-08-10 09:29:20,479 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-10 09:29:20,479 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39800608 passed 2025-08-10 09:29:20,479 - DEBUG - ====Verifying policy data for ctest-vn-39800608 in API_Server ====== 2025-08-10 09:29:20,479 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 09:29:20,484 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1b4cb339-e1f4-4999-9237-131f3eae35de 2025-08-10 09:29:20,494 - DEBUG - Requesting: http://10.0.0.49:8082/project/845a1dfd-1de9-4a01-8d06-178e956e8ed8 2025-08-10 09:29:20,566 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0065bd48-3afb-472c-81ce-2bbd9e1c567b 2025-08-10 09:29:20,575 - DEBUG - ==>Verifying data for policy with id: 6192497f-d7fb-4f33-bb54-7c5e4a29f92e, fqn: ['default-domain', 'ctest-TestBasicPolicy-15063597', 'ctest-policy-allow-all-10893691'] 2025-08-10 09:29:20,575 - INFO - VN ctest-vn-39800608 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-10 09:29:20,575 - DEBUG - Verifying the vn in opserver 2025-08-10 09:29:20,575 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-39800608 virtual network link through opserver 10.0.0.49 2025-08-10 09:29:20,575 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-10 09:29:20,585 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-39800608', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-39800608?flat'} 2025-08-10 09:29:20,585 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-39800608 is found in opserver 2025-08-10 09:29:20,595 - DEBUG - Do not have enough data to verify VN in agent 2025-08-10 09:29:20,599 - DEBUG - VRF ids for VN ctest-vn-39800608: {} 2025-08-10 09:29:20,647 - DEBUG - Services list from nova: [, , ] 2025-08-10 09:29:21,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3785-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3785-1) 2025-08-10 09:29:22,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3785-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3785-1) 2025-08-10 09:29:22,585 - INFO - Waiting for VM ctest-TestBasicPolicy-15063597-68608961 to be up.. 2025-08-10 09:29:22,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 09:29:27,707 - DEBUG - VM is in ACTIVE state now 2025-08-10 09:29:27,708 - INFO - VM name : ctest-TestBasicPolicy-15063597-68608961 2025-08-10 09:29:27,764 - DEBUG - VM ctest-TestBasicPolicy-15063597-68608961 ID is 9c454697-942b-4783-ab28-2d98b8736945 2025-08-10 09:29:27,779 - DEBUG - VM ctest-TestBasicPolicy-15063597-68608961 launched on Node cn-jenkins-deploy-platform-ansible-os-3785-1 2025-08-10 09:29:27,836 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9c454697-942b-4783-ab28-2d98b8736945 2025-08-10 09:29:27,844 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6dbeddc2-fb6f-4a4e-a696-53ce7d15d25d 2025-08-10 09:29:31,090 - 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 1020ms') 2025-08-10 09:29:31,090 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15063597-68608961 failed! 2025-08-10 09:29:31,144 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15063597:ctest-vn-49276434 is 145.219.154.129 and allocation pool is NOT set 2025-08-10 09:29:33,211 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 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.404/1.791/3.179/1.387 ms') 2025-08-10 09:29:33,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15063597-68608961 passed 2025-08-10 09:29:33,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:29:33,364 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15063597-68608961, IP 145.219.154.131, Port 22 2025-08-10 09:29:33,523 - DEBUG - VM ctest-TestBasicPolicy-15063597-68608961 is ready for SSH connections 2025-08-10 09:29:33,523 - INFO - Waiting for VM ctest-TestBasicPolicy-15063597-24408390 to be up.. 2025-08-10 09:29:33,584 - DEBUG - VM is in ACTIVE state now 2025-08-10 09:29:33,584 - INFO - VM name : ctest-TestBasicPolicy-15063597-24408390 2025-08-10 09:29:33,642 - DEBUG - VM ctest-TestBasicPolicy-15063597-24408390 ID is db1ec664-1fa7-4399-a3f1-0483b85c5c6f 2025-08-10 09:29:33,642 - DEBUG - VM ctest-TestBasicPolicy-15063597-24408390 launched on Node cn-jenkins-deploy-platform-ansible-os-3785-1 2025-08-10 09:29:33,696 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/db1ec664-1fa7-4399-a3f1-0483b85c5c6f 2025-08-10 09:29:33,703 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/0cb101d5-e7fd-45ac-bf15-7e4d9e4a8bea 2025-08-10 09:29:34,930 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.289 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.289/1.424/2.560/1.135 ms') 2025-08-10 09:29:34,930 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15063597-24408390 passed 2025-08-10 09:29:35,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:29:35,080 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15063597-24408390, IP 153.100.119.195, Port 22 2025-08-10 09:29:35,235 - DEBUG - VM ctest-TestBasicPolicy-15063597-24408390 is ready for SSH connections 2025-08-10 09:29:35,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:29:35,235 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.100.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-10 09:29:35,235 - DEBUG - ping -s 56 -c 3 -W 1 153.100.119.195 2025-08-10 09:29:39,137 - DEBUG - PING 153.100.119.195 (153.100.119.195): 56 data bytes 64 bytes from 153.100.119.195: seq=0 ttl=63 time=3.077 ms 64 bytes from 153.100.119.195: seq=1 ttl=63 time=0.732 ms 64 bytes from 153.100.119.195: seq=2 ttl=63 time=0.719 ms --- 153.100.119.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.509/3.077 ms 2025-08-10 09:29:39,138 - INFO - Ping to IP 153.100.119.195 from VM ctest-TestBasicPolicy-15063597-68608961 passed 2025-08-10 09:29:39,304 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6192497f-d7fb-4f33-bb54-7c5e4a29f92e", "href": "http://10.0.0.49:8082/network-policy/6192497f-d7fb-4f33-bb54-7c5e4a29f92e"}} 2025-08-10 09:29:39,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:29:39,304 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.100.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-10 09:29:39,304 - DEBUG - ping -s 56 -c 3 -W 1 153.100.119.195 2025-08-10 09:29:42,492 - DEBUG - PING 153.100.119.195 (153.100.119.195): 56 data bytes 64 bytes from 153.100.119.195: seq=0 ttl=63 time=1.360 ms --- 153.100.119.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.360/1.360/1.360 ms 2025-08-10 09:29:42,492 - WARNING - Ping to IP 153.100.119.195 from VM ctest-TestBasicPolicy-15063597-68608961 failed 2025-08-10 09:29:42,493 - INFO - Deleting VM ctest-TestBasicPolicy-15063597-24408390 2025-08-10 09:29:42,551 - INFO - Deleting VM ctest-TestBasicPolicy-15063597-68608961 2025-08-10 09:29:42,893 - INFO - Deleted policy ctest-policy-allow-all-10893691 2025-08-10 09:29:42,893 - INFO - Deleting VN ctest-vn-39800608 2025-08-10 09:29:42,933 - DEBUG - VN 0065bd48-3afb-472c-81ce-2bbd9e1c567b still in use: Unable to complete operation on network 0065bd48-3afb-472c-81ce-2bbd9e1c567b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3bc10711-56ad-49c0-a177-b8c6c9ce9603'] 2025-08-10 09:29:42,934 - WARNING - Deleting VN ctest-vn-39800608 failed..Will retry 2025-08-10 09:29:45,031 - DEBUG - Response for deleting network () 2025-08-10 09:29:45,032 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70d41869-d6e3-44d3-ae15-4fe0beb6bcc8 2025-08-10 09:29:45,039 - DEBUG - Response Code: 404 2025-08-10 09:29:45,039 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 09:29:45,043 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1b4cb339-e1f4-4999-9237-131f3eae35de 2025-08-10 09:29:45,096 - DEBUG - Requesting: http://10.0.0.49:8082/project/845a1dfd-1de9-4a01-8d06-178e956e8ed8 2025-08-10 09:29:45,163 - INFO - Validated that VN ctest-vn-39800608 is not found in API Server 2025-08-10 09:29:45,174 - DEBUG - VN ctest-vn-39800608 is not present in Agent 10.0.0.49 2025-08-10 09:29:45,174 - INFO - Validated that VN ctest-vn-39800608 is not in any agent 2025-08-10 09:29:45,189 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39800608 info 2025-08-10 09:29:45,189 - INFO - Deleting VN ctest-vn-49276434 2025-08-10 09:29:45,278 - DEBUG - Response for deleting network () 2025-08-10 09:29:45,278 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f911b302-6436-464a-93bf-871bfdbb04be 2025-08-10 09:29:45,285 - DEBUG - Response Code: 404 2025-08-10 09:29:45,286 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 09:29:45,290 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1b4cb339-e1f4-4999-9237-131f3eae35de 2025-08-10 09:29:45,348 - DEBUG - Requesting: http://10.0.0.49:8082/project/845a1dfd-1de9-4a01-8d06-178e956e8ed8 2025-08-10 09:29:45,417 - INFO - Validated that VN ctest-vn-49276434 is not found in API Server 2025-08-10 09:29:45,427 - DEBUG - VN ctest-vn-49276434 is not present in Agent 10.0.0.49 2025-08-10 09:29:45,427 - INFO - Validated that VN ctest-vn-49276434 is not in any agent 2025-08-10 09:29:45,440 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49276434 info 2025-08-10 09:29:45,693 - DEBUG - No XMPP flaps were noticed during the test 2025-08-10 09:29:45,693 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-10 09:29:45,693 - INFO - -------------------------------------------------------------------------------- 2025-08-10 09:29:46,340 - INFO - Deleted project: ctest-TestBasicPolicy-15063597, ID : 845a1dfd-1de9-4a01-8d06-178e956e8ed8