2025-11-17 17:28:05,262 - INFO - Domain Default found not creating 2025-11-17 17:28:05,688 - INFO - Project ctest-TestBasicPolicy-24138600 not found, creating it 2025-11-17 17:28:06,339 - INFO - Created Project:ctest-TestBasicPolicy-24138600, ID : 5000fa96-1a2b-4eca-b08e-3c437fb74708 2025-11-17 17:28:08,315 - INFO - ================================================================================ 2025-11-17 17:28:08,315 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 17:28:08,315 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-17 17:28:08,621 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 17:28:08,621 - INFO - Initial checks done. Running the testcase now 2025-11-17 17:28:08,622 - INFO - 2025-11-17 17:28:09,424 - DEBUG - Response for create_network : {'network': {'id': 'bdb3d225-24f7-4dba-897e-45293791fce4', 'name': 'ctest-vn-76629306', 'tenant_id': '5000fa961a2b4ecab08e3c437fb74708', 'project_id': '5000fa961a2b4ecab08e3c437fb74708', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24138600', 'ctest-vn-76629306'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 17:28:09,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cbeba96-4c82-4407-92dd-ed2b255ff4cb', 'name': '', 'tenant_id': '5000fa961a2b4ecab08e3c437fb74708', 'network_id': 'bdb3d225-24f7-4dba-897e-45293791fce4', 'ip_version': 4, 'cidr': '76.131.179.0/26', 'allocation_pools': [{'start': '76.131.179.2', 'end': '76.131.179.62'}], 'gateway_ip': '76.131.179.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.131.179.2', 'tags': [], 'project_id': '5000fa961a2b4ecab08e3c437fb74708'}} 2025-11-17 17:28:09,606 - INFO - Created VN ctest-vn-76629306 2025-11-17 17:28:09,663 - DEBUG - VN ctest-vn-76629306 UUID is bdb3d225-24f7-4dba-897e-45293791fce4 2025-11-17 17:28:10,129 - DEBUG - Response for create_network : {'network': {'id': 'f4f423f3-bbc2-43d1-ae4c-4df8956b8d24', 'name': 'ctest-vn-37233151', 'tenant_id': '5000fa961a2b4ecab08e3c437fb74708', 'project_id': '5000fa961a2b4ecab08e3c437fb74708', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24138600', 'ctest-vn-37233151'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 17:28:10,367 - DEBUG - Response for create_subnet : {'subnet': {'id': '94e82f00-0c5b-4b68-bba2-76faa5ae1ad7', 'name': '', 'tenant_id': '5000fa961a2b4ecab08e3c437fb74708', 'network_id': 'f4f423f3-bbc2-43d1-ae4c-4df8956b8d24', 'ip_version': 4, 'cidr': '59.205.42.128/26', 'allocation_pools': [{'start': '59.205.42.130', 'end': '59.205.42.190'}], 'gateway_ip': '59.205.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.205.42.130', 'tags': [], 'project_id': '5000fa961a2b4ecab08e3c437fb74708'}} 2025-11-17 17:28:10,391 - INFO - Created VN ctest-vn-37233151 2025-11-17 17:28:10,451 - DEBUG - VN ctest-vn-37233151 UUID is f4f423f3-bbc2-43d1-ae4c-4df8956b8d24 2025-11-17 17:28:10,623 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-76629306, 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-24138600:ctest-vn-37233151, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-17 17:28:11,086 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bdb3d225-24f7-4dba-897e-45293791fce4', 'name': 'ctest-vn-76629306', 'tenant_id': '5000fa961a2b4ecab08e3c437fb74708', 'project_id': '5000fa961a2b4ecab08e3c437fb74708', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7cbeba96-4c82-4407-92dd-ed2b255ff4cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24138600', 'ctest-vn-76629306'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24138600', 'ctest-policy-allow-all-81832302']], 'subnet_ipam': [{'subnet_cidr': '76.131.179.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 17:28:11,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4f423f3-bbc2-43d1-ae4c-4df8956b8d24', 'name': 'ctest-vn-37233151', 'tenant_id': '5000fa961a2b4ecab08e3c437fb74708', 'project_id': '5000fa961a2b4ecab08e3c437fb74708', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['94e82f00-0c5b-4b68-bba2-76faa5ae1ad7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24138600', 'ctest-vn-37233151'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24138600', 'ctest-policy-allow-all-81832302']], 'subnet_ipam': [{'subnet_cidr': '59.205.42.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 17:28:11,595 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 17:28:11,925 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 17:28:11,961 - DEBUG - Requesting: http://10.0.0.33:8082/domain/dfdb72f9-dbcf-4451-8659-a6d3fc88ce2f 2025-11-17 17:28:11,981 - DEBUG - Requesting: http://10.0.0.33:8082/project/5000fa96-1a2b-4eca-b08e-3c437fb74708 2025-11-17 17:28:12,088 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bdb3d225-24f7-4dba-897e-45293791fce4 2025-11-17 17:28:12,108 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bdb3d225-24f7-4dba-897e-45293791fce4 2025-11-17 17:28:12,127 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57721226-e884-4a43-b9c8-81422bf592d8 2025-11-17 17:28:12,139 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57721226-e884-4a43-b9c8-81422bf592d8 2025-11-17 17:28:12,149 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/89300f2d-2d99-4fe8-ac36-a0d43572e439 2025-11-17 17:28:12,159 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 17:28:12,159 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bdb3d225-24f7-4dba-897e-45293791fce4 2025-11-17 17:28:12,175 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57721226-e884-4a43-b9c8-81422bf592d8 2025-11-17 17:28:12,197 - INFO - Verified VN network id 11 for VN bdb3d225-24f7-4dba-897e-45293791fce4 2025-11-17 17:28:12,197 - INFO - Verifications in API Server for VN ctest-vn-76629306 passed 2025-11-17 17:28:12,197 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bdb3d225-24f7-4dba-897e-45293791fce4 2025-11-17 17:28:12,211 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57721226-e884-4a43-b9c8-81422bf592d8 2025-11-17 17:28:12,223 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57721226-e884-4a43-b9c8-81422bf592d8 2025-11-17 17:28:12,234 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/89300f2d-2d99-4fe8-ac36-a0d43572e439 2025-11-17 17:28:12,253 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-76629306', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24138600', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13669500350975397306', 'uuid-lslong': '9907432273589959908'}, 'enable': 'true', 'created': '2025-11-17T17:28:09', 'last-modified': '2025-11-17T17:28:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.218399'} 2025-11-17 17:28:12,262 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 17:28:12,262 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76629306 passed 2025-11-17 17:28:12,263 - DEBUG - ====Verifying policy data for ctest-vn-76629306 in API_Server ====== 2025-11-17 17:28:12,263 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 17:28:12,272 - DEBUG - Requesting: http://10.0.0.33:8082/domain/dfdb72f9-dbcf-4451-8659-a6d3fc88ce2f 2025-11-17 17:28:12,287 - DEBUG - Requesting: http://10.0.0.33:8082/project/5000fa96-1a2b-4eca-b08e-3c437fb74708 2025-11-17 17:28:12,398 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bdb3d225-24f7-4dba-897e-45293791fce4 2025-11-17 17:28:12,424 - DEBUG - ==>Verifying data for policy with id: 6e352a85-eadf-48f5-8276-d3f3fd3dfd21, fqn: ['default-domain', 'ctest-TestBasicPolicy-24138600', 'ctest-policy-allow-all-81832302'] 2025-11-17 17:28:12,424 - INFO - VN ctest-vn-76629306 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 17:28:12,424 - DEBUG - Verifying the vn in opserver 2025-11-17 17:28:12,425 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-76629306 virtual network link through opserver 10.0.0.33 2025-11-17 17:28:12,425 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 17:28:12,761 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 17:28:12,861 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-76629306', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-76629306?flat'} 2025-11-17 17:28:12,861 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-76629306 is found in opserver 2025-11-17 17:28:12,890 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 17:28:12,901 - DEBUG - VRF ids for VN ctest-vn-76629306: {} 2025-11-17 17:28:12,901 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 17:28:12,912 - DEBUG - Requesting: http://10.0.0.33:8082/domain/dfdb72f9-dbcf-4451-8659-a6d3fc88ce2f 2025-11-17 17:28:12,936 - DEBUG - Requesting: http://10.0.0.33:8082/project/5000fa96-1a2b-4eca-b08e-3c437fb74708 2025-11-17 17:28:13,039 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f4f423f3-bbc2-43d1-ae4c-4df8956b8d24 2025-11-17 17:28:13,059 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f4f423f3-bbc2-43d1-ae4c-4df8956b8d24 2025-11-17 17:28:13,083 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/424ca3de-8ec5-442d-8d2c-f62f077e5762 2025-11-17 17:28:13,097 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/424ca3de-8ec5-442d-8d2c-f62f077e5762 2025-11-17 17:28:13,110 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/292ab1c0-1008-47e2-8307-4b238d28f671 2025-11-17 17:28:13,119 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 17:28:13,119 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f4f423f3-bbc2-43d1-ae4c-4df8956b8d24 2025-11-17 17:28:13,133 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/424ca3de-8ec5-442d-8d2c-f62f077e5762 2025-11-17 17:28:13,162 - INFO - Verified VN network id 12 for VN f4f423f3-bbc2-43d1-ae4c-4df8956b8d24 2025-11-17 17:28:13,162 - INFO - Verifications in API Server for VN ctest-vn-37233151 passed 2025-11-17 17:28:13,162 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f4f423f3-bbc2-43d1-ae4c-4df8956b8d24 2025-11-17 17:28:13,179 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/424ca3de-8ec5-442d-8d2c-f62f077e5762 2025-11-17 17:28:13,190 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/424ca3de-8ec5-442d-8d2c-f62f077e5762 2025-11-17 17:28:13,202 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/292ab1c0-1008-47e2-8307-4b238d28f671 2025-11-17 17:28:13,225 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-37233151', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24138600', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17650772369305912273', 'uuid-lslong': '12559499190883552548'}, 'enable': 'true', 'created': '2025-11-17T17:28:10', 'last-modified': '2025-11-17T17:28:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.848395'} 2025-11-17 17:28:13,237 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 17:28:13,237 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37233151 passed 2025-11-17 17:28:13,238 - DEBUG - ====Verifying policy data for ctest-vn-37233151 in API_Server ====== 2025-11-17 17:28:13,238 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 17:28:13,247 - DEBUG - Requesting: http://10.0.0.33:8082/domain/dfdb72f9-dbcf-4451-8659-a6d3fc88ce2f 2025-11-17 17:28:13,273 - DEBUG - Requesting: http://10.0.0.33:8082/project/5000fa96-1a2b-4eca-b08e-3c437fb74708 2025-11-17 17:28:13,363 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f4f423f3-bbc2-43d1-ae4c-4df8956b8d24 2025-11-17 17:28:13,377 - DEBUG - ==>Verifying data for policy with id: 6e352a85-eadf-48f5-8276-d3f3fd3dfd21, fqn: ['default-domain', 'ctest-TestBasicPolicy-24138600', 'ctest-policy-allow-all-81832302'] 2025-11-17 17:28:13,377 - INFO - VN ctest-vn-37233151 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 17:28:13,377 - DEBUG - Verifying the vn in opserver 2025-11-17 17:28:13,377 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-37233151 virtual network link through opserver 10.0.0.33 2025-11-17 17:28:13,377 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 17:28:13,392 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-37233151', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-37233151?flat'} 2025-11-17 17:28:13,392 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-37233151 is found in opserver 2025-11-17 17:28:13,408 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 17:28:13,414 - DEBUG - VRF ids for VN ctest-vn-37233151: {} 2025-11-17 17:28:13,500 - DEBUG - Services list from nova: [, , ] 2025-11-17 17:28:14,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4743-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4743-1) 2025-11-17 17:28:16,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4743-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4743-1) 2025-11-17 17:28:16,276 - INFO - Waiting for VM ctest-TestBasicPolicy-24138600-13154040 to be up.. 2025-11-17 17:28:16,373 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 17:28:21,579 - DEBUG - VM is in ACTIVE state now 2025-11-17 17:28:21,580 - INFO - VM name : ctest-TestBasicPolicy-24138600-13154040 2025-11-17 17:28:21,709 - DEBUG - VM ctest-TestBasicPolicy-24138600-13154040 ID is ca93ee78-f35c-418e-a057-09543f095feb 2025-11-17 17:28:21,739 - DEBUG - VM ctest-TestBasicPolicy-24138600-13154040 launched on Node cn-jenkins-deploy-platform-ansible-os-4743-1 2025-11-17 17:28:21,872 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ca93ee78-f35c-418e-a057-09543f095feb 2025-11-17 17:28:21,887 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/66d96b5b-bf84-45d9-b0e5-f1f6d5779fe7 2025-11-17 17:28:25,196 - 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 1032ms') 2025-11-17 17:28:25,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24138600-13154040 failed! 2025-11-17 17:28:25,250 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24138600:ctest-vn-76629306 is 76.131.179.1 and allocation pool is NOT set 2025-11-17 17:28:27,318 - 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=5.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.31 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 = 2.314/3.894/5.475/1.580 ms') 2025-11-17 17:28:27,319 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24138600-13154040 passed 2025-11-17 17:28:27,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:28:27,475 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24138600-13154040, IP 76.131.179.3, Port 22 2025-11-17 17:28:27,540 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-17 17:28:27,626 - DEBUG - VM ctest-TestBasicPolicy-24138600-13154040 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 17:28:32,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:28:32,627 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24138600-13154040, IP 76.131.179.3, Port 22 2025-11-17 17:28:32,822 - DEBUG - VM ctest-TestBasicPolicy-24138600-13154040 is ready for SSH connections 2025-11-17 17:28:32,823 - INFO - Waiting for VM ctest-TestBasicPolicy-24138600-98494241 to be up.. 2025-11-17 17:28:32,965 - DEBUG - VM is in ACTIVE state now 2025-11-17 17:28:32,965 - INFO - VM name : ctest-TestBasicPolicy-24138600-98494241 2025-11-17 17:28:33,085 - DEBUG - VM ctest-TestBasicPolicy-24138600-98494241 ID is 284ea6e6-07fc-418d-ad07-18606fb1870f 2025-11-17 17:28:33,085 - DEBUG - VM ctest-TestBasicPolicy-24138600-98494241 launched on Node cn-jenkins-deploy-platform-ansible-os-4743-1 2025-11-17 17:28:33,211 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/284ea6e6-07fc-418d-ad07-18606fb1870f 2025-11-17 17:28:33,222 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/32b61640-e863-40fd-a4ec-805a0249c1d8 2025-11-17 17:28:34,498 - 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=7.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.571 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.571/4.062/7.554/3.491 ms') 2025-11-17 17:28:34,498 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24138600-98494241 passed 2025-11-17 17:28:34,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:28:34,659 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24138600-98494241, IP 59.205.42.131, Port 22 2025-11-17 17:28:34,846 - DEBUG - VM ctest-TestBasicPolicy-24138600-98494241 is ready for SSH connections 2025-11-17 17:28:34,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:28:34,846 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.205.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 17:28:34,846 - DEBUG - ping -s 56 -c 3 -W 1 59.205.42.131 2025-11-17 17:28:39,284 - DEBUG - PING 59.205.42.131 (59.205.42.131): 56 data bytes 64 bytes from 59.205.42.131: seq=0 ttl=63 time=4.584 ms 64 bytes from 59.205.42.131: seq=1 ttl=63 time=1.839 ms 64 bytes from 59.205.42.131: seq=2 ttl=63 time=1.590 ms --- 59.205.42.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.590/2.671/4.584 ms 2025-11-17 17:28:39,284 - INFO - Ping to IP 59.205.42.131 from VM ctest-TestBasicPolicy-24138600-13154040 passed 2025-11-17 17:28:39,511 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6e352a85-eadf-48f5-8276-d3f3fd3dfd21", "href": "http://10.0.0.33:8082/network-policy/6e352a85-eadf-48f5-8276-d3f3fd3dfd21"}} 2025-11-17 17:28:39,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:28:39,511 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.205.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 17:28:39,511 - DEBUG - ping -s 56 -c 3 -W 1 59.205.42.131 2025-11-17 17:28:42,836 - DEBUG - PING 59.205.42.131 (59.205.42.131): 56 data bytes --- 59.205.42.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 17:28:42,836 - WARNING - Ping to IP 59.205.42.131 from VM ctest-TestBasicPolicy-24138600-13154040 failed 2025-11-17 17:28:42,836 - INFO - Deleting VM ctest-TestBasicPolicy-24138600-98494241 2025-11-17 17:28:43,039 - INFO - Deleting VM ctest-TestBasicPolicy-24138600-13154040 2025-11-17 17:28:43,616 - INFO - Deleted policy ctest-policy-allow-all-81832302 2025-11-17 17:28:43,617 - INFO - Deleting VN ctest-vn-37233151 2025-11-17 17:28:43,652 - DEBUG - VN f4f423f3-bbc2-43d1-ae4c-4df8956b8d24 still in use: Unable to complete operation on network f4f423f3-bbc2-43d1-ae4c-4df8956b8d24. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1416771f-452c-4d0c-8082-67466d0a7686'] 2025-11-17 17:28:43,653 - WARNING - Deleting VN ctest-vn-37233151 failed..Will retry 2025-11-17 17:28:45,846 - DEBUG - Response for deleting network () 2025-11-17 17:28:45,847 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/424ca3de-8ec5-442d-8d2c-f62f077e5762 2025-11-17 17:28:45,856 - DEBUG - Response Code: 404 2025-11-17 17:28:45,856 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 17:28:45,864 - DEBUG - Requesting: http://10.0.0.33:8082/domain/dfdb72f9-dbcf-4451-8659-a6d3fc88ce2f 2025-11-17 17:28:45,923 - DEBUG - Requesting: http://10.0.0.33:8082/project/5000fa96-1a2b-4eca-b08e-3c437fb74708 2025-11-17 17:28:46,028 - INFO - Validated that VN ctest-vn-37233151 is not found in API Server 2025-11-17 17:28:46,051 - DEBUG - VN ctest-vn-37233151 is not present in Agent 10.0.0.33 2025-11-17 17:28:46,051 - INFO - Validated that VN ctest-vn-37233151 is not in any agent 2025-11-17 17:28:46,081 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37233151 info 2025-11-17 17:28:46,081 - INFO - Deleting VN ctest-vn-76629306 2025-11-17 17:28:46,265 - DEBUG - Response for deleting network () 2025-11-17 17:28:46,265 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57721226-e884-4a43-b9c8-81422bf592d8 2025-11-17 17:28:46,279 - DEBUG - Response Code: 404 2025-11-17 17:28:46,279 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 17:28:46,289 - DEBUG - Requesting: http://10.0.0.33:8082/domain/dfdb72f9-dbcf-4451-8659-a6d3fc88ce2f 2025-11-17 17:28:46,352 - DEBUG - Requesting: http://10.0.0.33:8082/project/5000fa96-1a2b-4eca-b08e-3c437fb74708 2025-11-17 17:28:46,462 - INFO - Validated that VN ctest-vn-76629306 is not found in API Server 2025-11-17 17:28:46,491 - DEBUG - VN ctest-vn-76629306 is not present in Agent 10.0.0.33 2025-11-17 17:28:46,492 - INFO - Validated that VN ctest-vn-76629306 is not in any agent 2025-11-17 17:28:46,524 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76629306 info 2025-11-17 17:28:46,848 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 17:28:46,848 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2025-11-17 17:28:46,848 - INFO - -------------------------------------------------------------------------------- 2025-11-17 17:28:47,763 - INFO - Deleted project: ctest-TestBasicPolicy-24138600, ID : 5000fa96-1a2b-4eca-b08e-3c437fb74708