2025-07-08 15:42:12,643 - INFO - Domain Default found not creating 2025-07-08 15:42:12,897 - INFO - Project ctest-TestBasicPolicy-61636042 not found, creating it 2025-07-08 15:42:13,557 - INFO - Created Project:ctest-TestBasicPolicy-61636042, ID : 1771fc62-58fb-470a-9ba6-afcabca0c55c 2025-07-08 15:42:15,691 - INFO - ================================================================================ 2025-07-08 15:42:15,691 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-08 15:42:15,691 - 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-07-08 15:42:16,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-08 15:42:16,020 - INFO - Initial checks done. Running the testcase now 2025-07-08 15:42:16,021 - INFO - 2025-07-08 15:42:16,881 - DEBUG - Response for create_network : {'network': {'id': '91b7e63a-448b-4133-9ea7-67cc1692fe78', 'name': 'ctest-vn-22404691', 'tenant_id': '1771fc6258fb470a9ba6afcabca0c55c', 'project_id': '1771fc6258fb470a9ba6afcabca0c55c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61636042', 'ctest-vn-22404691'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 15:42:17,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a26ba9b-2613-4b8c-ae6c-a1d9f12c0fc3', 'name': '', 'tenant_id': '1771fc6258fb470a9ba6afcabca0c55c', 'network_id': '91b7e63a-448b-4133-9ea7-67cc1692fe78', 'ip_version': 4, 'cidr': '55.90.101.192/26', 'allocation_pools': [{'start': '55.90.101.194', 'end': '55.90.101.254'}], 'gateway_ip': '55.90.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.90.101.194', 'tags': [], 'project_id': '1771fc6258fb470a9ba6afcabca0c55c'}} 2025-07-08 15:42:17,223 - INFO - Created VN ctest-vn-22404691 2025-07-08 15:42:17,289 - DEBUG - VN ctest-vn-22404691 UUID is 91b7e63a-448b-4133-9ea7-67cc1692fe78 2025-07-08 15:42:17,859 - DEBUG - Response for create_network : {'network': {'id': '75730020-7ea0-492f-a516-00cbf8f67f9f', 'name': 'ctest-vn-30422362', 'tenant_id': '1771fc6258fb470a9ba6afcabca0c55c', 'project_id': '1771fc6258fb470a9ba6afcabca0c55c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61636042', 'ctest-vn-30422362'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 15:42:18,190 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb0fd47f-8bd3-488b-aed4-faa131d6cbf3', 'name': '', 'tenant_id': '1771fc6258fb470a9ba6afcabca0c55c', 'network_id': '75730020-7ea0-492f-a516-00cbf8f67f9f', 'ip_version': 4, 'cidr': '99.73.173.0/26', 'allocation_pools': [{'start': '99.73.173.2', 'end': '99.73.173.62'}], 'gateway_ip': '99.73.173.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.73.173.2', 'tags': [], 'project_id': '1771fc6258fb470a9ba6afcabca0c55c'}} 2025-07-08 15:42:18,227 - INFO - Created VN ctest-vn-30422362 2025-07-08 15:42:18,288 - DEBUG - VN ctest-vn-30422362 UUID is 75730020-7ea0-492f-a516-00cbf8f67f9f 2025-07-08 15:42:18,490 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-22404691, 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-61636042:ctest-vn-30422362, 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-07-08 15:42:18,967 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91b7e63a-448b-4133-9ea7-67cc1692fe78', 'name': 'ctest-vn-22404691', 'tenant_id': '1771fc6258fb470a9ba6afcabca0c55c', 'project_id': '1771fc6258fb470a9ba6afcabca0c55c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a26ba9b-2613-4b8c-ae6c-a1d9f12c0fc3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61636042', 'ctest-vn-22404691'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61636042', 'ctest-policy-allow-all-35482228']], 'subnet_ipam': [{'subnet_cidr': '55.90.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-08 15:42:19,361 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75730020-7ea0-492f-a516-00cbf8f67f9f', 'name': 'ctest-vn-30422362', 'tenant_id': '1771fc6258fb470a9ba6afcabca0c55c', 'project_id': '1771fc6258fb470a9ba6afcabca0c55c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb0fd47f-8bd3-488b-aed4-faa131d6cbf3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61636042', 'ctest-vn-30422362'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61636042', 'ctest-policy-allow-all-35482228']], 'subnet_ipam': [{'subnet_cidr': '99.73.173.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-08 15:42:19,556 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 15:42:19,899 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 15:42:19,956 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69a0b9d8-0a54-4563-925e-43a30f6e3510 2025-07-08 15:42:20,006 - DEBUG - Requesting: http://10.0.0.50:8082/project/1771fc62-58fb-470a-9ba6-afcabca0c55c 2025-07-08 15:42:20,116 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/91b7e63a-448b-4133-9ea7-67cc1692fe78 2025-07-08 15:42:20,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/91b7e63a-448b-4133-9ea7-67cc1692fe78 2025-07-08 15:42:20,171 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7f1d0be8-f717-404e-80bc-69f2cd3bdc2d 2025-07-08 15:42:20,189 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7f1d0be8-f717-404e-80bc-69f2cd3bdc2d 2025-07-08 15:42:20,211 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/805944c9-334a-4f68-a88d-1e3ff7ed6724 2025-07-08 15:42:20,234 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-08 15:42:20,234 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/91b7e63a-448b-4133-9ea7-67cc1692fe78 2025-07-08 15:42:20,252 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7f1d0be8-f717-404e-80bc-69f2cd3bdc2d 2025-07-08 15:42:20,293 - INFO - Verified VN network id 7 for VN 91b7e63a-448b-4133-9ea7-67cc1692fe78 2025-07-08 15:42:20,293 - INFO - Verifications in API Server for VN ctest-vn-22404691 passed 2025-07-08 15:42:20,294 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/91b7e63a-448b-4133-9ea7-67cc1692fe78 2025-07-08 15:42:20,309 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7f1d0be8-f717-404e-80bc-69f2cd3bdc2d 2025-07-08 15:42:20,320 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7f1d0be8-f717-404e-80bc-69f2cd3bdc2d 2025-07-08 15:42:20,331 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/805944c9-334a-4f68-a88d-1e3ff7ed6724 2025-07-08 15:42:20,363 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-22404691', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61636042', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10500114194170069299', 'uuid-lslong': '11432220305353014904'}, 'enable': 'true', 'created': '2025-07-08T15:42:16', 'last-modified': '2025-07-08T15:42:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.450373'} 2025-07-08 15:42:20,379 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-08 15:42:20,380 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22404691 passed 2025-07-08 15:42:20,380 - DEBUG - ====Verifying policy data for ctest-vn-22404691 in API_Server ====== 2025-07-08 15:42:20,380 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 15:42:20,393 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69a0b9d8-0a54-4563-925e-43a30f6e3510 2025-07-08 15:42:20,414 - DEBUG - Requesting: http://10.0.0.50:8082/project/1771fc62-58fb-470a-9ba6-afcabca0c55c 2025-07-08 15:42:20,541 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/91b7e63a-448b-4133-9ea7-67cc1692fe78 2025-07-08 15:42:20,563 - DEBUG - ==>Verifying data for policy with id: ea21ee73-b0e8-425f-acf0-3be8cc378932, fqn: ['default-domain', 'ctest-TestBasicPolicy-61636042', 'ctest-policy-allow-all-35482228'] 2025-07-08 15:42:20,563 - INFO - VN ctest-vn-22404691 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-08 15:42:20,563 - DEBUG - Verifying the vn in opserver 2025-07-08 15:42:20,563 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-22404691 virtual network link through opserver 10.0.0.50 2025-07-08 15:42:20,563 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-08 15:42:20,877 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-08 15:42:20,976 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-22404691', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-22404691?flat'} 2025-07-08 15:42:20,976 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-22404691 is found in opserver 2025-07-08 15:42:21,007 - DEBUG - Do not have enough data to verify VN in agent 2025-07-08 15:42:21,022 - DEBUG - VRF ids for VN ctest-vn-22404691: {} 2025-07-08 15:42:21,022 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 15:42:21,030 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69a0b9d8-0a54-4563-925e-43a30f6e3510 2025-07-08 15:42:21,048 - DEBUG - Requesting: http://10.0.0.50:8082/project/1771fc62-58fb-470a-9ba6-afcabca0c55c 2025-07-08 15:42:21,158 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/75730020-7ea0-492f-a516-00cbf8f67f9f 2025-07-08 15:42:21,186 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/75730020-7ea0-492f-a516-00cbf8f67f9f 2025-07-08 15:42:21,210 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9d7347bd-23ec-4ec1-907e-e317cb580d54 2025-07-08 15:42:21,227 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9d7347bd-23ec-4ec1-907e-e317cb580d54 2025-07-08 15:42:21,245 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0a1b6148-e1f2-4a70-999f-c7bbd4fec3af 2025-07-08 15:42:21,265 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-08 15:42:21,265 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/75730020-7ea0-492f-a516-00cbf8f67f9f 2025-07-08 15:42:21,290 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9d7347bd-23ec-4ec1-907e-e317cb580d54 2025-07-08 15:42:21,319 - INFO - Verified VN network id 8 for VN 75730020-7ea0-492f-a516-00cbf8f67f9f 2025-07-08 15:42:21,320 - INFO - Verifications in API Server for VN ctest-vn-30422362 passed 2025-07-08 15:42:21,320 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/75730020-7ea0-492f-a516-00cbf8f67f9f 2025-07-08 15:42:21,339 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9d7347bd-23ec-4ec1-907e-e317cb580d54 2025-07-08 15:42:21,353 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9d7347bd-23ec-4ec1-907e-e317cb580d54 2025-07-08 15:42:21,366 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0a1b6148-e1f2-4a70-999f-c7bbd4fec3af 2025-07-08 15:42:21,385 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-30422362', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61636042', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8463108264322681135', 'uuid-lslong': '11895696341801009055'}, 'enable': 'true', 'created': '2025-07-08T15:42:17', 'last-modified': '2025-07-08T15:42:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.132645'} 2025-07-08 15:42:21,395 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-08 15:42:21,395 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30422362 passed 2025-07-08 15:42:21,395 - DEBUG - ====Verifying policy data for ctest-vn-30422362 in API_Server ====== 2025-07-08 15:42:21,395 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 15:42:21,406 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69a0b9d8-0a54-4563-925e-43a30f6e3510 2025-07-08 15:42:21,421 - DEBUG - Requesting: http://10.0.0.50:8082/project/1771fc62-58fb-470a-9ba6-afcabca0c55c 2025-07-08 15:42:21,517 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/75730020-7ea0-492f-a516-00cbf8f67f9f 2025-07-08 15:42:21,536 - DEBUG - ==>Verifying data for policy with id: ea21ee73-b0e8-425f-acf0-3be8cc378932, fqn: ['default-domain', 'ctest-TestBasicPolicy-61636042', 'ctest-policy-allow-all-35482228'] 2025-07-08 15:42:21,536 - INFO - VN ctest-vn-30422362 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-08 15:42:21,536 - DEBUG - Verifying the vn in opserver 2025-07-08 15:42:21,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-30422362 virtual network link through opserver 10.0.0.50 2025-07-08 15:42:21,536 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-08 15:42:21,556 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-30422362', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-30422362?flat'} 2025-07-08 15:42:21,556 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-30422362 is found in opserver 2025-07-08 15:42:21,571 - DEBUG - Do not have enough data to verify VN in agent 2025-07-08 15:42:21,579 - DEBUG - VRF ids for VN ctest-vn-30422362: {} 2025-07-08 15:42:21,674 - DEBUG - Services list from nova: [, , ] 2025-07-08 15:42:23,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3613-1) 2025-07-08 15:42:24,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3613-1) 2025-07-08 15:42:24,843 - INFO - Waiting for VM ctest-TestBasicPolicy-61636042-07392676 to be up.. 2025-07-08 15:42:24,959 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-08 15:42:30,148 - DEBUG - VM is in ACTIVE state now 2025-07-08 15:42:30,149 - INFO - VM name : ctest-TestBasicPolicy-61636042-07392676 2025-07-08 15:42:30,267 - DEBUG - VM ctest-TestBasicPolicy-61636042-07392676 ID is fbd84620-30a6-4d4f-9ed9-ad43e3ba258b 2025-07-08 15:42:30,295 - DEBUG - VM ctest-TestBasicPolicy-61636042-07392676 launched on Node cn-jenkins-deploy-platform-ansible-os-3613-1 2025-07-08 15:42:30,388 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fbd84620-30a6-4d4f-9ed9-ad43e3ba258b 2025-07-08 15:42:30,401 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2e20aced-f8af-4158-bbae-f59af25d8fbf 2025-07-08 15:42:33,707 - 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 1028ms') 2025-07-08 15:42:33,708 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61636042-07392676 failed! 2025-07-08 15:42:33,776 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61636042:ctest-vn-22404691 is 55.90.101.193 and allocation pool is NOT set 2025-07-08 15:42:35,852 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=15.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.68 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 = 1.679/8.446/15.213/6.767 ms') 2025-07-08 15:42:35,852 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61636042-07392676 passed 2025-07-08 15:42:36,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 15:42:36,012 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61636042-07392676, IP 55.90.101.195, Port 22 2025-07-08 15:42:36,082 - 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-07-08 15:42:36,195 - DEBUG - VM ctest-TestBasicPolicy-61636042-07392676 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-08 15:42:41,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 15:42:41,197 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61636042-07392676, IP 55.90.101.195, Port 22 2025-07-08 15:42:41,392 - DEBUG - VM ctest-TestBasicPolicy-61636042-07392676 is ready for SSH connections 2025-07-08 15:42:41,392 - INFO - Waiting for VM ctest-TestBasicPolicy-61636042-90620766 to be up.. 2025-07-08 15:42:41,596 - DEBUG - VM is in ACTIVE state now 2025-07-08 15:42:41,596 - INFO - VM name : ctest-TestBasicPolicy-61636042-90620766 2025-07-08 15:42:41,760 - DEBUG - VM ctest-TestBasicPolicy-61636042-90620766 ID is 6403c9de-344d-498f-8031-72ed490d6ec1 2025-07-08 15:42:41,761 - DEBUG - VM ctest-TestBasicPolicy-61636042-90620766 launched on Node cn-jenkins-deploy-platform-ansible-os-3613-1 2025-07-08 15:42:41,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6403c9de-344d-498f-8031-72ed490d6ec1 2025-07-08 15:42:41,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/71b30581-cf1e-4d58-8ba4-db9627b1d12f 2025-07-08 15:42:43,224 - 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=5.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.765 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.765/3.175/5.586/2.410 ms') 2025-07-08 15:42:43,224 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61636042-90620766 passed 2025-07-08 15:42:43,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 15:42:43,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61636042-90620766, IP 99.73.173.3, Port 22 2025-07-08 15:42:43,602 - DEBUG - VM ctest-TestBasicPolicy-61636042-90620766 is ready for SSH connections 2025-07-08 15:42:43,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 15:42:43,603 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.73.173.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-08 15:42:43,604 - DEBUG - ping -s 56 -c 3 -W 1 99.73.173.3 2025-07-08 15:42:48,010 - DEBUG - PING 99.73.173.3 (99.73.173.3): 56 data bytes 64 bytes from 99.73.173.3: seq=0 ttl=63 time=6.032 ms 64 bytes from 99.73.173.3: seq=1 ttl=63 time=2.433 ms 64 bytes from 99.73.173.3: seq=2 ttl=63 time=2.426 ms --- 99.73.173.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.426/3.630/6.032 ms 2025-07-08 15:42:48,011 - INFO - Ping to IP 99.73.173.3 from VM ctest-TestBasicPolicy-61636042-07392676 passed 2025-07-08 15:42:48,263 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ea21ee73-b0e8-425f-acf0-3be8cc378932", "href": "http://10.0.0.50:8082/network-policy/ea21ee73-b0e8-425f-acf0-3be8cc378932"}} 2025-07-08 15:42:48,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 15:42:48,264 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.73.173.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-08 15:42:48,264 - DEBUG - ping -s 56 -c 3 -W 1 99.73.173.3 2025-07-08 15:42:51,540 - DEBUG - PING 99.73.173.3 (99.73.173.3): 56 data bytes --- 99.73.173.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-08 15:42:51,541 - WARNING - Ping to IP 99.73.173.3 from VM ctest-TestBasicPolicy-61636042-07392676 failed 2025-07-08 15:42:51,541 - INFO - Deleting VM ctest-TestBasicPolicy-61636042-90620766 2025-07-08 15:42:51,634 - INFO - Deleting VM ctest-TestBasicPolicy-61636042-07392676 2025-07-08 15:42:52,122 - INFO - Deleted policy ctest-policy-allow-all-35482228 2025-07-08 15:42:52,122 - INFO - Deleting VN ctest-vn-30422362 2025-07-08 15:42:52,161 - DEBUG - VN 75730020-7ea0-492f-a516-00cbf8f67f9f still in use: Unable to complete operation on network 75730020-7ea0-492f-a516-00cbf8f67f9f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-490ceba8-4c14-4a8b-8b01-924213a327e2'] 2025-07-08 15:42:52,161 - WARNING - Deleting VN ctest-vn-30422362 failed..Will retry 2025-07-08 15:42:54,414 - DEBUG - Response for deleting network () 2025-07-08 15:42:54,414 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9d7347bd-23ec-4ec1-907e-e317cb580d54 2025-07-08 15:42:54,425 - DEBUG - Response Code: 404 2025-07-08 15:42:54,425 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 15:42:54,433 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69a0b9d8-0a54-4563-925e-43a30f6e3510 2025-07-08 15:42:54,499 - DEBUG - Requesting: http://10.0.0.50:8082/project/1771fc62-58fb-470a-9ba6-afcabca0c55c 2025-07-08 15:42:54,602 - INFO - Validated that VN ctest-vn-30422362 is not found in API Server 2025-07-08 15:42:54,625 - DEBUG - VN ctest-vn-30422362 is not present in Agent 10.0.0.50 2025-07-08 15:42:54,626 - INFO - Validated that VN ctest-vn-30422362 is not in any agent 2025-07-08 15:42:54,667 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30422362 info 2025-07-08 15:42:54,668 - INFO - Deleting VN ctest-vn-22404691 2025-07-08 15:42:54,819 - DEBUG - Response for deleting network () 2025-07-08 15:42:54,819 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7f1d0be8-f717-404e-80bc-69f2cd3bdc2d 2025-07-08 15:42:54,830 - DEBUG - Response Code: 404 2025-07-08 15:42:54,830 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 15:42:54,836 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69a0b9d8-0a54-4563-925e-43a30f6e3510 2025-07-08 15:42:54,898 - DEBUG - Requesting: http://10.0.0.50:8082/project/1771fc62-58fb-470a-9ba6-afcabca0c55c 2025-07-08 15:42:54,984 - INFO - Validated that VN ctest-vn-22404691 is not found in API Server 2025-07-08 15:42:55,003 - DEBUG - VN ctest-vn-22404691 is not present in Agent 10.0.0.50 2025-07-08 15:42:55,003 - INFO - Validated that VN ctest-vn-22404691 is not in any agent 2025-07-08 15:42:55,026 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22404691 info 2025-07-08 15:42:55,342 - DEBUG - No XMPP flaps were noticed during the test 2025-07-08 15:42:55,342 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40] 2025-07-08 15:42:55,343 - INFO - -------------------------------------------------------------------------------- 2025-07-08 15:42:56,331 - INFO - Deleted project: ctest-TestBasicPolicy-61636042, ID : 1771fc62-58fb-470a-9ba6-afcabca0c55c