2026-03-27 14:53:35,130 - INFO - Domain Default found not creating 2026-03-27 14:53:35,380 - INFO - Project ctest-TestBasicPolicy-39278249 not found, creating it 2026-03-27 14:53:35,975 - INFO - Created Project:ctest-TestBasicPolicy-39278249, ID : abb475dd-388f-4985-baf8-8f4917d6ae55 2026-03-27 14:53:37,937 - INFO - ================================================================================ 2026-03-27 14:53:37,937 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-27 14:53:37,937 - 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 2026-03-27 14:53:38,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-03-27 14:53:38,229 - INFO - Initial checks done. Running the testcase now 2026-03-27 14:53:38,229 - INFO - 2026-03-27 14:53:38,935 - DEBUG - Response for create_network : {'network': {'id': '77d81f61-1931-429f-9722-971dd71c4d5c', 'name': 'ctest-vn-91309456', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'project_id': 'abb475dd388f4985baf88f4917d6ae55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-vn-91309456'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:53:39,131 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ee6220e-51db-4076-8300-27170e4b6c42', 'name': '', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'network_id': '77d81f61-1931-429f-9722-971dd71c4d5c', 'ip_version': 4, 'cidr': '29.247.174.128/26', 'allocation_pools': [{'start': '29.247.174.130', 'end': '29.247.174.190'}], 'gateway_ip': '29.247.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.247.174.130', 'tags': [], 'project_id': 'abb475dd388f4985baf88f4917d6ae55'}} 2026-03-27 14:53:39,154 - INFO - Created VN ctest-vn-91309456 2026-03-27 14:53:39,210 - DEBUG - VN ctest-vn-91309456 UUID is 77d81f61-1931-429f-9722-971dd71c4d5c 2026-03-27 14:53:39,570 - DEBUG - Response for create_network : {'network': {'id': 'f6406b73-7afc-4391-8ea2-ab9465004dc7', 'name': 'ctest-vn-09919144', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'project_id': 'abb475dd388f4985baf88f4917d6ae55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-vn-09919144'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:53:39,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '0eda8208-669c-46cd-8c41-7fbbd707ae8e', 'name': '', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'network_id': 'f6406b73-7afc-4391-8ea2-ab9465004dc7', 'ip_version': 4, 'cidr': '134.38.75.192/26', 'allocation_pools': [{'start': '134.38.75.194', 'end': '134.38.75.254'}], 'gateway_ip': '134.38.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.38.75.194', 'tags': [], 'project_id': 'abb475dd388f4985baf88f4917d6ae55'}} 2026-03-27 14:53:39,811 - INFO - Created VN ctest-vn-09919144 2026-03-27 14:53:39,866 - DEBUG - VN ctest-vn-09919144 UUID is f6406b73-7afc-4391-8ea2-ab9465004dc7 2026-03-27 14:53:40,029 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456, 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-39278249:ctest-vn-09919144, 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] 2026-03-27 14:53:40,390 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '77d81f61-1931-429f-9722-971dd71c4d5c', 'name': 'ctest-vn-91309456', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'project_id': 'abb475dd388f4985baf88f4917d6ae55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3ee6220e-51db-4076-8300-27170e4b6c42'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-vn-91309456'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-policy-allow-all-21013720']], 'subnet_ipam': [{'subnet_cidr': '29.247.174.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:53:40,649 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6406b73-7afc-4391-8ea2-ab9465004dc7', 'name': 'ctest-vn-09919144', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'project_id': 'abb475dd388f4985baf88f4917d6ae55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0eda8208-669c-46cd-8c41-7fbbd707ae8e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-vn-09919144'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-policy-allow-all-21013720']], 'subnet_ipam': [{'subnet_cidr': '134.38.75.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:53:40,802 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-27 14:53:41,142 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-27 14:53:41,182 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f26f3862-ac90-44b6-9976-ea993ff3ab61 2026-03-27 14:53:41,196 - DEBUG - Requesting: http://10.0.0.242:8082/project/abb475dd-388f-4985-baf8-8f4917d6ae55 2026-03-27 14:53:41,282 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/77d81f61-1931-429f-9722-971dd71c4d5c 2026-03-27 14:53:41,300 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/77d81f61-1931-429f-9722-971dd71c4d5c 2026-03-27 14:53:41,316 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16 2026-03-27 14:53:41,327 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16 2026-03-27 14:53:41,335 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/7d634f5c-ff22-45f3-bf4c-5981fdc56cd2 2026-03-27 14:53:41,343 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-27 14:53:41,343 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/77d81f61-1931-429f-9722-971dd71c4d5c 2026-03-27 14:53:41,355 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16 2026-03-27 14:53:41,376 - INFO - Verified VN network id 9 for VN 77d81f61-1931-429f-9722-971dd71c4d5c 2026-03-27 14:53:41,377 - INFO - Verifications in API Server for VN ctest-vn-91309456 passed 2026-03-27 14:53:41,377 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/77d81f61-1931-429f-9722-971dd71c4d5c 2026-03-27 14:53:41,390 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16 2026-03-27 14:53:41,398 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16 2026-03-27 14:53:41,407 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/7d634f5c-ff22-45f3-bf4c-5981fdc56cd2 2026-03-27 14:53:41,424 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39278249', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8635686787377873567', 'uuid-lslong': '10890433003354082652'}, 'enable': 'true', 'created': '2026-03-27T14:53:38', 'last-modified': '2026-03-27T14:53:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.070334'} 2026-03-27 14:53:41,433 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-27 14:53:41,433 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91309456 passed 2026-03-27 14:53:41,433 - DEBUG - ====Verifying policy data for ctest-vn-91309456 in API_Server ====== 2026-03-27 14:53:41,433 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-27 14:53:41,441 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f26f3862-ac90-44b6-9976-ea993ff3ab61 2026-03-27 14:53:41,457 - DEBUG - Requesting: http://10.0.0.242:8082/project/abb475dd-388f-4985-baf8-8f4917d6ae55 2026-03-27 14:53:41,535 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/77d81f61-1931-429f-9722-971dd71c4d5c 2026-03-27 14:53:41,548 - DEBUG - ==>Verifying data for policy with id: ffeba75c-1315-42b4-8344-f1961e9ce613, fqn: ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-policy-allow-all-21013720'] 2026-03-27 14:53:41,548 - INFO - VN ctest-vn-91309456 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-27 14:53:41,549 - DEBUG - Verifying the vn in opserver 2026-03-27 14:53:41,549 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456 virtual network link through opserver 10.0.0.242 2026-03-27 14:53:41,549 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-27 14:53:41,897 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-27 14:53:41,991 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456?flat'} 2026-03-27 14:53:41,991 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456 is found in opserver 2026-03-27 14:53:42,005 - DEBUG - Do not have enough data to verify VN in agent 2026-03-27 14:53:42,010 - DEBUG - VRF ids for VN ctest-vn-91309456: {} 2026-03-27 14:53:42,010 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-27 14:53:42,018 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f26f3862-ac90-44b6-9976-ea993ff3ab61 2026-03-27 14:53:42,032 - DEBUG - Requesting: http://10.0.0.242:8082/project/abb475dd-388f-4985-baf8-8f4917d6ae55 2026-03-27 14:53:42,124 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f6406b73-7afc-4391-8ea2-ab9465004dc7 2026-03-27 14:53:42,142 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f6406b73-7afc-4391-8ea2-ab9465004dc7 2026-03-27 14:53:42,160 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6 2026-03-27 14:53:42,173 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6 2026-03-27 14:53:42,186 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/93a4d30e-5162-440d-874d-3a5b707a9ab0 2026-03-27 14:53:42,200 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-27 14:53:42,200 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f6406b73-7afc-4391-8ea2-ab9465004dc7 2026-03-27 14:53:42,216 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6 2026-03-27 14:53:42,238 - INFO - Verified VN network id 10 for VN f6406b73-7afc-4391-8ea2-ab9465004dc7 2026-03-27 14:53:42,239 - INFO - Verifications in API Server for VN ctest-vn-09919144 passed 2026-03-27 14:53:42,239 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f6406b73-7afc-4391-8ea2-ab9465004dc7 2026-03-27 14:53:42,252 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6 2026-03-27 14:53:42,264 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6 2026-03-27 14:53:42,276 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/93a4d30e-5162-440d-874d-3a5b707a9ab0 2026-03-27 14:53:42,292 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-09919144', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39278249', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17744300675568518033', 'uuid-lslong': '10277965953450921415'}, 'enable': 'true', 'created': '2026-03-27T14:53:39', 'last-modified': '2026-03-27T14:53:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.674389'} 2026-03-27 14:53:42,299 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-27 14:53:42,299 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09919144 passed 2026-03-27 14:53:42,299 - DEBUG - ====Verifying policy data for ctest-vn-09919144 in API_Server ====== 2026-03-27 14:53:42,299 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-27 14:53:42,307 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f26f3862-ac90-44b6-9976-ea993ff3ab61 2026-03-27 14:53:42,325 - DEBUG - Requesting: http://10.0.0.242:8082/project/abb475dd-388f-4985-baf8-8f4917d6ae55 2026-03-27 14:53:42,405 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f6406b73-7afc-4391-8ea2-ab9465004dc7 2026-03-27 14:53:42,418 - DEBUG - ==>Verifying data for policy with id: ffeba75c-1315-42b4-8344-f1961e9ce613, fqn: ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-policy-allow-all-21013720'] 2026-03-27 14:53:42,419 - INFO - VN ctest-vn-09919144 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-27 14:53:42,419 - DEBUG - Verifying the vn in opserver 2026-03-27 14:53:42,419 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-09919144 virtual network link through opserver 10.0.0.242 2026-03-27 14:53:42,419 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-27 14:53:42,433 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-09919144', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-09919144?flat'} 2026-03-27 14:53:42,433 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-09919144 is found in opserver 2026-03-27 14:53:42,446 - DEBUG - Do not have enough data to verify VN in agent 2026-03-27 14:53:42,453 - DEBUG - VRF ids for VN ctest-vn-09919144: {} 2026-03-27 14:53:42,526 - DEBUG - Services list from nova: [, , ] 2026-03-27 14:53:43,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5554-1) 2026-03-27 14:53:45,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5554-1) 2026-03-27 14:53:45,255 - INFO - Waiting for VM ctest-TestBasicPolicy-39278249-34704460 to be up.. 2026-03-27 14:53:45,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-27 14:53:50,454 - DEBUG - VM is in ACTIVE state now 2026-03-27 14:53:50,454 - INFO - VM name : ctest-TestBasicPolicy-39278249-34704460 2026-03-27 14:53:50,562 - DEBUG - VM ctest-TestBasicPolicy-39278249-34704460 ID is 9bb2c78c-67c1-44dc-9695-f22d81a36e18 2026-03-27 14:53:50,587 - DEBUG - VM ctest-TestBasicPolicy-39278249-34704460 launched on Node cn-jenkins-deploy-platform-ansible-os-5554-1 2026-03-27 14:53:50,686 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9bb2c78c-67c1-44dc-9695-f22d81a36e18 2026-03-27 14:53:50,699 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/56cc87ec-9113-4151-86ea-fda76e38575b 2026-03-27 14:53:53,995 - 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 1013ms') 2026-03-27 14:53:53,995 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39278249-34704460 failed! 2026-03-27 14:53:54,054 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456 is 29.247.174.129 and allocation pool is NOT set 2026-03-27 14:53:58,125 - 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=2 ttl=63 time=11.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 11.071/11.071/11.071/0.000 ms') 2026-03-27 14:53:58,126 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39278249-34704460 passed 2026-03-27 14:53:58,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:53:58,290 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39278249-34704460, IP 29.247.174.131, Port 22 2026-03-27 14:53:58,356 - 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': ''} 2026-03-27 14:53:58,475 - DEBUG - VM ctest-TestBasicPolicy-39278249-34704460 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-27 14:54:03,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:54:03,476 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39278249-34704460, IP 29.247.174.131, Port 22 2026-03-27 14:54:03,656 - DEBUG - VM ctest-TestBasicPolicy-39278249-34704460 is ready for SSH connections 2026-03-27 14:54:03,657 - INFO - Waiting for VM ctest-TestBasicPolicy-39278249-23285996 to be up.. 2026-03-27 14:54:03,759 - DEBUG - VM is in ACTIVE state now 2026-03-27 14:54:03,759 - INFO - VM name : ctest-TestBasicPolicy-39278249-23285996 2026-03-27 14:54:03,873 - DEBUG - VM ctest-TestBasicPolicy-39278249-23285996 ID is 8398b3a6-4db3-4747-a8ee-baee4fbd6013 2026-03-27 14:54:03,873 - DEBUG - VM ctest-TestBasicPolicy-39278249-23285996 launched on Node cn-jenkins-deploy-platform-ansible-os-5554-1 2026-03-27 14:54:03,967 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8398b3a6-4db3-4747-a8ee-baee4fbd6013 2026-03-27 14:54:03,979 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2cf209b0-5266-49bb-99da-fe8612fdfebd 2026-03-27 14:54:05,238 - 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=4.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.516 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.516/2.384/4.252/1.868 ms') 2026-03-27 14:54:05,238 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39278249-23285996 passed 2026-03-27 14:54:05,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:54:05,398 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39278249-23285996, IP 134.38.75.195, Port 22 2026-03-27 14:54:05,569 - DEBUG - VM ctest-TestBasicPolicy-39278249-23285996 is ready for SSH connections 2026-03-27 14:54:05,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:54:05,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.38.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-27 14:54:05,569 - DEBUG - ping -s 56 -c 3 -W 1 134.38.75.195 2026-03-27 14:54:09,903 - DEBUG - PING 134.38.75.195 (134.38.75.195): 56 data bytes 64 bytes from 134.38.75.195: seq=0 ttl=63 time=4.429 ms 64 bytes from 134.38.75.195: seq=1 ttl=63 time=1.272 ms 64 bytes from 134.38.75.195: seq=2 ttl=63 time=3.353 ms --- 134.38.75.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.272/3.018/4.429 ms 2026-03-27 14:54:09,903 - INFO - Ping to IP 134.38.75.195 from VM ctest-TestBasicPolicy-39278249-34704460 passed 2026-03-27 14:54:10,121 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ffeba75c-1315-42b4-8344-f1961e9ce613", "href": "http://10.0.0.242:8082/network-policy/ffeba75c-1315-42b4-8344-f1961e9ce613"}} 2026-03-27 14:54:10,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:54:10,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.38.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-27 14:54:10,122 - DEBUG - ping -s 56 -c 3 -W 1 134.38.75.195 2026-03-27 14:54:13,389 - DEBUG - PING 134.38.75.195 (134.38.75.195): 56 data bytes --- 134.38.75.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-27 14:54:13,389 - WARNING - Ping to IP 134.38.75.195 from VM ctest-TestBasicPolicy-39278249-34704460 failed 2026-03-27 14:54:13,390 - INFO - Deleting VM ctest-TestBasicPolicy-39278249-23285996 2026-03-27 14:54:13,534 - INFO - Deleting VM ctest-TestBasicPolicy-39278249-34704460 2026-03-27 14:54:14,009 - INFO - Deleted policy ctest-policy-allow-all-21013720 2026-03-27 14:54:14,010 - INFO - Deleting VN ctest-vn-09919144 2026-03-27 14:54:14,061 - DEBUG - VN f6406b73-7afc-4391-8ea2-ab9465004dc7 still in use: Unable to complete operation on network f6406b73-7afc-4391-8ea2-ab9465004dc7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18bcd737-17d0-4039-bf6f-6a2a65ed1697'] 2026-03-27 14:54:14,062 - WARNING - Deleting VN ctest-vn-09919144 failed..Will retry 2026-03-27 14:54:16,258 - DEBUG - Response for deleting network () 2026-03-27 14:54:16,258 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6 2026-03-27 14:54:16,267 - DEBUG - Response Code: 404 2026-03-27 14:54:16,267 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-27 14:54:16,273 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f26f3862-ac90-44b6-9976-ea993ff3ab61 2026-03-27 14:54:16,338 - DEBUG - Requesting: http://10.0.0.242:8082/project/abb475dd-388f-4985-baf8-8f4917d6ae55 2026-03-27 14:54:16,427 - INFO - Validated that VN ctest-vn-09919144 is not found in API Server 2026-03-27 14:54:16,443 - DEBUG - VN ctest-vn-09919144 is not present in Agent 10.0.0.242 2026-03-27 14:54:16,443 - INFO - Validated that VN ctest-vn-09919144 is not in any agent 2026-03-27 14:54:16,461 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09919144 info 2026-03-27 14:54:16,461 - INFO - Deleting VN ctest-vn-91309456 2026-03-27 14:54:16,575 - DEBUG - Response for deleting network () 2026-03-27 14:54:16,575 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16 2026-03-27 14:54:16,582 - DEBUG - Response Code: 404 2026-03-27 14:54:16,582 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-27 14:54:16,588 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f26f3862-ac90-44b6-9976-ea993ff3ab61 2026-03-27 14:54:16,649 - DEBUG - Requesting: http://10.0.0.242:8082/project/abb475dd-388f-4985-baf8-8f4917d6ae55 2026-03-27 14:54:16,723 - INFO - Validated that VN ctest-vn-91309456 is not found in API Server 2026-03-27 14:54:16,735 - DEBUG - VN ctest-vn-91309456 is not present in Agent 10.0.0.242 2026-03-27 14:54:16,735 - INFO - Validated that VN ctest-vn-91309456 is not in any agent 2026-03-27 14:54:16,752 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91309456 info 2026-03-27 14:54:17,036 - DEBUG - No XMPP flaps were noticed during the test
2026-03-27 14:54:17,036 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-03-27 14:54:17,037 - INFO - -------------------------------------------------------------------------------- 2026-03-27 14:54:17,876 - INFO - Deleted project: ctest-TestBasicPolicy-39278249, ID : abb475dd-388f-4985-baf8-8f4917d6ae55