2025-05-27 11:03:50,396 - INFO - Domain Default found not creating 2025-05-27 11:03:50,565 - INFO - Project ctest-TestBasicPolicy-21649712 not found, creating it 2025-05-27 11:03:51,033 - INFO - Created Project:ctest-TestBasicPolicy-21649712, ID : 3906e31b-5fab-4b51-ab7f-b0d12d0c296d 2025-05-27 11:03:52,462 - INFO - ================================================================================ 2025-05-27 11:03:52,462 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-27 11:03:52,462 - 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-27 11:03:52,723 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-27 11:03:52,723 - INFO - Initial checks done. Running the testcase now 2025-05-27 11:03:52,723 - INFO - 2025-05-27 11:03:53,262 - DEBUG - Response for create_network : {'network': {'id': 'ee1431e4-6e54-40a5-97aa-8aecbca8c963', 'name': 'ctest-vn-40712021', 'tenant_id': '3906e31b5fab4b51ab7fb0d12d0c296d', 'project_id': '3906e31b5fab4b51ab7fb0d12d0c296d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21649712', 'ctest-vn-40712021'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 11:03:53,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '03b46b4c-9ccc-43aa-a98a-c801ae0b0b42', 'name': '', 'tenant_id': '3906e31b5fab4b51ab7fb0d12d0c296d', 'network_id': 'ee1431e4-6e54-40a5-97aa-8aecbca8c963', 'ip_version': 4, 'cidr': '94.219.107.64/26', 'allocation_pools': [{'start': '94.219.107.66', 'end': '94.219.107.126'}], 'gateway_ip': '94.219.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.219.107.66', 'tags': [], 'project_id': '3906e31b5fab4b51ab7fb0d12d0c296d'}} 2025-05-27 11:03:53,475 - INFO - Created VN ctest-vn-40712021 2025-05-27 11:03:53,528 - DEBUG - VN ctest-vn-40712021 UUID is ee1431e4-6e54-40a5-97aa-8aecbca8c963 2025-05-27 11:03:53,953 - DEBUG - Response for create_network : {'network': {'id': 'cac14a95-9762-46cc-ac0d-5231ddf40a5c', 'name': 'ctest-vn-45673771', 'tenant_id': '3906e31b5fab4b51ab7fb0d12d0c296d', 'project_id': '3906e31b5fab4b51ab7fb0d12d0c296d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21649712', 'ctest-vn-45673771'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 11:03:54,092 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f234e4f5-552b-4bc6-b671-027d3addc244', 'name': '', 'tenant_id': '3906e31b5fab4b51ab7fb0d12d0c296d', 'network_id': 'cac14a95-9762-46cc-ac0d-5231ddf40a5c', 'ip_version': 4, 'cidr': '189.12.162.0/26', 'allocation_pools': [{'start': '189.12.162.2', 'end': '189.12.162.62'}], 'gateway_ip': '189.12.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.12.162.2', 'tags': [], 'project_id': '3906e31b5fab4b51ab7fb0d12d0c296d'}} 2025-05-27 11:03:54,110 - INFO - Created VN ctest-vn-45673771 2025-05-27 11:03:54,164 - DEBUG - VN ctest-vn-45673771 UUID is cac14a95-9762-46cc-ac0d-5231ddf40a5c 2025-05-27 11:03:54,316 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-40712021, 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-21649712:ctest-vn-45673771, 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-27 11:03:54,620 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee1431e4-6e54-40a5-97aa-8aecbca8c963', 'name': 'ctest-vn-40712021', 'tenant_id': '3906e31b5fab4b51ab7fb0d12d0c296d', 'project_id': '3906e31b5fab4b51ab7fb0d12d0c296d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['03b46b4c-9ccc-43aa-a98a-c801ae0b0b42'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21649712', 'ctest-vn-40712021'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21649712', 'ctest-policy-allow-all-46717981']], 'subnet_ipam': [{'subnet_cidr': '94.219.107.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-27 11:03:54,893 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cac14a95-9762-46cc-ac0d-5231ddf40a5c', 'name': 'ctest-vn-45673771', 'tenant_id': '3906e31b5fab4b51ab7fb0d12d0c296d', 'project_id': '3906e31b5fab4b51ab7fb0d12d0c296d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f234e4f5-552b-4bc6-b671-027d3addc244'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21649712', 'ctest-vn-45673771'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21649712', 'ctest-policy-allow-all-46717981']], 'subnet_ipam': [{'subnet_cidr': '189.12.162.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-27 11:03:55,054 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-27 11:03:55,354 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-27 11:03:55,383 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a06ce1a1-57f7-4e8c-974d-96b74197f9b7 2025-05-27 11:03:55,398 - DEBUG - Requesting: http://10.0.0.38:8082/project/3906e31b-5fab-4b51-ab7f-b0d12d0c296d 2025-05-27 11:03:55,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee1431e4-6e54-40a5-97aa-8aecbca8c963 2025-05-27 11:03:55,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee1431e4-6e54-40a5-97aa-8aecbca8c963 2025-05-27 11:03:55,489 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddbff9d4-65a1-4898-9fb5-6253039de1ef 2025-05-27 11:03:55,496 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddbff9d4-65a1-4898-9fb5-6253039de1ef 2025-05-27 11:03:55,503 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aa5eb0e7-28ff-44c0-a013-f6feb624c036 2025-05-27 11:03:55,510 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-27 11:03:55,510 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee1431e4-6e54-40a5-97aa-8aecbca8c963 2025-05-27 11:03:55,518 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddbff9d4-65a1-4898-9fb5-6253039de1ef 2025-05-27 11:03:55,533 - INFO - Verified VN network id 8 for VN ee1431e4-6e54-40a5-97aa-8aecbca8c963 2025-05-27 11:03:55,534 - INFO - Verifications in API Server for VN ctest-vn-40712021 passed 2025-05-27 11:03:55,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee1431e4-6e54-40a5-97aa-8aecbca8c963 2025-05-27 11:03:55,544 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddbff9d4-65a1-4898-9fb5-6253039de1ef 2025-05-27 11:03:55,554 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddbff9d4-65a1-4898-9fb5-6253039de1ef 2025-05-27 11:03:55,560 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aa5eb0e7-28ff-44c0-a013-f6feb624c036 2025-05-27 11:03:55,573 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-40712021', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21649712', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17155391737734381733', 'uuid-lslong': '10928700195150023011'}, 'enable': 'true', 'created': '2025-05-27T11:03:53', 'last-modified': '2025-05-27T11:03:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980146'} 2025-05-27 11:03:55,580 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-27 11:03:55,580 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40712021 passed 2025-05-27 11:03:55,580 - DEBUG - ====Verifying policy data for ctest-vn-40712021 in API_Server ====== 2025-05-27 11:03:55,580 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-27 11:03:55,587 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a06ce1a1-57f7-4e8c-974d-96b74197f9b7 2025-05-27 11:03:55,600 - DEBUG - Requesting: http://10.0.0.38:8082/project/3906e31b-5fab-4b51-ab7f-b0d12d0c296d 2025-05-27 11:03:55,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee1431e4-6e54-40a5-97aa-8aecbca8c963 2025-05-27 11:03:55,687 - DEBUG - ==>Verifying data for policy with id: 4f6bcf90-5ab3-4044-b895-f8ee97724924, fqn: ['default-domain', 'ctest-TestBasicPolicy-21649712', 'ctest-policy-allow-all-46717981'] 2025-05-27 11:03:55,687 - INFO - VN ctest-vn-40712021 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-27 11:03:55,687 - DEBUG - Verifying the vn in opserver 2025-05-27 11:03:55,687 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-40712021 virtual network link through opserver 10.0.0.38 2025-05-27 11:03:55,687 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-27 11:03:55,979 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-27 11:03:56,037 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-40712021', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-40712021?flat'} 2025-05-27 11:03:56,037 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-40712021 is found in opserver 2025-05-27 11:03:56,048 - DEBUG - Do not have enough data to verify VN in agent 2025-05-27 11:03:56,054 - DEBUG - VRF ids for VN ctest-vn-40712021: {} 2025-05-27 11:03:56,054 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-27 11:03:56,061 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a06ce1a1-57f7-4e8c-974d-96b74197f9b7 2025-05-27 11:03:56,073 - DEBUG - Requesting: http://10.0.0.38:8082/project/3906e31b-5fab-4b51-ab7f-b0d12d0c296d 2025-05-27 11:03:56,147 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cac14a95-9762-46cc-ac0d-5231ddf40a5c 2025-05-27 11:03:56,159 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cac14a95-9762-46cc-ac0d-5231ddf40a5c 2025-05-27 11:03:56,169 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3059a3d6-5d23-4062-819d-9d24cbb910b3 2025-05-27 11:03:56,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3059a3d6-5d23-4062-819d-9d24cbb910b3 2025-05-27 11:03:56,185 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b3663c11-2de1-4c28-a41c-c2f6091b6d14 2025-05-27 11:03:56,192 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-27 11:03:56,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cac14a95-9762-46cc-ac0d-5231ddf40a5c 2025-05-27 11:03:56,201 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3059a3d6-5d23-4062-819d-9d24cbb910b3 2025-05-27 11:03:56,214 - INFO - Verified VN network id 9 for VN cac14a95-9762-46cc-ac0d-5231ddf40a5c 2025-05-27 11:03:56,215 - INFO - Verifications in API Server for VN ctest-vn-45673771 passed 2025-05-27 11:03:56,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cac14a95-9762-46cc-ac0d-5231ddf40a5c 2025-05-27 11:03:56,224 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3059a3d6-5d23-4062-819d-9d24cbb910b3 2025-05-27 11:03:56,231 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3059a3d6-5d23-4062-819d-9d24cbb910b3 2025-05-27 11:03:56,240 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b3663c11-2de1-4c28-a41c-c2f6091b6d14 2025-05-27 11:03:56,253 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-45673771', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21649712', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14610040672516982476', 'uuid-lslong': '12397655723351476828'}, 'enable': 'true', 'created': '2025-05-27T11:03:53', 'last-modified': '2025-05-27T11:03:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.424225'} 2025-05-27 11:03:56,259 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-27 11:03:56,259 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45673771 passed 2025-05-27 11:03:56,260 - DEBUG - ====Verifying policy data for ctest-vn-45673771 in API_Server ====== 2025-05-27 11:03:56,260 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-27 11:03:56,266 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a06ce1a1-57f7-4e8c-974d-96b74197f9b7 2025-05-27 11:03:56,277 - DEBUG - Requesting: http://10.0.0.38:8082/project/3906e31b-5fab-4b51-ab7f-b0d12d0c296d 2025-05-27 11:03:56,347 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cac14a95-9762-46cc-ac0d-5231ddf40a5c 2025-05-27 11:03:56,358 - DEBUG - ==>Verifying data for policy with id: 4f6bcf90-5ab3-4044-b895-f8ee97724924, fqn: ['default-domain', 'ctest-TestBasicPolicy-21649712', 'ctest-policy-allow-all-46717981'] 2025-05-27 11:03:56,358 - INFO - VN ctest-vn-45673771 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-27 11:03:56,358 - DEBUG - Verifying the vn in opserver 2025-05-27 11:03:56,358 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-45673771 virtual network link through opserver 10.0.0.38 2025-05-27 11:03:56,358 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-27 11:03:56,368 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-45673771', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-45673771?flat'} 2025-05-27 11:03:56,368 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-45673771 is found in opserver 2025-05-27 11:03:56,379 - DEBUG - Do not have enough data to verify VN in agent 2025-05-27 11:03:56,385 - DEBUG - VRF ids for VN ctest-vn-45673771: {} 2025-05-27 11:03:56,440 - DEBUG - Services list from nova: [, , ] 2025-05-27 11:03:57,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3342-1) 2025-05-27 11:03:58,728 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3342-1) 2025-05-27 11:03:58,728 - INFO - Waiting for VM ctest-TestBasicPolicy-21649712-15241251 to be up.. 2025-05-27 11:03:58,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-27 11:04:03,897 - DEBUG - VM is in ACTIVE state now 2025-05-27 11:04:03,897 - INFO - VM name : ctest-TestBasicPolicy-21649712-15241251 2025-05-27 11:04:03,971 - DEBUG - VM ctest-TestBasicPolicy-21649712-15241251 ID is 885bc845-fe36-41bc-a992-3ed68ab12365 2025-05-27 11:04:03,993 - DEBUG - VM ctest-TestBasicPolicy-21649712-15241251 launched on Node cn-jenkins-deploy-platform-ansible-os-3342-1 2025-05-27 11:04:04,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/885bc845-fe36-41bc-a992-3ed68ab12365 2025-05-27 11:04:04,082 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4e82186b-b206-4d81-9f91-f98db69a48c4 2025-05-27 11:04:07,339 - 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 1011ms') 2025-05-27 11:04:07,339 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21649712-15241251 failed! 2025-05-27 11:04:07,396 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21649712:ctest-vn-40712021 is 94.219.107.65 and allocation pool is NOT set 2025-05-27 11:04:09,464 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.905 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.905/2.665/4.426/1.760 ms') 2025-05-27 11:04:09,464 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21649712-15241251 passed 2025-05-27 11:04:09,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 11:04:09,620 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21649712-15241251, IP 94.219.107.67, Port 22 2025-05-27 11:04:09,786 - DEBUG - VM ctest-TestBasicPolicy-21649712-15241251 is ready for SSH connections 2025-05-27 11:04:09,786 - INFO - Waiting for VM ctest-TestBasicPolicy-21649712-17990979 to be up.. 2025-05-27 11:04:09,865 - DEBUG - VM is in ACTIVE state now 2025-05-27 11:04:09,865 - INFO - VM name : ctest-TestBasicPolicy-21649712-17990979 2025-05-27 11:04:09,937 - DEBUG - VM ctest-TestBasicPolicy-21649712-17990979 ID is 69623a60-0bae-4b85-8b3f-270f5cc40876 2025-05-27 11:04:09,937 - DEBUG - VM ctest-TestBasicPolicy-21649712-17990979 launched on Node cn-jenkins-deploy-platform-ansible-os-3342-1 2025-05-27 11:04:10,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/69623a60-0bae-4b85-8b3f-270f5cc40876 2025-05-27 11:04:10,025 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5f2b34ae-5797-46b8-aaa8-9e357e7c327f 2025-05-27 11:04:11,272 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.552/2.675/1.122 ms') 2025-05-27 11:04:11,272 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21649712-17990979 passed 2025-05-27 11:04:11,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 11:04:11,428 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21649712-17990979, IP 189.12.162.3, Port 22 2025-05-27 11:04:11,596 - DEBUG - VM ctest-TestBasicPolicy-21649712-17990979 is ready for SSH connections 2025-05-27 11:04:11,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 11:04:11,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.12.162.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-27 11:04:11,596 - DEBUG - ping -s 56 -c 3 -W 1 189.12.162.3 2025-05-27 11:04:15,254 - DEBUG - PING 189.12.162.3 (189.12.162.3): 56 data bytes 64 bytes from 189.12.162.3: seq=0 ttl=63 time=4.000 ms 64 bytes from 189.12.162.3: seq=1 ttl=63 time=1.000 ms 64 bytes from 189.12.162.3: seq=2 ttl=63 time=0.860 ms --- 189.12.162.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/1.953/4.000 ms 2025-05-27 11:04:15,254 - INFO - Ping to IP 189.12.162.3 from VM ctest-TestBasicPolicy-21649712-15241251 passed 2025-05-27 11:04:15,432 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4f6bcf90-5ab3-4044-b895-f8ee97724924", "href": "http://10.0.0.38:8082/network-policy/4f6bcf90-5ab3-4044-b895-f8ee97724924"}} 2025-05-27 11:04:15,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 11:04:15,432 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.12.162.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-27 11:04:15,432 - DEBUG - ping -s 56 -c 3 -W 1 189.12.162.3 2025-05-27 11:04:18,661 - DEBUG - PING 189.12.162.3 (189.12.162.3): 56 data bytes --- 189.12.162.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-27 11:04:18,661 - WARNING - Ping to IP 189.12.162.3 from VM ctest-TestBasicPolicy-21649712-15241251 failed 2025-05-27 11:04:18,661 - INFO - Deleting VM ctest-TestBasicPolicy-21649712-17990979 2025-05-27 11:04:18,728 - INFO - Deleting VM ctest-TestBasicPolicy-21649712-15241251 2025-05-27 11:04:19,078 - INFO - Deleted policy ctest-policy-allow-all-46717981 2025-05-27 11:04:19,078 - INFO - Deleting VN ctest-vn-45673771 2025-05-27 11:04:19,115 - DEBUG - VN cac14a95-9762-46cc-ac0d-5231ddf40a5c still in use: Unable to complete operation on network cac14a95-9762-46cc-ac0d-5231ddf40a5c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2980bc68-a7e2-4d79-9778-6d21a2b7f289'] 2025-05-27 11:04:19,115 - WARNING - Deleting VN ctest-vn-45673771 failed..Will retry 2025-05-27 11:04:21,216 - DEBUG - Response for deleting network () 2025-05-27 11:04:21,216 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3059a3d6-5d23-4062-819d-9d24cbb910b3 2025-05-27 11:04:21,221 - DEBUG - Response Code: 404 2025-05-27 11:04:21,221 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-27 11:04:21,228 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a06ce1a1-57f7-4e8c-974d-96b74197f9b7 2025-05-27 11:04:21,285 - DEBUG - Requesting: http://10.0.0.38:8082/project/3906e31b-5fab-4b51-ab7f-b0d12d0c296d 2025-05-27 11:04:21,360 - INFO - Validated that VN ctest-vn-45673771 is not found in API Server 2025-05-27 11:04:21,370 - DEBUG - VN ctest-vn-45673771 is not present in Agent 10.0.0.38 2025-05-27 11:04:21,370 - INFO - Validated that VN ctest-vn-45673771 is not in any agent 2025-05-27 11:04:21,386 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45673771 info 2025-05-27 11:04:21,386 - INFO - Deleting VN ctest-vn-40712021 2025-05-27 11:04:21,492 - DEBUG - Response for deleting network () 2025-05-27 11:04:21,492 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ddbff9d4-65a1-4898-9fb5-6253039de1ef 2025-05-27 11:04:21,503 - DEBUG - Response Code: 404 2025-05-27 11:04:21,503 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-27 11:04:21,509 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a06ce1a1-57f7-4e8c-974d-96b74197f9b7 2025-05-27 11:04:21,566 - DEBUG - Requesting: http://10.0.0.38:8082/project/3906e31b-5fab-4b51-ab7f-b0d12d0c296d 2025-05-27 11:04:21,643 - INFO - Validated that VN ctest-vn-40712021 is not found in API Server 2025-05-27 11:04:21,653 - DEBUG - VN ctest-vn-40712021 is not present in Agent 10.0.0.38 2025-05-27 11:04:21,653 - INFO - Validated that VN ctest-vn-40712021 is not in any agent 2025-05-27 11:04:21,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40712021 info 2025-05-27 11:04:21,929 - DEBUG - No XMPP flaps were noticed during the test
2025-05-27 11:04:21,929 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-05-27 11:04:21,929 - INFO - -------------------------------------------------------------------------------- 2025-05-27 11:04:22,609 - INFO - Deleted project: ctest-TestBasicPolicy-21649712, ID : 3906e31b-5fab-4b51-ab7f-b0d12d0c296d