2025-11-21 17:07:50,200 - INFO - Domain Default found not creating 2025-11-21 17:07:50,530 - INFO - Project ctest-TestBasicPolicy-83470733 not found, creating it 2025-11-21 17:07:51,150 - INFO - Created Project:ctest-TestBasicPolicy-83470733, ID : 12e6aec8-f0d4-4f14-9adb-968b659ea39f 2025-11-21 17:07:53,288 - INFO - ================================================================================ 2025-11-21 17:07:53,289 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-21 17:07:53,289 - 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-11-21 17:07:53,621 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with 2025-11-21 17:07:53,621 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:07:53,621 - INFO - 2025-11-21 17:07:54,474 - DEBUG - Response for create_network : {'network': {'id': 'd4e3c9ba-2c2f-4e9e-8248-0ee837ee9e82', 'name': 'ctest-vn-13264534', 'tenant_id': '12e6aec8f0d44f149adb968b659ea39f', 'project_id': '12e6aec8f0d44f149adb968b659ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83470733', 'ctest-vn-13264534'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:07:54,717 - DEBUG - Response for create_subnet : {'subnet': {'id': '61d3c225-d038-419d-b0b8-6546377b28a1', 'name': '', 'tenant_id': '12e6aec8f0d44f149adb968b659ea39f', 'network_id': 'd4e3c9ba-2c2f-4e9e-8248-0ee837ee9e82', 'ip_version': 4, 'cidr': '195.221.116.192/26', 'allocation_pools': [{'start': '195.221.116.194', 'end': '195.221.116.254'}], 'gateway_ip': '195.221.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.221.116.194', 'tags': [], 'project_id': '12e6aec8f0d44f149adb968b659ea39f'}} 2025-11-21 17:07:54,738 - INFO - Created VN ctest-vn-13264534 2025-11-21 17:07:54,801 - DEBUG - VN ctest-vn-13264534 UUID is d4e3c9ba-2c2f-4e9e-8248-0ee837ee9e82 2025-11-21 17:07:55,303 - DEBUG - Response for create_network : {'network': {'id': '14f2f094-dde0-4520-8101-675fcbad3f69', 'name': 'ctest-vn-18577317', 'tenant_id': '12e6aec8f0d44f149adb968b659ea39f', 'project_id': '12e6aec8f0d44f149adb968b659ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83470733', 'ctest-vn-18577317'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:07:55,547 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc80caac-3ebd-4edc-80e0-a8c12a9e3fe9', 'name': '', 'tenant_id': '12e6aec8f0d44f149adb968b659ea39f', 'network_id': '14f2f094-dde0-4520-8101-675fcbad3f69', 'ip_version': 4, 'cidr': '220.119.98.128/26', 'allocation_pools': [{'start': '220.119.98.130', 'end': '220.119.98.190'}], 'gateway_ip': '220.119.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.119.98.130', 'tags': [], 'project_id': '12e6aec8f0d44f149adb968b659ea39f'}} 2025-11-21 17:07:55,582 - INFO - Created VN ctest-vn-18577317 2025-11-21 17:07:55,649 - DEBUG - VN ctest-vn-18577317 UUID is 14f2f094-dde0-4520-8101-675fcbad3f69 2025-11-21 17:07:55,836 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-13264534, 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-83470733:ctest-vn-18577317, 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-11-21 17:07:56,315 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4e3c9ba-2c2f-4e9e-8248-0ee837ee9e82', 'name': 'ctest-vn-13264534', 'tenant_id': '12e6aec8f0d44f149adb968b659ea39f', 'project_id': '12e6aec8f0d44f149adb968b659ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61d3c225-d038-419d-b0b8-6546377b28a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83470733', 'ctest-vn-13264534'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83470733', 'ctest-policy-allow-all-26780325']], 'subnet_ipam': [{'subnet_cidr': '195.221.116.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:07:56,721 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14f2f094-dde0-4520-8101-675fcbad3f69', 'name': 'ctest-vn-18577317', 'tenant_id': '12e6aec8f0d44f149adb968b659ea39f', 'project_id': '12e6aec8f0d44f149adb968b659ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc80caac-3ebd-4edc-80e0-a8c12a9e3fe9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83470733', 'ctest-vn-18577317'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83470733', 'ctest-policy-allow-all-26780325']], 'subnet_ipam': [{'subnet_cidr': '220.119.98.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:07:56,879 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-21 17:07:57,200 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-21 17:07:57,249 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4f375104-01fa-41aa-b76a-7ef4b96b6cb2 2025-11-21 17:07:57,272 - DEBUG - Requesting: http://10.0.0.130:8082/project/12e6aec8-f0d4-4f14-9adb-968b659ea39f 2025-11-21 17:07:57,359 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/d4e3c9ba-2c2f-4e9e-8248-0ee837ee9e82 2025-11-21 17:07:57,379 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/d4e3c9ba-2c2f-4e9e-8248-0ee837ee9e82 2025-11-21 17:07:57,401 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/be73421e-725b-4362-a326-58cdbb38a6de 2025-11-21 17:07:57,414 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/be73421e-725b-4362-a326-58cdbb38a6de 2025-11-21 17:07:57,425 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/9c817171-ca0b-41fb-9eb8-36f19a448468 2025-11-21 17:07:57,436 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-21 17:07:57,436 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/d4e3c9ba-2c2f-4e9e-8248-0ee837ee9e82 2025-11-21 17:07:57,449 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/be73421e-725b-4362-a326-58cdbb38a6de 2025-11-21 17:07:57,473 - INFO - Verified VN network id 11 for VN d4e3c9ba-2c2f-4e9e-8248-0ee837ee9e82 2025-11-21 17:07:57,473 - INFO - Verifications in API Server for VN ctest-vn-13264534 passed 2025-11-21 17:07:57,473 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/d4e3c9ba-2c2f-4e9e-8248-0ee837ee9e82 2025-11-21 17:07:57,488 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/be73421e-725b-4362-a326-58cdbb38a6de 2025-11-21 17:07:57,501 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/be73421e-725b-4362-a326-58cdbb38a6de 2025-11-21 17:07:57,514 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/9c817171-ca0b-41fb-9eb8-36f19a448468 2025-11-21 17:07:57,536 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-13264534', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83470733', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15340326557196439198', 'uuid-lslong': '9387769813787385474'}, 'enable': 'true', 'created': '2025-11-21T17:07:54', 'last-modified': '2025-11-21T17:07:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.277959'} 2025-11-21 17:07:57,550 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-21 17:07:57,550 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13264534 passed 2025-11-21 17:07:57,550 - DEBUG - ====Verifying policy data for ctest-vn-13264534 in API_Server ====== 2025-11-21 17:07:57,550 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-21 17:07:57,558 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4f375104-01fa-41aa-b76a-7ef4b96b6cb2 2025-11-21 17:07:57,574 - DEBUG - Requesting: http://10.0.0.130:8082/project/12e6aec8-f0d4-4f14-9adb-968b659ea39f 2025-11-21 17:07:57,663 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/d4e3c9ba-2c2f-4e9e-8248-0ee837ee9e82 2025-11-21 17:07:57,679 - DEBUG - ==>Verifying data for policy with id: 6a3013d5-a9a7-4eed-af19-8841d45eb67e, fqn: ['default-domain', 'ctest-TestBasicPolicy-83470733', 'ctest-policy-allow-all-26780325'] 2025-11-21 17:07:57,679 - INFO - VN ctest-vn-13264534 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-21 17:07:57,680 - DEBUG - Verifying the vn in opserver 2025-11-21 17:07:57,680 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-13264534 virtual network link through opserver 10.0.0.130 2025-11-21 17:07:57,680 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-11-21 17:07:57,991 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-11-21 17:07:58,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-13264534', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-13264534?flat'} 2025-11-21 17:07:58,089 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-13264534 is found in opserver 2025-11-21 17:07:58,107 - DEBUG - Do not have enough data to verify VN in agent 2025-11-21 17:07:58,118 - DEBUG - VRF ids for VN ctest-vn-13264534: {} 2025-11-21 17:07:58,118 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-21 17:07:58,131 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4f375104-01fa-41aa-b76a-7ef4b96b6cb2 2025-11-21 17:07:58,155 - DEBUG - Requesting: http://10.0.0.130:8082/project/12e6aec8-f0d4-4f14-9adb-968b659ea39f 2025-11-21 17:07:58,254 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/14f2f094-dde0-4520-8101-675fcbad3f69 2025-11-21 17:07:58,272 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/14f2f094-dde0-4520-8101-675fcbad3f69 2025-11-21 17:07:58,288 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/bd5a148a-0cbf-436b-bcc9-ab9189cd068d 2025-11-21 17:07:58,298 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/bd5a148a-0cbf-436b-bcc9-ab9189cd068d 2025-11-21 17:07:58,308 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/820b5b37-feb1-428d-a317-d90a0b104044 2025-11-21 17:07:58,324 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-21 17:07:58,325 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/14f2f094-dde0-4520-8101-675fcbad3f69 2025-11-21 17:07:58,339 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/bd5a148a-0cbf-436b-bcc9-ab9189cd068d 2025-11-21 17:07:58,361 - INFO - Verified VN network id 12 for VN 14f2f094-dde0-4520-8101-675fcbad3f69 2025-11-21 17:07:58,361 - INFO - Verifications in API Server for VN ctest-vn-18577317 passed 2025-11-21 17:07:58,361 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/14f2f094-dde0-4520-8101-675fcbad3f69 2025-11-21 17:07:58,373 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/bd5a148a-0cbf-436b-bcc9-ab9189cd068d 2025-11-21 17:07:58,382 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/bd5a148a-0cbf-436b-bcc9-ab9189cd068d 2025-11-21 17:07:58,390 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/820b5b37-feb1-428d-a317-d90a0b104044 2025-11-21 17:07:58,406 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-18577317', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83470733', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1509533347290826016', 'uuid-lslong': '9295824767006097257'}, 'enable': 'true', 'created': '2025-11-21T17:07:55', 'last-modified': '2025-11-21T17:07:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.794668'} 2025-11-21 17:07:58,415 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-21 17:07:58,415 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18577317 passed 2025-11-21 17:07:58,415 - DEBUG - ====Verifying policy data for ctest-vn-18577317 in API_Server ====== 2025-11-21 17:07:58,415 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-21 17:07:58,421 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4f375104-01fa-41aa-b76a-7ef4b96b6cb2 2025-11-21 17:07:58,434 - DEBUG - Requesting: http://10.0.0.130:8082/project/12e6aec8-f0d4-4f14-9adb-968b659ea39f 2025-11-21 17:07:58,520 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/14f2f094-dde0-4520-8101-675fcbad3f69 2025-11-21 17:07:58,534 - DEBUG - ==>Verifying data for policy with id: 6a3013d5-a9a7-4eed-af19-8841d45eb67e, fqn: ['default-domain', 'ctest-TestBasicPolicy-83470733', 'ctest-policy-allow-all-26780325'] 2025-11-21 17:07:58,534 - INFO - VN ctest-vn-18577317 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-21 17:07:58,534 - DEBUG - Verifying the vn in opserver 2025-11-21 17:07:58,534 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-18577317 virtual network link through opserver 10.0.0.130 2025-11-21 17:07:58,534 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-11-21 17:07:58,544 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-18577317', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-18577317?flat'} 2025-11-21 17:07:58,544 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-18577317 is found in opserver 2025-11-21 17:07:58,553 - DEBUG - Do not have enough data to verify VN in agent 2025-11-21 17:07:58,557 - DEBUG - VRF ids for VN ctest-vn-18577317: {} 2025-11-21 17:07:58,621 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:08:00,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4788-1) 2025-11-21 17:08:01,322 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4788-1) 2025-11-21 17:08:01,323 - INFO - Waiting for VM ctest-TestBasicPolicy-83470733-55612543 to be up.. 2025-11-21 17:08:01,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:08:06,573 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:08:06,573 - INFO - VM name : ctest-TestBasicPolicy-83470733-55612543 2025-11-21 17:08:06,692 - DEBUG - VM ctest-TestBasicPolicy-83470733-55612543 ID is 29bda5ca-93f7-4618-88d9-ca014ebbc1d1 2025-11-21 17:08:06,711 - DEBUG - VM ctest-TestBasicPolicy-83470733-55612543 launched on Node cn-jenkins-deploy-platform-ansible-os-4788-1 2025-11-21 17:08:06,807 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/29bda5ca-93f7-4618-88d9-ca014ebbc1d1 2025-11-21 17:08:06,852 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c9ad42ca-097e-4ef2-b452-f6b1c7f1ef66 2025-11-21 17:08:10,101 - 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 1009ms') 2025-11-21 17:08:10,101 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83470733-55612543 failed! 2025-11-21 17:08:10,182 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83470733:ctest-vn-13264534 is 195.221.116.193 and allocation pool is NOT set 2025-11-21 17:08:12,263 - 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=28.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.767 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.767/14.624/28.481/13.857 ms') 2025-11-21 17:08:12,263 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83470733-55612543 passed 2025-11-21 17:08:12,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:08:12,421 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83470733-55612543, IP 195.221.116.195, Port 22 2025-11-21 17:08:12,492 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-21 17:08:12,692 - DEBUG - VM ctest-TestBasicPolicy-83470733-55612543 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-21 17:08:17,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:08:17,694 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83470733-55612543, IP 195.221.116.195, Port 22 2025-11-21 17:08:17,905 - DEBUG - VM ctest-TestBasicPolicy-83470733-55612543 is ready for SSH connections 2025-11-21 17:08:17,905 - INFO - Waiting for VM ctest-TestBasicPolicy-83470733-01553856 to be up.. 2025-11-21 17:08:18,103 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:08:18,103 - INFO - VM name : ctest-TestBasicPolicy-83470733-01553856 2025-11-21 17:08:18,261 - DEBUG - VM ctest-TestBasicPolicy-83470733-01553856 ID is df819a62-7559-4271-8c60-005fc8ef1e8e 2025-11-21 17:08:18,262 - DEBUG - VM ctest-TestBasicPolicy-83470733-01553856 launched on Node cn-jenkins-deploy-platform-ansible-os-4788-1 2025-11-21 17:08:18,436 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/df819a62-7559-4271-8c60-005fc8ef1e8e 2025-11-21 17:08:18,456 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/4c8215f8-2481-4982-bc17-8fdb00b0762b 2025-11-21 17:08:19,786 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/2.026/3.672/1.645 ms') 2025-11-21 17:08:19,786 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83470733-01553856 passed 2025-11-21 17:08:19,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:08:19,957 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83470733-01553856, IP 220.119.98.131, Port 22 2025-11-21 17:08:20,162 - DEBUG - VM ctest-TestBasicPolicy-83470733-01553856 is ready for SSH connections 2025-11-21 17:08:20,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:08:20,163 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.119.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-21 17:08:20,163 - DEBUG - ping -s 56 -c 3 -W 1 220.119.98.131 2025-11-21 17:08:24,624 - DEBUG - PING 220.119.98.131 (220.119.98.131): 56 data bytes 64 bytes from 220.119.98.131: seq=0 ttl=63 time=7.314 ms 64 bytes from 220.119.98.131: seq=1 ttl=63 time=1.468 ms 64 bytes from 220.119.98.131: seq=2 ttl=63 time=1.511 ms --- 220.119.98.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.468/3.431/7.314 ms 2025-11-21 17:08:24,625 - INFO - Ping to IP 220.119.98.131 from VM ctest-TestBasicPolicy-83470733-55612543 passed 2025-11-21 17:08:24,852 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6a3013d5-a9a7-4eed-af19-8841d45eb67e", "href": "http://10.0.0.130:8082/network-policy/6a3013d5-a9a7-4eed-af19-8841d45eb67e"}} 2025-11-21 17:08:24,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:08:24,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.119.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-21 17:08:24,852 - DEBUG - ping -s 56 -c 3 -W 1 220.119.98.131 2025-11-21 17:08:28,190 - DEBUG - PING 220.119.98.131 (220.119.98.131): 56 data bytes 64 bytes from 220.119.98.131: seq=0 ttl=63 time=2.458 ms --- 220.119.98.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.458/2.458/2.458 ms 2025-11-21 17:08:28,191 - WARNING - Ping to IP 220.119.98.131 from VM ctest-TestBasicPolicy-83470733-55612543 failed 2025-11-21 17:08:28,191 - INFO - Deleting VM ctest-TestBasicPolicy-83470733-01553856 2025-11-21 17:08:28,412 - INFO - Deleting VM ctest-TestBasicPolicy-83470733-55612543 2025-11-21 17:08:28,959 - INFO - Deleted policy ctest-policy-allow-all-26780325 2025-11-21 17:08:28,959 - INFO - Deleting VN ctest-vn-18577317 2025-11-21 17:08:29,006 - DEBUG - VN 14f2f094-dde0-4520-8101-675fcbad3f69 still in use: Unable to complete operation on network 14f2f094-dde0-4520-8101-675fcbad3f69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3999b20-5a81-4946-99f8-da0b44301451'] 2025-11-21 17:08:29,006 - WARNING - Deleting VN ctest-vn-18577317 failed..Will retry 2025-11-21 17:08:31,211 - DEBUG - Response for deleting network () 2025-11-21 17:08:31,211 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/bd5a148a-0cbf-436b-bcc9-ab9189cd068d 2025-11-21 17:08:31,219 - DEBUG - Response Code: 404 2025-11-21 17:08:31,220 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-21 17:08:31,226 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4f375104-01fa-41aa-b76a-7ef4b96b6cb2 2025-11-21 17:08:31,281 - DEBUG - Requesting: http://10.0.0.130:8082/project/12e6aec8-f0d4-4f14-9adb-968b659ea39f 2025-11-21 17:08:31,398 - INFO - Validated that VN ctest-vn-18577317 is not found in API Server 2025-11-21 17:08:31,424 - DEBUG - VN ctest-vn-18577317 is not present in Agent 10.0.0.130 2025-11-21 17:08:31,424 - INFO - Validated that VN ctest-vn-18577317 is not in any agent 2025-11-21 17:08:31,456 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18577317 info 2025-11-21 17:08:31,456 - INFO - Deleting VN ctest-vn-13264534 2025-11-21 17:08:31,672 - DEBUG - Response for deleting network () 2025-11-21 17:08:31,672 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/be73421e-725b-4362-a326-58cdbb38a6de 2025-11-21 17:08:31,681 - DEBUG - Response Code: 404 2025-11-21 17:08:31,681 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-21 17:08:31,689 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4f375104-01fa-41aa-b76a-7ef4b96b6cb2 2025-11-21 17:08:31,751 - DEBUG - Requesting: http://10.0.0.130:8082/project/12e6aec8-f0d4-4f14-9adb-968b659ea39f 2025-11-21 17:08:31,866 - INFO - Validated that VN ctest-vn-13264534 is not found in API Server 2025-11-21 17:08:31,888 - DEBUG - VN ctest-vn-13264534 is not present in Agent 10.0.0.130 2025-11-21 17:08:31,888 - INFO - Validated that VN ctest-vn-13264534 is not in any agent 2025-11-21 17:08:31,914 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13264534 info 2025-11-21 17:08:32,244 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 17:08:32,244 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2025-11-21 17:08:32,245 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:08:33,127 - INFO - Deleted project: ctest-TestBasicPolicy-83470733, ID : 12e6aec8-f0d4-4f14-9adb-968b659ea39f