2025-06-20 08:32:11,137 - INFO - Domain Default found not creating 2025-06-20 08:32:11,320 - INFO - Project ctest-TestBasicPolicy-62963883 not found, creating it 2025-06-20 08:32:11,797 - INFO - Created Project:ctest-TestBasicPolicy-62963883, ID : 7b9c8d93-3e6d-4842-bbe2-90b6c24208f7 2025-06-20 08:32:13,564 - INFO - ================================================================================ 2025-06-20 08:32:13,564 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-20 08:32:13,564 - 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-06-20 08:32:13,826 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.14': '0'}} with 2025-06-20 08:32:13,826 - INFO - Initial checks done. Running the testcase now 2025-06-20 08:32:13,826 - INFO - 2025-06-20 08:32:14,482 - DEBUG - Response for create_network : {'network': {'id': '5b551b6f-969b-4f5e-a2d9-f172ecb54467', 'name': 'ctest-vn-87509741', 'tenant_id': '7b9c8d933e6d4842bbe290b6c24208f7', 'project_id': '7b9c8d933e6d4842bbe290b6c24208f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62963883', 'ctest-vn-87509741'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:32:14,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ab96c76-086a-4809-b37a-6ac96d8f3644', 'name': '', 'tenant_id': '7b9c8d933e6d4842bbe290b6c24208f7', 'network_id': '5b551b6f-969b-4f5e-a2d9-f172ecb54467', 'ip_version': 4, 'cidr': '190.60.95.192/26', 'allocation_pools': [{'start': '190.60.95.194', 'end': '190.60.95.254'}], 'gateway_ip': '190.60.95.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.60.95.194', 'tags': [], 'project_id': '7b9c8d933e6d4842bbe290b6c24208f7'}} 2025-06-20 08:32:14,716 - INFO - Created VN ctest-vn-87509741 2025-06-20 08:32:14,772 - DEBUG - VN ctest-vn-87509741 UUID is 5b551b6f-969b-4f5e-a2d9-f172ecb54467 2025-06-20 08:32:15,164 - DEBUG - Response for create_network : {'network': {'id': '154943b0-b035-4de5-b1e1-f5db31eb4dae', 'name': 'ctest-vn-47141956', 'tenant_id': '7b9c8d933e6d4842bbe290b6c24208f7', 'project_id': '7b9c8d933e6d4842bbe290b6c24208f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62963883', 'ctest-vn-47141956'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:32:15,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '485e1c22-31da-435f-b4ee-1462ad5d8480', 'name': '', 'tenant_id': '7b9c8d933e6d4842bbe290b6c24208f7', 'network_id': '154943b0-b035-4de5-b1e1-f5db31eb4dae', 'ip_version': 4, 'cidr': '96.213.110.64/26', 'allocation_pools': [{'start': '96.213.110.66', 'end': '96.213.110.126'}], 'gateway_ip': '96.213.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.213.110.66', 'tags': [], 'project_id': '7b9c8d933e6d4842bbe290b6c24208f7'}} 2025-06-20 08:32:15,393 - INFO - Created VN ctest-vn-47141956 2025-06-20 08:32:15,452 - DEBUG - VN ctest-vn-47141956 UUID is 154943b0-b035-4de5-b1e1-f5db31eb4dae 2025-06-20 08:32:15,593 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-87509741, 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-62963883:ctest-vn-47141956, 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-06-20 08:32:15,941 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b551b6f-969b-4f5e-a2d9-f172ecb54467', 'name': 'ctest-vn-87509741', 'tenant_id': '7b9c8d933e6d4842bbe290b6c24208f7', 'project_id': '7b9c8d933e6d4842bbe290b6c24208f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7ab96c76-086a-4809-b37a-6ac96d8f3644'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62963883', 'ctest-vn-87509741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62963883', 'ctest-policy-allow-all-63889958']], 'subnet_ipam': [{'subnet_cidr': '190.60.95.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:32:16,251 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '154943b0-b035-4de5-b1e1-f5db31eb4dae', 'name': 'ctest-vn-47141956', 'tenant_id': '7b9c8d933e6d4842bbe290b6c24208f7', 'project_id': '7b9c8d933e6d4842bbe290b6c24208f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['485e1c22-31da-435f-b4ee-1462ad5d8480'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62963883', 'ctest-vn-47141956'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62963883', 'ctest-policy-allow-all-63889958']], 'subnet_ipam': [{'subnet_cidr': '96.213.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:32:16,408 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-20 08:32:16,724 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-20 08:32:16,763 - DEBUG - Requesting: http://10.0.0.240:8082/domain/d8080647-d0b0-4f04-848e-3931b9c38896 2025-06-20 08:32:16,779 - DEBUG - Requesting: http://10.0.0.240:8082/project/7b9c8d93-3e6d-4842-bbe2-90b6c24208f7 2025-06-20 08:32:16,864 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/5b551b6f-969b-4f5e-a2d9-f172ecb54467 2025-06-20 08:32:16,878 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/5b551b6f-969b-4f5e-a2d9-f172ecb54467 2025-06-20 08:32:16,891 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c8a8fd74-9e1a-4325-9360-344cf2ccb088 2025-06-20 08:32:16,900 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c8a8fd74-9e1a-4325-9360-344cf2ccb088 2025-06-20 08:32:16,909 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/74edbe9c-c2fd-4548-8757-526330d2b25d 2025-06-20 08:32:16,917 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 08:32:16,917 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/5b551b6f-969b-4f5e-a2d9-f172ecb54467 2025-06-20 08:32:16,928 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c8a8fd74-9e1a-4325-9360-344cf2ccb088 2025-06-20 08:32:16,950 - INFO - Verified VN network id 8 for VN 5b551b6f-969b-4f5e-a2d9-f172ecb54467 2025-06-20 08:32:16,950 - INFO - Verifications in API Server for VN ctest-vn-87509741 passed 2025-06-20 08:32:16,950 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/5b551b6f-969b-4f5e-a2d9-f172ecb54467 2025-06-20 08:32:16,962 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c8a8fd74-9e1a-4325-9360-344cf2ccb088 2025-06-20 08:32:16,972 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c8a8fd74-9e1a-4325-9360-344cf2ccb088 2025-06-20 08:32:16,981 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/74edbe9c-c2fd-4548-8757-526330d2b25d 2025-06-20 08:32:16,996 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-87509741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62963883', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6581196596553928542', 'uuid-lslong': '11734675779990406247'}, 'enable': 'true', 'created': '2025-06-20T08:32:14', 'last-modified': '2025-06-20T08:32:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.088625'} 2025-06-20 08:32:17,003 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 08:32:17,004 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87509741 passed 2025-06-20 08:32:17,004 - DEBUG - ====Verifying policy data for ctest-vn-87509741 in API_Server ====== 2025-06-20 08:32:17,004 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-20 08:32:17,011 - DEBUG - Requesting: http://10.0.0.240:8082/domain/d8080647-d0b0-4f04-848e-3931b9c38896 2025-06-20 08:32:17,024 - DEBUG - Requesting: http://10.0.0.240:8082/project/7b9c8d93-3e6d-4842-bbe2-90b6c24208f7 2025-06-20 08:32:17,104 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/5b551b6f-969b-4f5e-a2d9-f172ecb54467 2025-06-20 08:32:17,116 - DEBUG - ==>Verifying data for policy with id: 8a1adfc9-21d1-410d-9094-81057faf18ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-62963883', 'ctest-policy-allow-all-63889958'] 2025-06-20 08:32:17,116 - INFO - VN ctest-vn-87509741 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 08:32:17,116 - DEBUG - Verifying the vn in opserver 2025-06-20 08:32:17,116 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-87509741 virtual network link through opserver 10.0.0.240 2025-06-20 08:32:17,116 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-06-20 08:32:17,426 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-06-20 08:32:17,505 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-87509741', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-87509741?flat'} 2025-06-20 08:32:17,505 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-87509741 is found in opserver 2025-06-20 08:32:17,520 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 08:32:17,526 - DEBUG - VRF ids for VN ctest-vn-87509741: {} 2025-06-20 08:32:17,526 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-20 08:32:17,535 - DEBUG - Requesting: http://10.0.0.240:8082/domain/d8080647-d0b0-4f04-848e-3931b9c38896 2025-06-20 08:32:17,552 - DEBUG - Requesting: http://10.0.0.240:8082/project/7b9c8d93-3e6d-4842-bbe2-90b6c24208f7 2025-06-20 08:32:17,638 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/154943b0-b035-4de5-b1e1-f5db31eb4dae 2025-06-20 08:32:17,658 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/154943b0-b035-4de5-b1e1-f5db31eb4dae 2025-06-20 08:32:17,672 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/38f28b68-1853-4bd6-9c23-c4f602db1270 2025-06-20 08:32:17,685 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/38f28b68-1853-4bd6-9c23-c4f602db1270 2025-06-20 08:32:17,695 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/a95bffe9-8e6d-4347-b1f5-ce1e6f7ace72 2025-06-20 08:32:17,705 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 08:32:17,705 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/154943b0-b035-4de5-b1e1-f5db31eb4dae 2025-06-20 08:32:17,716 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/38f28b68-1853-4bd6-9c23-c4f602db1270 2025-06-20 08:32:17,742 - INFO - Verified VN network id 9 for VN 154943b0-b035-4de5-b1e1-f5db31eb4dae 2025-06-20 08:32:17,742 - INFO - Verifications in API Server for VN ctest-vn-47141956 passed 2025-06-20 08:32:17,742 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/154943b0-b035-4de5-b1e1-f5db31eb4dae 2025-06-20 08:32:17,761 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/38f28b68-1853-4bd6-9c23-c4f602db1270 2025-06-20 08:32:17,775 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/38f28b68-1853-4bd6-9c23-c4f602db1270 2025-06-20 08:32:17,785 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/a95bffe9-8e6d-4347-b1f5-ce1e6f7ace72 2025-06-20 08:32:17,803 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-47141956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62963883', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1533831574245952997', 'uuid-lslong': '12817796336257289646'}, 'enable': 'true', 'created': '2025-06-20T08:32:15', 'last-modified': '2025-06-20T08:32:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.636988'} 2025-06-20 08:32:17,810 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 08:32:17,810 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47141956 passed 2025-06-20 08:32:17,811 - DEBUG - ====Verifying policy data for ctest-vn-47141956 in API_Server ====== 2025-06-20 08:32:17,811 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-20 08:32:17,827 - DEBUG - Requesting: http://10.0.0.240:8082/domain/d8080647-d0b0-4f04-848e-3931b9c38896 2025-06-20 08:32:17,842 - DEBUG - Requesting: http://10.0.0.240:8082/project/7b9c8d93-3e6d-4842-bbe2-90b6c24208f7 2025-06-20 08:32:17,921 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/154943b0-b035-4de5-b1e1-f5db31eb4dae 2025-06-20 08:32:17,933 - DEBUG - ==>Verifying data for policy with id: 8a1adfc9-21d1-410d-9094-81057faf18ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-62963883', 'ctest-policy-allow-all-63889958'] 2025-06-20 08:32:17,933 - INFO - VN ctest-vn-47141956 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 08:32:17,933 - DEBUG - Verifying the vn in opserver 2025-06-20 08:32:17,933 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-47141956 virtual network link through opserver 10.0.0.240 2025-06-20 08:32:17,933 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-06-20 08:32:17,947 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-47141956', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-47141956?flat'} 2025-06-20 08:32:17,947 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-47141956 is found in opserver 2025-06-20 08:32:17,962 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 08:32:17,971 - DEBUG - VRF ids for VN ctest-vn-47141956: {} 2025-06-20 08:32:18,046 - DEBUG - Services list from nova: [, , ] 2025-06-20 08:32:19,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3503-1) 2025-06-20 08:32:20,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3503-1) 2025-06-20 08:32:20,633 - INFO - Waiting for VM ctest-TestBasicPolicy-62963883-29788449 to be up.. 2025-06-20 08:32:20,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 08:32:25,853 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:32:25,853 - INFO - VM name : ctest-TestBasicPolicy-62963883-29788449 2025-06-20 08:32:25,964 - DEBUG - VM ctest-TestBasicPolicy-62963883-29788449 ID is 37555eea-02b1-45e8-aa1e-8bdd2865a6fe 2025-06-20 08:32:25,989 - DEBUG - VM ctest-TestBasicPolicy-62963883-29788449 launched on Node cn-jenkins-deploy-platform-ansible-os-3503-1 2025-06-20 08:32:26,103 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/37555eea-02b1-45e8-aa1e-8bdd2865a6fe 2025-06-20 08:32:26,117 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/abf4d881-36d0-4b83-80ed-87ad7ce70144 2025-06-20 08:32:29,472 - 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 1003ms') 2025-06-20 08:32:29,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62963883-29788449 failed! 2025-06-20 08:32:29,536 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62963883:ctest-vn-87509741 is 190.60.95.193 and allocation pool is NOT set 2025-06-20 08:32:31,603 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.44 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 = 3.442/4.340/5.239/0.898 ms') 2025-06-20 08:32:31,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62963883-29788449 passed 2025-06-20 08:32:31,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:32:31,768 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62963883-29788449, IP 190.60.95.195, Port 22 2025-06-20 08:32:31,838 - 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-06-20 08:32:31,947 - DEBUG - VM ctest-TestBasicPolicy-62963883-29788449 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-20 08:32:36,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:32:36,948 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62963883-29788449, IP 190.60.95.195, Port 22 2025-06-20 08:32:37,116 - DEBUG - VM ctest-TestBasicPolicy-62963883-29788449 is ready for SSH connections 2025-06-20 08:32:37,116 - INFO - Waiting for VM ctest-TestBasicPolicy-62963883-76061796 to be up.. 2025-06-20 08:32:37,222 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:32:37,223 - INFO - VM name : ctest-TestBasicPolicy-62963883-76061796 2025-06-20 08:32:37,324 - DEBUG - VM ctest-TestBasicPolicy-62963883-76061796 ID is 4b36c299-7179-43cc-89de-04afc7f6abcd 2025-06-20 08:32:37,324 - DEBUG - VM ctest-TestBasicPolicy-62963883-76061796 launched on Node cn-jenkins-deploy-platform-ansible-os-3503-1 2025-06-20 08:32:37,429 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/4b36c299-7179-43cc-89de-04afc7f6abcd 2025-06-20 08:32:37,443 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/7ed9dbcd-0e77-4c87-9b02-903ea66e3afe 2025-06-20 08:32:38,704 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.487 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.487/1.845/3.204/1.358 ms') 2025-06-20 08:32:38,704 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62963883-76061796 passed 2025-06-20 08:32:38,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:32:38,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62963883-76061796, IP 96.213.110.67, Port 22 2025-06-20 08:32:39,039 - DEBUG - VM ctest-TestBasicPolicy-62963883-76061796 is ready for SSH connections 2025-06-20 08:32:39,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:32:39,039 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.213.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-06-20 08:32:39,039 - DEBUG - ping -s 56 -c 3 -W 1 96.213.110.67 2025-06-20 08:32:43,243 - DEBUG - PING 96.213.110.67 (96.213.110.67): 56 data bytes 64 bytes from 96.213.110.67: seq=0 ttl=63 time=4.594 ms 64 bytes from 96.213.110.67: seq=1 ttl=63 time=1.331 ms 64 bytes from 96.213.110.67: seq=2 ttl=63 time=1.035 ms --- 96.213.110.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.035/2.320/4.594 ms 2025-06-20 08:32:43,243 - INFO - Ping to IP 96.213.110.67 from VM ctest-TestBasicPolicy-62963883-29788449 passed 2025-06-20 08:32:43,431 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8a1adfc9-21d1-410d-9094-81057faf18ac", "href": "http://10.0.0.240:8082/network-policy/8a1adfc9-21d1-410d-9094-81057faf18ac"}} 2025-06-20 08:32:43,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:32:43,432 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.213.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-06-20 08:32:43,432 - DEBUG - ping -s 56 -c 3 -W 1 96.213.110.67 2025-06-20 08:32:46,671 - DEBUG - PING 96.213.110.67 (96.213.110.67): 56 data bytes 64 bytes from 96.213.110.67: seq=0 ttl=63 time=1.898 ms --- 96.213.110.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.898/1.898/1.898 ms 2025-06-20 08:32:46,671 - WARNING - Ping to IP 96.213.110.67 from VM ctest-TestBasicPolicy-62963883-29788449 failed 2025-06-20 08:32:46,672 - INFO - Deleting VM ctest-TestBasicPolicy-62963883-76061796 2025-06-20 08:32:46,770 - INFO - Deleting VM ctest-TestBasicPolicy-62963883-29788449 2025-06-20 08:32:47,263 - INFO - Deleted policy ctest-policy-allow-all-63889958 2025-06-20 08:32:47,263 - INFO - Deleting VN ctest-vn-47141956 2025-06-20 08:32:47,316 - DEBUG - VN 154943b0-b035-4de5-b1e1-f5db31eb4dae still in use: Unable to complete operation on network 154943b0-b035-4de5-b1e1-f5db31eb4dae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8ef9f6a8-959b-4fc3-bddc-7944e68fba8c'] 2025-06-20 08:32:47,317 - WARNING - Deleting VN ctest-vn-47141956 failed..Will retry 2025-06-20 08:32:49,460 - DEBUG - Response for deleting network () 2025-06-20 08:32:49,461 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/38f28b68-1853-4bd6-9c23-c4f602db1270 2025-06-20 08:32:49,469 - DEBUG - Response Code: 404 2025-06-20 08:32:49,469 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-20 08:32:49,479 - DEBUG - Requesting: http://10.0.0.240:8082/domain/d8080647-d0b0-4f04-848e-3931b9c38896 2025-06-20 08:32:49,541 - DEBUG - Requesting: http://10.0.0.240:8082/project/7b9c8d93-3e6d-4842-bbe2-90b6c24208f7 2025-06-20 08:32:49,627 - INFO - Validated that VN ctest-vn-47141956 is not found in API Server 2025-06-20 08:32:49,641 - DEBUG - VN ctest-vn-47141956 is not present in Agent 10.0.0.240 2025-06-20 08:32:49,641 - INFO - Validated that VN ctest-vn-47141956 is not in any agent 2025-06-20 08:32:49,660 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47141956 info 2025-06-20 08:32:49,661 - INFO - Deleting VN ctest-vn-87509741 2025-06-20 08:32:49,808 - DEBUG - Response for deleting network () 2025-06-20 08:32:49,808 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c8a8fd74-9e1a-4325-9360-344cf2ccb088 2025-06-20 08:32:49,819 - DEBUG - Response Code: 404 2025-06-20 08:32:49,819 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-20 08:32:49,828 - DEBUG - Requesting: http://10.0.0.240:8082/domain/d8080647-d0b0-4f04-848e-3931b9c38896 2025-06-20 08:32:49,886 - DEBUG - Requesting: http://10.0.0.240:8082/project/7b9c8d93-3e6d-4842-bbe2-90b6c24208f7 2025-06-20 08:32:49,981 - INFO - Validated that VN ctest-vn-87509741 is not found in API Server 2025-06-20 08:32:49,995 - DEBUG - VN ctest-vn-87509741 is not present in Agent 10.0.0.240 2025-06-20 08:32:49,996 - INFO - Validated that VN ctest-vn-87509741 is not in any agent 2025-06-20 08:32:50,017 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87509741 info 2025-06-20 08:32:50,283 - DEBUG - No XMPP flaps were noticed during the test 2025-06-20 08:32:50,283 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-06-20 08:32:50,283 - INFO - -------------------------------------------------------------------------------- 2025-06-20 08:32:51,048 - INFO - Deleted project: ctest-TestBasicPolicy-62963883, ID : 7b9c8d93-3e6d-4842-bbe2-90b6c24208f7