2025-11-03 02:03:31,271 - INFO - Domain Default found not creating 2025-11-03 02:03:31,427 - INFO - Project ctest-TestBasicPolicy-86432267 not found, creating it 2025-11-03 02:03:31,881 - INFO - Created Project:ctest-TestBasicPolicy-86432267, ID : 97f1c24a-11fe-4200-94f1-752e959f98cf 2025-11-03 02:03:33,361 - INFO - ================================================================================ 2025-11-03 02:03:33,361 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-03 02:03:33,361 - 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-03 02:03:33,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-11-03 02:03:33,619 - INFO - Initial checks done. Running the testcase now 2025-11-03 02:03:33,619 - INFO - 2025-11-03 02:03:34,187 - DEBUG - Response for create_network : {'network': {'id': '7e4d053a-6a21-4a3c-bd91-4d7474efc7fe', 'name': 'ctest-vn-41739221', 'tenant_id': '97f1c24a11fe420094f1752e959f98cf', 'project_id': '97f1c24a11fe420094f1752e959f98cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86432267', 'ctest-vn-41739221'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:03:34,349 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9e62b24-71d8-482d-9a49-9906d4be6f34', 'name': '', 'tenant_id': '97f1c24a11fe420094f1752e959f98cf', 'network_id': '7e4d053a-6a21-4a3c-bd91-4d7474efc7fe', 'ip_version': 4, 'cidr': '194.157.35.64/26', 'allocation_pools': [{'start': '194.157.35.66', 'end': '194.157.35.126'}], 'gateway_ip': '194.157.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.157.35.66', 'tags': [], 'project_id': '97f1c24a11fe420094f1752e959f98cf'}} 2025-11-03 02:03:34,368 - INFO - Created VN ctest-vn-41739221 2025-11-03 02:03:34,420 - DEBUG - VN ctest-vn-41739221 UUID is 7e4d053a-6a21-4a3c-bd91-4d7474efc7fe 2025-11-03 02:03:34,713 - DEBUG - Response for create_network : {'network': {'id': '8e7a7849-8f7f-4c27-9d73-f7c824dc9190', 'name': 'ctest-vn-49577710', 'tenant_id': '97f1c24a11fe420094f1752e959f98cf', 'project_id': '97f1c24a11fe420094f1752e959f98cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86432267', 'ctest-vn-49577710'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:03:34,939 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcb34572-f266-47d4-b32d-6491fa16b532', 'name': '', 'tenant_id': '97f1c24a11fe420094f1752e959f98cf', 'network_id': '8e7a7849-8f7f-4c27-9d73-f7c824dc9190', 'ip_version': 4, 'cidr': '212.207.68.192/26', 'allocation_pools': [{'start': '212.207.68.194', 'end': '212.207.68.254'}], 'gateway_ip': '212.207.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.207.68.194', 'tags': [], 'project_id': '97f1c24a11fe420094f1752e959f98cf'}} 2025-11-03 02:03:34,957 - INFO - Created VN ctest-vn-49577710 2025-11-03 02:03:35,008 - DEBUG - VN ctest-vn-49577710 UUID is 8e7a7849-8f7f-4c27-9d73-f7c824dc9190 2025-11-03 02:03:35,160 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-41739221, 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-86432267:ctest-vn-49577710, 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-03 02:03:35,451 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7e4d053a-6a21-4a3c-bd91-4d7474efc7fe', 'name': 'ctest-vn-41739221', 'tenant_id': '97f1c24a11fe420094f1752e959f98cf', 'project_id': '97f1c24a11fe420094f1752e959f98cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e9e62b24-71d8-482d-9a49-9906d4be6f34'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86432267', 'ctest-vn-41739221'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86432267', 'ctest-policy-allow-all-95599755']], 'subnet_ipam': [{'subnet_cidr': '194.157.35.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:03:35,700 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e7a7849-8f7f-4c27-9d73-f7c824dc9190', 'name': 'ctest-vn-49577710', 'tenant_id': '97f1c24a11fe420094f1752e959f98cf', 'project_id': '97f1c24a11fe420094f1752e959f98cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fcb34572-f266-47d4-b32d-6491fa16b532'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86432267', 'ctest-vn-49577710'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86432267', 'ctest-policy-allow-all-95599755']], 'subnet_ipam': [{'subnet_cidr': '212.207.68.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:03:35,868 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-03 02:03:36,164 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-03 02:03:36,192 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e0c9939f-3867-4b8d-8d98-011d356e5712 2025-11-03 02:03:36,203 - DEBUG - Requesting: http://10.0.0.27:8082/project/97f1c24a-11fe-4200-94f1-752e959f98cf 2025-11-03 02:03:36,276 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/7e4d053a-6a21-4a3c-bd91-4d7474efc7fe 2025-11-03 02:03:36,287 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/7e4d053a-6a21-4a3c-bd91-4d7474efc7fe 2025-11-03 02:03:36,295 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/51984bdc-8dd0-458f-a20b-1f3377328a9d 2025-11-03 02:03:36,302 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/51984bdc-8dd0-458f-a20b-1f3377328a9d 2025-11-03 02:03:36,307 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/8a0e0152-e9ad-43a6-a6f2-b535f0f71ca2 2025-11-03 02:03:36,313 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 02:03:36,313 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/7e4d053a-6a21-4a3c-bd91-4d7474efc7fe 2025-11-03 02:03:36,320 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/51984bdc-8dd0-458f-a20b-1f3377328a9d 2025-11-03 02:03:36,333 - INFO - Verified VN network id 11 for VN 7e4d053a-6a21-4a3c-bd91-4d7474efc7fe 2025-11-03 02:03:36,333 - INFO - Verifications in API Server for VN ctest-vn-41739221 passed 2025-11-03 02:03:36,333 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/7e4d053a-6a21-4a3c-bd91-4d7474efc7fe 2025-11-03 02:03:36,342 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/51984bdc-8dd0-458f-a20b-1f3377328a9d 2025-11-03 02:03:36,347 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/51984bdc-8dd0-458f-a20b-1f3377328a9d 2025-11-03 02:03:36,354 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/8a0e0152-e9ad-43a6-a6f2-b535f0f71ca2 2025-11-03 02:03:36,365 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-41739221', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86432267', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9100936170432449084', 'uuid-lslong': '13659784307364841470'}, 'enable': 'true', 'created': '2025-11-03T02:03:34', 'last-modified': '2025-11-03T02:03:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934638'} 2025-11-03 02:03:36,371 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 02:03:36,371 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41739221 passed 2025-11-03 02:03:36,371 - DEBUG - ====Verifying policy data for ctest-vn-41739221 in API_Server ====== 2025-11-03 02:03:36,371 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-03 02:03:36,377 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e0c9939f-3867-4b8d-8d98-011d356e5712 2025-11-03 02:03:36,388 - DEBUG - Requesting: http://10.0.0.27:8082/project/97f1c24a-11fe-4200-94f1-752e959f98cf 2025-11-03 02:03:36,463 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/7e4d053a-6a21-4a3c-bd91-4d7474efc7fe 2025-11-03 02:03:36,472 - DEBUG - ==>Verifying data for policy with id: 91293cbd-ac92-49b9-b0d1-4a82ba524371, fqn: ['default-domain', 'ctest-TestBasicPolicy-86432267', 'ctest-policy-allow-all-95599755'] 2025-11-03 02:03:36,472 - INFO - VN ctest-vn-41739221 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 02:03:36,472 - DEBUG - Verifying the vn in opserver 2025-11-03 02:03:36,472 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-41739221 virtual network link through opserver 10.0.0.27 2025-11-03 02:03:36,473 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-03 02:03:36,792 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-03 02:03:36,860 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-41739221', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-41739221?flat'} 2025-11-03 02:03:36,860 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-41739221 is found in opserver 2025-11-03 02:03:36,870 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 02:03:36,875 - DEBUG - VRF ids for VN ctest-vn-41739221: {} 2025-11-03 02:03:36,875 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-03 02:03:36,880 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e0c9939f-3867-4b8d-8d98-011d356e5712 2025-11-03 02:03:36,894 - DEBUG - Requesting: http://10.0.0.27:8082/project/97f1c24a-11fe-4200-94f1-752e959f98cf 2025-11-03 02:03:36,968 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8e7a7849-8f7f-4c27-9d73-f7c824dc9190 2025-11-03 02:03:36,980 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8e7a7849-8f7f-4c27-9d73-f7c824dc9190 2025-11-03 02:03:36,990 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5190ede2-a45c-43d7-acc2-8736e35e4b00 2025-11-03 02:03:36,996 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5190ede2-a45c-43d7-acc2-8736e35e4b00 2025-11-03 02:03:37,002 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b2fb60aa-c319-4ffe-a603-d1646d38235b 2025-11-03 02:03:37,010 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 02:03:37,010 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8e7a7849-8f7f-4c27-9d73-f7c824dc9190 2025-11-03 02:03:37,019 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5190ede2-a45c-43d7-acc2-8736e35e4b00 2025-11-03 02:03:37,033 - INFO - Verified VN network id 12 for VN 8e7a7849-8f7f-4c27-9d73-f7c824dc9190 2025-11-03 02:03:37,033 - INFO - Verifications in API Server for VN ctest-vn-49577710 passed 2025-11-03 02:03:37,033 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8e7a7849-8f7f-4c27-9d73-f7c824dc9190 2025-11-03 02:03:37,042 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5190ede2-a45c-43d7-acc2-8736e35e4b00 2025-11-03 02:03:37,049 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5190ede2-a45c-43d7-acc2-8736e35e4b00 2025-11-03 02:03:37,055 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b2fb60aa-c319-4ffe-a603-d1646d38235b 2025-11-03 02:03:37,068 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-49577710', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86432267', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10266650557879897127', 'uuid-lslong': '11345684325260366224'}, 'enable': 'true', 'created': '2025-11-03T02:03:34', 'last-modified': '2025-11-03T02:03:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.392103'} 2025-11-03 02:03:37,073 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 02:03:37,073 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49577710 passed 2025-11-03 02:03:37,074 - DEBUG - ====Verifying policy data for ctest-vn-49577710 in API_Server ====== 2025-11-03 02:03:37,074 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-03 02:03:37,080 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e0c9939f-3867-4b8d-8d98-011d356e5712 2025-11-03 02:03:37,091 - DEBUG - Requesting: http://10.0.0.27:8082/project/97f1c24a-11fe-4200-94f1-752e959f98cf 2025-11-03 02:03:37,157 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8e7a7849-8f7f-4c27-9d73-f7c824dc9190 2025-11-03 02:03:37,165 - DEBUG - ==>Verifying data for policy with id: 91293cbd-ac92-49b9-b0d1-4a82ba524371, fqn: ['default-domain', 'ctest-TestBasicPolicy-86432267', 'ctest-policy-allow-all-95599755'] 2025-11-03 02:03:37,165 - INFO - VN ctest-vn-49577710 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 02:03:37,165 - DEBUG - Verifying the vn in opserver 2025-11-03 02:03:37,165 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-49577710 virtual network link through opserver 10.0.0.27 2025-11-03 02:03:37,165 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-03 02:03:37,174 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-49577710', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-49577710?flat'} 2025-11-03 02:03:37,174 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-49577710 is found in opserver 2025-11-03 02:03:37,185 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 02:03:37,189 - DEBUG - VRF ids for VN ctest-vn-49577710: {} 2025-11-03 02:03:37,248 - DEBUG - Services list from nova: [, , ] 2025-11-03 02:03:38,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4600-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4600-1) 2025-11-03 02:03:39,512 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4600-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4600-1) 2025-11-03 02:03:39,512 - INFO - Waiting for VM ctest-TestBasicPolicy-86432267-81203251 to be up.. 2025-11-03 02:03:39,591 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:03:44,672 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:03:44,672 - INFO - VM name : ctest-TestBasicPolicy-86432267-81203251 2025-11-03 02:03:44,745 - DEBUG - VM ctest-TestBasicPolicy-86432267-81203251 ID is 117c30f6-df09-4fad-9c3b-833143498559 2025-11-03 02:03:44,766 - DEBUG - VM ctest-TestBasicPolicy-86432267-81203251 launched on Node cn-jenkins-deploy-platform-ansible-os-4600-1 2025-11-03 02:03:44,847 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/117c30f6-df09-4fad-9c3b-833143498559 2025-11-03 02:03:44,857 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/648f2a7c-ce66-46f9-b578-1485603e3e62 2025-11-03 02:03:48,061 - 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 1019ms') 2025-11-03 02:03:48,061 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86432267-81203251 failed! 2025-11-03 02:03:48,116 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86432267:ctest-vn-41739221 is 194.157.35.65 and allocation pool is NOT set 2025-11-03 02:03:50,179 - 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=7.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.565 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 = 0.565/4.051/7.538/3.486 ms') 2025-11-03 02:03:50,179 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86432267-81203251 passed 2025-11-03 02:03:50,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:03:50,328 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86432267-81203251, IP 194.157.35.67, Port 22 2025-11-03 02:03:50,488 - DEBUG - VM ctest-TestBasicPolicy-86432267-81203251 is ready for SSH connections 2025-11-03 02:03:50,488 - INFO - Waiting for VM ctest-TestBasicPolicy-86432267-70582899 to be up.. 2025-11-03 02:03:50,580 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:03:50,580 - INFO - VM name : ctest-TestBasicPolicy-86432267-70582899 2025-11-03 02:03:50,659 - DEBUG - VM ctest-TestBasicPolicy-86432267-70582899 ID is ef3d5287-6369-4119-82fd-d2df92f5eb17 2025-11-03 02:03:50,660 - DEBUG - VM ctest-TestBasicPolicy-86432267-70582899 launched on Node cn-jenkins-deploy-platform-ansible-os-4600-1 2025-11-03 02:03:50,739 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ef3d5287-6369-4119-82fd-d2df92f5eb17 2025-11-03 02:03:50,748 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b5c476f9-1350-46a2-9f39-fe935cd0defc 2025-11-03 02:03:51,988 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.892/3.299/1.407 ms') 2025-11-03 02:03:51,988 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86432267-70582899 passed 2025-11-03 02:03:52,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:03:52,136 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86432267-70582899, IP 212.207.68.195, Port 22 2025-11-03 02:03:52,306 - DEBUG - VM ctest-TestBasicPolicy-86432267-70582899 is ready for SSH connections 2025-11-03 02:03:52,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:03:52,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.207.68.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-03 02:03:52,307 - DEBUG - ping -s 56 -c 3 -W 1 212.207.68.195 2025-11-03 02:03:56,325 - DEBUG - PING 212.207.68.195 (212.207.68.195): 56 data bytes 64 bytes from 212.207.68.195: seq=0 ttl=63 time=3.933 ms 64 bytes from 212.207.68.195: seq=1 ttl=63 time=0.854 ms 64 bytes from 212.207.68.195: seq=2 ttl=63 time=1.046 ms --- 212.207.68.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/1.944/3.933 ms 2025-11-03 02:03:56,325 - INFO - Ping to IP 212.207.68.195 from VM ctest-TestBasicPolicy-86432267-81203251 passed 2025-11-03 02:03:56,508 - DEBUG - Policy Update Response {"network-policy": {"uuid": "91293cbd-ac92-49b9-b0d1-4a82ba524371", "href": "http://10.0.0.27:8082/network-policy/91293cbd-ac92-49b9-b0d1-4a82ba524371"}} 2025-11-03 02:03:56,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:03:56,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.207.68.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-03 02:03:56,508 - DEBUG - ping -s 56 -c 3 -W 1 212.207.68.195 2025-11-03 02:03:59,716 - DEBUG - PING 212.207.68.195 (212.207.68.195): 56 data bytes --- 212.207.68.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 02:03:59,716 - WARNING - Ping to IP 212.207.68.195 from VM ctest-TestBasicPolicy-86432267-81203251 failed 2025-11-03 02:03:59,716 - INFO - Deleting VM ctest-TestBasicPolicy-86432267-70582899 2025-11-03 02:03:59,789 - INFO - Deleting VM ctest-TestBasicPolicy-86432267-81203251 2025-11-03 02:04:00,221 - INFO - Deleted policy ctest-policy-allow-all-95599755 2025-11-03 02:04:00,221 - INFO - Deleting VN ctest-vn-49577710 2025-11-03 02:04:00,278 - DEBUG - VN 8e7a7849-8f7f-4c27-9d73-f7c824dc9190 still in use: Unable to complete operation on network 8e7a7849-8f7f-4c27-9d73-f7c824dc9190. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75b6f0fd-00cc-4c6e-baf1-19314856bd2f'] 2025-11-03 02:04:00,278 - WARNING - Deleting VN ctest-vn-49577710 failed..Will retry 2025-11-03 02:04:02,382 - DEBUG - Response for deleting network () 2025-11-03 02:04:02,382 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5190ede2-a45c-43d7-acc2-8736e35e4b00 2025-11-03 02:04:02,386 - DEBUG - Response Code: 404 2025-11-03 02:04:02,386 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-03 02:04:02,393 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e0c9939f-3867-4b8d-8d98-011d356e5712 2025-11-03 02:04:02,445 - DEBUG - Requesting: http://10.0.0.27:8082/project/97f1c24a-11fe-4200-94f1-752e959f98cf 2025-11-03 02:04:02,520 - INFO - Validated that VN ctest-vn-49577710 is not found in API Server 2025-11-03 02:04:02,530 - DEBUG - VN ctest-vn-49577710 is not present in Agent 10.0.0.27 2025-11-03 02:04:02,531 - INFO - Validated that VN ctest-vn-49577710 is not in any agent 2025-11-03 02:04:02,545 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49577710 info 2025-11-03 02:04:02,545 - INFO - Deleting VN ctest-vn-41739221 2025-11-03 02:04:02,662 - DEBUG - Response for deleting network () 2025-11-03 02:04:02,662 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/51984bdc-8dd0-458f-a20b-1f3377328a9d 2025-11-03 02:04:02,669 - DEBUG - Response Code: 404 2025-11-03 02:04:02,669 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-03 02:04:02,673 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e0c9939f-3867-4b8d-8d98-011d356e5712 2025-11-03 02:04:02,725 - DEBUG - Requesting: http://10.0.0.27:8082/project/97f1c24a-11fe-4200-94f1-752e959f98cf 2025-11-03 02:04:02,792 - INFO - Validated that VN ctest-vn-41739221 is not found in API Server 2025-11-03 02:04:02,808 - DEBUG - VN ctest-vn-41739221 is not present in Agent 10.0.0.27 2025-11-03 02:04:02,808 - INFO - Validated that VN ctest-vn-41739221 is not in any agent 2025-11-03 02:04:02,822 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41739221 info 2025-11-03 02:04:03,078 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 02:04:03,078 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-03 02:04:03,078 - INFO - -------------------------------------------------------------------------------- 2025-11-03 02:04:03,791 - INFO - Deleted project: ctest-TestBasicPolicy-86432267, ID : 97f1c24a-11fe-4200-94f1-752e959f98cf