2025-01-15 05:46:37,827 - INFO - Domain Default found not creating 2025-01-15 05:46:37,979 - INFO - Project ctest-TestBasicPolicy-63244008 not found, creating it 2025-01-15 05:46:38,482 - INFO - Created Project:ctest-TestBasicPolicy-63244008, ID : 1eacf09b-5dd6-4535-84ff-6f1da06f18a0 2025-01-15 05:46:39,971 - INFO - ================================================================================ 2025-01-15 05:46:39,971 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-15 05:46:39,972 - 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-01-15 05:46:40,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.13': '0'}} with 2025-01-15 05:46:40,236 - INFO - Initial checks done. Running the testcase now 2025-01-15 05:46:40,236 - INFO - 2025-01-15 05:46:40,803 - DEBUG - Response for create_network : {'network': {'id': 'c34d0f6a-6281-4236-9f42-e08b6bd75d03', 'name': 'ctest-vn-50437767', 'tenant_id': '1eacf09b5dd6453584ff6f1da06f18a0', 'project_id': '1eacf09b5dd6453584ff6f1da06f18a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63244008', 'ctest-vn-50437767'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 05:46:40,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '3360f28d-eb55-44f6-adc6-46e3b06dd365', 'name': '', 'tenant_id': '1eacf09b5dd6453584ff6f1da06f18a0', 'network_id': 'c34d0f6a-6281-4236-9f42-e08b6bd75d03', 'ip_version': 4, 'cidr': '50.218.209.192/26', 'allocation_pools': [{'start': '50.218.209.194', 'end': '50.218.209.254'}], 'gateway_ip': '50.218.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.218.209.194', 'tags': [], 'project_id': '1eacf09b5dd6453584ff6f1da06f18a0'}} 2025-01-15 05:46:40,983 - INFO - Created VN ctest-vn-50437767 2025-01-15 05:46:41,037 - DEBUG - VN ctest-vn-50437767 UUID is c34d0f6a-6281-4236-9f42-e08b6bd75d03 2025-01-15 05:46:41,357 - DEBUG - Response for create_network : {'network': {'id': '4bfdabfc-26d6-49c8-81bc-869f57e79d5b', 'name': 'ctest-vn-79542543', 'tenant_id': '1eacf09b5dd6453584ff6f1da06f18a0', 'project_id': '1eacf09b5dd6453584ff6f1da06f18a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63244008', 'ctest-vn-79542543'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 05:46:41,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '54beab94-f9c9-4768-bcbe-88d639369e58', 'name': '', 'tenant_id': '1eacf09b5dd6453584ff6f1da06f18a0', 'network_id': '4bfdabfc-26d6-49c8-81bc-869f57e79d5b', 'ip_version': 4, 'cidr': '70.13.69.192/26', 'allocation_pools': [{'start': '70.13.69.194', 'end': '70.13.69.254'}], 'gateway_ip': '70.13.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.13.69.194', 'tags': [], 'project_id': '1eacf09b5dd6453584ff6f1da06f18a0'}} 2025-01-15 05:46:41,600 - INFO - Created VN ctest-vn-79542543 2025-01-15 05:46:41,653 - DEBUG - VN ctest-vn-79542543 UUID is 4bfdabfc-26d6-49c8-81bc-869f57e79d5b 2025-01-15 05:46:41,768 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-50437767, 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-63244008:ctest-vn-79542543, 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-01-15 05:46:42,069 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c34d0f6a-6281-4236-9f42-e08b6bd75d03', 'name': 'ctest-vn-50437767', 'tenant_id': '1eacf09b5dd6453584ff6f1da06f18a0', 'project_id': '1eacf09b5dd6453584ff6f1da06f18a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3360f28d-eb55-44f6-adc6-46e3b06dd365'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63244008', 'ctest-vn-50437767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63244008', 'ctest-policy-allow-all-15133884']], 'subnet_ipam': [{'subnet_cidr': '50.218.209.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 05:46:42,361 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4bfdabfc-26d6-49c8-81bc-869f57e79d5b', 'name': 'ctest-vn-79542543', 'tenant_id': '1eacf09b5dd6453584ff6f1da06f18a0', 'project_id': '1eacf09b5dd6453584ff6f1da06f18a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['54beab94-f9c9-4768-bcbe-88d639369e58'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63244008', 'ctest-vn-79542543'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63244008', 'ctest-policy-allow-all-15133884']], 'subnet_ipam': [{'subnet_cidr': '70.13.69.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 05:46:42,510 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-01-15 05:46:42,809 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-01-15 05:46:42,837 - DEBUG - Requesting: http://10.0.0.35:8082/domain/9c4c31bb-9813-4977-ae42-1f6bc7d34651 2025-01-15 05:46:42,853 - DEBUG - Requesting: http://10.0.0.35:8082/project/1eacf09b-5dd6-4535-84ff-6f1da06f18a0 2025-01-15 05:46:42,928 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/c34d0f6a-6281-4236-9f42-e08b6bd75d03 2025-01-15 05:46:42,940 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/c34d0f6a-6281-4236-9f42-e08b6bd75d03 2025-01-15 05:46:42,950 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/5eef33fa-259e-434a-9612-02224b1da5de 2025-01-15 05:46:42,958 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/5eef33fa-259e-434a-9612-02224b1da5de 2025-01-15 05:46:42,966 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/163ba036-3826-426a-84bc-430a517acf8a 2025-01-15 05:46:42,974 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 05:46:42,974 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/c34d0f6a-6281-4236-9f42-e08b6bd75d03 2025-01-15 05:46:42,983 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/5eef33fa-259e-434a-9612-02224b1da5de 2025-01-15 05:46:43,000 - INFO - Verified VN network id 8 for VN c34d0f6a-6281-4236-9f42-e08b6bd75d03 2025-01-15 05:46:43,000 - INFO - Verifications in API Server for VN ctest-vn-50437767 passed 2025-01-15 05:46:43,000 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/c34d0f6a-6281-4236-9f42-e08b6bd75d03 2025-01-15 05:46:43,011 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/5eef33fa-259e-434a-9612-02224b1da5de 2025-01-15 05:46:43,019 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/5eef33fa-259e-434a-9612-02224b1da5de 2025-01-15 05:46:43,028 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/163ba036-3826-426a-84bc-430a517acf8a 2025-01-15 05:46:43,041 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-50437767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63244008', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14072921360196256310', 'uuid-lslong': '11475981689907797251'}, 'enable': 'true', 'created': '2025-01-15T05:46:40', 'last-modified': '2025-01-15T05:46:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990064'} 2025-01-15 05:46:43,048 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 05:46:43,048 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50437767 passed 2025-01-15 05:46:43,049 - DEBUG - ====Verifying policy data for ctest-vn-50437767 in API_Server ====== 2025-01-15 05:46:43,049 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-01-15 05:46:43,055 - DEBUG - Requesting: http://10.0.0.35:8082/domain/9c4c31bb-9813-4977-ae42-1f6bc7d34651 2025-01-15 05:46:43,068 - DEBUG - Requesting: http://10.0.0.35:8082/project/1eacf09b-5dd6-4535-84ff-6f1da06f18a0 2025-01-15 05:46:43,143 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/c34d0f6a-6281-4236-9f42-e08b6bd75d03 2025-01-15 05:46:43,154 - DEBUG - ==>Verifying data for policy with id: 793dd4c0-6f9b-4f09-8a50-1a34dc74cf87, fqn: ['default-domain', 'ctest-TestBasicPolicy-63244008', 'ctest-policy-allow-all-15133884'] 2025-01-15 05:46:43,154 - INFO - VN ctest-vn-50437767 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 05:46:43,154 - DEBUG - Verifying the vn in opserver 2025-01-15 05:46:43,154 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-50437767 virtual network link through opserver 10.0.0.35 2025-01-15 05:46:43,154 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-01-15 05:46:43,455 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-01-15 05:46:43,510 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-50437767', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-50437767?flat'} 2025-01-15 05:46:43,511 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-50437767 is found in opserver 2025-01-15 05:46:43,522 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 05:46:43,527 - DEBUG - VRF ids for VN ctest-vn-50437767: {} 2025-01-15 05:46:43,528 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-01-15 05:46:43,534 - DEBUG - Requesting: http://10.0.0.35:8082/domain/9c4c31bb-9813-4977-ae42-1f6bc7d34651 2025-01-15 05:46:43,546 - DEBUG - Requesting: http://10.0.0.35:8082/project/1eacf09b-5dd6-4535-84ff-6f1da06f18a0 2025-01-15 05:46:43,620 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/4bfdabfc-26d6-49c8-81bc-869f57e79d5b 2025-01-15 05:46:43,633 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/4bfdabfc-26d6-49c8-81bc-869f57e79d5b 2025-01-15 05:46:43,643 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e1c3477e-4949-421f-a291-92d8db32a8b2 2025-01-15 05:46:43,651 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e1c3477e-4949-421f-a291-92d8db32a8b2 2025-01-15 05:46:43,659 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/0458be27-921b-40a3-b94a-8e240bec97b8 2025-01-15 05:46:43,665 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 05:46:43,665 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/4bfdabfc-26d6-49c8-81bc-869f57e79d5b 2025-01-15 05:46:43,674 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e1c3477e-4949-421f-a291-92d8db32a8b2 2025-01-15 05:46:43,690 - INFO - Verified VN network id 9 for VN 4bfdabfc-26d6-49c8-81bc-869f57e79d5b 2025-01-15 05:46:43,690 - INFO - Verifications in API Server for VN ctest-vn-79542543 passed 2025-01-15 05:46:43,690 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/4bfdabfc-26d6-49c8-81bc-869f57e79d5b 2025-01-15 05:46:43,699 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e1c3477e-4949-421f-a291-92d8db32a8b2 2025-01-15 05:46:43,706 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e1c3477e-4949-421f-a291-92d8db32a8b2 2025-01-15 05:46:43,712 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/0458be27-921b-40a3-b94a-8e240bec97b8 2025-01-15 05:46:43,725 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-79542543', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63244008', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5475721821424077256', 'uuid-lslong': '9348494945447026011'}, 'enable': 'true', 'created': '2025-01-15T05:46:41', 'last-modified': '2025-01-15T05:46:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430268'} 2025-01-15 05:46:43,732 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 05:46:43,732 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79542543 passed 2025-01-15 05:46:43,732 - DEBUG - ====Verifying policy data for ctest-vn-79542543 in API_Server ====== 2025-01-15 05:46:43,732 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-01-15 05:46:43,738 - DEBUG - Requesting: http://10.0.0.35:8082/domain/9c4c31bb-9813-4977-ae42-1f6bc7d34651 2025-01-15 05:46:43,750 - DEBUG - Requesting: http://10.0.0.35:8082/project/1eacf09b-5dd6-4535-84ff-6f1da06f18a0 2025-01-15 05:46:43,818 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/4bfdabfc-26d6-49c8-81bc-869f57e79d5b 2025-01-15 05:46:43,828 - DEBUG - ==>Verifying data for policy with id: 793dd4c0-6f9b-4f09-8a50-1a34dc74cf87, fqn: ['default-domain', 'ctest-TestBasicPolicy-63244008', 'ctest-policy-allow-all-15133884'] 2025-01-15 05:46:43,828 - INFO - VN ctest-vn-79542543 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 05:46:43,828 - DEBUG - Verifying the vn in opserver 2025-01-15 05:46:43,828 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-79542543 virtual network link through opserver 10.0.0.35 2025-01-15 05:46:43,828 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-01-15 05:46:43,839 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-79542543', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-79542543?flat'} 2025-01-15 05:46:43,839 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-79542543 is found in opserver 2025-01-15 05:46:43,850 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 05:46:43,855 - DEBUG - VRF ids for VN ctest-vn-79542543: {} 2025-01-15 05:46:43,922 - DEBUG - Services list from nova: [, , ] 2025-01-15 05:46:45,048 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2634-1) 2025-01-15 05:46:46,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2634-1) 2025-01-15 05:46:46,247 - INFO - Waiting for VM ctest-TestBasicPolicy-63244008-62943743 to be up.. 2025-01-15 05:46:46,345 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 05:46:51,440 - DEBUG - VM is in ACTIVE state now 2025-01-15 05:46:51,440 - INFO - VM name : ctest-TestBasicPolicy-63244008-62943743 2025-01-15 05:46:51,530 - DEBUG - VM ctest-TestBasicPolicy-63244008-62943743 ID is b1548636-e9ce-4b31-8e49-690f6ae1233b 2025-01-15 05:46:51,551 - DEBUG - VM ctest-TestBasicPolicy-63244008-62943743 launched on Node cn-jenkins-deploy-platform-ansible-os-2634-1 2025-01-15 05:46:51,631 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/b1548636-e9ce-4b31-8e49-690f6ae1233b 2025-01-15 05:46:51,639 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/839f5328-b4cf-4fc3-b612-cecfa799ef4e 2025-01-15 05:46:54,921 - 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 1026ms') 2025-01-15 05:46:54,921 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63244008-62943743 failed! 2025-01-15 05:46:54,978 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63244008:ctest-vn-50437767 is 50.218.209.193 and allocation pool is NOT set 2025-01-15 05:46:57,039 - 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=6.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.377 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.377/3.234/6.091/2.857 ms') 2025-01-15 05:46:57,039 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63244008-62943743 passed 2025-01-15 05:46:57,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 05:46:57,202 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63244008-62943743, IP 50.218.209.195, Port 22 2025-01-15 05:46:57,371 - DEBUG - VM ctest-TestBasicPolicy-63244008-62943743 is ready for SSH connections 2025-01-15 05:46:57,371 - INFO - Waiting for VM ctest-TestBasicPolicy-63244008-42696834 to be up.. 2025-01-15 05:46:57,461 - DEBUG - VM is in ACTIVE state now 2025-01-15 05:46:57,462 - INFO - VM name : ctest-TestBasicPolicy-63244008-42696834 2025-01-15 05:46:57,540 - DEBUG - VM ctest-TestBasicPolicy-63244008-42696834 ID is 340d8c64-4e3c-4ac7-bfe3-2b174dd5b13d 2025-01-15 05:46:57,540 - DEBUG - VM ctest-TestBasicPolicy-63244008-42696834 launched on Node cn-jenkins-deploy-platform-ansible-os-2634-1 2025-01-15 05:46:57,619 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/340d8c64-4e3c-4ac7-bfe3-2b174dd5b13d 2025-01-15 05:46:57,630 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/e4c343aa-9612-4f1c-a6db-153cb1567b49 2025-01-15 05:46:58,872 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/1.733/2.973/1.239 ms') 2025-01-15 05:46:58,872 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63244008-42696834 passed 2025-01-15 05:46:59,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 05:46:59,026 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63244008-42696834, IP 70.13.69.195, Port 22 2025-01-15 05:46:59,185 - DEBUG - VM ctest-TestBasicPolicy-63244008-42696834 is ready for SSH connections 2025-01-15 05:46:59,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 05:46:59,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.13.69.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-01-15 05:46:59,185 - DEBUG - ping -s 56 -c 3 -W 1 70.13.69.195 2025-01-15 05:47:03,217 - DEBUG - PING 70.13.69.195 (70.13.69.195): 56 data bytes 64 bytes from 70.13.69.195: seq=0 ttl=63 time=3.535 ms 64 bytes from 70.13.69.195: seq=1 ttl=63 time=0.977 ms 64 bytes from 70.13.69.195: seq=2 ttl=63 time=0.878 ms --- 70.13.69.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/1.796/3.535 ms 2025-01-15 05:47:03,217 - INFO - Ping to IP 70.13.69.195 from VM ctest-TestBasicPolicy-63244008-62943743 passed 2025-01-15 05:47:03,405 - DEBUG - Policy Update Response {"network-policy": {"uuid": "793dd4c0-6f9b-4f09-8a50-1a34dc74cf87", "href": "http://10.0.0.35:8082/network-policy/793dd4c0-6f9b-4f09-8a50-1a34dc74cf87"}} 2025-01-15 05:47:03,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 05:47:03,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.13.69.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-01-15 05:47:03,406 - DEBUG - ping -s 56 -c 3 -W 1 70.13.69.195 2025-01-15 05:47:06,620 - DEBUG - PING 70.13.69.195 (70.13.69.195): 56 data bytes 64 bytes from 70.13.69.195: seq=0 ttl=63 time=1.631 ms --- 70.13.69.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.631/1.631/1.631 ms 2025-01-15 05:47:06,620 - WARNING - Ping to IP 70.13.69.195 from VM ctest-TestBasicPolicy-63244008-62943743 failed 2025-01-15 05:47:06,620 - INFO - Deleting VM ctest-TestBasicPolicy-63244008-42696834 2025-01-15 05:47:06,696 - INFO - Deleting VM ctest-TestBasicPolicy-63244008-62943743 2025-01-15 05:47:07,107 - INFO - Deleted policy ctest-policy-allow-all-15133884 2025-01-15 05:47:07,108 - INFO - Deleting VN ctest-vn-79542543 2025-01-15 05:47:07,145 - DEBUG - VN 4bfdabfc-26d6-49c8-81bc-869f57e79d5b still in use: Unable to complete operation on network 4bfdabfc-26d6-49c8-81bc-869f57e79d5b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b76ab532-91f5-445c-8763-1501b8e9c999'] 2025-01-15 05:47:07,145 - WARNING - Deleting VN ctest-vn-79542543 failed..Will retry 2025-01-15 05:47:09,265 - DEBUG - Response for deleting network () 2025-01-15 05:47:09,265 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/e1c3477e-4949-421f-a291-92d8db32a8b2 2025-01-15 05:47:09,271 - DEBUG - Response Code: 404 2025-01-15 05:47:09,271 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-01-15 05:47:09,277 - DEBUG - Requesting: http://10.0.0.35:8082/domain/9c4c31bb-9813-4977-ae42-1f6bc7d34651 2025-01-15 05:47:09,333 - DEBUG - Requesting: http://10.0.0.35:8082/project/1eacf09b-5dd6-4535-84ff-6f1da06f18a0 2025-01-15 05:47:09,414 - INFO - Validated that VN ctest-vn-79542543 is not found in API Server 2025-01-15 05:47:09,425 - DEBUG - VN ctest-vn-79542543 is not present in Agent 10.0.0.35 2025-01-15 05:47:09,426 - INFO - Validated that VN ctest-vn-79542543 is not in any agent 2025-01-15 05:47:09,442 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79542543 info 2025-01-15 05:47:09,442 - INFO - Deleting VN ctest-vn-50437767 2025-01-15 05:47:09,551 - DEBUG - Response for deleting network () 2025-01-15 05:47:09,551 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/5eef33fa-259e-434a-9612-02224b1da5de 2025-01-15 05:47:09,559 - DEBUG - Response Code: 404 2025-01-15 05:47:09,559 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-01-15 05:47:09,566 - DEBUG - Requesting: http://10.0.0.35:8082/domain/9c4c31bb-9813-4977-ae42-1f6bc7d34651 2025-01-15 05:47:09,619 - DEBUG - Requesting: http://10.0.0.35:8082/project/1eacf09b-5dd6-4535-84ff-6f1da06f18a0 2025-01-15 05:47:09,694 - INFO - Validated that VN ctest-vn-50437767 is not found in API Server 2025-01-15 05:47:09,705 - DEBUG - VN ctest-vn-50437767 is not present in Agent 10.0.0.35 2025-01-15 05:47:09,705 - INFO - Validated that VN ctest-vn-50437767 is not in any agent 2025-01-15 05:47:09,722 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50437767 info 2025-01-15 05:47:09,975 - DEBUG - No XMPP flaps were noticed during the test 2025-01-15 05:47:09,975 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-15 05:47:09,975 - INFO - -------------------------------------------------------------------------------- 2025-01-15 05:47:10,655 - INFO - Deleted project: ctest-TestBasicPolicy-63244008, ID : 1eacf09b-5dd6-4535-84ff-6f1da06f18a0