2025-09-23 22:49:36,122 - INFO - Domain Default found not creating 2025-09-23 22:49:36,254 - INFO - Project ctest-TestBasicPolicy-16191555 not found, creating it 2025-09-23 22:49:36,682 - INFO - Created Project:ctest-TestBasicPolicy-16191555, ID : 8deda2b0-0ef4-40d2-8f46-b85f2878f88d 2025-09-23 22:49:38,054 - INFO - ================================================================================ 2025-09-23 22:49:38,055 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-23 22:49:38,055 - 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-23 22:49:38,312 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-23 22:49:38,312 - INFO - Initial checks done. Running the testcase now 2025-09-23 22:49:38,312 - INFO - 2025-09-23 22:49:39,072 - DEBUG - Response for create_network : {'network': {'id': 'c01075df-d8bc-46c3-8759-230549fff5b5', 'name': 'ctest-vn-72528844', 'tenant_id': '8deda2b00ef440d28f46b85f2878f88d', 'project_id': '8deda2b00ef440d28f46b85f2878f88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16191555', 'ctest-vn-72528844'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 22:49:39,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '16584c6d-aaf3-40c6-8bd0-695d19fce361', 'name': '', 'tenant_id': '8deda2b00ef440d28f46b85f2878f88d', 'network_id': 'c01075df-d8bc-46c3-8759-230549fff5b5', 'ip_version': 4, 'cidr': '54.166.133.192/26', 'allocation_pools': [{'start': '54.166.133.194', 'end': '54.166.133.254'}], 'gateway_ip': '54.166.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.166.133.194', 'tags': [], 'project_id': '8deda2b00ef440d28f46b85f2878f88d'}} 2025-09-23 22:49:39,236 - INFO - Created VN ctest-vn-72528844 2025-09-23 22:49:39,286 - DEBUG - VN ctest-vn-72528844 UUID is c01075df-d8bc-46c3-8759-230549fff5b5 2025-09-23 22:49:39,591 - DEBUG - Response for create_network : {'network': {'id': '81cfaeb5-b59a-4653-b4bc-3db4d43bb222', 'name': 'ctest-vn-48882760', 'tenant_id': '8deda2b00ef440d28f46b85f2878f88d', 'project_id': '8deda2b00ef440d28f46b85f2878f88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16191555', 'ctest-vn-48882760'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 22:49:39,760 - DEBUG - Response for create_subnet : {'subnet': {'id': '6648cce5-dbbe-4454-8514-8fc86d9d4450', 'name': '', 'tenant_id': '8deda2b00ef440d28f46b85f2878f88d', 'network_id': '81cfaeb5-b59a-4653-b4bc-3db4d43bb222', 'ip_version': 4, 'cidr': '31.209.143.64/26', 'allocation_pools': [{'start': '31.209.143.66', 'end': '31.209.143.126'}], 'gateway_ip': '31.209.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.209.143.66', 'tags': [], 'project_id': '8deda2b00ef440d28f46b85f2878f88d'}} 2025-09-23 22:49:39,777 - INFO - Created VN ctest-vn-48882760 2025-09-23 22:49:39,826 - DEBUG - VN ctest-vn-48882760 UUID is 81cfaeb5-b59a-4653-b4bc-3db4d43bb222 2025-09-23 22:49:39,970 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-72528844, 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-16191555:ctest-vn-48882760, 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-23 22:49:40,258 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c01075df-d8bc-46c3-8759-230549fff5b5', 'name': 'ctest-vn-72528844', 'tenant_id': '8deda2b00ef440d28f46b85f2878f88d', 'project_id': '8deda2b00ef440d28f46b85f2878f88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16584c6d-aaf3-40c6-8bd0-695d19fce361'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16191555', 'ctest-vn-72528844'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16191555', 'ctest-policy-allow-all-23542375']], 'subnet_ipam': [{'subnet_cidr': '54.166.133.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 22:49:40,522 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81cfaeb5-b59a-4653-b4bc-3db4d43bb222', 'name': 'ctest-vn-48882760', 'tenant_id': '8deda2b00ef440d28f46b85f2878f88d', 'project_id': '8deda2b00ef440d28f46b85f2878f88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6648cce5-dbbe-4454-8514-8fc86d9d4450'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16191555', 'ctest-vn-48882760'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16191555', 'ctest-policy-allow-all-23542375']], 'subnet_ipam': [{'subnet_cidr': '31.209.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 22:49:40,670 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-23 22:49:40,968 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-23 22:49:40,995 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56cd4594-9fee-41ac-90cd-8796d0805d0d 2025-09-23 22:49:41,006 - DEBUG - Requesting: http://10.0.0.57:8082/project/8deda2b0-0ef4-40d2-8f46-b85f2878f88d 2025-09-23 22:49:41,076 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c01075df-d8bc-46c3-8759-230549fff5b5 2025-09-23 22:49:41,085 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c01075df-d8bc-46c3-8759-230549fff5b5 2025-09-23 22:49:41,093 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3db37188-ada5-400a-9c20-b6f34ab7de80 2025-09-23 22:49:41,099 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3db37188-ada5-400a-9c20-b6f34ab7de80 2025-09-23 22:49:41,104 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/1b34b08a-e850-48d3-a033-181788af456e 2025-09-23 22:49:41,109 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 22:49:41,109 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c01075df-d8bc-46c3-8759-230549fff5b5 2025-09-23 22:49:41,116 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3db37188-ada5-400a-9c20-b6f34ab7de80 2025-09-23 22:49:41,127 - INFO - Verified VN network id 11 for VN c01075df-d8bc-46c3-8759-230549fff5b5 2025-09-23 22:49:41,127 - INFO - Verifications in API Server for VN ctest-vn-72528844 passed 2025-09-23 22:49:41,127 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c01075df-d8bc-46c3-8759-230549fff5b5 2025-09-23 22:49:41,134 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3db37188-ada5-400a-9c20-b6f34ab7de80 2025-09-23 22:49:41,140 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3db37188-ada5-400a-9c20-b6f34ab7de80 2025-09-23 22:49:41,145 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/1b34b08a-e850-48d3-a033-181788af456e 2025-09-23 22:49:41,154 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-72528844', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16191555', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13839691259183908547', 'uuid-lslong': '9752864973670839733'}, 'enable': 'true', 'created': '2025-09-23T22:49:39', 'last-modified': '2025-09-23T22:49:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915769'} 2025-09-23 22:49:41,159 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 22:49:41,159 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72528844 passed 2025-09-23 22:49:41,159 - DEBUG - ====Verifying policy data for ctest-vn-72528844 in API_Server ====== 2025-09-23 22:49:41,159 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-23 22:49:41,163 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56cd4594-9fee-41ac-90cd-8796d0805d0d 2025-09-23 22:49:41,173 - DEBUG - Requesting: http://10.0.0.57:8082/project/8deda2b0-0ef4-40d2-8f46-b85f2878f88d 2025-09-23 22:49:41,238 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c01075df-d8bc-46c3-8759-230549fff5b5 2025-09-23 22:49:41,246 - DEBUG - ==>Verifying data for policy with id: 49033b3c-6210-42b4-9758-341e47eb7052, fqn: ['default-domain', 'ctest-TestBasicPolicy-16191555', 'ctest-policy-allow-all-23542375'] 2025-09-23 22:49:41,246 - INFO - VN ctest-vn-72528844 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 22:49:41,246 - DEBUG - Verifying the vn in opserver 2025-09-23 22:49:41,246 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-72528844 virtual network link through opserver 10.0.0.57 2025-09-23 22:49:41,246 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-23 22:49:41,535 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-23 22:49:41,584 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-72528844', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-72528844?flat'} 2025-09-23 22:49:41,584 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-72528844 is found in opserver 2025-09-23 22:49:41,592 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 22:49:41,596 - DEBUG - VRF ids for VN ctest-vn-72528844: {} 2025-09-23 22:49:41,596 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-23 22:49:41,602 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56cd4594-9fee-41ac-90cd-8796d0805d0d 2025-09-23 22:49:41,611 - DEBUG - Requesting: http://10.0.0.57:8082/project/8deda2b0-0ef4-40d2-8f46-b85f2878f88d 2025-09-23 22:49:41,679 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/81cfaeb5-b59a-4653-b4bc-3db4d43bb222 2025-09-23 22:49:41,689 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/81cfaeb5-b59a-4653-b4bc-3db4d43bb222 2025-09-23 22:49:41,696 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/69cc133c-7436-4974-b036-0f5da2589984 2025-09-23 22:49:41,702 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/69cc133c-7436-4974-b036-0f5da2589984 2025-09-23 22:49:41,708 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b84cbf60-738a-4173-809e-cfd58b0197f3 2025-09-23 22:49:41,716 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 22:49:41,716 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/81cfaeb5-b59a-4653-b4bc-3db4d43bb222 2025-09-23 22:49:41,725 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/69cc133c-7436-4974-b036-0f5da2589984 2025-09-23 22:49:41,737 - INFO - Verified VN network id 12 for VN 81cfaeb5-b59a-4653-b4bc-3db4d43bb222 2025-09-23 22:49:41,737 - INFO - Verifications in API Server for VN ctest-vn-48882760 passed 2025-09-23 22:49:41,737 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/81cfaeb5-b59a-4653-b4bc-3db4d43bb222 2025-09-23 22:49:41,744 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/69cc133c-7436-4974-b036-0f5da2589984 2025-09-23 22:49:41,750 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/69cc133c-7436-4974-b036-0f5da2589984 2025-09-23 22:49:41,756 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b84cbf60-738a-4173-809e-cfd58b0197f3 2025-09-23 22:49:41,766 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-48882760', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16191555', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9353887046530909779', 'uuid-lslong': '13023352069312721442'}, 'enable': 'true', 'created': '2025-09-23T22:49:39', 'last-modified': '2025-09-23T22:49:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.308778'} 2025-09-23 22:49:41,770 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 22:49:41,771 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48882760 passed 2025-09-23 22:49:41,771 - DEBUG - ====Verifying policy data for ctest-vn-48882760 in API_Server ====== 2025-09-23 22:49:41,771 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-23 22:49:41,777 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56cd4594-9fee-41ac-90cd-8796d0805d0d 2025-09-23 22:49:41,786 - DEBUG - Requesting: http://10.0.0.57:8082/project/8deda2b0-0ef4-40d2-8f46-b85f2878f88d 2025-09-23 22:49:41,858 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/81cfaeb5-b59a-4653-b4bc-3db4d43bb222 2025-09-23 22:49:41,866 - DEBUG - ==>Verifying data for policy with id: 49033b3c-6210-42b4-9758-341e47eb7052, fqn: ['default-domain', 'ctest-TestBasicPolicy-16191555', 'ctest-policy-allow-all-23542375'] 2025-09-23 22:49:41,866 - INFO - VN ctest-vn-48882760 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 22:49:41,866 - DEBUG - Verifying the vn in opserver 2025-09-23 22:49:41,866 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-48882760 virtual network link through opserver 10.0.0.57 2025-09-23 22:49:41,866 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-23 22:49:41,875 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-48882760', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-48882760?flat'} 2025-09-23 22:49:41,875 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-48882760 is found in opserver 2025-09-23 22:49:41,883 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 22:49:41,887 - DEBUG - VRF ids for VN ctest-vn-48882760: {} 2025-09-23 22:49:41,938 - DEBUG - Services list from nova: [, , ] 2025-09-23 22:49:42,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4179-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4179-1) 2025-09-23 22:49:44,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4179-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4179-1) 2025-09-23 22:49:44,038 - INFO - Waiting for VM ctest-TestBasicPolicy-16191555-23487340 to be up.. 2025-09-23 22:49:44,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 22:49:49,179 - DEBUG - VM is in ACTIVE state now 2025-09-23 22:49:49,179 - INFO - VM name : ctest-TestBasicPolicy-16191555-23487340 2025-09-23 22:49:49,249 - DEBUG - VM ctest-TestBasicPolicy-16191555-23487340 ID is a1c305fe-9e7c-4d7b-b0cf-bab643eab54b 2025-09-23 22:49:49,409 - DEBUG - VM ctest-TestBasicPolicy-16191555-23487340 launched on Node cn-jenkins-deploy-platform-ansible-os-4179-1 2025-09-23 22:49:49,492 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a1c305fe-9e7c-4d7b-b0cf-bab643eab54b 2025-09-23 22:49:49,501 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/991e8582-4077-4ee2-8eea-a1f09ed72d2f 2025-09-23 22:49:52,756 - 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 1018ms') 2025-09-23 22:49:52,756 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16191555-23487340 failed! 2025-09-23 22:49:52,810 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16191555:ctest-vn-72528844 is 54.166.133.193 and allocation pool is NOT set 2025-09-23 22:49:54,868 - 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=4.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.39 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.394/2.922/4.451/1.528 ms') 2025-09-23 22:49:54,868 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16191555-23487340 passed 2025-09-23 22:49:55,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:49:55,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16191555-23487340, IP 54.166.133.195, Port 22 2025-09-23 22:49:55,071 - 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-09-23 22:49:55,138 - DEBUG - VM ctest-TestBasicPolicy-16191555-23487340 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-23 22:50:00,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:50:00,139 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16191555-23487340, IP 54.166.133.195, Port 22 2025-09-23 22:50:00,308 - DEBUG - VM ctest-TestBasicPolicy-16191555-23487340 is ready for SSH connections 2025-09-23 22:50:00,308 - INFO - Waiting for VM ctest-TestBasicPolicy-16191555-45951066 to be up.. 2025-09-23 22:50:00,377 - DEBUG - VM is in ACTIVE state now 2025-09-23 22:50:00,378 - INFO - VM name : ctest-TestBasicPolicy-16191555-45951066 2025-09-23 22:50:00,452 - DEBUG - VM ctest-TestBasicPolicy-16191555-45951066 ID is c5bdaf33-450c-4949-b71e-aa27d7f646f2 2025-09-23 22:50:00,452 - DEBUG - VM ctest-TestBasicPolicy-16191555-45951066 launched on Node cn-jenkins-deploy-platform-ansible-os-4179-1 2025-09-23 22:50:00,521 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c5bdaf33-450c-4949-b71e-aa27d7f646f2 2025-09-23 22:50:00,528 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/5b9dc21c-7304-483f-a523-c65c6d364982 2025-09-23 22:50:01,754 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.504/1.732/2.961/1.228 ms') 2025-09-23 22:50:01,754 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16191555-45951066 passed 2025-09-23 22:50:01,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:50:01,903 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16191555-45951066, IP 31.209.143.67, Port 22 2025-09-23 22:50:02,065 - DEBUG - VM ctest-TestBasicPolicy-16191555-45951066 is ready for SSH connections 2025-09-23 22:50:02,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:50:02,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.209.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-23 22:50:02,066 - DEBUG - ping -s 56 -c 3 -W 1 31.209.143.67 2025-09-23 22:50:05,747 - DEBUG - PING 31.209.143.67 (31.209.143.67): 56 data bytes 64 bytes from 31.209.143.67: seq=0 ttl=63 time=3.993 ms 64 bytes from 31.209.143.67: seq=1 ttl=63 time=0.861 ms 64 bytes from 31.209.143.67: seq=2 ttl=63 time=1.123 ms --- 31.209.143.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/1.992/3.993 ms 2025-09-23 22:50:05,747 - INFO - Ping to IP 31.209.143.67 from VM ctest-TestBasicPolicy-16191555-23487340 passed 2025-09-23 22:50:05,926 - DEBUG - Policy Update Response {"network-policy": {"uuid": "49033b3c-6210-42b4-9758-341e47eb7052", "href": "http://10.0.0.57:8082/network-policy/49033b3c-6210-42b4-9758-341e47eb7052"}} 2025-09-23 22:50:05,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:50:05,926 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.209.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-23 22:50:05,926 - DEBUG - ping -s 56 -c 3 -W 1 31.209.143.67 2025-09-23 22:50:09,122 - DEBUG - PING 31.209.143.67 (31.209.143.67): 56 data bytes --- 31.209.143.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 22:50:09,122 - WARNING - Ping to IP 31.209.143.67 from VM ctest-TestBasicPolicy-16191555-23487340 failed 2025-09-23 22:50:09,122 - INFO - Deleting VM ctest-TestBasicPolicy-16191555-45951066 2025-09-23 22:50:09,194 - INFO - Deleting VM ctest-TestBasicPolicy-16191555-23487340 2025-09-23 22:50:09,578 - INFO - Deleted policy ctest-policy-allow-all-23542375 2025-09-23 22:50:09,578 - INFO - Deleting VN ctest-vn-48882760 2025-09-23 22:50:09,616 - DEBUG - VN 81cfaeb5-b59a-4653-b4bc-3db4d43bb222 still in use: Unable to complete operation on network 81cfaeb5-b59a-4653-b4bc-3db4d43bb222. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-04209980-4c10-4780-adde-8cefe54fc3cb'] 2025-09-23 22:50:09,616 - WARNING - Deleting VN ctest-vn-48882760 failed..Will retry 2025-09-23 22:50:11,718 - DEBUG - Response for deleting network () 2025-09-23 22:50:11,718 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/69cc133c-7436-4974-b036-0f5da2589984 2025-09-23 22:50:11,724 - DEBUG - Response Code: 404 2025-09-23 22:50:11,724 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-23 22:50:11,732 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56cd4594-9fee-41ac-90cd-8796d0805d0d 2025-09-23 22:50:11,783 - DEBUG - Requesting: http://10.0.0.57:8082/project/8deda2b0-0ef4-40d2-8f46-b85f2878f88d 2025-09-23 22:50:11,852 - INFO - Validated that VN ctest-vn-48882760 is not found in API Server 2025-09-23 22:50:11,862 - DEBUG - VN ctest-vn-48882760 is not present in Agent 10.0.0.57 2025-09-23 22:50:11,862 - INFO - Validated that VN ctest-vn-48882760 is not in any agent 2025-09-23 22:50:11,874 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48882760 info 2025-09-23 22:50:11,875 - INFO - Deleting VN ctest-vn-72528844 2025-09-23 22:50:11,976 - DEBUG - Response for deleting network () 2025-09-23 22:50:11,976 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3db37188-ada5-400a-9c20-b6f34ab7de80 2025-09-23 22:50:11,983 - DEBUG - Response Code: 404 2025-09-23 22:50:11,983 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-23 22:50:11,988 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56cd4594-9fee-41ac-90cd-8796d0805d0d 2025-09-23 22:50:12,039 - DEBUG - Requesting: http://10.0.0.57:8082/project/8deda2b0-0ef4-40d2-8f46-b85f2878f88d 2025-09-23 22:50:12,112 - INFO - Validated that VN ctest-vn-72528844 is not found in API Server 2025-09-23 22:50:12,123 - DEBUG - VN ctest-vn-72528844 is not present in Agent 10.0.0.57 2025-09-23 22:50:12,123 - INFO - Validated that VN ctest-vn-72528844 is not in any agent 2025-09-23 22:50:12,136 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72528844 info 2025-09-23 22:50:12,393 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 22:50:12,393 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-09-23 22:50:12,393 - INFO - -------------------------------------------------------------------------------- 2025-09-23 22:50:13,086 - INFO - Deleted project: ctest-TestBasicPolicy-16191555, ID : 8deda2b0-0ef4-40d2-8f46-b85f2878f88d