2025-05-01 02:25:03,225 - INFO - Domain Default found not creating 2025-05-01 02:25:03,346 - INFO - Project ctest-TestBasicPolicy-84556734 not found, creating it 2025-05-01 02:25:03,788 - INFO - Created Project:ctest-TestBasicPolicy-84556734, ID : 56854612-3934-4b9e-9272-6c9d34c4065e 2025-05-01 02:25:05,170 - INFO - ================================================================================ 2025-05-01 02:25:05,170 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-01 02:25:05,170 - 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-05-01 02:25:05,429 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-05-01 02:25:05,429 - INFO - Initial checks done. Running the testcase now 2025-05-01 02:25:05,429 - INFO - 2025-05-01 02:25:05,931 - DEBUG - Response for create_network : {'network': {'id': '7ab19863-82be-48a1-9700-c82522b1f5b5', 'name': 'ctest-vn-02855474', 'tenant_id': '5685461239344b9e92726c9d34c4065e', 'project_id': '5685461239344b9e92726c9d34c4065e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84556734', 'ctest-vn-02855474'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:25:06,075 - DEBUG - Response for create_subnet : {'subnet': {'id': 'deab2b20-1682-480e-834b-5411c37af4ac', 'name': '', 'tenant_id': '5685461239344b9e92726c9d34c4065e', 'network_id': '7ab19863-82be-48a1-9700-c82522b1f5b5', 'ip_version': 4, 'cidr': '67.110.246.192/26', 'allocation_pools': [{'start': '67.110.246.194', 'end': '67.110.246.254'}], 'gateway_ip': '67.110.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.110.246.194', 'tags': [], 'project_id': '5685461239344b9e92726c9d34c4065e'}} 2025-05-01 02:25:06,090 - INFO - Created VN ctest-vn-02855474 2025-05-01 02:25:06,143 - DEBUG - VN ctest-vn-02855474 UUID is 7ab19863-82be-48a1-9700-c82522b1f5b5 2025-05-01 02:25:06,450 - DEBUG - Response for create_network : {'network': {'id': 'd9164a89-9714-4ddb-87ea-284eb112232f', 'name': 'ctest-vn-43904055', 'tenant_id': '5685461239344b9e92726c9d34c4065e', 'project_id': '5685461239344b9e92726c9d34c4065e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84556734', 'ctest-vn-43904055'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:25:06,638 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8b48624-a104-4ca7-8d40-e801d53bd7ee', 'name': '', 'tenant_id': '5685461239344b9e92726c9d34c4065e', 'network_id': 'd9164a89-9714-4ddb-87ea-284eb112232f', 'ip_version': 4, 'cidr': '13.225.97.64/26', 'allocation_pools': [{'start': '13.225.97.66', 'end': '13.225.97.126'}], 'gateway_ip': '13.225.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.225.97.66', 'tags': [], 'project_id': '5685461239344b9e92726c9d34c4065e'}} 2025-05-01 02:25:06,653 - INFO - Created VN ctest-vn-43904055 2025-05-01 02:25:06,703 - DEBUG - VN ctest-vn-43904055 UUID is d9164a89-9714-4ddb-87ea-284eb112232f 2025-05-01 02:25:06,851 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-02855474, 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-84556734:ctest-vn-43904055, 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-05-01 02:25:07,157 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7ab19863-82be-48a1-9700-c82522b1f5b5', 'name': 'ctest-vn-02855474', 'tenant_id': '5685461239344b9e92726c9d34c4065e', 'project_id': '5685461239344b9e92726c9d34c4065e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['deab2b20-1682-480e-834b-5411c37af4ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84556734', 'ctest-vn-02855474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84556734', 'ctest-policy-allow-all-49274874']], 'subnet_ipam': [{'subnet_cidr': '67.110.246.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:25:07,423 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd9164a89-9714-4ddb-87ea-284eb112232f', 'name': 'ctest-vn-43904055', 'tenant_id': '5685461239344b9e92726c9d34c4065e', 'project_id': '5685461239344b9e92726c9d34c4065e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8b48624-a104-4ca7-8d40-e801d53bd7ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84556734', 'ctest-vn-43904055'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84556734', 'ctest-policy-allow-all-49274874']], 'subnet_ipam': [{'subnet_cidr': '13.225.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:25:07,571 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-01 02:25:07,864 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-01 02:25:07,888 - DEBUG - Requesting: http://10.0.0.254:8082/domain/231317f3-e5ea-40b2-aa89-719a5c8f7730 2025-05-01 02:25:07,901 - DEBUG - Requesting: http://10.0.0.254:8082/project/56854612-3934-4b9e-9272-6c9d34c4065e 2025-05-01 02:25:07,969 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7ab19863-82be-48a1-9700-c82522b1f5b5 2025-05-01 02:25:07,978 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7ab19863-82be-48a1-9700-c82522b1f5b5 2025-05-01 02:25:07,986 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0309c0a5-7d28-4550-b179-a4e230f02971 2025-05-01 02:25:07,992 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0309c0a5-7d28-4550-b179-a4e230f02971 2025-05-01 02:25:07,998 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9f34b473-0f54-44a1-98c2-0232a380132e 2025-05-01 02:25:08,005 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-01 02:25:08,005 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7ab19863-82be-48a1-9700-c82522b1f5b5 2025-05-01 02:25:08,019 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0309c0a5-7d28-4550-b179-a4e230f02971 2025-05-01 02:25:08,031 - INFO - Verified VN network id 8 for VN 7ab19863-82be-48a1-9700-c82522b1f5b5 2025-05-01 02:25:08,031 - INFO - Verifications in API Server for VN ctest-vn-02855474 passed 2025-05-01 02:25:08,031 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7ab19863-82be-48a1-9700-c82522b1f5b5 2025-05-01 02:25:08,041 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0309c0a5-7d28-4550-b179-a4e230f02971 2025-05-01 02:25:08,048 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0309c0a5-7d28-4550-b179-a4e230f02971 2025-05-01 02:25:08,053 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9f34b473-0f54-44a1-98c2-0232a380132e 2025-05-01 02:25:08,064 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-02855474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84556734', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8841015096667687073', 'uuid-lslong': '10880916761548551605'}, 'enable': 'true', 'created': '2025-05-01T02:25:05', 'last-modified': '2025-05-01T02:25:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930602'} 2025-05-01 02:25:08,070 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-01 02:25:08,070 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02855474 passed 2025-05-01 02:25:08,070 - DEBUG - ====Verifying policy data for ctest-vn-02855474 in API_Server ====== 2025-05-01 02:25:08,070 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-01 02:25:08,076 - DEBUG - Requesting: http://10.0.0.254:8082/domain/231317f3-e5ea-40b2-aa89-719a5c8f7730 2025-05-01 02:25:08,087 - DEBUG - Requesting: http://10.0.0.254:8082/project/56854612-3934-4b9e-9272-6c9d34c4065e 2025-05-01 02:25:08,158 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7ab19863-82be-48a1-9700-c82522b1f5b5 2025-05-01 02:25:08,167 - DEBUG - ==>Verifying data for policy with id: 3c2d19b6-f9d1-4439-80b8-888b2e6191bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-84556734', 'ctest-policy-allow-all-49274874'] 2025-05-01 02:25:08,167 - INFO - VN ctest-vn-02855474 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-01 02:25:08,167 - DEBUG - Verifying the vn in opserver 2025-05-01 02:25:08,167 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-02855474 virtual network link through opserver 10.0.0.254 2025-05-01 02:25:08,167 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-01 02:25:08,452 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-01 02:25:08,497 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-02855474', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-02855474?flat'} 2025-05-01 02:25:08,497 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-02855474 is found in opserver 2025-05-01 02:25:08,507 - DEBUG - Do not have enough data to verify VN in agent 2025-05-01 02:25:08,511 - DEBUG - VRF ids for VN ctest-vn-02855474: {} 2025-05-01 02:25:08,511 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-01 02:25:08,517 - DEBUG - Requesting: http://10.0.0.254:8082/domain/231317f3-e5ea-40b2-aa89-719a5c8f7730 2025-05-01 02:25:08,526 - DEBUG - Requesting: http://10.0.0.254:8082/project/56854612-3934-4b9e-9272-6c9d34c4065e 2025-05-01 02:25:08,592 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d9164a89-9714-4ddb-87ea-284eb112232f 2025-05-01 02:25:08,603 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d9164a89-9714-4ddb-87ea-284eb112232f 2025-05-01 02:25:08,612 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10e94df2-d72d-40b6-8e0c-adcfbfecf1a8 2025-05-01 02:25:08,618 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10e94df2-d72d-40b6-8e0c-adcfbfecf1a8 2025-05-01 02:25:08,624 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4f55cc84-506d-4700-9fc6-a1df60d59d7e 2025-05-01 02:25:08,629 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-01 02:25:08,629 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d9164a89-9714-4ddb-87ea-284eb112232f 2025-05-01 02:25:08,637 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10e94df2-d72d-40b6-8e0c-adcfbfecf1a8 2025-05-01 02:25:08,649 - INFO - Verified VN network id 9 for VN d9164a89-9714-4ddb-87ea-284eb112232f 2025-05-01 02:25:08,649 - INFO - Verifications in API Server for VN ctest-vn-43904055 passed 2025-05-01 02:25:08,649 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d9164a89-9714-4ddb-87ea-284eb112232f 2025-05-01 02:25:08,658 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10e94df2-d72d-40b6-8e0c-adcfbfecf1a8 2025-05-01 02:25:08,663 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10e94df2-d72d-40b6-8e0c-adcfbfecf1a8 2025-05-01 02:25:08,670 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4f55cc84-506d-4700-9fc6-a1df60d59d7e 2025-05-01 02:25:08,680 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-43904055', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84556734', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15642772310523661787', 'uuid-lslong': '9793684658113880879'}, 'enable': 'true', 'created': '2025-05-01T02:25:06', 'last-modified': '2025-05-01T02:25:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.327352'} 2025-05-01 02:25:08,686 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-01 02:25:08,686 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43904055 passed 2025-05-01 02:25:08,686 - DEBUG - ====Verifying policy data for ctest-vn-43904055 in API_Server ====== 2025-05-01 02:25:08,686 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-01 02:25:08,690 - DEBUG - Requesting: http://10.0.0.254:8082/domain/231317f3-e5ea-40b2-aa89-719a5c8f7730 2025-05-01 02:25:08,700 - DEBUG - Requesting: http://10.0.0.254:8082/project/56854612-3934-4b9e-9272-6c9d34c4065e 2025-05-01 02:25:08,770 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d9164a89-9714-4ddb-87ea-284eb112232f 2025-05-01 02:25:08,781 - DEBUG - ==>Verifying data for policy with id: 3c2d19b6-f9d1-4439-80b8-888b2e6191bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-84556734', 'ctest-policy-allow-all-49274874'] 2025-05-01 02:25:08,781 - INFO - VN ctest-vn-43904055 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-01 02:25:08,781 - DEBUG - Verifying the vn in opserver 2025-05-01 02:25:08,781 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-43904055 virtual network link through opserver 10.0.0.254 2025-05-01 02:25:08,781 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-01 02:25:08,790 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-43904055', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-43904055?flat'} 2025-05-01 02:25:08,790 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-43904055 is found in opserver 2025-05-01 02:25:08,799 - DEBUG - Do not have enough data to verify VN in agent 2025-05-01 02:25:08,804 - DEBUG - VRF ids for VN ctest-vn-43904055: {} 2025-05-01 02:25:08,854 - DEBUG - Services list from nova: [, , ] 2025-05-01 02:25:09,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3255-1) 2025-05-01 02:25:10,995 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3255-1) 2025-05-01 02:25:10,995 - INFO - Waiting for VM ctest-TestBasicPolicy-84556734-97370166 to be up.. 2025-05-01 02:25:11,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-01 02:25:16,133 - DEBUG - VM is in ACTIVE state now 2025-05-01 02:25:16,133 - INFO - VM name : ctest-TestBasicPolicy-84556734-97370166 2025-05-01 02:25:16,199 - DEBUG - VM ctest-TestBasicPolicy-84556734-97370166 ID is cb926ff8-93d3-4e91-8c28-416ef791c864 2025-05-01 02:25:16,216 - DEBUG - VM ctest-TestBasicPolicy-84556734-97370166 launched on Node cn-jenkins-deploy-platform-ansible-os-3255-1 2025-05-01 02:25:16,281 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cb926ff8-93d3-4e91-8c28-416ef791c864 2025-05-01 02:25:16,288 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/12628876-9a7b-479f-9ac5-d013a41ebd23 2025-05-01 02:25:19,548 - 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-05-01 02:25:19,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84556734-97370166 failed! 2025-05-01 02:25:19,603 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84556734:ctest-vn-02855474 is 67.110.246.193 and allocation pool is NOT set 2025-05-01 02:25:21,664 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.324 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.324/1.461/2.599/1.137 ms') 2025-05-01 02:25:21,664 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84556734-97370166 passed 2025-05-01 02:25:21,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:25:21,811 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84556734-97370166, IP 67.110.246.195, Port 22 2025-05-01 02:25:21,966 - DEBUG - VM ctest-TestBasicPolicy-84556734-97370166 is ready for SSH connections 2025-05-01 02:25:21,966 - INFO - Waiting for VM ctest-TestBasicPolicy-84556734-73778979 to be up.. 2025-05-01 02:25:22,039 - DEBUG - VM is in ACTIVE state now 2025-05-01 02:25:22,039 - INFO - VM name : ctest-TestBasicPolicy-84556734-73778979 2025-05-01 02:25:22,109 - DEBUG - VM ctest-TestBasicPolicy-84556734-73778979 ID is 5cdc6b9c-4124-4b7d-bdd4-2caeec8f5eb2 2025-05-01 02:25:22,109 - DEBUG - VM ctest-TestBasicPolicy-84556734-73778979 launched on Node cn-jenkins-deploy-platform-ansible-os-3255-1 2025-05-01 02:25:22,176 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5cdc6b9c-4124-4b7d-bdd4-2caeec8f5eb2 2025-05-01 02:25:22,184 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/15f7df88-f07d-46ef-a36f-f136ed39f6e1 2025-05-01 02:25:23,416 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.597/2.793/1.196 ms') 2025-05-01 02:25:23,417 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84556734-73778979 passed 2025-05-01 02:25:23,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:25:23,563 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84556734-73778979, IP 13.225.97.67, Port 22 2025-05-01 02:25:23,714 - DEBUG - VM ctest-TestBasicPolicy-84556734-73778979 is ready for SSH connections 2025-05-01 02:25:23,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:25:23,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.225.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-01 02:25:23,715 - DEBUG - ping -s 56 -c 3 -W 1 13.225.97.67 2025-05-01 02:25:27,375 - DEBUG - PING 13.225.97.67 (13.225.97.67): 56 data bytes 64 bytes from 13.225.97.67: seq=0 ttl=63 time=3.706 ms 64 bytes from 13.225.97.67: seq=1 ttl=63 time=0.751 ms 64 bytes from 13.225.97.67: seq=2 ttl=63 time=0.719 ms --- 13.225.97.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.725/3.706 ms 2025-05-01 02:25:27,375 - INFO - Ping to IP 13.225.97.67 from VM ctest-TestBasicPolicy-84556734-97370166 passed 2025-05-01 02:25:27,555 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3c2d19b6-f9d1-4439-80b8-888b2e6191bd", "href": "http://10.0.0.254:8082/network-policy/3c2d19b6-f9d1-4439-80b8-888b2e6191bd"}} 2025-05-01 02:25:27,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:25:27,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.225.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-01 02:25:27,555 - DEBUG - ping -s 56 -c 3 -W 1 13.225.97.67 2025-05-01 02:25:30,786 - DEBUG - PING 13.225.97.67 (13.225.97.67): 56 data bytes --- 13.225.97.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-01 02:25:30,786 - WARNING - Ping to IP 13.225.97.67 from VM ctest-TestBasicPolicy-84556734-97370166 failed 2025-05-01 02:25:30,787 - INFO - Deleting VM ctest-TestBasicPolicy-84556734-73778979 2025-05-01 02:25:30,847 - INFO - Deleting VM ctest-TestBasicPolicy-84556734-97370166 2025-05-01 02:25:31,189 - INFO - Deleted policy ctest-policy-allow-all-49274874 2025-05-01 02:25:31,189 - INFO - Deleting VN ctest-vn-43904055 2025-05-01 02:25:31,224 - DEBUG - VN d9164a89-9714-4ddb-87ea-284eb112232f still in use: Unable to complete operation on network d9164a89-9714-4ddb-87ea-284eb112232f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e44dd98-b541-4d40-9697-6d7381326970'] 2025-05-01 02:25:31,224 - WARNING - Deleting VN ctest-vn-43904055 failed..Will retry 2025-05-01 02:25:33,327 - DEBUG - Response for deleting network () 2025-05-01 02:25:33,327 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10e94df2-d72d-40b6-8e0c-adcfbfecf1a8 2025-05-01 02:25:33,334 - DEBUG - Response Code: 404 2025-05-01 02:25:33,334 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-01 02:25:33,339 - DEBUG - Requesting: http://10.0.0.254:8082/domain/231317f3-e5ea-40b2-aa89-719a5c8f7730 2025-05-01 02:25:33,392 - DEBUG - Requesting: http://10.0.0.254:8082/project/56854612-3934-4b9e-9272-6c9d34c4065e 2025-05-01 02:25:33,462 - INFO - Validated that VN ctest-vn-43904055 is not found in API Server 2025-05-01 02:25:33,472 - DEBUG - VN ctest-vn-43904055 is not present in Agent 10.0.0.254 2025-05-01 02:25:33,472 - INFO - Validated that VN ctest-vn-43904055 is not in any agent 2025-05-01 02:25:33,487 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43904055 info 2025-05-01 02:25:33,487 - INFO - Deleting VN ctest-vn-02855474 2025-05-01 02:25:33,572 - DEBUG - Response for deleting network () 2025-05-01 02:25:33,573 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0309c0a5-7d28-4550-b179-a4e230f02971 2025-05-01 02:25:33,577 - DEBUG - Response Code: 404 2025-05-01 02:25:33,577 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-01 02:25:33,585 - DEBUG - Requesting: http://10.0.0.254:8082/domain/231317f3-e5ea-40b2-aa89-719a5c8f7730 2025-05-01 02:25:33,644 - DEBUG - Requesting: http://10.0.0.254:8082/project/56854612-3934-4b9e-9272-6c9d34c4065e 2025-05-01 02:25:33,711 - INFO - Validated that VN ctest-vn-02855474 is not found in API Server 2025-05-01 02:25:33,721 - DEBUG - VN ctest-vn-02855474 is not present in Agent 10.0.0.254 2025-05-01 02:25:33,721 - INFO - Validated that VN ctest-vn-02855474 is not in any agent 2025-05-01 02:25:33,735 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02855474 info 2025-05-01 02:25:33,996 - DEBUG - No XMPP flaps were noticed during the test 2025-05-01 02:25:33,996 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-05-01 02:25:33,996 - INFO - -------------------------------------------------------------------------------- 2025-05-01 02:25:34,639 - INFO - Deleted project: ctest-TestBasicPolicy-84556734, ID : 56854612-3934-4b9e-9272-6c9d34c4065e