2025-12-08 02:37:56,713 - INFO - Domain Default found not creating 2025-12-08 02:37:56,934 - INFO - Project ctest-TestBasicPolicy-97781675 not found, creating it 2025-12-08 02:37:57,434 - INFO - Created Project:ctest-TestBasicPolicy-97781675, ID : 3e987c21-545c-4829-810c-a006aba7ec39 2025-12-08 02:37:59,280 - INFO - ================================================================================ 2025-12-08 02:37:59,280 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-08 02:37:59,280 - 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-12-08 02:37:59,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.130': '0'}} with 2025-12-08 02:37:59,552 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:37:59,552 - INFO - 2025-12-08 02:38:00,182 - DEBUG - Response for create_network : {'network': {'id': '4665e3ee-e1eb-48f2-b35c-9152da369979', 'name': 'ctest-vn-23994087', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'project_id': '3e987c21545c4829810ca006aba7ec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-vn-23994087'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:38:00,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '13b8cf92-2e70-43a2-8946-520718959c3a', 'name': '', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'network_id': '4665e3ee-e1eb-48f2-b35c-9152da369979', 'ip_version': 4, 'cidr': '203.15.67.192/26', 'allocation_pools': [{'start': '203.15.67.194', 'end': '203.15.67.254'}], 'gateway_ip': '203.15.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.15.67.194', 'tags': [], 'project_id': '3e987c21545c4829810ca006aba7ec39'}} 2025-12-08 02:38:00,380 - INFO - Created VN ctest-vn-23994087 2025-12-08 02:38:00,435 - DEBUG - VN ctest-vn-23994087 UUID is 4665e3ee-e1eb-48f2-b35c-9152da369979 2025-12-08 02:38:00,783 - DEBUG - Response for create_network : {'network': {'id': 'c6473644-b4c7-403a-9699-9c51e49415ee', 'name': 'ctest-vn-12791441', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'project_id': '3e987c21545c4829810ca006aba7ec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-vn-12791441'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:38:00,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '06421ee4-add2-4c14-9ba3-69c149a78f17', 'name': '', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'network_id': 'c6473644-b4c7-403a-9699-9c51e49415ee', 'ip_version': 4, 'cidr': '176.24.220.0/26', 'allocation_pools': [{'start': '176.24.220.2', 'end': '176.24.220.62'}], 'gateway_ip': '176.24.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.24.220.2', 'tags': [], 'project_id': '3e987c21545c4829810ca006aba7ec39'}} 2025-12-08 02:38:00,977 - INFO - Created VN ctest-vn-12791441 2025-12-08 02:38:01,031 - DEBUG - VN ctest-vn-12791441 UUID is c6473644-b4c7-403a-9699-9c51e49415ee 2025-12-08 02:38:01,169 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087, 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-97781675:ctest-vn-12791441, 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-12-08 02:38:01,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4665e3ee-e1eb-48f2-b35c-9152da369979', 'name': 'ctest-vn-23994087', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'project_id': '3e987c21545c4829810ca006aba7ec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13b8cf92-2e70-43a2-8946-520718959c3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-vn-23994087'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-policy-allow-all-52040223']], 'subnet_ipam': [{'subnet_cidr': '203.15.67.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:38:01,796 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6473644-b4c7-403a-9699-9c51e49415ee', 'name': 'ctest-vn-12791441', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'project_id': '3e987c21545c4829810ca006aba7ec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06421ee4-add2-4c14-9ba3-69c149a78f17'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-vn-12791441'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-policy-allow-all-52040223']], 'subnet_ipam': [{'subnet_cidr': '176.24.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:38:01,967 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-08 02:38:02,315 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-08 02:38:02,352 - DEBUG - Requesting: http://10.0.0.73:8082/domain/bdb80538-3a76-4907-b398-c529616d0886 2025-12-08 02:38:02,366 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e987c21-545c-4829-810c-a006aba7ec39 2025-12-08 02:38:02,450 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4665e3ee-e1eb-48f2-b35c-9152da369979 2025-12-08 02:38:02,462 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4665e3ee-e1eb-48f2-b35c-9152da369979 2025-12-08 02:38:02,472 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d 2025-12-08 02:38:02,481 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d 2025-12-08 02:38:02,489 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/47b0dfaf-3ebd-4eeb-9a77-c0fdf580f7b4 2025-12-08 02:38:02,496 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 02:38:02,496 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4665e3ee-e1eb-48f2-b35c-9152da369979 2025-12-08 02:38:02,506 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d 2025-12-08 02:38:02,524 - INFO - Verified VN network id 12 for VN 4665e3ee-e1eb-48f2-b35c-9152da369979 2025-12-08 02:38:02,524 - INFO - Verifications in API Server for VN ctest-vn-23994087 passed 2025-12-08 02:38:02,524 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4665e3ee-e1eb-48f2-b35c-9152da369979 2025-12-08 02:38:02,535 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d 2025-12-08 02:38:02,543 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d 2025-12-08 02:38:02,553 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/47b0dfaf-3ebd-4eeb-9a77-c0fdf580f7b4 2025-12-08 02:38:02,568 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97781675', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5072711170434746610', 'uuid-lslong': '12924364815680838009'}, 'enable': 'true', 'created': '2025-12-08T02:38:00', 'last-modified': '2025-12-08T02:38:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.092446'} 2025-12-08 02:38:02,575 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 02:38:02,575 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23994087 passed 2025-12-08 02:38:02,576 - DEBUG - ====Verifying policy data for ctest-vn-23994087 in API_Server ====== 2025-12-08 02:38:02,576 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-08 02:38:02,584 - DEBUG - Requesting: http://10.0.0.73:8082/domain/bdb80538-3a76-4907-b398-c529616d0886 2025-12-08 02:38:02,597 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e987c21-545c-4829-810c-a006aba7ec39 2025-12-08 02:38:02,676 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4665e3ee-e1eb-48f2-b35c-9152da369979 2025-12-08 02:38:02,687 - DEBUG - ==>Verifying data for policy with id: 04b73213-74bb-4e8c-a067-00b8b73f5856, fqn: ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-policy-allow-all-52040223'] 2025-12-08 02:38:02,687 - INFO - VN ctest-vn-23994087 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 02:38:02,687 - DEBUG - Verifying the vn in opserver 2025-12-08 02:38:02,687 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087 virtual network link through opserver 10.0.0.73 2025-12-08 02:38:02,688 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-12-08 02:38:03,027 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-12-08 02:38:03,098 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087?flat'} 2025-12-08 02:38:03,099 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087 is found in opserver 2025-12-08 02:38:03,112 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 02:38:03,118 - DEBUG - VRF ids for VN ctest-vn-23994087: {} 2025-12-08 02:38:03,118 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-08 02:38:03,125 - DEBUG - Requesting: http://10.0.0.73:8082/domain/bdb80538-3a76-4907-b398-c529616d0886 2025-12-08 02:38:03,139 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e987c21-545c-4829-810c-a006aba7ec39 2025-12-08 02:38:03,215 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/c6473644-b4c7-403a-9699-9c51e49415ee 2025-12-08 02:38:03,229 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/c6473644-b4c7-403a-9699-9c51e49415ee 2025-12-08 02:38:03,239 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb 2025-12-08 02:38:03,247 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb 2025-12-08 02:38:03,256 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/4106e418-4ba7-4b9e-a3a0-935b95d5003c 2025-12-08 02:38:03,264 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 02:38:03,264 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/c6473644-b4c7-403a-9699-9c51e49415ee 2025-12-08 02:38:03,275 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb 2025-12-08 02:38:03,293 - INFO - Verified VN network id 13 for VN c6473644-b4c7-403a-9699-9c51e49415ee 2025-12-08 02:38:03,294 - INFO - Verifications in API Server for VN ctest-vn-12791441 passed 2025-12-08 02:38:03,294 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/c6473644-b4c7-403a-9699-9c51e49415ee 2025-12-08 02:38:03,305 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb 2025-12-08 02:38:03,315 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb 2025-12-08 02:38:03,324 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/4106e418-4ba7-4b9e-a3a0-935b95d5003c 2025-12-08 02:38:03,337 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-12791441', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97781675', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14287448011574820922', 'uuid-lslong': '10851876652667114990'}, 'enable': 'true', 'created': '2025-12-08T02:38:00', 'last-modified': '2025-12-08T02:38:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.580302'} 2025-12-08 02:38:03,344 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 02:38:03,344 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12791441 passed 2025-12-08 02:38:03,345 - DEBUG - ====Verifying policy data for ctest-vn-12791441 in API_Server ====== 2025-12-08 02:38:03,345 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-08 02:38:03,354 - DEBUG - Requesting: http://10.0.0.73:8082/domain/bdb80538-3a76-4907-b398-c529616d0886 2025-12-08 02:38:03,368 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e987c21-545c-4829-810c-a006aba7ec39 2025-12-08 02:38:03,453 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/c6473644-b4c7-403a-9699-9c51e49415ee 2025-12-08 02:38:03,463 - DEBUG - ==>Verifying data for policy with id: 04b73213-74bb-4e8c-a067-00b8b73f5856, fqn: ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-policy-allow-all-52040223'] 2025-12-08 02:38:03,464 - INFO - VN ctest-vn-12791441 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 02:38:03,464 - DEBUG - Verifying the vn in opserver 2025-12-08 02:38:03,464 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-12791441 virtual network link through opserver 10.0.0.73 2025-12-08 02:38:03,464 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-12-08 02:38:03,477 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-12791441', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-12791441?flat'} 2025-12-08 02:38:03,477 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-12791441 is found in opserver 2025-12-08 02:38:03,488 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 02:38:03,493 - DEBUG - VRF ids for VN ctest-vn-12791441: {} 2025-12-08 02:38:03,566 - DEBUG - Services list from nova: [, , ] 2025-12-08 02:38:04,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4850-1) 2025-12-08 02:38:06,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4850-1) 2025-12-08 02:38:06,148 - INFO - Waiting for VM ctest-TestBasicPolicy-97781675-05152972 to be up.. 2025-12-08 02:38:06,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 02:38:11,350 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:38:11,351 - INFO - VM name : ctest-TestBasicPolicy-97781675-05152972 2025-12-08 02:38:11,445 - DEBUG - VM ctest-TestBasicPolicy-97781675-05152972 ID is 77c96653-32c8-4a96-9649-8562ae752bd9 2025-12-08 02:38:11,473 - DEBUG - VM ctest-TestBasicPolicy-97781675-05152972 launched on Node cn-jenkins-deploy-platform-ansible-os-4850-1 2025-12-08 02:38:11,573 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/77c96653-32c8-4a96-9649-8562ae752bd9 2025-12-08 02:38:11,582 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/af39f853-3528-4937-9c33-4437fd143d15 2025-12-08 02:38:14,841 - 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 1010ms') 2025-12-08 02:38:14,841 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97781675-05152972 failed! 2025-12-08 02:38:14,899 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087 is 203.15.67.193 and allocation pool is NOT set 2025-12-08 02:38:16,972 - 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=15.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.37 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 = 1.370/8.454/15.539/7.084 ms') 2025-12-08 02:38:16,973 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97781675-05152972 passed 2025-12-08 02:38:17,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:38:17,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97781675-05152972, IP 203.15.67.195, Port 22 2025-12-08 02:38:17,206 - 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-12-08 02:38:17,305 - DEBUG - VM ctest-TestBasicPolicy-97781675-05152972 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-08 02:38:22,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:38:22,306 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97781675-05152972, IP 203.15.67.195, Port 22 2025-12-08 02:38:22,473 - DEBUG - VM ctest-TestBasicPolicy-97781675-05152972 is ready for SSH connections 2025-12-08 02:38:22,473 - INFO - Waiting for VM ctest-TestBasicPolicy-97781675-44210546 to be up.. 2025-12-08 02:38:22,574 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:38:22,574 - INFO - VM name : ctest-TestBasicPolicy-97781675-44210546 2025-12-08 02:38:22,666 - DEBUG - VM ctest-TestBasicPolicy-97781675-44210546 ID is d649d176-51e6-489d-8eea-1e3645eaf48b 2025-12-08 02:38:22,666 - DEBUG - VM ctest-TestBasicPolicy-97781675-44210546 launched on Node cn-jenkins-deploy-platform-ansible-os-4850-1 2025-12-08 02:38:22,761 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/d649d176-51e6-489d-8eea-1e3645eaf48b 2025-12-08 02:38:22,772 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/77f067a8-0bb6-4b1d-897a-555d807cbedc 2025-12-08 02:38:24,036 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.562 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.562/1.941/3.321/1.379 ms') 2025-12-08 02:38:24,036 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97781675-44210546 passed 2025-12-08 02:38:24,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:38:24,195 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97781675-44210546, IP 176.24.220.3, Port 22 2025-12-08 02:38:24,365 - DEBUG - VM ctest-TestBasicPolicy-97781675-44210546 is ready for SSH connections 2025-12-08 02:38:24,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:38:24,365 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.24.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-08 02:38:24,366 - DEBUG - ping -s 56 -c 3 -W 1 176.24.220.3 2025-12-08 02:38:28,619 - DEBUG - PING 176.24.220.3 (176.24.220.3): 56 data bytes 64 bytes from 176.24.220.3: seq=0 ttl=63 time=4.493 ms 64 bytes from 176.24.220.3: seq=1 ttl=63 time=1.406 ms 64 bytes from 176.24.220.3: seq=2 ttl=63 time=1.159 ms --- 176.24.220.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.159/2.352/4.493 ms 2025-12-08 02:38:28,619 - INFO - Ping to IP 176.24.220.3 from VM ctest-TestBasicPolicy-97781675-05152972 passed 2025-12-08 02:38:28,811 - DEBUG - Policy Update Response {"network-policy": {"uuid": "04b73213-74bb-4e8c-a067-00b8b73f5856", "href": "http://10.0.0.73:8082/network-policy/04b73213-74bb-4e8c-a067-00b8b73f5856"}} 2025-12-08 02:38:28,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:38:28,811 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.24.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-08 02:38:28,811 - DEBUG - ping -s 56 -c 3 -W 1 176.24.220.3 2025-12-08 02:38:32,042 - DEBUG - PING 176.24.220.3 (176.24.220.3): 56 data bytes --- 176.24.220.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 02:38:32,042 - WARNING - Ping to IP 176.24.220.3 from VM ctest-TestBasicPolicy-97781675-05152972 failed 2025-12-08 02:38:32,042 - INFO - Deleting VM ctest-TestBasicPolicy-97781675-44210546 2025-12-08 02:38:32,136 - INFO - Deleting VM ctest-TestBasicPolicy-97781675-05152972 2025-12-08 02:38:32,601 - INFO - Deleted policy ctest-policy-allow-all-52040223 2025-12-08 02:38:32,602 - INFO - Deleting VN ctest-vn-12791441 2025-12-08 02:38:32,650 - DEBUG - VN c6473644-b4c7-403a-9699-9c51e49415ee still in use: Unable to complete operation on network c6473644-b4c7-403a-9699-9c51e49415ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f212b12-04f3-4733-9f4c-ddc286670fc2'] 2025-12-08 02:38:32,651 - WARNING - Deleting VN ctest-vn-12791441 failed..Will retry 2025-12-08 02:38:34,777 - DEBUG - Response for deleting network () 2025-12-08 02:38:34,777 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb 2025-12-08 02:38:34,793 - DEBUG - Response Code: 404 2025-12-08 02:38:34,793 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-08 02:38:34,801 - DEBUG - Requesting: http://10.0.0.73:8082/domain/bdb80538-3a76-4907-b398-c529616d0886 2025-12-08 02:38:34,858 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e987c21-545c-4829-810c-a006aba7ec39 2025-12-08 02:38:34,931 - INFO - Validated that VN ctest-vn-12791441 is not found in API Server 2025-12-08 02:38:34,942 - DEBUG - VN ctest-vn-12791441 is not present in Agent 10.0.0.73 2025-12-08 02:38:34,942 - INFO - Validated that VN ctest-vn-12791441 is not in any agent 2025-12-08 02:38:34,959 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12791441 info 2025-12-08 02:38:34,959 - INFO - Deleting VN ctest-vn-23994087 2025-12-08 02:38:35,091 - DEBUG - Response for deleting network () 2025-12-08 02:38:35,092 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d 2025-12-08 02:38:35,121 - DEBUG - Response Code: 404 2025-12-08 02:38:35,122 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-08 02:38:35,129 - DEBUG - Requesting: http://10.0.0.73:8082/domain/bdb80538-3a76-4907-b398-c529616d0886 2025-12-08 02:38:35,144 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e987c21-545c-4829-810c-a006aba7ec39 2025-12-08 02:38:35,222 - INFO - Validated that VN ctest-vn-23994087 is not found in API Server 2025-12-08 02:38:35,234 - DEBUG - VN ctest-vn-23994087 is not present in Agent 10.0.0.73 2025-12-08 02:38:35,234 - INFO - Validated that VN ctest-vn-23994087 is not in any agent 2025-12-08 02:38:35,250 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23994087 info 2025-12-08 02:38:35,518 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 02:38:35,518 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-12-08 02:38:35,519 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:38:36,296 - INFO - Deleted project: ctest-TestBasicPolicy-97781675, ID : 3e987c21-545c-4829-810c-a006aba7ec39