2026-04-27 13:54:04,757 - INFO - Domain Default found not creating 2026-04-27 13:54:04,974 - INFO - Project ctest-TestBasicPolicy-92460192 not found, creating it 2026-04-27 13:54:05,514 - INFO - Created Project:ctest-TestBasicPolicy-92460192, ID : 3357ff3c-0428-4321-9020-82afa13ce346 2026-04-27 13:54:07,244 - INFO - ================================================================================ 2026-04-27 13:54:07,244 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-27 13:54:07,245 - 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-04-27 13:54:07,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-04-27 13:54:07,515 - INFO - Initial checks done. Running the testcase now 2026-04-27 13:54:07,515 - INFO - 2026-04-27 13:54:08,130 - DEBUG - Response for create_network : {'network': {'id': 'a29748c3-a4fb-45e0-8cc9-8698afae0b76', 'name': 'ctest-vn-37988464', 'tenant_id': '3357ff3c04284321902082afa13ce346', 'project_id': '3357ff3c04284321902082afa13ce346', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92460192', 'ctest-vn-37988464'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 13:54:08,370 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e846fe13-6c06-4a63-a0ea-ee521ef316c9', 'name': '', 'tenant_id': '3357ff3c04284321902082afa13ce346', 'network_id': 'a29748c3-a4fb-45e0-8cc9-8698afae0b76', 'ip_version': 4, 'cidr': '104.16.24.64/26', 'allocation_pools': [{'start': '104.16.24.66', 'end': '104.16.24.126'}], 'gateway_ip': '104.16.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.16.24.66', 'tags': [], 'project_id': '3357ff3c04284321902082afa13ce346'}} 2026-04-27 13:54:08,390 - INFO - Created VN ctest-vn-37988464 2026-04-27 13:54:08,450 - DEBUG - VN ctest-vn-37988464 UUID is a29748c3-a4fb-45e0-8cc9-8698afae0b76 2026-04-27 13:54:08,819 - DEBUG - Response for create_network : {'network': {'id': '56c309f2-0db8-413d-9e04-cca99bb0bab3', 'name': 'ctest-vn-31139042', 'tenant_id': '3357ff3c04284321902082afa13ce346', 'project_id': '3357ff3c04284321902082afa13ce346', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92460192', 'ctest-vn-31139042'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 13:54:09,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '63dc2b45-9d35-4e9b-9c09-1d3492da5a44', 'name': '', 'tenant_id': '3357ff3c04284321902082afa13ce346', 'network_id': '56c309f2-0db8-413d-9e04-cca99bb0bab3', 'ip_version': 4, 'cidr': '92.222.112.0/26', 'allocation_pools': [{'start': '92.222.112.2', 'end': '92.222.112.62'}], 'gateway_ip': '92.222.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.222.112.2', 'tags': [], 'project_id': '3357ff3c04284321902082afa13ce346'}} 2026-04-27 13:54:09,092 - INFO - Created VN ctest-vn-31139042 2026-04-27 13:54:09,146 - DEBUG - VN ctest-vn-31139042 UUID is 56c309f2-0db8-413d-9e04-cca99bb0bab3 2026-04-27 13:54:09,276 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-37988464, 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-92460192:ctest-vn-31139042, 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-04-27 13:54:09,589 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a29748c3-a4fb-45e0-8cc9-8698afae0b76', 'name': 'ctest-vn-37988464', 'tenant_id': '3357ff3c04284321902082afa13ce346', 'project_id': '3357ff3c04284321902082afa13ce346', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e846fe13-6c06-4a63-a0ea-ee521ef316c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92460192', 'ctest-vn-37988464'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92460192', 'ctest-policy-allow-all-32341244']], 'subnet_ipam': [{'subnet_cidr': '104.16.24.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-27 13:54:09,854 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '56c309f2-0db8-413d-9e04-cca99bb0bab3', 'name': 'ctest-vn-31139042', 'tenant_id': '3357ff3c04284321902082afa13ce346', 'project_id': '3357ff3c04284321902082afa13ce346', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['63dc2b45-9d35-4e9b-9c09-1d3492da5a44'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92460192', 'ctest-vn-31139042'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92460192', 'ctest-policy-allow-all-32341244']], 'subnet_ipam': [{'subnet_cidr': '92.222.112.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-27 13:54:10,014 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-27 13:54:10,325 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-27 13:54:10,365 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b65d9cc-6482-4b71-b1b2-6c1e40a7d10c 2026-04-27 13:54:10,382 - DEBUG - Requesting: http://10.0.0.242:8082/project/3357ff3c-0428-4321-9020-82afa13ce346 2026-04-27 13:54:10,464 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a29748c3-a4fb-45e0-8cc9-8698afae0b76 2026-04-27 13:54:10,476 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a29748c3-a4fb-45e0-8cc9-8698afae0b76 2026-04-27 13:54:10,486 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7d0ea024-bd82-49c7-b0df-16c3dcfc7000 2026-04-27 13:54:10,494 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7d0ea024-bd82-49c7-b0df-16c3dcfc7000 2026-04-27 13:54:10,502 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/589948c9-c21f-4619-b34e-a66b004e01e7 2026-04-27 13:54:10,510 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-27 13:54:10,510 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a29748c3-a4fb-45e0-8cc9-8698afae0b76 2026-04-27 13:54:10,520 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7d0ea024-bd82-49c7-b0df-16c3dcfc7000 2026-04-27 13:54:10,538 - INFO - Verified VN network id 11 for VN a29748c3-a4fb-45e0-8cc9-8698afae0b76 2026-04-27 13:54:10,538 - INFO - Verifications in API Server for VN ctest-vn-37988464 passed 2026-04-27 13:54:10,538 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a29748c3-a4fb-45e0-8cc9-8698afae0b76 2026-04-27 13:54:10,548 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7d0ea024-bd82-49c7-b0df-16c3dcfc7000 2026-04-27 13:54:10,556 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7d0ea024-bd82-49c7-b0df-16c3dcfc7000 2026-04-27 13:54:10,564 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/589948c9-c21f-4619-b34e-a66b004e01e7 2026-04-27 13:54:10,577 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-37988464', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92460192', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11715912960751388128', 'uuid-lslong': '10144787625969322870'}, 'enable': 'true', 'created': '2026-04-27T13:54:08', 'last-modified': '2026-04-27T13:54:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014506'} 2026-04-27 13:54:10,585 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-27 13:54:10,585 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37988464 passed 2026-04-27 13:54:10,585 - DEBUG - ====Verifying policy data for ctest-vn-37988464 in API_Server ====== 2026-04-27 13:54:10,585 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-27 13:54:10,591 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b65d9cc-6482-4b71-b1b2-6c1e40a7d10c 2026-04-27 13:54:10,604 - DEBUG - Requesting: http://10.0.0.242:8082/project/3357ff3c-0428-4321-9020-82afa13ce346 2026-04-27 13:54:10,676 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a29748c3-a4fb-45e0-8cc9-8698afae0b76 2026-04-27 13:54:10,686 - DEBUG - ==>Verifying data for policy with id: 71dbec8e-2eca-495e-a44f-38645a83ed7e, fqn: ['default-domain', 'ctest-TestBasicPolicy-92460192', 'ctest-policy-allow-all-32341244'] 2026-04-27 13:54:10,686 - INFO - VN ctest-vn-37988464 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-27 13:54:10,686 - DEBUG - Verifying the vn in opserver 2026-04-27 13:54:10,686 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-37988464 virtual network link through opserver 10.0.0.242 2026-04-27 13:54:10,686 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-04-27 13:54:10,990 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-04-27 13:54:11,073 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-37988464', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-37988464?flat'} 2026-04-27 13:54:11,074 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-37988464 is found in opserver 2026-04-27 13:54:11,085 - DEBUG - Do not have enough data to verify VN in agent 2026-04-27 13:54:11,091 - DEBUG - VRF ids for VN ctest-vn-37988464: {} 2026-04-27 13:54:11,092 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-27 13:54:11,099 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b65d9cc-6482-4b71-b1b2-6c1e40a7d10c 2026-04-27 13:54:11,114 - DEBUG - Requesting: http://10.0.0.242:8082/project/3357ff3c-0428-4321-9020-82afa13ce346 2026-04-27 13:54:11,191 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/56c309f2-0db8-413d-9e04-cca99bb0bab3 2026-04-27 13:54:11,205 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/56c309f2-0db8-413d-9e04-cca99bb0bab3 2026-04-27 13:54:11,218 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/abab719f-b1bb-4a6b-abbf-1fd890cebfc0 2026-04-27 13:54:11,228 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/abab719f-b1bb-4a6b-abbf-1fd890cebfc0 2026-04-27 13:54:11,238 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/cc130d02-80d5-470e-93ba-8bf0368d1f42 2026-04-27 13:54:11,248 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-27 13:54:11,248 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/56c309f2-0db8-413d-9e04-cca99bb0bab3 2026-04-27 13:54:11,258 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/abab719f-b1bb-4a6b-abbf-1fd890cebfc0 2026-04-27 13:54:11,276 - INFO - Verified VN network id 12 for VN 56c309f2-0db8-413d-9e04-cca99bb0bab3 2026-04-27 13:54:11,277 - INFO - Verifications in API Server for VN ctest-vn-31139042 passed 2026-04-27 13:54:11,277 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/56c309f2-0db8-413d-9e04-cca99bb0bab3 2026-04-27 13:54:11,287 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/abab719f-b1bb-4a6b-abbf-1fd890cebfc0 2026-04-27 13:54:11,298 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/abab719f-b1bb-4a6b-abbf-1fd890cebfc0 2026-04-27 13:54:11,306 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/cc130d02-80d5-470e-93ba-8bf0368d1f42 2026-04-27 13:54:11,320 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-31139042', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92460192', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6251851642937295165', 'uuid-lslong': '11386450786733046451'}, 'enable': 'true', 'created': '2026-04-27T13:54:08', 'last-modified': '2026-04-27T13:54:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.493846'} 2026-04-27 13:54:11,327 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-27 13:54:11,327 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31139042 passed 2026-04-27 13:54:11,327 - DEBUG - ====Verifying policy data for ctest-vn-31139042 in API_Server ====== 2026-04-27 13:54:11,327 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-27 13:54:11,334 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b65d9cc-6482-4b71-b1b2-6c1e40a7d10c 2026-04-27 13:54:11,349 - DEBUG - Requesting: http://10.0.0.242:8082/project/3357ff3c-0428-4321-9020-82afa13ce346 2026-04-27 13:54:11,428 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/56c309f2-0db8-413d-9e04-cca99bb0bab3 2026-04-27 13:54:11,442 - DEBUG - ==>Verifying data for policy with id: 71dbec8e-2eca-495e-a44f-38645a83ed7e, fqn: ['default-domain', 'ctest-TestBasicPolicy-92460192', 'ctest-policy-allow-all-32341244'] 2026-04-27 13:54:11,442 - INFO - VN ctest-vn-31139042 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-27 13:54:11,442 - DEBUG - Verifying the vn in opserver 2026-04-27 13:54:11,442 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-31139042 virtual network link through opserver 10.0.0.242 2026-04-27 13:54:11,443 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-04-27 13:54:11,456 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-31139042', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-31139042?flat'} 2026-04-27 13:54:11,456 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-31139042 is found in opserver 2026-04-27 13:54:11,468 - DEBUG - Do not have enough data to verify VN in agent 2026-04-27 13:54:11,474 - DEBUG - VRF ids for VN ctest-vn-31139042: {} 2026-04-27 13:54:11,543 - DEBUG - Services list from nova: [, , ] 2026-04-27 13:54:12,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5696-1) 2026-04-27 13:54:13,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5696-1) 2026-04-27 13:54:13,928 - INFO - Waiting for VM ctest-TestBasicPolicy-92460192-82517655 to be up.. 2026-04-27 13:54:14,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 13:54:19,105 - DEBUG - VM is in ACTIVE state now 2026-04-27 13:54:19,105 - INFO - VM name : ctest-TestBasicPolicy-92460192-82517655 2026-04-27 13:54:19,201 - DEBUG - VM ctest-TestBasicPolicy-92460192-82517655 ID is bc7878e4-6c37-40c9-a963-3ccb41daff59 2026-04-27 13:54:19,226 - DEBUG - VM ctest-TestBasicPolicy-92460192-82517655 launched on Node cn-jenkins-deploy-platform-ansible-os-5696-1 2026-04-27 13:54:19,320 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/bc7878e4-6c37-40c9-a963-3ccb41daff59 2026-04-27 13:54:19,330 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c601e44c-80cb-4c60-bbec-3400eb9bf5fb 2026-04-27 13:54:22,592 - 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 1001ms') 2026-04-27 13:54:22,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92460192-82517655 failed! 2026-04-27 13:54:22,650 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92460192:ctest-vn-37988464 is 104.16.24.65 and allocation pool is NOT set 2026-04-27 13:54:24,719 - 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=9.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.899 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.899/4.962/9.026/4.063 ms') 2026-04-27 13:54:24,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92460192-82517655 passed 2026-04-27 13:54:24,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 13:54:24,874 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92460192-82517655, IP 104.16.24.67, Port 22 2026-04-27 13:54:24,940 - 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-04-27 13:54:25,042 - DEBUG - VM ctest-TestBasicPolicy-92460192-82517655 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-27 13:54:30,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 13:54:30,043 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92460192-82517655, IP 104.16.24.67, Port 22 2026-04-27 13:54:30,210 - DEBUG - VM ctest-TestBasicPolicy-92460192-82517655 is ready for SSH connections 2026-04-27 13:54:30,211 - INFO - Waiting for VM ctest-TestBasicPolicy-92460192-24749954 to be up.. 2026-04-27 13:54:30,304 - DEBUG - VM is in ACTIVE state now 2026-04-27 13:54:30,304 - INFO - VM name : ctest-TestBasicPolicy-92460192-24749954 2026-04-27 13:54:30,398 - DEBUG - VM ctest-TestBasicPolicy-92460192-24749954 ID is eb8b0ca9-53f6-41ff-bfe8-806a1b309173 2026-04-27 13:54:30,398 - DEBUG - VM ctest-TestBasicPolicy-92460192-24749954 launched on Node cn-jenkins-deploy-platform-ansible-os-5696-1 2026-04-27 13:54:30,494 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/eb8b0ca9-53f6-41ff-bfe8-806a1b309173 2026-04-27 13:54:30,505 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/919c2d30-30a1-4399-bcaa-d2396a0e3ad2 2026-04-27 13:54:31,756 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.534 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.534/1.873/3.212/1.339 ms') 2026-04-27 13:54:31,757 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92460192-24749954 passed 2026-04-27 13:54:31,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 13:54:31,918 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92460192-24749954, IP 92.222.112.3, Port 22 2026-04-27 13:54:32,084 - DEBUG - VM ctest-TestBasicPolicy-92460192-24749954 is ready for SSH connections 2026-04-27 13:54:32,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 13:54:32,084 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.222.112.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-04-27 13:54:32,085 - DEBUG - ping -s 56 -c 3 -W 1 92.222.112.3 2026-04-27 13:54:36,201 - DEBUG - PING 92.222.112.3 (92.222.112.3): 56 data bytes 64 bytes from 92.222.112.3: seq=0 ttl=63 time=3.807 ms 64 bytes from 92.222.112.3: seq=1 ttl=63 time=1.591 ms 64 bytes from 92.222.112.3: seq=2 ttl=63 time=1.093 ms --- 92.222.112.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.093/2.163/3.807 ms 2026-04-27 13:54:36,201 - INFO - Ping to IP 92.222.112.3 from VM ctest-TestBasicPolicy-92460192-82517655 passed 2026-04-27 13:54:36,385 - DEBUG - Policy Update Response {"network-policy": {"uuid": "71dbec8e-2eca-495e-a44f-38645a83ed7e", "href": "http://10.0.0.242:8082/network-policy/71dbec8e-2eca-495e-a44f-38645a83ed7e"}} 2026-04-27 13:54:36,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 13:54:36,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.222.112.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-04-27 13:54:36,386 - DEBUG - ping -s 56 -c 3 -W 1 92.222.112.3 2026-04-27 13:54:39,644 - DEBUG - PING 92.222.112.3 (92.222.112.3): 56 data bytes --- 92.222.112.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-27 13:54:39,645 - WARNING - Ping to IP 92.222.112.3 from VM ctest-TestBasicPolicy-92460192-82517655 failed 2026-04-27 13:54:39,645 - INFO - Deleting VM ctest-TestBasicPolicy-92460192-24749954 2026-04-27 13:54:39,729 - INFO - Deleting VM ctest-TestBasicPolicy-92460192-82517655 2026-04-27 13:54:40,237 - INFO - Deleted policy ctest-policy-allow-all-32341244 2026-04-27 13:54:40,237 - INFO - Deleting VN ctest-vn-31139042 2026-04-27 13:54:40,290 - DEBUG - VN 56c309f2-0db8-413d-9e04-cca99bb0bab3 still in use: Unable to complete operation on network 56c309f2-0db8-413d-9e04-cca99bb0bab3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-184779f2-40b0-490b-aa53-ae873d831a6a'] 2026-04-27 13:54:40,290 - WARNING - Deleting VN ctest-vn-31139042 failed..Will retry 2026-04-27 13:54:42,415 - DEBUG - Response for deleting network () 2026-04-27 13:54:42,415 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/abab719f-b1bb-4a6b-abbf-1fd890cebfc0 2026-04-27 13:54:42,424 - DEBUG - Response Code: 404 2026-04-27 13:54:42,424 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-27 13:54:42,438 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b65d9cc-6482-4b71-b1b2-6c1e40a7d10c 2026-04-27 13:54:42,495 - DEBUG - Requesting: http://10.0.0.242:8082/project/3357ff3c-0428-4321-9020-82afa13ce346 2026-04-27 13:54:42,570 - INFO - Validated that VN ctest-vn-31139042 is not found in API Server 2026-04-27 13:54:42,581 - DEBUG - VN ctest-vn-31139042 is not present in Agent 10.0.0.242 2026-04-27 13:54:42,581 - INFO - Validated that VN ctest-vn-31139042 is not in any agent 2026-04-27 13:54:42,594 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31139042 info 2026-04-27 13:54:42,595 - INFO - Deleting VN ctest-vn-37988464 2026-04-27 13:54:42,711 - DEBUG - Response for deleting network () 2026-04-27 13:54:42,711 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7d0ea024-bd82-49c7-b0df-16c3dcfc7000 2026-04-27 13:54:42,716 - DEBUG - Response Code: 404 2026-04-27 13:54:42,717 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-27 13:54:42,722 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b65d9cc-6482-4b71-b1b2-6c1e40a7d10c 2026-04-27 13:54:42,775 - DEBUG - Requesting: http://10.0.0.242:8082/project/3357ff3c-0428-4321-9020-82afa13ce346 2026-04-27 13:54:42,853 - INFO - Validated that VN ctest-vn-37988464 is not found in API Server 2026-04-27 13:54:42,863 - DEBUG - VN ctest-vn-37988464 is not present in Agent 10.0.0.242 2026-04-27 13:54:42,863 - INFO - Validated that VN ctest-vn-37988464 is not in any agent 2026-04-27 13:54:42,878 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37988464 info 2026-04-27 13:54:43,147 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 13:54:43,147 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-04-27 13:54:43,147 - INFO - -------------------------------------------------------------------------------- 2026-04-27 13:54:43,899 - INFO - Deleted project: ctest-TestBasicPolicy-92460192, ID : 3357ff3c-0428-4321-9020-82afa13ce346