2025-05-29 02:33:41,649 - INFO - Domain Default found not creating 2025-05-29 02:33:41,790 - INFO - Project ctest-TestBasicPolicy-26323650 not found, creating it 2025-05-29 02:33:42,226 - INFO - Created Project:ctest-TestBasicPolicy-26323650, ID : 5d5c0684-d621-4ca3-aedf-4a7449833a2d 2025-05-29 02:33:43,597 - INFO - ================================================================================ 2025-05-29 02:33:43,597 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-29 02:33:43,597 - 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-05-29 02:33:43,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-29 02:33:43,852 - INFO - Initial checks done. Running the testcase now 2025-05-29 02:33:43,853 - INFO - 2025-05-29 02:33:44,383 - DEBUG - Response for create_network : {'network': {'id': '6ec2e90e-8f4d-49f0-867c-6242e06a4cc6', 'name': 'ctest-vn-45941953', 'tenant_id': '5d5c0684d6214ca3aedf4a7449833a2d', 'project_id': '5d5c0684d6214ca3aedf4a7449833a2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26323650', 'ctest-vn-45941953'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 02:33:44,532 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afbb5e4f-1a45-41df-8075-2a0dfc34cea5', 'name': '', 'tenant_id': '5d5c0684d6214ca3aedf4a7449833a2d', 'network_id': '6ec2e90e-8f4d-49f0-867c-6242e06a4cc6', 'ip_version': 4, 'cidr': '187.255.101.128/26', 'allocation_pools': [{'start': '187.255.101.130', 'end': '187.255.101.190'}], 'gateway_ip': '187.255.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.255.101.130', 'tags': [], 'project_id': '5d5c0684d6214ca3aedf4a7449833a2d'}} 2025-05-29 02:33:44,548 - INFO - Created VN ctest-vn-45941953 2025-05-29 02:33:44,602 - DEBUG - VN ctest-vn-45941953 UUID is 6ec2e90e-8f4d-49f0-867c-6242e06a4cc6 2025-05-29 02:33:44,930 - DEBUG - Response for create_network : {'network': {'id': '1985fdaf-5450-491b-bc49-55efb99b75f4', 'name': 'ctest-vn-04779229', 'tenant_id': '5d5c0684d6214ca3aedf4a7449833a2d', 'project_id': '5d5c0684d6214ca3aedf4a7449833a2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26323650', 'ctest-vn-04779229'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 02:33:45,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '47d23f26-cf1f-4a6c-b34f-c50bca17be27', 'name': '', 'tenant_id': '5d5c0684d6214ca3aedf4a7449833a2d', 'network_id': '1985fdaf-5450-491b-bc49-55efb99b75f4', 'ip_version': 4, 'cidr': '142.49.87.192/26', 'allocation_pools': [{'start': '142.49.87.194', 'end': '142.49.87.254'}], 'gateway_ip': '142.49.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.49.87.194', 'tags': [], 'project_id': '5d5c0684d6214ca3aedf4a7449833a2d'}} 2025-05-29 02:33:45,093 - INFO - Created VN ctest-vn-04779229 2025-05-29 02:33:45,146 - DEBUG - VN ctest-vn-04779229 UUID is 1985fdaf-5450-491b-bc49-55efb99b75f4 2025-05-29 02:33:45,261 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-45941953, 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-26323650:ctest-vn-04779229, 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-05-29 02:33:45,555 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6ec2e90e-8f4d-49f0-867c-6242e06a4cc6', 'name': 'ctest-vn-45941953', 'tenant_id': '5d5c0684d6214ca3aedf4a7449833a2d', 'project_id': '5d5c0684d6214ca3aedf4a7449833a2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['afbb5e4f-1a45-41df-8075-2a0dfc34cea5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26323650', 'ctest-vn-45941953'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26323650', 'ctest-policy-allow-all-14704363']], 'subnet_ipam': [{'subnet_cidr': '187.255.101.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-29 02:33:45,786 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1985fdaf-5450-491b-bc49-55efb99b75f4', 'name': 'ctest-vn-04779229', 'tenant_id': '5d5c0684d6214ca3aedf4a7449833a2d', 'project_id': '5d5c0684d6214ca3aedf4a7449833a2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['47d23f26-cf1f-4a6c-b34f-c50bca17be27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26323650', 'ctest-vn-04779229'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26323650', 'ctest-policy-allow-all-14704363']], 'subnet_ipam': [{'subnet_cidr': '142.49.87.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-29 02:33:45,958 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 02:33:46,261 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 02:33:46,287 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f81aa09d-1fe5-4b7d-b67f-71ff8d76c3e6 2025-05-29 02:33:46,300 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5c0684-d621-4ca3-aedf-4a7449833a2d 2025-05-29 02:33:46,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ec2e90e-8f4d-49f0-867c-6242e06a4cc6 2025-05-29 02:33:46,394 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ec2e90e-8f4d-49f0-867c-6242e06a4cc6 2025-05-29 02:33:46,404 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6f4a044-ff4c-4896-b9df-9a26f8254206 2025-05-29 02:33:46,411 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6f4a044-ff4c-4896-b9df-9a26f8254206 2025-05-29 02:33:46,418 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8e34c3ea-fc55-4a65-929c-8d2db086e77e 2025-05-29 02:33:46,425 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-29 02:33:46,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ec2e90e-8f4d-49f0-867c-6242e06a4cc6 2025-05-29 02:33:46,435 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6f4a044-ff4c-4896-b9df-9a26f8254206 2025-05-29 02:33:46,449 - INFO - Verified VN network id 8 for VN 6ec2e90e-8f4d-49f0-867c-6242e06a4cc6 2025-05-29 02:33:46,449 - INFO - Verifications in API Server for VN ctest-vn-45941953 passed 2025-05-29 02:33:46,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ec2e90e-8f4d-49f0-867c-6242e06a4cc6 2025-05-29 02:33:46,458 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6f4a044-ff4c-4896-b9df-9a26f8254206 2025-05-29 02:33:46,466 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6f4a044-ff4c-4896-b9df-9a26f8254206 2025-05-29 02:33:46,472 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8e34c3ea-fc55-4a65-929c-8d2db086e77e 2025-05-29 02:33:46,484 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-45941953', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26323650', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7981197738396961264', 'uuid-lslong': '9690728537566891206'}, 'enable': 'true', 'created': '2025-05-29T02:33:44', 'last-modified': '2025-05-29T02:33:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953212'} 2025-05-29 02:33:46,490 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-29 02:33:46,490 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45941953 passed 2025-05-29 02:33:46,490 - DEBUG - ====Verifying policy data for ctest-vn-45941953 in API_Server ====== 2025-05-29 02:33:46,490 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 02:33:46,496 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f81aa09d-1fe5-4b7d-b67f-71ff8d76c3e6 2025-05-29 02:33:46,511 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5c0684-d621-4ca3-aedf-4a7449833a2d 2025-05-29 02:33:46,588 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ec2e90e-8f4d-49f0-867c-6242e06a4cc6 2025-05-29 02:33:46,598 - DEBUG - ==>Verifying data for policy with id: 24e718be-2623-416f-b0f4-ae127de84590, fqn: ['default-domain', 'ctest-TestBasicPolicy-26323650', 'ctest-policy-allow-all-14704363'] 2025-05-29 02:33:46,598 - INFO - VN ctest-vn-45941953 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-29 02:33:46,598 - DEBUG - Verifying the vn in opserver 2025-05-29 02:33:46,598 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-45941953 virtual network link through opserver 10.0.0.38 2025-05-29 02:33:46,599 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-29 02:33:46,893 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-29 02:33:46,946 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-45941953', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-45941953?flat'} 2025-05-29 02:33:46,946 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-45941953 is found in opserver 2025-05-29 02:33:46,957 - DEBUG - Do not have enough data to verify VN in agent 2025-05-29 02:33:46,963 - DEBUG - VRF ids for VN ctest-vn-45941953: {} 2025-05-29 02:33:46,963 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 02:33:46,969 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f81aa09d-1fe5-4b7d-b67f-71ff8d76c3e6 2025-05-29 02:33:46,981 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5c0684-d621-4ca3-aedf-4a7449833a2d 2025-05-29 02:33:47,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1985fdaf-5450-491b-bc49-55efb99b75f4 2025-05-29 02:33:47,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1985fdaf-5450-491b-bc49-55efb99b75f4 2025-05-29 02:33:47,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7874168-f018-4051-a20c-019ce0ed9914 2025-05-29 02:33:47,081 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7874168-f018-4051-a20c-019ce0ed9914 2025-05-29 02:33:47,088 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cfbdd3ef-ce4c-4791-ab10-6df18e17e723 2025-05-29 02:33:47,095 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-29 02:33:47,095 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1985fdaf-5450-491b-bc49-55efb99b75f4 2025-05-29 02:33:47,103 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7874168-f018-4051-a20c-019ce0ed9914 2025-05-29 02:33:47,117 - INFO - Verified VN network id 9 for VN 1985fdaf-5450-491b-bc49-55efb99b75f4 2025-05-29 02:33:47,117 - INFO - Verifications in API Server for VN ctest-vn-04779229 passed 2025-05-29 02:33:47,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1985fdaf-5450-491b-bc49-55efb99b75f4 2025-05-29 02:33:47,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7874168-f018-4051-a20c-019ce0ed9914 2025-05-29 02:33:47,134 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7874168-f018-4051-a20c-019ce0ed9914 2025-05-29 02:33:47,140 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cfbdd3ef-ce4c-4791-ab10-6df18e17e723 2025-05-29 02:33:47,151 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-04779229', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26323650', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1839154952326367515', 'uuid-lslong': '13567469840529847796'}, 'enable': 'true', 'created': '2025-05-29T02:33:44', 'last-modified': '2025-05-29T02:33:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.386436'} 2025-05-29 02:33:47,157 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-29 02:33:47,157 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04779229 passed 2025-05-29 02:33:47,157 - DEBUG - ====Verifying policy data for ctest-vn-04779229 in API_Server ====== 2025-05-29 02:33:47,157 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 02:33:47,164 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f81aa09d-1fe5-4b7d-b67f-71ff8d76c3e6 2025-05-29 02:33:47,176 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5c0684-d621-4ca3-aedf-4a7449833a2d 2025-05-29 02:33:47,258 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1985fdaf-5450-491b-bc49-55efb99b75f4 2025-05-29 02:33:47,268 - DEBUG - ==>Verifying data for policy with id: 24e718be-2623-416f-b0f4-ae127de84590, fqn: ['default-domain', 'ctest-TestBasicPolicy-26323650', 'ctest-policy-allow-all-14704363'] 2025-05-29 02:33:47,268 - INFO - VN ctest-vn-04779229 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-29 02:33:47,268 - DEBUG - Verifying the vn in opserver 2025-05-29 02:33:47,268 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-04779229 virtual network link through opserver 10.0.0.38 2025-05-29 02:33:47,268 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-29 02:33:47,278 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-04779229', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-04779229?flat'} 2025-05-29 02:33:47,278 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-04779229 is found in opserver 2025-05-29 02:33:47,289 - DEBUG - Do not have enough data to verify VN in agent 2025-05-29 02:33:47,293 - DEBUG - VRF ids for VN ctest-vn-04779229: {} 2025-05-29 02:33:47,344 - DEBUG - Services list from nova: [, , ] 2025-05-29 02:33:48,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3362-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3362-1) 2025-05-29 02:33:49,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3362-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3362-1) 2025-05-29 02:33:49,580 - INFO - Waiting for VM ctest-TestBasicPolicy-26323650-63571803 to be up.. 2025-05-29 02:33:49,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-29 02:33:54,730 - DEBUG - VM is in ACTIVE state now 2025-05-29 02:33:54,730 - INFO - VM name : ctest-TestBasicPolicy-26323650-63571803 2025-05-29 02:33:54,799 - DEBUG - VM ctest-TestBasicPolicy-26323650-63571803 ID is d406e850-75e5-4f9d-a560-48b4ef6888f2 2025-05-29 02:33:54,816 - DEBUG - VM ctest-TestBasicPolicy-26323650-63571803 launched on Node cn-jenkins-deploy-platform-ansible-os-3362-1 2025-05-29 02:33:54,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d406e850-75e5-4f9d-a560-48b4ef6888f2 2025-05-29 02:33:54,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c80fd538-e2bb-424d-a3ef-ca9be1966f6e 2025-05-29 02:33:58,176 - 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 1027ms') 2025-05-29 02:33:58,176 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26323650-63571803 failed! 2025-05-29 02:33:58,230 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26323650:ctest-vn-45941953 is 187.255.101.129 and allocation pool is NOT set 2025-05-29 02:34:00,291 - 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=3.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.809 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 = 0.809/2.296/3.783/1.487 ms') 2025-05-29 02:34:00,292 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26323650-63571803 passed 2025-05-29 02:34:00,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:34:00,444 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26323650-63571803, IP 187.255.101.131, Port 22 2025-05-29 02:34:00,597 - DEBUG - VM ctest-TestBasicPolicy-26323650-63571803 is ready for SSH connections 2025-05-29 02:34:00,597 - INFO - Waiting for VM ctest-TestBasicPolicy-26323650-92005123 to be up.. 2025-05-29 02:34:00,667 - DEBUG - VM is in ACTIVE state now 2025-05-29 02:34:00,667 - INFO - VM name : ctest-TestBasicPolicy-26323650-92005123 2025-05-29 02:34:00,742 - DEBUG - VM ctest-TestBasicPolicy-26323650-92005123 ID is c5a85393-fc1e-427e-9a7c-b1ea50b3b008 2025-05-29 02:34:00,742 - DEBUG - VM ctest-TestBasicPolicy-26323650-92005123 launched on Node cn-jenkins-deploy-platform-ansible-os-3362-1 2025-05-29 02:34:00,815 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c5a85393-fc1e-427e-9a7c-b1ea50b3b008 2025-05-29 02:34:00,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2f5b0fab-90e5-45b8-bbaf-29eed96890aa 2025-05-29 02:34:02,055 - 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=4.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.39 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 = 1.389/2.762/4.136/1.373 ms') 2025-05-29 02:34:02,055 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26323650-92005123 passed 2025-05-29 02:34:02,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:34:02,210 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26323650-92005123, IP 142.49.87.195, Port 22 2025-05-29 02:34:02,362 - DEBUG - VM ctest-TestBasicPolicy-26323650-92005123 is ready for SSH connections 2025-05-29 02:34:02,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:34:02,362 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.49.87.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-29 02:34:02,362 - DEBUG - ping -s 56 -c 3 -W 1 142.49.87.195 2025-05-29 02:34:06,035 - DEBUG - PING 142.49.87.195 (142.49.87.195): 56 data bytes 64 bytes from 142.49.87.195: seq=0 ttl=63 time=3.626 ms 64 bytes from 142.49.87.195: seq=1 ttl=63 time=0.807 ms 64 bytes from 142.49.87.195: seq=2 ttl=63 time=0.754 ms --- 142.49.87.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/1.729/3.626 ms 2025-05-29 02:34:06,035 - INFO - Ping to IP 142.49.87.195 from VM ctest-TestBasicPolicy-26323650-63571803 passed 2025-05-29 02:34:06,214 - DEBUG - Policy Update Response {"network-policy": {"uuid": "24e718be-2623-416f-b0f4-ae127de84590", "href": "http://10.0.0.38:8082/network-policy/24e718be-2623-416f-b0f4-ae127de84590"}} 2025-05-29 02:34:06,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:34:06,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.49.87.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-29 02:34:06,214 - DEBUG - ping -s 56 -c 3 -W 1 142.49.87.195 2025-05-29 02:34:09,443 - DEBUG - PING 142.49.87.195 (142.49.87.195): 56 data bytes --- 142.49.87.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-29 02:34:09,443 - WARNING - Ping to IP 142.49.87.195 from VM ctest-TestBasicPolicy-26323650-63571803 failed 2025-05-29 02:34:09,443 - INFO - Deleting VM ctest-TestBasicPolicy-26323650-92005123 2025-05-29 02:34:09,503 - INFO - Deleting VM ctest-TestBasicPolicy-26323650-63571803 2025-05-29 02:34:09,870 - INFO - Deleted policy ctest-policy-allow-all-14704363 2025-05-29 02:34:09,870 - INFO - Deleting VN ctest-vn-04779229 2025-05-29 02:34:09,906 - DEBUG - VN 1985fdaf-5450-491b-bc49-55efb99b75f4 still in use: Unable to complete operation on network 1985fdaf-5450-491b-bc49-55efb99b75f4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-746d0a89-a634-419f-813e-64010ae83500'] 2025-05-29 02:34:09,906 - WARNING - Deleting VN ctest-vn-04779229 failed..Will retry 2025-05-29 02:34:12,004 - DEBUG - Response for deleting network () 2025-05-29 02:34:12,004 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7874168-f018-4051-a20c-019ce0ed9914 2025-05-29 02:34:12,011 - DEBUG - Response Code: 404 2025-05-29 02:34:12,011 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 02:34:12,016 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f81aa09d-1fe5-4b7d-b67f-71ff8d76c3e6 2025-05-29 02:34:12,072 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5c0684-d621-4ca3-aedf-4a7449833a2d 2025-05-29 02:34:12,144 - INFO - Validated that VN ctest-vn-04779229 is not found in API Server 2025-05-29 02:34:12,157 - DEBUG - VN ctest-vn-04779229 is not present in Agent 10.0.0.38 2025-05-29 02:34:12,157 - INFO - Validated that VN ctest-vn-04779229 is not in any agent 2025-05-29 02:34:12,173 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04779229 info 2025-05-29 02:34:12,173 - INFO - Deleting VN ctest-vn-45941953 2025-05-29 02:34:12,271 - DEBUG - Response for deleting network () 2025-05-29 02:34:12,271 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6f4a044-ff4c-4896-b9df-9a26f8254206 2025-05-29 02:34:12,275 - DEBUG - Response Code: 404 2025-05-29 02:34:12,276 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 02:34:12,283 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f81aa09d-1fe5-4b7d-b67f-71ff8d76c3e6 2025-05-29 02:34:12,336 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5c0684-d621-4ca3-aedf-4a7449833a2d 2025-05-29 02:34:12,411 - INFO - Validated that VN ctest-vn-45941953 is not found in API Server 2025-05-29 02:34:12,421 - DEBUG - VN ctest-vn-45941953 is not present in Agent 10.0.0.38 2025-05-29 02:34:12,421 - INFO - Validated that VN ctest-vn-45941953 is not in any agent 2025-05-29 02:34:12,436 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45941953 info 2025-05-29 02:34:12,693 - DEBUG - No XMPP flaps were noticed during the test
2025-05-29 02:34:12,693 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-05-29 02:34:12,693 - INFO - -------------------------------------------------------------------------------- 2025-05-29 02:34:13,346 - INFO - Deleted project: ctest-TestBasicPolicy-26323650, ID : 5d5c0684-d621-4ca3-aedf-4a7449833a2d