2025-09-10 16:30:15,544 - INFO - Domain Default found not creating 2025-09-10 16:30:15,687 - INFO - Project ctest-TestBasicPolicy-32846073 not found, creating it 2025-09-10 16:30:16,152 - INFO - Created Project:ctest-TestBasicPolicy-32846073, ID : ae196964-ae16-46ba-99c4-301e7c45a2e2 2025-09-10 16:30:17,577 - INFO - ================================================================================ 2025-09-10 16:30:17,578 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-10 16:30:17,578 - 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-09-10 16:30:17,831 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-09-10 16:30:17,831 - INFO - Initial checks done. Running the testcase now 2025-09-10 16:30:17,831 - INFO - 2025-09-10 16:30:18,375 - DEBUG - Response for create_network : {'network': {'id': 'bad4a457-0d70-4e2e-bd84-ab4ae9d1ebf9', 'name': 'ctest-vn-45550543', 'tenant_id': 'ae196964ae1646ba99c4301e7c45a2e2', 'project_id': 'ae196964ae1646ba99c4301e7c45a2e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32846073', 'ctest-vn-45550543'], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:30:18,589 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7414945-60d2-46b6-8064-b4e3a3313699', 'name': '', 'tenant_id': 'ae196964ae1646ba99c4301e7c45a2e2', 'network_id': 'bad4a457-0d70-4e2e-bd84-ab4ae9d1ebf9', 'ip_version': 4, 'cidr': '203.53.11.128/26', 'allocation_pools': [{'start': '203.53.11.130', 'end': '203.53.11.190'}], 'gateway_ip': '203.53.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.53.11.130', 'tags': [], 'project_id': 'ae196964ae1646ba99c4301e7c45a2e2'}} 2025-09-10 16:30:18,610 - INFO - Created VN ctest-vn-45550543 2025-09-10 16:30:18,662 - DEBUG - VN ctest-vn-45550543 UUID is bad4a457-0d70-4e2e-bd84-ab4ae9d1ebf9 2025-09-10 16:30:18,950 - DEBUG - Response for create_network : {'network': {'id': 'ff64a208-ab56-4ce9-a94b-733d2560323f', 'name': 'ctest-vn-76232121', 'tenant_id': 'ae196964ae1646ba99c4301e7c45a2e2', 'project_id': 'ae196964ae1646ba99c4301e7c45a2e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32846073', 'ctest-vn-76232121'], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:30:19,181 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e97c5cc-5d0e-4069-8223-659deae25027', 'name': '', 'tenant_id': 'ae196964ae1646ba99c4301e7c45a2e2', 'network_id': 'ff64a208-ab56-4ce9-a94b-733d2560323f', 'ip_version': 4, 'cidr': '113.108.224.192/26', 'allocation_pools': [{'start': '113.108.224.194', 'end': '113.108.224.254'}], 'gateway_ip': '113.108.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.108.224.194', 'tags': [], 'project_id': 'ae196964ae1646ba99c4301e7c45a2e2'}} 2025-09-10 16:30:19,204 - INFO - Created VN ctest-vn-76232121 2025-09-10 16:30:19,258 - DEBUG - VN ctest-vn-76232121 UUID is ff64a208-ab56-4ce9-a94b-733d2560323f 2025-09-10 16:30:19,410 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-45550543, 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-32846073:ctest-vn-76232121, 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-09-10 16:30:19,708 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bad4a457-0d70-4e2e-bd84-ab4ae9d1ebf9', 'name': 'ctest-vn-45550543', 'tenant_id': 'ae196964ae1646ba99c4301e7c45a2e2', 'project_id': 'ae196964ae1646ba99c4301e7c45a2e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e7414945-60d2-46b6-8064-b4e3a3313699'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32846073', 'ctest-vn-45550543'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32846073', 'ctest-policy-allow-all-61529798']], 'subnet_ipam': [{'subnet_cidr': '203.53.11.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:30:19,943 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff64a208-ab56-4ce9-a94b-733d2560323f', 'name': 'ctest-vn-76232121', 'tenant_id': 'ae196964ae1646ba99c4301e7c45a2e2', 'project_id': 'ae196964ae1646ba99c4301e7c45a2e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1e97c5cc-5d0e-4069-8223-659deae25027'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32846073', 'ctest-vn-76232121'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32846073', 'ctest-policy-allow-all-61529798']], 'subnet_ipam': [{'subnet_cidr': '113.108.224.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:30:20,094 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-09-10 16:30:20,389 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-09-10 16:30:20,417 - DEBUG - Requesting: http://10.0.0.27:8082/domain/bcd568e3-00d3-4962-a539-a11b527d928e 2025-09-10 16:30:20,428 - DEBUG - Requesting: http://10.0.0.27:8082/project/ae196964-ae16-46ba-99c4-301e7c45a2e2 2025-09-10 16:30:20,507 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bad4a457-0d70-4e2e-bd84-ab4ae9d1ebf9 2025-09-10 16:30:20,517 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bad4a457-0d70-4e2e-bd84-ab4ae9d1ebf9 2025-09-10 16:30:20,527 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a983959a-b335-4fae-9a0c-461fc201bedb 2025-09-10 16:30:20,534 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a983959a-b335-4fae-9a0c-461fc201bedb 2025-09-10 16:30:20,541 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/a33e3e3d-4111-4e6c-9bec-d5389dae84ae 2025-09-10 16:30:20,547 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-10 16:30:20,547 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bad4a457-0d70-4e2e-bd84-ab4ae9d1ebf9 2025-09-10 16:30:20,557 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a983959a-b335-4fae-9a0c-461fc201bedb 2025-09-10 16:30:20,572 - INFO - Verified VN network id 11 for VN bad4a457-0d70-4e2e-bd84-ab4ae9d1ebf9 2025-09-10 16:30:20,573 - INFO - Verifications in API Server for VN ctest-vn-45550543 passed 2025-09-10 16:30:20,573 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bad4a457-0d70-4e2e-bd84-ab4ae9d1ebf9 2025-09-10 16:30:20,582 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a983959a-b335-4fae-9a0c-461fc201bedb 2025-09-10 16:30:20,590 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a983959a-b335-4fae-9a0c-461fc201bedb 2025-09-10 16:30:20,597 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/a33e3e3d-4111-4e6c-9bec-d5389dae84ae 2025-09-10 16:30:20,609 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-45550543', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32846073', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13462565879911829038', 'uuid-lslong': '13656228308332964857'}, 'enable': 'true', 'created': '2025-09-10T16:30:18', 'last-modified': '2025-09-10T16:30:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922249'} 2025-09-10 16:30:20,615 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-10 16:30:20,615 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45550543 passed 2025-09-10 16:30:20,615 - DEBUG - ====Verifying policy data for ctest-vn-45550543 in API_Server ====== 2025-09-10 16:30:20,615 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-09-10 16:30:20,621 - DEBUG - Requesting: http://10.0.0.27:8082/domain/bcd568e3-00d3-4962-a539-a11b527d928e 2025-09-10 16:30:20,632 - DEBUG - Requesting: http://10.0.0.27:8082/project/ae196964-ae16-46ba-99c4-301e7c45a2e2 2025-09-10 16:30:20,700 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bad4a457-0d70-4e2e-bd84-ab4ae9d1ebf9 2025-09-10 16:30:20,709 - DEBUG - ==>Verifying data for policy with id: 1c10795d-a2be-4d8b-9111-75345d7752e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-32846073', 'ctest-policy-allow-all-61529798'] 2025-09-10 16:30:20,709 - INFO - VN ctest-vn-45550543 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-10 16:30:20,709 - DEBUG - Verifying the vn in opserver 2025-09-10 16:30:20,709 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-45550543 virtual network link through opserver 10.0.0.27 2025-09-10 16:30:20,710 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-09-10 16:30:21,004 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-09-10 16:30:21,060 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-45550543', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-45550543?flat'} 2025-09-10 16:30:21,060 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-45550543 is found in opserver 2025-09-10 16:30:21,069 - DEBUG - Do not have enough data to verify VN in agent 2025-09-10 16:30:21,073 - DEBUG - VRF ids for VN ctest-vn-45550543: {} 2025-09-10 16:30:21,073 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-09-10 16:30:21,077 - DEBUG - Requesting: http://10.0.0.27:8082/domain/bcd568e3-00d3-4962-a539-a11b527d928e 2025-09-10 16:30:21,087 - DEBUG - Requesting: http://10.0.0.27:8082/project/ae196964-ae16-46ba-99c4-301e7c45a2e2 2025-09-10 16:30:21,155 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ff64a208-ab56-4ce9-a94b-733d2560323f 2025-09-10 16:30:21,165 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ff64a208-ab56-4ce9-a94b-733d2560323f 2025-09-10 16:30:21,173 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7b00961-bb1d-470b-a27c-4f3641d9d0b2 2025-09-10 16:30:21,180 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7b00961-bb1d-470b-a27c-4f3641d9d0b2 2025-09-10 16:30:21,186 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/10b0304c-2520-4bf0-9b2e-2d92bcabcf15 2025-09-10 16:30:21,192 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-10 16:30:21,192 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ff64a208-ab56-4ce9-a94b-733d2560323f 2025-09-10 16:30:21,199 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7b00961-bb1d-470b-a27c-4f3641d9d0b2 2025-09-10 16:30:21,212 - INFO - Verified VN network id 12 for VN ff64a208-ab56-4ce9-a94b-733d2560323f 2025-09-10 16:30:21,212 - INFO - Verifications in API Server for VN ctest-vn-76232121 passed 2025-09-10 16:30:21,212 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ff64a208-ab56-4ce9-a94b-733d2560323f 2025-09-10 16:30:21,219 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7b00961-bb1d-470b-a27c-4f3641d9d0b2 2025-09-10 16:30:21,225 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7b00961-bb1d-470b-a27c-4f3641d9d0b2 2025-09-10 16:30:21,233 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/10b0304c-2520-4bf0-9b2e-2d92bcabcf15 2025-09-10 16:30:21,244 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-76232121', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32846073', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18403012135460687081', 'uuid-lslong': '12198970722120380991'}, 'enable': 'true', 'created': '2025-09-10T16:30:18', 'last-modified': '2025-09-10T16:30:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324889'} 2025-09-10 16:30:21,249 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-10 16:30:21,249 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76232121 passed 2025-09-10 16:30:21,249 - DEBUG - ====Verifying policy data for ctest-vn-76232121 in API_Server ====== 2025-09-10 16:30:21,249 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-09-10 16:30:21,257 - DEBUG - Requesting: http://10.0.0.27:8082/domain/bcd568e3-00d3-4962-a539-a11b527d928e 2025-09-10 16:30:21,266 - DEBUG - Requesting: http://10.0.0.27:8082/project/ae196964-ae16-46ba-99c4-301e7c45a2e2 2025-09-10 16:30:21,340 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ff64a208-ab56-4ce9-a94b-733d2560323f 2025-09-10 16:30:21,348 - DEBUG - ==>Verifying data for policy with id: 1c10795d-a2be-4d8b-9111-75345d7752e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-32846073', 'ctest-policy-allow-all-61529798'] 2025-09-10 16:30:21,348 - INFO - VN ctest-vn-76232121 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-10 16:30:21,348 - DEBUG - Verifying the vn in opserver 2025-09-10 16:30:21,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-76232121 virtual network link through opserver 10.0.0.27 2025-09-10 16:30:21,348 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-09-10 16:30:21,356 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-76232121', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-76232121?flat'} 2025-09-10 16:30:21,356 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-76232121 is found in opserver 2025-09-10 16:30:21,366 - DEBUG - Do not have enough data to verify VN in agent 2025-09-10 16:30:21,369 - DEBUG - VRF ids for VN ctest-vn-76232121: {} 2025-09-10 16:30:21,423 - DEBUG - Services list from nova: [, , ] 2025-09-10 16:30:22,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4071-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4071-1) 2025-09-10 16:30:23,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4071-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4071-1) 2025-09-10 16:30:23,580 - INFO - Waiting for VM ctest-TestBasicPolicy-32846073-65027583 to be up.. 2025-09-10 16:30:23,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-10 16:30:28,737 - DEBUG - VM is in ACTIVE state now 2025-09-10 16:30:28,737 - INFO - VM name : ctest-TestBasicPolicy-32846073-65027583 2025-09-10 16:30:28,814 - DEBUG - VM ctest-TestBasicPolicy-32846073-65027583 ID is 1dcd107c-407e-4058-9569-6da6d0e18b63 2025-09-10 16:30:28,839 - DEBUG - VM ctest-TestBasicPolicy-32846073-65027583 launched on Node cn-jenkins-deploy-platform-ansible-os-4071-1 2025-09-10 16:30:28,926 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1dcd107c-407e-4058-9569-6da6d0e18b63 2025-09-10 16:30:28,933 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/bf434d14-c629-4e9c-8c46-fd913edb92b0 2025-09-10 16:30:32,132 - 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 1007ms') 2025-09-10 16:30:32,132 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32846073-65027583 failed! 2025-09-10 16:30:32,186 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32846073:ctest-vn-45550543 is 203.53.11.129 and allocation pool is NOT set 2025-09-10 16:30:34,261 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.05 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 = 2.052/5.761/9.470/3.709 ms') 2025-09-10 16:30:34,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32846073-65027583 passed 2025-09-10 16:30:34,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:30:34,410 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32846073-65027583, IP 203.53.11.131, Port 22 2025-09-10 16:30:34,570 - DEBUG - VM ctest-TestBasicPolicy-32846073-65027583 is ready for SSH connections 2025-09-10 16:30:34,570 - INFO - Waiting for VM ctest-TestBasicPolicy-32846073-98975537 to be up.. 2025-09-10 16:30:34,639 - DEBUG - VM is in ACTIVE state now 2025-09-10 16:30:34,639 - INFO - VM name : ctest-TestBasicPolicy-32846073-98975537 2025-09-10 16:30:34,712 - DEBUG - VM ctest-TestBasicPolicy-32846073-98975537 ID is c2fd0892-68a0-43c9-a4dc-5975b4cd9316 2025-09-10 16:30:34,712 - DEBUG - VM ctest-TestBasicPolicy-32846073-98975537 launched on Node cn-jenkins-deploy-platform-ansible-os-4071-1 2025-09-10 16:30:34,784 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c2fd0892-68a0-43c9-a4dc-5975b4cd9316 2025-09-10 16:30:34,792 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1e39d440-2b38-47f4-b721-40f865b520e1 2025-09-10 16:30:36,023 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.443/1.979/3.516/1.536 ms') 2025-09-10 16:30:36,023 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32846073-98975537 passed 2025-09-10 16:30:36,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:30:36,170 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32846073-98975537, IP 113.108.224.195, Port 22 2025-09-10 16:30:36,336 - DEBUG - VM ctest-TestBasicPolicy-32846073-98975537 is ready for SSH connections 2025-09-10 16:30:36,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:30:36,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.108.224.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-09-10 16:30:36,336 - DEBUG - ping -s 56 -c 3 -W 1 113.108.224.195 2025-09-10 16:30:40,437 - DEBUG - PING 113.108.224.195 (113.108.224.195): 56 data bytes 64 bytes from 113.108.224.195: seq=0 ttl=63 time=5.309 ms 64 bytes from 113.108.224.195: seq=1 ttl=63 time=1.374 ms 64 bytes from 113.108.224.195: seq=2 ttl=63 time=1.076 ms --- 113.108.224.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.076/2.586/5.309 ms 2025-09-10 16:30:40,438 - INFO - Ping to IP 113.108.224.195 from VM ctest-TestBasicPolicy-32846073-65027583 passed 2025-09-10 16:30:40,625 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1c10795d-a2be-4d8b-9111-75345d7752e6", "href": "http://10.0.0.27:8082/network-policy/1c10795d-a2be-4d8b-9111-75345d7752e6"}} 2025-09-10 16:30:40,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:30:40,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.108.224.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-09-10 16:30:40,626 - DEBUG - ping -s 56 -c 3 -W 1 113.108.224.195 2025-09-10 16:30:43,862 - DEBUG - PING 113.108.224.195 (113.108.224.195): 56 data bytes --- 113.108.224.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-10 16:30:43,863 - WARNING - Ping to IP 113.108.224.195 from VM ctest-TestBasicPolicy-32846073-65027583 failed 2025-09-10 16:30:43,863 - INFO - Deleting VM ctest-TestBasicPolicy-32846073-98975537 2025-09-10 16:30:43,937 - INFO - Deleting VM ctest-TestBasicPolicy-32846073-65027583 2025-09-10 16:30:44,318 - INFO - Deleted policy ctest-policy-allow-all-61529798 2025-09-10 16:30:44,318 - INFO - Deleting VN ctest-vn-76232121 2025-09-10 16:30:44,353 - DEBUG - VN ff64a208-ab56-4ce9-a94b-733d2560323f still in use: Unable to complete operation on network ff64a208-ab56-4ce9-a94b-733d2560323f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-343ec629-6ec9-48cc-9620-8b381a5bcaef'] 2025-09-10 16:30:44,353 - WARNING - Deleting VN ctest-vn-76232121 failed..Will retry 2025-09-10 16:30:46,441 - DEBUG - Response for deleting network () 2025-09-10 16:30:46,441 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7b00961-bb1d-470b-a27c-4f3641d9d0b2 2025-09-10 16:30:46,445 - DEBUG - Response Code: 404 2025-09-10 16:30:46,445 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-09-10 16:30:46,452 - DEBUG - Requesting: http://10.0.0.27:8082/domain/bcd568e3-00d3-4962-a539-a11b527d928e 2025-09-10 16:30:46,502 - DEBUG - Requesting: http://10.0.0.27:8082/project/ae196964-ae16-46ba-99c4-301e7c45a2e2 2025-09-10 16:30:46,571 - INFO - Validated that VN ctest-vn-76232121 is not found in API Server 2025-09-10 16:30:46,580 - DEBUG - VN ctest-vn-76232121 is not present in Agent 10.0.0.27 2025-09-10 16:30:46,580 - INFO - Validated that VN ctest-vn-76232121 is not in any agent 2025-09-10 16:30:46,593 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76232121 info 2025-09-10 16:30:46,593 - INFO - Deleting VN ctest-vn-45550543 2025-09-10 16:30:46,696 - DEBUG - Response for deleting network () 2025-09-10 16:30:46,696 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a983959a-b335-4fae-9a0c-461fc201bedb 2025-09-10 16:30:46,703 - DEBUG - Response Code: 404 2025-09-10 16:30:46,704 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-09-10 16:30:46,711 - DEBUG - Requesting: http://10.0.0.27:8082/domain/bcd568e3-00d3-4962-a539-a11b527d928e 2025-09-10 16:30:46,763 - DEBUG - Requesting: http://10.0.0.27:8082/project/ae196964-ae16-46ba-99c4-301e7c45a2e2 2025-09-10 16:30:46,841 - INFO - Validated that VN ctest-vn-45550543 is not found in API Server 2025-09-10 16:30:46,850 - DEBUG - VN ctest-vn-45550543 is not present in Agent 10.0.0.27 2025-09-10 16:30:46,850 - INFO - Validated that VN ctest-vn-45550543 is not in any agent 2025-09-10 16:30:46,870 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45550543 info 2025-09-10 16:30:47,123 - DEBUG - No XMPP flaps were noticed during the test 2025-09-10 16:30:47,123 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-10 16:30:47,123 - INFO - -------------------------------------------------------------------------------- 2025-09-10 16:30:47,806 - INFO - Deleted project: ctest-TestBasicPolicy-32846073, ID : ae196964-ae16-46ba-99c4-301e7c45a2e2