2025-05-06 11:37:43,789 - INFO - Domain Default found not creating 2025-05-06 11:37:43,921 - INFO - Project ctest-TestBasicPolicy-55932564 not found, creating it 2025-05-06 11:37:44,364 - INFO - Created Project:ctest-TestBasicPolicy-55932564, ID : aaafd7b2-3f2c-415c-a871-3b0992fa43bc 2025-05-06 11:37:45,709 - INFO - ================================================================================ 2025-05-06 11:37:45,709 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-06 11:37:45,709 - 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-06 11:37:45,960 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-06 11:37:45,960 - INFO - Initial checks done. Running the testcase now 2025-05-06 11:37:45,960 - INFO - 2025-05-06 11:37:46,483 - DEBUG - Response for create_network : {'network': {'id': 'ed6f0496-6c0e-45bf-a74b-8968617e2713', 'name': 'ctest-vn-39348580', 'tenant_id': 'aaafd7b23f2c415ca8713b0992fa43bc', 'project_id': 'aaafd7b23f2c415ca8713b0992fa43bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55932564', 'ctest-vn-39348580'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 11:37:46,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '32600ddd-c87f-4142-954f-f26f8038c627', 'name': '', 'tenant_id': 'aaafd7b23f2c415ca8713b0992fa43bc', 'network_id': 'ed6f0496-6c0e-45bf-a74b-8968617e2713', 'ip_version': 4, 'cidr': '130.229.72.64/26', 'allocation_pools': [{'start': '130.229.72.66', 'end': '130.229.72.126'}], 'gateway_ip': '130.229.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.229.72.66', 'tags': [], 'project_id': 'aaafd7b23f2c415ca8713b0992fa43bc'}} 2025-05-06 11:37:46,704 - INFO - Created VN ctest-vn-39348580 2025-05-06 11:37:46,755 - DEBUG - VN ctest-vn-39348580 UUID is ed6f0496-6c0e-45bf-a74b-8968617e2713 2025-05-06 11:37:47,068 - DEBUG - Response for create_network : {'network': {'id': '5f453d31-dcc7-4b5a-b266-4032c073033b', 'name': 'ctest-vn-70150904', 'tenant_id': 'aaafd7b23f2c415ca8713b0992fa43bc', 'project_id': 'aaafd7b23f2c415ca8713b0992fa43bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55932564', 'ctest-vn-70150904'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 11:37:47,230 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eaea94da-4250-4879-b9e3-cd607519b73c', 'name': '', 'tenant_id': 'aaafd7b23f2c415ca8713b0992fa43bc', 'network_id': '5f453d31-dcc7-4b5a-b266-4032c073033b', 'ip_version': 4, 'cidr': '189.104.12.0/26', 'allocation_pools': [{'start': '189.104.12.2', 'end': '189.104.12.62'}], 'gateway_ip': '189.104.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.104.12.2', 'tags': [], 'project_id': 'aaafd7b23f2c415ca8713b0992fa43bc'}} 2025-05-06 11:37:47,247 - INFO - Created VN ctest-vn-70150904 2025-05-06 11:37:47,299 - DEBUG - VN ctest-vn-70150904 UUID is 5f453d31-dcc7-4b5a-b266-4032c073033b 2025-05-06 11:37:47,411 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-39348580, 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-55932564:ctest-vn-70150904, 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-06 11:37:47,704 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed6f0496-6c0e-45bf-a74b-8968617e2713', 'name': 'ctest-vn-39348580', 'tenant_id': 'aaafd7b23f2c415ca8713b0992fa43bc', 'project_id': 'aaafd7b23f2c415ca8713b0992fa43bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32600ddd-c87f-4142-954f-f26f8038c627'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55932564', 'ctest-vn-39348580'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55932564', 'ctest-policy-allow-all-72723395']], 'subnet_ipam': [{'subnet_cidr': '130.229.72.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-06 11:37:47,930 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5f453d31-dcc7-4b5a-b266-4032c073033b', 'name': 'ctest-vn-70150904', 'tenant_id': 'aaafd7b23f2c415ca8713b0992fa43bc', 'project_id': 'aaafd7b23f2c415ca8713b0992fa43bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eaea94da-4250-4879-b9e3-cd607519b73c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55932564', 'ctest-vn-70150904'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55932564', 'ctest-policy-allow-all-72723395']], 'subnet_ipam': [{'subnet_cidr': '189.104.12.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-06 11:37:48,099 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 11:37:48,394 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 11:37:48,421 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5d70fbfc-aa05-4339-bd03-c0009cb47069 2025-05-06 11:37:48,434 - DEBUG - Requesting: http://10.0.0.50:8082/project/aaafd7b2-3f2c-415c-a871-3b0992fa43bc 2025-05-06 11:37:48,511 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed6f0496-6c0e-45bf-a74b-8968617e2713 2025-05-06 11:37:48,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed6f0496-6c0e-45bf-a74b-8968617e2713 2025-05-06 11:37:48,534 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d321b7d5-32b0-4b7c-a7b7-258ca86972d4 2025-05-06 11:37:48,540 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d321b7d5-32b0-4b7c-a7b7-258ca86972d4 2025-05-06 11:37:48,547 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/839eb17d-6a24-4516-9fde-083bc9fb1778 2025-05-06 11:37:48,553 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-06 11:37:48,553 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed6f0496-6c0e-45bf-a74b-8968617e2713 2025-05-06 11:37:48,564 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d321b7d5-32b0-4b7c-a7b7-258ca86972d4 2025-05-06 11:37:48,577 - INFO - Verified VN network id 9 for VN ed6f0496-6c0e-45bf-a74b-8968617e2713 2025-05-06 11:37:48,577 - INFO - Verifications in API Server for VN ctest-vn-39348580 passed 2025-05-06 11:37:48,577 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed6f0496-6c0e-45bf-a74b-8968617e2713 2025-05-06 11:37:48,585 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d321b7d5-32b0-4b7c-a7b7-258ca86972d4 2025-05-06 11:37:48,593 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d321b7d5-32b0-4b7c-a7b7-258ca86972d4 2025-05-06 11:37:48,599 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/839eb17d-6a24-4516-9fde-083bc9fb1778 2025-05-06 11:37:48,609 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-39348580', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55932564', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17108898553508283839', 'uuid-lslong': '12054879908992526099'}, 'enable': 'true', 'created': '2025-05-06T11:37:46', 'last-modified': '2025-05-06T11:37:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924342'} 2025-05-06 11:37:48,615 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-06 11:37:48,615 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39348580 passed 2025-05-06 11:37:48,615 - DEBUG - ====Verifying policy data for ctest-vn-39348580 in API_Server ====== 2025-05-06 11:37:48,615 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 11:37:48,620 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5d70fbfc-aa05-4339-bd03-c0009cb47069 2025-05-06 11:37:48,630 - DEBUG - Requesting: http://10.0.0.50:8082/project/aaafd7b2-3f2c-415c-a871-3b0992fa43bc 2025-05-06 11:37:48,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed6f0496-6c0e-45bf-a74b-8968617e2713 2025-05-06 11:37:48,724 - DEBUG - ==>Verifying data for policy with id: 1a05a02a-35f4-44cf-9628-e0eeb94df8f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-55932564', 'ctest-policy-allow-all-72723395'] 2025-05-06 11:37:48,724 - INFO - VN ctest-vn-39348580 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-06 11:37:48,725 - DEBUG - Verifying the vn in opserver 2025-05-06 11:37:48,725 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-39348580 virtual network link through opserver 10.0.0.50 2025-05-06 11:37:48,725 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-06 11:37:49,016 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-06 11:37:49,073 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-39348580', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-39348580?flat'} 2025-05-06 11:37:49,073 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-39348580 is found in opserver 2025-05-06 11:37:49,083 - DEBUG - Do not have enough data to verify VN in agent 2025-05-06 11:37:49,088 - DEBUG - VRF ids for VN ctest-vn-39348580: {} 2025-05-06 11:37:49,089 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 11:37:49,094 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5d70fbfc-aa05-4339-bd03-c0009cb47069 2025-05-06 11:37:49,104 - DEBUG - Requesting: http://10.0.0.50:8082/project/aaafd7b2-3f2c-415c-a871-3b0992fa43bc 2025-05-06 11:37:49,174 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5f453d31-dcc7-4b5a-b266-4032c073033b 2025-05-06 11:37:49,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5f453d31-dcc7-4b5a-b266-4032c073033b 2025-05-06 11:37:49,194 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa00ee08-e762-4ec6-93bd-0906335f7e48 2025-05-06 11:37:49,200 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa00ee08-e762-4ec6-93bd-0906335f7e48 2025-05-06 11:37:49,206 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8cc660b3-7263-46e8-bb0c-00cdd2fc703a 2025-05-06 11:37:49,212 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-06 11:37:49,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5f453d31-dcc7-4b5a-b266-4032c073033b 2025-05-06 11:37:49,221 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa00ee08-e762-4ec6-93bd-0906335f7e48 2025-05-06 11:37:49,241 - INFO - Verified VN network id 10 for VN 5f453d31-dcc7-4b5a-b266-4032c073033b 2025-05-06 11:37:49,241 - INFO - Verifications in API Server for VN ctest-vn-70150904 passed 2025-05-06 11:37:49,241 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5f453d31-dcc7-4b5a-b266-4032c073033b 2025-05-06 11:37:49,252 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa00ee08-e762-4ec6-93bd-0906335f7e48 2025-05-06 11:37:49,258 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa00ee08-e762-4ec6-93bd-0906335f7e48 2025-05-06 11:37:49,264 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8cc660b3-7263-46e8-bb0c-00cdd2fc703a 2025-05-06 11:37:49,275 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-70150904', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55932564', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6864960491362929498', 'uuid-lslong': '12855032773096964923'}, 'enable': 'true', 'created': '2025-05-06T11:37:47', 'last-modified': '2025-05-06T11:37:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.369160'} 2025-05-06 11:37:49,281 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-06 11:37:49,281 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70150904 passed 2025-05-06 11:37:49,281 - DEBUG - ====Verifying policy data for ctest-vn-70150904 in API_Server ====== 2025-05-06 11:37:49,281 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 11:37:49,288 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5d70fbfc-aa05-4339-bd03-c0009cb47069 2025-05-06 11:37:49,299 - DEBUG - Requesting: http://10.0.0.50:8082/project/aaafd7b2-3f2c-415c-a871-3b0992fa43bc 2025-05-06 11:37:49,372 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5f453d31-dcc7-4b5a-b266-4032c073033b 2025-05-06 11:37:49,383 - DEBUG - ==>Verifying data for policy with id: 1a05a02a-35f4-44cf-9628-e0eeb94df8f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-55932564', 'ctest-policy-allow-all-72723395'] 2025-05-06 11:37:49,383 - INFO - VN ctest-vn-70150904 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-06 11:37:49,383 - DEBUG - Verifying the vn in opserver 2025-05-06 11:37:49,383 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-70150904 virtual network link through opserver 10.0.0.50 2025-05-06 11:37:49,383 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-06 11:37:49,393 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-70150904', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-70150904?flat'} 2025-05-06 11:37:49,393 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-70150904 is found in opserver 2025-05-06 11:37:49,402 - DEBUG - Do not have enough data to verify VN in agent 2025-05-06 11:37:49,407 - DEBUG - VRF ids for VN ctest-vn-70150904: {} 2025-05-06 11:37:49,456 - DEBUG - Services list from nova: [, , ] 2025-05-06 11:37:50,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3277-1) 2025-05-06 11:37:51,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3277-1) 2025-05-06 11:37:51,777 - INFO - Waiting for VM ctest-TestBasicPolicy-55932564-72645521 to be up.. 2025-05-06 11:37:51,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-06 11:37:56,926 - DEBUG - VM is in ACTIVE state now 2025-05-06 11:37:56,926 - INFO - VM name : ctest-TestBasicPolicy-55932564-72645521 2025-05-06 11:37:57,001 - DEBUG - VM ctest-TestBasicPolicy-55932564-72645521 ID is e818ba62-2d0d-4d53-afed-b8472046b987 2025-05-06 11:37:57,020 - DEBUG - VM ctest-TestBasicPolicy-55932564-72645521 launched on Node cn-jenkins-deploy-platform-ansible-os-3277-1 2025-05-06 11:37:57,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e818ba62-2d0d-4d53-afed-b8472046b987 2025-05-06 11:37:57,109 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1ee7f4bc-a0ed-4c2b-8683-1d617ee2d099 2025-05-06 11:38:00,373 - 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 1023ms') 2025-05-06 11:38:00,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55932564-72645521 failed! 2025-05-06 11:38:00,427 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55932564:ctest-vn-39348580 is 130.229.72.65 and allocation pool is NOT set 2025-05-06 11:38:02,484 - 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=2.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.436 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.436/1.570/2.705/1.134 ms') 2025-05-06 11:38:02,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55932564-72645521 passed 2025-05-06 11:38:02,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:38:02,631 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55932564-72645521, IP 130.229.72.67, Port 22 2025-05-06 11:38:02,786 - DEBUG - VM ctest-TestBasicPolicy-55932564-72645521 is ready for SSH connections 2025-05-06 11:38:02,786 - INFO - Waiting for VM ctest-TestBasicPolicy-55932564-32434293 to be up.. 2025-05-06 11:38:02,852 - DEBUG - VM is in ACTIVE state now 2025-05-06 11:38:02,852 - INFO - VM name : ctest-TestBasicPolicy-55932564-32434293 2025-05-06 11:38:02,917 - DEBUG - VM ctest-TestBasicPolicy-55932564-32434293 ID is d9d0d729-5cfd-45d9-b72b-59583894537c 2025-05-06 11:38:02,917 - DEBUG - VM ctest-TestBasicPolicy-55932564-32434293 launched on Node cn-jenkins-deploy-platform-ansible-os-3277-1 2025-05-06 11:38:02,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d9d0d729-5cfd-45d9-b72b-59583894537c 2025-05-06 11:38:02,994 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/42df88a8-44c3-4c8b-a19e-fb5c56943c0e 2025-05-06 11:38:04,231 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.863 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.863/2.195/3.527/1.332 ms') 2025-05-06 11:38:04,231 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55932564-32434293 passed 2025-05-06 11:38:04,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:38:04,379 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55932564-32434293, IP 189.104.12.3, Port 22 2025-05-06 11:38:04,530 - DEBUG - VM ctest-TestBasicPolicy-55932564-32434293 is ready for SSH connections 2025-05-06 11:38:04,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:38:04,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.104.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-06 11:38:04,531 - DEBUG - ping -s 56 -c 3 -W 1 189.104.12.3 2025-05-06 11:38:08,629 - DEBUG - PING 189.104.12.3 (189.104.12.3): 56 data bytes 64 bytes from 189.104.12.3: seq=0 ttl=63 time=3.055 ms 64 bytes from 189.104.12.3: seq=1 ttl=63 time=0.774 ms 64 bytes from 189.104.12.3: seq=2 ttl=63 time=0.698 ms --- 189.104.12.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.698/1.509/3.055 ms 2025-05-06 11:38:08,629 - INFO - Ping to IP 189.104.12.3 from VM ctest-TestBasicPolicy-55932564-72645521 passed 2025-05-06 11:38:08,798 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1a05a02a-35f4-44cf-9628-e0eeb94df8f9", "href": "http://10.0.0.50:8082/network-policy/1a05a02a-35f4-44cf-9628-e0eeb94df8f9"}} 2025-05-06 11:38:08,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:38:08,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.104.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-06 11:38:08,799 - DEBUG - ping -s 56 -c 3 -W 1 189.104.12.3 2025-05-06 11:38:12,000 - DEBUG - PING 189.104.12.3 (189.104.12.3): 56 data bytes --- 189.104.12.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-06 11:38:12,000 - WARNING - Ping to IP 189.104.12.3 from VM ctest-TestBasicPolicy-55932564-72645521 failed 2025-05-06 11:38:12,000 - INFO - Deleting VM ctest-TestBasicPolicy-55932564-32434293 2025-05-06 11:38:12,059 - INFO - Deleting VM ctest-TestBasicPolicy-55932564-72645521 2025-05-06 11:38:12,390 - INFO - Deleted policy ctest-policy-allow-all-72723395 2025-05-06 11:38:12,391 - INFO - Deleting VN ctest-vn-70150904 2025-05-06 11:38:12,423 - DEBUG - VN 5f453d31-dcc7-4b5a-b266-4032c073033b still in use: Unable to complete operation on network 5f453d31-dcc7-4b5a-b266-4032c073033b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-49dfea22-b06e-4e0d-8666-78e99dd774eb'] 2025-05-06 11:38:12,423 - WARNING - Deleting VN ctest-vn-70150904 failed..Will retry 2025-05-06 11:38:14,512 - DEBUG - Response for deleting network () 2025-05-06 11:38:14,512 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa00ee08-e762-4ec6-93bd-0906335f7e48 2025-05-06 11:38:14,517 - DEBUG - Response Code: 404 2025-05-06 11:38:14,517 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 11:38:14,522 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5d70fbfc-aa05-4339-bd03-c0009cb47069 2025-05-06 11:38:14,577 - DEBUG - Requesting: http://10.0.0.50:8082/project/aaafd7b2-3f2c-415c-a871-3b0992fa43bc 2025-05-06 11:38:14,657 - INFO - Validated that VN ctest-vn-70150904 is not found in API Server 2025-05-06 11:38:14,668 - DEBUG - VN ctest-vn-70150904 is not present in Agent 10.0.0.50 2025-05-06 11:38:14,668 - INFO - Validated that VN ctest-vn-70150904 is not in any agent 2025-05-06 11:38:14,682 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70150904 info 2025-05-06 11:38:14,682 - INFO - Deleting VN ctest-vn-39348580 2025-05-06 11:38:14,784 - DEBUG - Response for deleting network () 2025-05-06 11:38:14,784 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d321b7d5-32b0-4b7c-a7b7-258ca86972d4 2025-05-06 11:38:14,790 - DEBUG - Response Code: 404 2025-05-06 11:38:14,791 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-06 11:38:14,798 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5d70fbfc-aa05-4339-bd03-c0009cb47069 2025-05-06 11:38:14,852 - DEBUG - Requesting: http://10.0.0.50:8082/project/aaafd7b2-3f2c-415c-a871-3b0992fa43bc 2025-05-06 11:38:14,925 - INFO - Validated that VN ctest-vn-39348580 is not found in API Server 2025-05-06 11:38:14,935 - DEBUG - VN ctest-vn-39348580 is not present in Agent 10.0.0.50 2025-05-06 11:38:14,935 - INFO - Validated that VN ctest-vn-39348580 is not in any agent 2025-05-06 11:38:14,951 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39348580 info 2025-05-06 11:38:15,207 - DEBUG - No XMPP flaps were noticed during the test 2025-05-06 11:38:15,207 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-06 11:38:15,208 - INFO - -------------------------------------------------------------------------------- 2025-05-06 11:38:15,860 - INFO - Deleted project: ctest-TestBasicPolicy-55932564, ID : aaafd7b2-3f2c-415c-a871-3b0992fa43bc