2025-01-08 20:53:00,557 - INFO - Domain Default found not creating 2025-01-08 20:53:00,715 - INFO - Project ctest-TestBasicPolicy-65381192 not found, creating it 2025-01-08 20:53:01,208 - INFO - Created Project:ctest-TestBasicPolicy-65381192, ID : 0d2889e9-0622-4b57-a489-cfdf285afa10 2025-01-08 20:53:02,726 - INFO - ================================================================================ 2025-01-08 20:53:02,727 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-08 20:53:02,727 - 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-08 20:53:02,983 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.5': '0'}} with 2025-01-08 20:53:02,983 - INFO - Initial checks done. Running the testcase now 2025-01-08 20:53:02,983 - INFO - 2025-01-08 20:53:03,542 - DEBUG - Response for create_network : {'network': {'id': '9640f0c5-a0da-4011-9ecb-476b9756a33a', 'name': 'ctest-vn-61378496', 'tenant_id': '0d2889e906224b57a489cfdf285afa10', 'project_id': '0d2889e906224b57a489cfdf285afa10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65381192', 'ctest-vn-61378496'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 20:53:03,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '301d5503-7152-4847-b68c-b9b4cf5ce655', 'name': '', 'tenant_id': '0d2889e906224b57a489cfdf285afa10', 'network_id': '9640f0c5-a0da-4011-9ecb-476b9756a33a', 'ip_version': 4, 'cidr': '64.41.35.64/26', 'allocation_pools': [{'start': '64.41.35.66', 'end': '64.41.35.126'}], 'gateway_ip': '64.41.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.41.35.66', 'tags': [], 'project_id': '0d2889e906224b57a489cfdf285afa10'}} 2025-01-08 20:53:03,727 - INFO - Created VN ctest-vn-61378496 2025-01-08 20:53:03,786 - DEBUG - VN ctest-vn-61378496 UUID is 9640f0c5-a0da-4011-9ecb-476b9756a33a 2025-01-08 20:53:04,090 - DEBUG - Response for create_network : {'network': {'id': '5b835e99-4d07-41b5-81c8-659d79f0a3e2', 'name': 'ctest-vn-48523194', 'tenant_id': '0d2889e906224b57a489cfdf285afa10', 'project_id': '0d2889e906224b57a489cfdf285afa10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65381192', 'ctest-vn-48523194'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 20:53:04,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bab53f8-5534-4018-90e2-9468c9bbd200', 'name': '', 'tenant_id': '0d2889e906224b57a489cfdf285afa10', 'network_id': '5b835e99-4d07-41b5-81c8-659d79f0a3e2', 'ip_version': 4, 'cidr': '75.80.76.192/26', 'allocation_pools': [{'start': '75.80.76.194', 'end': '75.80.76.254'}], 'gateway_ip': '75.80.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.80.76.194', 'tags': [], 'project_id': '0d2889e906224b57a489cfdf285afa10'}} 2025-01-08 20:53:04,323 - INFO - Created VN ctest-vn-48523194 2025-01-08 20:53:04,377 - DEBUG - VN ctest-vn-48523194 UUID is 5b835e99-4d07-41b5-81c8-659d79f0a3e2 2025-01-08 20:53:04,497 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-61378496, 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-65381192:ctest-vn-48523194, 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-08 20:53:04,811 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9640f0c5-a0da-4011-9ecb-476b9756a33a', 'name': 'ctest-vn-61378496', 'tenant_id': '0d2889e906224b57a489cfdf285afa10', 'project_id': '0d2889e906224b57a489cfdf285afa10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['301d5503-7152-4847-b68c-b9b4cf5ce655'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65381192', 'ctest-vn-61378496'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65381192', 'ctest-policy-allow-all-61343486']], 'subnet_ipam': [{'subnet_cidr': '64.41.35.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 20:53:05,111 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b835e99-4d07-41b5-81c8-659d79f0a3e2', 'name': 'ctest-vn-48523194', 'tenant_id': '0d2889e906224b57a489cfdf285afa10', 'project_id': '0d2889e906224b57a489cfdf285afa10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1bab53f8-5534-4018-90e2-9468c9bbd200'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65381192', 'ctest-vn-48523194'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65381192', 'ctest-policy-allow-all-61343486']], 'subnet_ipam': [{'subnet_cidr': '75.80.76.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 20:53:05,261 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-01-08 20:53:05,556 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-01-08 20:53:05,585 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7b2e56ae-8c8c-4beb-abad-960d56c0191c 2025-01-08 20:53:05,599 - DEBUG - Requesting: http://10.0.0.49:8082/project/0d2889e9-0622-4b57-a489-cfdf285afa10 2025-01-08 20:53:05,678 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9640f0c5-a0da-4011-9ecb-476b9756a33a 2025-01-08 20:53:05,697 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9640f0c5-a0da-4011-9ecb-476b9756a33a 2025-01-08 20:53:05,709 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bb3783f6-130d-4fd7-a2f9-5e5cdc3d032c 2025-01-08 20:53:05,718 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bb3783f6-130d-4fd7-a2f9-5e5cdc3d032c 2025-01-08 20:53:05,726 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/9a5476d8-9cd9-47d6-a723-e0c209f4b15a 2025-01-08 20:53:05,735 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 20:53:05,735 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9640f0c5-a0da-4011-9ecb-476b9756a33a 2025-01-08 20:53:05,747 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bb3783f6-130d-4fd7-a2f9-5e5cdc3d032c 2025-01-08 20:53:05,765 - INFO - Verified VN network id 8 for VN 9640f0c5-a0da-4011-9ecb-476b9756a33a 2025-01-08 20:53:05,765 - INFO - Verifications in API Server for VN ctest-vn-61378496 passed 2025-01-08 20:53:05,765 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9640f0c5-a0da-4011-9ecb-476b9756a33a 2025-01-08 20:53:05,777 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bb3783f6-130d-4fd7-a2f9-5e5cdc3d032c 2025-01-08 20:53:05,786 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bb3783f6-130d-4fd7-a2f9-5e5cdc3d032c 2025-01-08 20:53:05,796 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/9a5476d8-9cd9-47d6-a723-e0c209f4b15a 2025-01-08 20:53:05,811 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-61378496', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65381192', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10826918235796553745', 'uuid-lslong': '11442317805690987322'}, 'enable': 'true', 'created': '2025-01-08T20:53:03', 'last-modified': '2025-01-08T20:53:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.028548'} 2025-01-08 20:53:05,819 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 20:53:05,819 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61378496 passed 2025-01-08 20:53:05,819 - DEBUG - ====Verifying policy data for ctest-vn-61378496 in API_Server ====== 2025-01-08 20:53:05,819 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-01-08 20:53:05,826 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7b2e56ae-8c8c-4beb-abad-960d56c0191c 2025-01-08 20:53:05,841 - DEBUG - Requesting: http://10.0.0.49:8082/project/0d2889e9-0622-4b57-a489-cfdf285afa10 2025-01-08 20:53:05,922 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9640f0c5-a0da-4011-9ecb-476b9756a33a 2025-01-08 20:53:05,933 - DEBUG - ==>Verifying data for policy with id: 73509b20-a388-4fe9-a392-add59a0f80ab, fqn: ['default-domain', 'ctest-TestBasicPolicy-65381192', 'ctest-policy-allow-all-61343486'] 2025-01-08 20:53:05,933 - INFO - VN ctest-vn-61378496 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 20:53:05,934 - DEBUG - Verifying the vn in opserver 2025-01-08 20:53:05,934 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-61378496 virtual network link through opserver 10.0.0.49 2025-01-08 20:53:05,934 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-01-08 20:53:06,248 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-01-08 20:53:06,319 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-61378496', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-61378496?flat'} 2025-01-08 20:53:06,319 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-61378496 is found in opserver 2025-01-08 20:53:06,332 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 20:53:06,338 - DEBUG - VRF ids for VN ctest-vn-61378496: {} 2025-01-08 20:53:06,338 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-01-08 20:53:06,345 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7b2e56ae-8c8c-4beb-abad-960d56c0191c 2025-01-08 20:53:06,361 - DEBUG - Requesting: http://10.0.0.49:8082/project/0d2889e9-0622-4b57-a489-cfdf285afa10 2025-01-08 20:53:06,439 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5b835e99-4d07-41b5-81c8-659d79f0a3e2 2025-01-08 20:53:06,454 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5b835e99-4d07-41b5-81c8-659d79f0a3e2 2025-01-08 20:53:06,466 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13c69c4f-e7b3-4540-b99b-1436944c97d7 2025-01-08 20:53:06,474 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13c69c4f-e7b3-4540-b99b-1436944c97d7 2025-01-08 20:53:06,483 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/01dcc75b-12c8-4fd6-bb68-b4fb5d1d6f35 2025-01-08 20:53:06,491 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 20:53:06,491 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5b835e99-4d07-41b5-81c8-659d79f0a3e2 2025-01-08 20:53:06,503 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13c69c4f-e7b3-4540-b99b-1436944c97d7 2025-01-08 20:53:06,522 - INFO - Verified VN network id 9 for VN 5b835e99-4d07-41b5-81c8-659d79f0a3e2 2025-01-08 20:53:06,522 - INFO - Verifications in API Server for VN ctest-vn-48523194 passed 2025-01-08 20:53:06,522 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5b835e99-4d07-41b5-81c8-659d79f0a3e2 2025-01-08 20:53:06,533 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13c69c4f-e7b3-4540-b99b-1436944c97d7 2025-01-08 20:53:06,543 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13c69c4f-e7b3-4540-b99b-1436944c97d7 2025-01-08 20:53:06,551 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/01dcc75b-12c8-4fd6-bb68-b4fb5d1d6f35 2025-01-08 20:53:06,565 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-48523194', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65381192', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6594218291915866549', 'uuid-lslong': '9351836353264919522'}, 'enable': 'true', 'created': '2025-01-08T20:53:04', 'last-modified': '2025-01-08T20:53:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.528227'} 2025-01-08 20:53:06,572 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 20:53:06,572 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48523194 passed 2025-01-08 20:53:06,573 - DEBUG - ====Verifying policy data for ctest-vn-48523194 in API_Server ====== 2025-01-08 20:53:06,573 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-01-08 20:53:06,579 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7b2e56ae-8c8c-4beb-abad-960d56c0191c 2025-01-08 20:53:06,591 - DEBUG - Requesting: http://10.0.0.49:8082/project/0d2889e9-0622-4b57-a489-cfdf285afa10 2025-01-08 20:53:06,674 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5b835e99-4d07-41b5-81c8-659d79f0a3e2 2025-01-08 20:53:06,685 - DEBUG - ==>Verifying data for policy with id: 73509b20-a388-4fe9-a392-add59a0f80ab, fqn: ['default-domain', 'ctest-TestBasicPolicy-65381192', 'ctest-policy-allow-all-61343486'] 2025-01-08 20:53:06,685 - INFO - VN ctest-vn-48523194 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 20:53:06,685 - DEBUG - Verifying the vn in opserver 2025-01-08 20:53:06,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-48523194 virtual network link through opserver 10.0.0.49 2025-01-08 20:53:06,685 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-01-08 20:53:06,699 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-48523194', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-48523194?flat'} 2025-01-08 20:53:06,699 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-48523194 is found in opserver 2025-01-08 20:53:06,712 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 20:53:06,719 - DEBUG - VRF ids for VN ctest-vn-48523194: {} 2025-01-08 20:53:06,789 - DEBUG - Services list from nova: [, , ] 2025-01-08 20:53:07,883 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2568-1) 2025-01-08 20:53:09,231 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2568-1) 2025-01-08 20:53:09,231 - INFO - Waiting for VM ctest-TestBasicPolicy-65381192-19030062 to be up.. 2025-01-08 20:53:09,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 20:53:14,425 - DEBUG - VM is in ACTIVE state now 2025-01-08 20:53:14,425 - INFO - VM name : ctest-TestBasicPolicy-65381192-19030062 2025-01-08 20:53:14,527 - DEBUG - VM ctest-TestBasicPolicy-65381192-19030062 ID is 105bd5ce-24b4-4b49-abd1-7cd81a64687a 2025-01-08 20:53:14,549 - DEBUG - VM ctest-TestBasicPolicy-65381192-19030062 launched on Node cn-jenkins-deploy-platform-ansible-os-2568-1 2025-01-08 20:53:14,641 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/105bd5ce-24b4-4b49-abd1-7cd81a64687a 2025-01-08 20:53:14,654 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c33e51fe-f152-4a0f-9e2e-9a8c77cb7425 2025-01-08 20:53:17,997 - 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 1003ms') 2025-01-08 20:53:17,997 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65381192-19030062 failed! 2025-01-08 20:53:18,057 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65381192:ctest-vn-61378496 is 64.41.35.65 and allocation pool is NOT set 2025-01-08 20:53:20,129 - 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=9.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.38 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 = 2.384/6.106/9.829/3.722 ms') 2025-01-08 20:53:20,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65381192-19030062 passed 2025-01-08 20:53:20,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 20:53:20,285 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65381192-19030062, IP 64.41.35.67, Port 22 2025-01-08 20:53:20,441 - DEBUG - VM ctest-TestBasicPolicy-65381192-19030062 is ready for SSH connections 2025-01-08 20:53:20,442 - INFO - Waiting for VM ctest-TestBasicPolicy-65381192-02699619 to be up.. 2025-01-08 20:53:20,527 - DEBUG - VM is in ACTIVE state now 2025-01-08 20:53:20,528 - INFO - VM name : ctest-TestBasicPolicy-65381192-02699619 2025-01-08 20:53:20,610 - DEBUG - VM ctest-TestBasicPolicy-65381192-02699619 ID is a9ef22bc-a0be-4120-ba80-b51d84734dc4 2025-01-08 20:53:20,610 - DEBUG - VM ctest-TestBasicPolicy-65381192-02699619 launched on Node cn-jenkins-deploy-platform-ansible-os-2568-1 2025-01-08 20:53:20,706 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a9ef22bc-a0be-4120-ba80-b51d84734dc4 2025-01-08 20:53:20,718 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a27a59c8-b281-41fe-af61-d8aae211d30c 2025-01-08 20:53:21,973 - 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=5.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.134/3.534/5.935/2.400 ms') 2025-01-08 20:53:21,973 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65381192-02699619 passed 2025-01-08 20:53:22,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 20:53:22,125 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65381192-02699619, IP 75.80.76.195, Port 22 2025-01-08 20:53:22,291 - DEBUG - VM ctest-TestBasicPolicy-65381192-02699619 is ready for SSH connections 2025-01-08 20:53:22,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 20:53:22,292 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.80.76.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-01-08 20:53:22,292 - DEBUG - ping -s 56 -c 3 -W 1 75.80.76.195 2025-01-08 20:53:26,328 - DEBUG - PING 75.80.76.195 (75.80.76.195): 56 data bytes 64 bytes from 75.80.76.195: seq=0 ttl=63 time=4.246 ms 64 bytes from 75.80.76.195: seq=1 ttl=63 time=1.254 ms 64 bytes from 75.80.76.195: seq=2 ttl=63 time=1.108 ms --- 75.80.76.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.108/2.202/4.246 ms 2025-01-08 20:53:26,328 - INFO - Ping to IP 75.80.76.195 from VM ctest-TestBasicPolicy-65381192-19030062 passed 2025-01-08 20:53:26,517 - DEBUG - Policy Update Response {"network-policy": {"uuid": "73509b20-a388-4fe9-a392-add59a0f80ab", "href": "http://10.0.0.49:8082/network-policy/73509b20-a388-4fe9-a392-add59a0f80ab"}} 2025-01-08 20:53:26,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 20:53:26,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.80.76.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-01-08 20:53:26,517 - DEBUG - ping -s 56 -c 3 -W 1 75.80.76.195 2025-01-08 20:53:29,725 - DEBUG - PING 75.80.76.195 (75.80.76.195): 56 data bytes 64 bytes from 75.80.76.195: seq=0 ttl=63 time=1.513 ms --- 75.80.76.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.513/1.513/1.513 ms 2025-01-08 20:53:29,725 - WARNING - Ping to IP 75.80.76.195 from VM ctest-TestBasicPolicy-65381192-19030062 failed 2025-01-08 20:53:29,725 - INFO - Deleting VM ctest-TestBasicPolicy-65381192-02699619 2025-01-08 20:53:29,802 - INFO - Deleting VM ctest-TestBasicPolicy-65381192-19030062 2025-01-08 20:53:30,252 - INFO - Deleted policy ctest-policy-allow-all-61343486 2025-01-08 20:53:30,252 - INFO - Deleting VN ctest-vn-48523194 2025-01-08 20:53:30,290 - DEBUG - VN 5b835e99-4d07-41b5-81c8-659d79f0a3e2 still in use: Unable to complete operation on network 5b835e99-4d07-41b5-81c8-659d79f0a3e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83a989fa-d3fe-45c1-be2f-1ce3740efee9'] 2025-01-08 20:53:30,290 - WARNING - Deleting VN ctest-vn-48523194 failed..Will retry 2025-01-08 20:53:32,425 - DEBUG - Response for deleting network () 2025-01-08 20:53:32,425 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/13c69c4f-e7b3-4540-b99b-1436944c97d7 2025-01-08 20:53:32,432 - DEBUG - Response Code: 404 2025-01-08 20:53:32,433 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-01-08 20:53:32,439 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7b2e56ae-8c8c-4beb-abad-960d56c0191c 2025-01-08 20:53:32,497 - DEBUG - Requesting: http://10.0.0.49:8082/project/0d2889e9-0622-4b57-a489-cfdf285afa10 2025-01-08 20:53:32,573 - INFO - Validated that VN ctest-vn-48523194 is not found in API Server 2025-01-08 20:53:32,588 - DEBUG - VN ctest-vn-48523194 is not present in Agent 10.0.0.49 2025-01-08 20:53:32,588 - INFO - Validated that VN ctest-vn-48523194 is not in any agent 2025-01-08 20:53:32,609 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48523194 info 2025-01-08 20:53:32,609 - INFO - Deleting VN ctest-vn-61378496 2025-01-08 20:53:32,738 - DEBUG - Response for deleting network () 2025-01-08 20:53:32,738 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/bb3783f6-130d-4fd7-a2f9-5e5cdc3d032c 2025-01-08 20:53:32,746 - DEBUG - Response Code: 404 2025-01-08 20:53:32,746 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-01-08 20:53:32,756 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7b2e56ae-8c8c-4beb-abad-960d56c0191c 2025-01-08 20:53:32,815 - DEBUG - Requesting: http://10.0.0.49:8082/project/0d2889e9-0622-4b57-a489-cfdf285afa10 2025-01-08 20:53:32,899 - INFO - Validated that VN ctest-vn-61378496 is not found in API Server 2025-01-08 20:53:32,913 - DEBUG - VN ctest-vn-61378496 is not present in Agent 10.0.0.49 2025-01-08 20:53:32,913 - INFO - Validated that VN ctest-vn-61378496 is not in any agent 2025-01-08 20:53:32,931 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61378496 info 2025-01-08 20:53:33,193 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 20:53:33,193 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-01-08 20:53:33,194 - INFO - -------------------------------------------------------------------------------- 2025-01-08 20:53:33,935 - INFO - Deleted project: ctest-TestBasicPolicy-65381192, ID : 0d2889e9-0622-4b57-a489-cfdf285afa10