2025-04-15 01:26:22,741 - INFO - Domain Default found not creating 2025-04-15 01:26:22,916 - INFO - Project ctest-TestBasicPolicy-96685955 not found, creating it 2025-04-15 01:26:23,399 - INFO - Created Project:ctest-TestBasicPolicy-96685955, ID : 9fe1c98d-95a3-4755-a380-da88a308e607 2025-04-15 01:26:25,057 - INFO - ================================================================================ 2025-04-15 01:26:25,057 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-15 01:26:25,057 - 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-04-15 01:26:25,320 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-04-15 01:26:25,320 - INFO - Initial checks done. Running the testcase now 2025-04-15 01:26:25,320 - INFO - 2025-04-15 01:26:25,931 - DEBUG - Response for create_network : {'network': {'id': '471ee76c-d52c-4313-8db1-6607c27bf4fc', 'name': 'ctest-vn-25108054', 'tenant_id': '9fe1c98d95a34755a380da88a308e607', 'project_id': '9fe1c98d95a34755a380da88a308e607', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96685955', 'ctest-vn-25108054'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 01:26:26,119 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9809ef0-bf6e-487b-89c9-77538a16003e', 'name': '', 'tenant_id': '9fe1c98d95a34755a380da88a308e607', 'network_id': '471ee76c-d52c-4313-8db1-6607c27bf4fc', 'ip_version': 4, 'cidr': '140.243.252.128/26', 'allocation_pools': [{'start': '140.243.252.130', 'end': '140.243.252.190'}], 'gateway_ip': '140.243.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.243.252.130', 'tags': [], 'project_id': '9fe1c98d95a34755a380da88a308e607'}} 2025-04-15 01:26:26,141 - INFO - Created VN ctest-vn-25108054 2025-04-15 01:26:26,193 - DEBUG - VN ctest-vn-25108054 UUID is 471ee76c-d52c-4313-8db1-6607c27bf4fc 2025-04-15 01:26:26,522 - DEBUG - Response for create_network : {'network': {'id': 'dc6b7c66-2a1d-4077-a819-406951212fec', 'name': 'ctest-vn-30990183', 'tenant_id': '9fe1c98d95a34755a380da88a308e607', 'project_id': '9fe1c98d95a34755a380da88a308e607', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96685955', 'ctest-vn-30990183'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 01:26:26,714 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b545c73-6402-48f9-9df1-7e2423a05b8a', 'name': '', 'tenant_id': '9fe1c98d95a34755a380da88a308e607', 'network_id': 'dc6b7c66-2a1d-4077-a819-406951212fec', 'ip_version': 4, 'cidr': '132.248.121.0/26', 'allocation_pools': [{'start': '132.248.121.2', 'end': '132.248.121.62'}], 'gateway_ip': '132.248.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.248.121.2', 'tags': [], 'project_id': '9fe1c98d95a34755a380da88a308e607'}} 2025-04-15 01:26:26,736 - INFO - Created VN ctest-vn-30990183 2025-04-15 01:26:26,789 - DEBUG - VN ctest-vn-30990183 UUID is dc6b7c66-2a1d-4077-a819-406951212fec 2025-04-15 01:26:26,922 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-25108054, 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-96685955:ctest-vn-30990183, 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-04-15 01:26:27,225 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '471ee76c-d52c-4313-8db1-6607c27bf4fc', 'name': 'ctest-vn-25108054', 'tenant_id': '9fe1c98d95a34755a380da88a308e607', 'project_id': '9fe1c98d95a34755a380da88a308e607', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b9809ef0-bf6e-487b-89c9-77538a16003e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96685955', 'ctest-vn-25108054'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96685955', 'ctest-policy-allow-all-14896969']], 'subnet_ipam': [{'subnet_cidr': '140.243.252.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-15 01:26:27,518 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc6b7c66-2a1d-4077-a819-406951212fec', 'name': 'ctest-vn-30990183', 'tenant_id': '9fe1c98d95a34755a380da88a308e607', 'project_id': '9fe1c98d95a34755a380da88a308e607', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b545c73-6402-48f9-9df1-7e2423a05b8a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96685955', 'ctest-vn-30990183'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96685955', 'ctest-policy-allow-all-14896969']], 'subnet_ipam': [{'subnet_cidr': '132.248.121.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-15 01:26:27,665 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 01:26:28,022 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 01:26:28,056 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3769422b-0085-48da-9146-f0fc415d5401 2025-04-15 01:26:28,071 - DEBUG - Requesting: http://10.0.0.65:8082/project/9fe1c98d-95a3-4755-a380-da88a308e607 2025-04-15 01:26:28,145 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/471ee76c-d52c-4313-8db1-6607c27bf4fc 2025-04-15 01:26:28,157 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/471ee76c-d52c-4313-8db1-6607c27bf4fc 2025-04-15 01:26:28,166 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/170683f6-d432-400f-8d0f-2abdf0217a05 2025-04-15 01:26:28,174 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/170683f6-d432-400f-8d0f-2abdf0217a05 2025-04-15 01:26:28,182 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/cefa0352-33f3-440e-888a-1eb6440d2650 2025-04-15 01:26:28,189 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-15 01:26:28,189 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/471ee76c-d52c-4313-8db1-6607c27bf4fc 2025-04-15 01:26:28,198 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/170683f6-d432-400f-8d0f-2abdf0217a05 2025-04-15 01:26:28,214 - INFO - Verified VN network id 8 for VN 471ee76c-d52c-4313-8db1-6607c27bf4fc 2025-04-15 01:26:28,214 - INFO - Verifications in API Server for VN ctest-vn-25108054 passed 2025-04-15 01:26:28,214 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/471ee76c-d52c-4313-8db1-6607c27bf4fc 2025-04-15 01:26:28,225 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/170683f6-d432-400f-8d0f-2abdf0217a05 2025-04-15 01:26:28,234 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/170683f6-d432-400f-8d0f-2abdf0217a05 2025-04-15 01:26:28,243 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/cefa0352-33f3-440e-888a-1eb6440d2650 2025-04-15 01:26:28,258 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-25108054', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96685955', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5124787880613135123', 'uuid-lslong': '10210054013739332860'}, 'enable': 'true', 'created': '2025-04-15T01:26:25', 'last-modified': '2025-04-15T01:26:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.058366'} 2025-04-15 01:26:28,266 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-15 01:26:28,266 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25108054 passed 2025-04-15 01:26:28,266 - DEBUG - ====Verifying policy data for ctest-vn-25108054 in API_Server ====== 2025-04-15 01:26:28,266 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 01:26:28,273 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3769422b-0085-48da-9146-f0fc415d5401 2025-04-15 01:26:28,289 - DEBUG - Requesting: http://10.0.0.65:8082/project/9fe1c98d-95a3-4755-a380-da88a308e607 2025-04-15 01:26:28,362 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/471ee76c-d52c-4313-8db1-6607c27bf4fc 2025-04-15 01:26:28,373 - DEBUG - ==>Verifying data for policy with id: 36733357-0777-40b0-b6ff-0ed55c68b956, fqn: ['default-domain', 'ctest-TestBasicPolicy-96685955', 'ctest-policy-allow-all-14896969'] 2025-04-15 01:26:28,373 - INFO - VN ctest-vn-25108054 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-15 01:26:28,373 - DEBUG - Verifying the vn in opserver 2025-04-15 01:26:28,373 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-25108054 virtual network link through opserver 10.0.0.65 2025-04-15 01:26:28,373 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-04-15 01:26:28,713 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-04-15 01:26:28,774 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-25108054', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-25108054?flat'} 2025-04-15 01:26:28,774 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-25108054 is found in opserver 2025-04-15 01:26:28,786 - DEBUG - Do not have enough data to verify VN in agent 2025-04-15 01:26:28,792 - DEBUG - VRF ids for VN ctest-vn-25108054: {} 2025-04-15 01:26:28,792 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 01:26:28,799 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3769422b-0085-48da-9146-f0fc415d5401 2025-04-15 01:26:28,814 - DEBUG - Requesting: http://10.0.0.65:8082/project/9fe1c98d-95a3-4755-a380-da88a308e607 2025-04-15 01:26:28,885 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dc6b7c66-2a1d-4077-a819-406951212fec 2025-04-15 01:26:28,899 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dc6b7c66-2a1d-4077-a819-406951212fec 2025-04-15 01:26:28,913 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1e06c019-365e-4618-a082-2dfe51e6461b 2025-04-15 01:26:28,925 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1e06c019-365e-4618-a082-2dfe51e6461b 2025-04-15 01:26:28,936 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/bcc64793-90c5-4989-97a5-fec1deadb539 2025-04-15 01:26:28,945 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-15 01:26:28,945 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dc6b7c66-2a1d-4077-a819-406951212fec 2025-04-15 01:26:28,954 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1e06c019-365e-4618-a082-2dfe51e6461b 2025-04-15 01:26:28,968 - INFO - Verified VN network id 9 for VN dc6b7c66-2a1d-4077-a819-406951212fec 2025-04-15 01:26:28,968 - INFO - Verifications in API Server for VN ctest-vn-30990183 passed 2025-04-15 01:26:28,968 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dc6b7c66-2a1d-4077-a819-406951212fec 2025-04-15 01:26:28,977 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1e06c019-365e-4618-a082-2dfe51e6461b 2025-04-15 01:26:28,984 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1e06c019-365e-4618-a082-2dfe51e6461b 2025-04-15 01:26:28,991 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/bcc64793-90c5-4989-97a5-fec1deadb539 2025-04-15 01:26:29,007 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-30990183', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96685955', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15882925289087254647', 'uuid-lslong': '12112783493866532844'}, 'enable': 'true', 'created': '2025-04-15T01:26:26', 'last-modified': '2025-04-15T01:26:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.565468'} 2025-04-15 01:26:29,018 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-15 01:26:29,018 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30990183 passed 2025-04-15 01:26:29,018 - DEBUG - ====Verifying policy data for ctest-vn-30990183 in API_Server ====== 2025-04-15 01:26:29,018 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 01:26:29,027 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3769422b-0085-48da-9146-f0fc415d5401 2025-04-15 01:26:29,044 - DEBUG - Requesting: http://10.0.0.65:8082/project/9fe1c98d-95a3-4755-a380-da88a308e607 2025-04-15 01:26:29,119 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dc6b7c66-2a1d-4077-a819-406951212fec 2025-04-15 01:26:29,128 - DEBUG - ==>Verifying data for policy with id: 36733357-0777-40b0-b6ff-0ed55c68b956, fqn: ['default-domain', 'ctest-TestBasicPolicy-96685955', 'ctest-policy-allow-all-14896969'] 2025-04-15 01:26:29,128 - INFO - VN ctest-vn-30990183 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-15 01:26:29,128 - DEBUG - Verifying the vn in opserver 2025-04-15 01:26:29,128 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-30990183 virtual network link through opserver 10.0.0.65 2025-04-15 01:26:29,129 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-04-15 01:26:29,142 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-30990183', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-30990183?flat'} 2025-04-15 01:26:29,142 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-30990183 is found in opserver 2025-04-15 01:26:29,157 - DEBUG - Do not have enough data to verify VN in agent 2025-04-15 01:26:29,163 - DEBUG - VRF ids for VN ctest-vn-30990183: {} 2025-04-15 01:26:29,228 - DEBUG - Services list from nova: [, , ] 2025-04-15 01:26:30,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3112-1) 2025-04-15 01:26:31,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3112-1) 2025-04-15 01:26:31,699 - INFO - Waiting for VM ctest-TestBasicPolicy-96685955-76755499 to be up.. 2025-04-15 01:26:31,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 01:26:36,882 - DEBUG - VM is in ACTIVE state now 2025-04-15 01:26:36,882 - INFO - VM name : ctest-TestBasicPolicy-96685955-76755499 2025-04-15 01:26:36,980 - DEBUG - VM ctest-TestBasicPolicy-96685955-76755499 ID is 83c3431a-d768-4c88-a3a7-388c5ed098be 2025-04-15 01:26:37,005 - DEBUG - VM ctest-TestBasicPolicy-96685955-76755499 launched on Node cn-jenkins-deploy-platform-ansible-os-3112-1 2025-04-15 01:26:37,097 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/83c3431a-d768-4c88-a3a7-388c5ed098be 2025-04-15 01:26:37,108 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0fcfdf45-1e28-40cc-b50d-6285b02d76a0 2025-04-15 01:26:40,372 - 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-04-15 01:26:40,372 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96685955-76755499 failed! 2025-04-15 01:26:40,425 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96685955:ctest-vn-25108054 is 140.243.252.129 and allocation pool is NOT set 2025-04-15 01:26:42,487 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.21 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 = 3.207/5.191/7.176/1.984 ms') 2025-04-15 01:26:42,487 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96685955-76755499 passed 2025-04-15 01:26:42,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:26:42,637 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96685955-76755499, IP 140.243.252.131, Port 22 2025-04-15 01:26:42,696 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-04-15 01:26:42,775 - DEBUG - VM ctest-TestBasicPolicy-96685955-76755499 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-15 01:26:47,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:26:47,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96685955-76755499, IP 140.243.252.131, Port 22 2025-04-15 01:26:47,932 - DEBUG - VM ctest-TestBasicPolicy-96685955-76755499 is ready for SSH connections 2025-04-15 01:26:47,933 - INFO - Waiting for VM ctest-TestBasicPolicy-96685955-55778537 to be up.. 2025-04-15 01:26:48,043 - DEBUG - VM is in ACTIVE state now 2025-04-15 01:26:48,044 - INFO - VM name : ctest-TestBasicPolicy-96685955-55778537 2025-04-15 01:26:48,143 - DEBUG - VM ctest-TestBasicPolicy-96685955-55778537 ID is e684e180-ad12-4eaa-ab53-ecf2179d3c55 2025-04-15 01:26:48,144 - DEBUG - VM ctest-TestBasicPolicy-96685955-55778537 launched on Node cn-jenkins-deploy-platform-ansible-os-3112-1 2025-04-15 01:26:48,227 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e684e180-ad12-4eaa-ab53-ecf2179d3c55 2025-04-15 01:26:48,238 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/6e320a85-3c36-4d1f-b11a-4ac84a0fcec4 2025-04-15 01:26:49,478 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.787/3.148/1.361 ms') 2025-04-15 01:26:49,478 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96685955-55778537 passed 2025-04-15 01:26:49,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:26:49,633 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96685955-55778537, IP 132.248.121.3, Port 22 2025-04-15 01:26:49,789 - DEBUG - VM ctest-TestBasicPolicy-96685955-55778537 is ready for SSH connections 2025-04-15 01:26:49,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:26:49,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.248.121.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-04-15 01:26:49,789 - DEBUG - ping -s 56 -c 3 -W 1 132.248.121.3 2025-04-15 01:26:53,877 - DEBUG - PING 132.248.121.3 (132.248.121.3): 56 data bytes 64 bytes from 132.248.121.3: seq=0 ttl=63 time=3.691 ms 64 bytes from 132.248.121.3: seq=1 ttl=63 time=1.024 ms 64 bytes from 132.248.121.3: seq=2 ttl=63 time=0.879 ms --- 132.248.121.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.879/1.864/3.691 ms 2025-04-15 01:26:53,878 - INFO - Ping to IP 132.248.121.3 from VM ctest-TestBasicPolicy-96685955-76755499 passed 2025-04-15 01:26:54,057 - DEBUG - Policy Update Response {"network-policy": {"uuid": "36733357-0777-40b0-b6ff-0ed55c68b956", "href": "http://10.0.0.65:8082/network-policy/36733357-0777-40b0-b6ff-0ed55c68b956"}} 2025-04-15 01:26:54,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 01:26:54,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.248.121.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-04-15 01:26:54,057 - DEBUG - ping -s 56 -c 3 -W 1 132.248.121.3 2025-04-15 01:26:57,290 - DEBUG - PING 132.248.121.3 (132.248.121.3): 56 data bytes 64 bytes from 132.248.121.3: seq=0 ttl=63 time=1.392 ms --- 132.248.121.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.392/1.392/1.392 ms 2025-04-15 01:26:57,290 - WARNING - Ping to IP 132.248.121.3 from VM ctest-TestBasicPolicy-96685955-76755499 failed 2025-04-15 01:26:57,290 - INFO - Deleting VM ctest-TestBasicPolicy-96685955-55778537 2025-04-15 01:26:57,360 - INFO - Deleting VM ctest-TestBasicPolicy-96685955-76755499 2025-04-15 01:26:57,757 - INFO - Deleted policy ctest-policy-allow-all-14896969 2025-04-15 01:26:57,757 - INFO - Deleting VN ctest-vn-30990183 2025-04-15 01:26:57,795 - DEBUG - VN dc6b7c66-2a1d-4077-a819-406951212fec still in use: Unable to complete operation on network dc6b7c66-2a1d-4077-a819-406951212fec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-98ed6401-3dae-4e5f-a386-e4a304b665f8'] 2025-04-15 01:26:57,795 - WARNING - Deleting VN ctest-vn-30990183 failed..Will retry 2025-04-15 01:26:59,908 - DEBUG - Response for deleting network () 2025-04-15 01:26:59,908 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1e06c019-365e-4618-a082-2dfe51e6461b 2025-04-15 01:26:59,917 - DEBUG - Response Code: 404 2025-04-15 01:26:59,917 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 01:26:59,923 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3769422b-0085-48da-9146-f0fc415d5401 2025-04-15 01:26:59,979 - DEBUG - Requesting: http://10.0.0.65:8082/project/9fe1c98d-95a3-4755-a380-da88a308e607 2025-04-15 01:27:00,062 - INFO - Validated that VN ctest-vn-30990183 is not found in API Server 2025-04-15 01:27:00,077 - DEBUG - VN ctest-vn-30990183 is not present in Agent 10.0.0.65 2025-04-15 01:27:00,077 - INFO - Validated that VN ctest-vn-30990183 is not in any agent 2025-04-15 01:27:00,096 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30990183 info 2025-04-15 01:27:00,097 - INFO - Deleting VN ctest-vn-25108054 2025-04-15 01:27:00,220 - DEBUG - Response for deleting network () 2025-04-15 01:27:00,221 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/170683f6-d432-400f-8d0f-2abdf0217a05 2025-04-15 01:27:00,228 - DEBUG - Response Code: 404 2025-04-15 01:27:00,228 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-04-15 01:27:00,235 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3769422b-0085-48da-9146-f0fc415d5401 2025-04-15 01:27:00,290 - DEBUG - Requesting: http://10.0.0.65:8082/project/9fe1c98d-95a3-4755-a380-da88a308e607 2025-04-15 01:27:00,360 - INFO - Validated that VN ctest-vn-25108054 is not found in API Server 2025-04-15 01:27:00,373 - DEBUG - VN ctest-vn-25108054 is not present in Agent 10.0.0.65 2025-04-15 01:27:00,373 - INFO - Validated that VN ctest-vn-25108054 is not in any agent 2025-04-15 01:27:00,391 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25108054 info 2025-04-15 01:27:00,647 - DEBUG - No XMPP flaps were noticed during the test 2025-04-15 01:27:00,647 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-04-15 01:27:00,648 - INFO - -------------------------------------------------------------------------------- 2025-04-15 01:27:01,358 - INFO - Deleted project: ctest-TestBasicPolicy-96685955, ID : 9fe1c98d-95a3-4755-a380-da88a308e607