2025-11-04 14:08:10,973 - INFO - Domain Default found not creating 2025-11-04 14:08:11,122 - INFO - Project ctest-TestBasicPolicy-90747037 not found, creating it 2025-11-04 14:08:11,555 - INFO - Created Project:ctest-TestBasicPolicy-90747037, ID : 688a3291-b444-4bad-ba35-e4b932025e83 2025-11-04 14:08:13,102 - INFO - ================================================================================ 2025-11-04 14:08:13,103 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-04 14:08:13,103 - 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-11-04 14:08:13,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-11-04 14:08:13,371 - INFO - Initial checks done. Running the testcase now 2025-11-04 14:08:13,371 - INFO - 2025-11-04 14:08:13,956 - DEBUG - Response for create_network : {'network': {'id': '25078365-405b-4844-b476-97b5588c0762', 'name': 'ctest-vn-54120813', 'tenant_id': '688a3291b4444badba35e4b932025e83', 'project_id': '688a3291b4444badba35e4b932025e83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90747037', 'ctest-vn-54120813'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 14:08:14,144 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b00084c-4783-4370-a12d-da9c20aa23ce', 'name': '', 'tenant_id': '688a3291b4444badba35e4b932025e83', 'network_id': '25078365-405b-4844-b476-97b5588c0762', 'ip_version': 4, 'cidr': '9.41.251.64/26', 'allocation_pools': [{'start': '9.41.251.66', 'end': '9.41.251.126'}], 'gateway_ip': '9.41.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.41.251.66', 'tags': [], 'project_id': '688a3291b4444badba35e4b932025e83'}} 2025-11-04 14:08:14,162 - INFO - Created VN ctest-vn-54120813 2025-11-04 14:08:14,215 - DEBUG - VN ctest-vn-54120813 UUID is 25078365-405b-4844-b476-97b5588c0762 2025-11-04 14:08:14,547 - DEBUG - Response for create_network : {'network': {'id': 'e52ddeea-39ad-4ffe-9e26-8a86c0bac607', 'name': 'ctest-vn-86738940', 'tenant_id': '688a3291b4444badba35e4b932025e83', 'project_id': '688a3291b4444badba35e4b932025e83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90747037', 'ctest-vn-86738940'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 14:08:14,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '112960c3-5c09-400d-89a4-b4bb3f7dca65', 'name': '', 'tenant_id': '688a3291b4444badba35e4b932025e83', 'network_id': 'e52ddeea-39ad-4ffe-9e26-8a86c0bac607', 'ip_version': 4, 'cidr': '222.117.147.192/26', 'allocation_pools': [{'start': '222.117.147.194', 'end': '222.117.147.254'}], 'gateway_ip': '222.117.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.117.147.194', 'tags': [], 'project_id': '688a3291b4444badba35e4b932025e83'}} 2025-11-04 14:08:14,753 - INFO - Created VN ctest-vn-86738940 2025-11-04 14:08:14,803 - DEBUG - VN ctest-vn-86738940 UUID is e52ddeea-39ad-4ffe-9e26-8a86c0bac607 2025-11-04 14:08:14,919 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-54120813, 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-90747037:ctest-vn-86738940, 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-11-04 14:08:15,211 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25078365-405b-4844-b476-97b5588c0762', 'name': 'ctest-vn-54120813', 'tenant_id': '688a3291b4444badba35e4b932025e83', 'project_id': '688a3291b4444badba35e4b932025e83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4b00084c-4783-4370-a12d-da9c20aa23ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90747037', 'ctest-vn-54120813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90747037', 'ctest-policy-allow-all-69500780']], 'subnet_ipam': [{'subnet_cidr': '9.41.251.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 14:08:15,439 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e52ddeea-39ad-4ffe-9e26-8a86c0bac607', 'name': 'ctest-vn-86738940', 'tenant_id': '688a3291b4444badba35e4b932025e83', 'project_id': '688a3291b4444badba35e4b932025e83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['112960c3-5c09-400d-89a4-b4bb3f7dca65'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90747037', 'ctest-vn-86738940'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90747037', 'ctest-policy-allow-all-69500780']], 'subnet_ipam': [{'subnet_cidr': '222.117.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 14:08:15,595 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 14:08:15,940 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 14:08:15,970 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b51b614b-99f9-45a9-9401-e955e8c7bb95 2025-11-04 14:08:15,981 - DEBUG - Requesting: http://10.0.0.49:8082/project/688a3291-b444-4bad-ba35-e4b932025e83 2025-11-04 14:08:16,049 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/25078365-405b-4844-b476-97b5588c0762 2025-11-04 14:08:16,059 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/25078365-405b-4844-b476-97b5588c0762 2025-11-04 14:08:16,067 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5274a6bd-2d74-4b9c-b2f2-1fedb998c2ad 2025-11-04 14:08:16,073 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5274a6bd-2d74-4b9c-b2f2-1fedb998c2ad 2025-11-04 14:08:16,079 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/7f35f39a-b746-48c0-8fec-3d22835ad35e 2025-11-04 14:08:16,084 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 14:08:16,084 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/25078365-405b-4844-b476-97b5588c0762 2025-11-04 14:08:16,092 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5274a6bd-2d74-4b9c-b2f2-1fedb998c2ad 2025-11-04 14:08:16,104 - INFO - Verified VN network id 11 for VN 25078365-405b-4844-b476-97b5588c0762 2025-11-04 14:08:16,104 - INFO - Verifications in API Server for VN ctest-vn-54120813 passed 2025-11-04 14:08:16,104 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/25078365-405b-4844-b476-97b5588c0762 2025-11-04 14:08:16,112 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5274a6bd-2d74-4b9c-b2f2-1fedb998c2ad 2025-11-04 14:08:16,118 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5274a6bd-2d74-4b9c-b2f2-1fedb998c2ad 2025-11-04 14:08:16,123 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/7f35f39a-b746-48c0-8fec-3d22835ad35e 2025-11-04 14:08:16,133 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-54120813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90747037', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2668245775134967876', 'uuid-lslong': '13003747779209332578'}, 'enable': 'true', 'created': '2025-11-04T14:08:13', 'last-modified': '2025-11-04T14:08:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946165'} 2025-11-04 14:08:16,139 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 14:08:16,139 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54120813 passed 2025-11-04 14:08:16,139 - DEBUG - ====Verifying policy data for ctest-vn-54120813 in API_Server ====== 2025-11-04 14:08:16,139 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 14:08:16,144 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b51b614b-99f9-45a9-9401-e955e8c7bb95 2025-11-04 14:08:16,153 - DEBUG - Requesting: http://10.0.0.49:8082/project/688a3291-b444-4bad-ba35-e4b932025e83 2025-11-04 14:08:16,223 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/25078365-405b-4844-b476-97b5588c0762 2025-11-04 14:08:16,232 - DEBUG - ==>Verifying data for policy with id: 94c11d22-098a-4372-857c-3f3278910545, fqn: ['default-domain', 'ctest-TestBasicPolicy-90747037', 'ctest-policy-allow-all-69500780'] 2025-11-04 14:08:16,232 - INFO - VN ctest-vn-54120813 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 14:08:16,232 - DEBUG - Verifying the vn in opserver 2025-11-04 14:08:16,232 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-54120813 virtual network link through opserver 10.0.0.49 2025-11-04 14:08:16,232 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-11-04 14:08:16,562 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-11-04 14:08:16,620 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-54120813', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-54120813?flat'} 2025-11-04 14:08:16,620 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-54120813 is found in opserver 2025-11-04 14:08:16,630 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 14:08:16,634 - DEBUG - VRF ids for VN ctest-vn-54120813: {} 2025-11-04 14:08:16,634 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 14:08:16,640 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b51b614b-99f9-45a9-9401-e955e8c7bb95 2025-11-04 14:08:16,650 - DEBUG - Requesting: http://10.0.0.49:8082/project/688a3291-b444-4bad-ba35-e4b932025e83 2025-11-04 14:08:16,725 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e52ddeea-39ad-4ffe-9e26-8a86c0bac607 2025-11-04 14:08:16,738 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e52ddeea-39ad-4ffe-9e26-8a86c0bac607 2025-11-04 14:08:16,748 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/77a2d10a-532d-4d51-b679-570c39717417 2025-11-04 14:08:16,755 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/77a2d10a-532d-4d51-b679-570c39717417 2025-11-04 14:08:16,761 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/b591f06e-8964-422e-9bc4-e182d65b2b7e 2025-11-04 14:08:16,767 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 14:08:16,767 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e52ddeea-39ad-4ffe-9e26-8a86c0bac607 2025-11-04 14:08:16,776 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/77a2d10a-532d-4d51-b679-570c39717417 2025-11-04 14:08:16,789 - INFO - Verified VN network id 12 for VN e52ddeea-39ad-4ffe-9e26-8a86c0bac607 2025-11-04 14:08:16,789 - INFO - Verifications in API Server for VN ctest-vn-86738940 passed 2025-11-04 14:08:16,789 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e52ddeea-39ad-4ffe-9e26-8a86c0bac607 2025-11-04 14:08:16,798 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/77a2d10a-532d-4d51-b679-570c39717417 2025-11-04 14:08:16,804 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/77a2d10a-532d-4d51-b679-570c39717417 2025-11-04 14:08:16,810 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/b591f06e-8964-422e-9bc4-e182d65b2b7e 2025-11-04 14:08:16,821 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-86738940', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90747037', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16514100506208849918', 'uuid-lslong': '11395948218471335431'}, 'enable': 'true', 'created': '2025-11-04T14:08:14', 'last-modified': '2025-11-04T14:08:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.407873'} 2025-11-04 14:08:16,827 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 14:08:16,827 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86738940 passed 2025-11-04 14:08:16,827 - DEBUG - ====Verifying policy data for ctest-vn-86738940 in API_Server ====== 2025-11-04 14:08:16,827 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 14:08:16,833 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b51b614b-99f9-45a9-9401-e955e8c7bb95 2025-11-04 14:08:16,843 - DEBUG - Requesting: http://10.0.0.49:8082/project/688a3291-b444-4bad-ba35-e4b932025e83 2025-11-04 14:08:16,915 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e52ddeea-39ad-4ffe-9e26-8a86c0bac607 2025-11-04 14:08:16,924 - DEBUG - ==>Verifying data for policy with id: 94c11d22-098a-4372-857c-3f3278910545, fqn: ['default-domain', 'ctest-TestBasicPolicy-90747037', 'ctest-policy-allow-all-69500780'] 2025-11-04 14:08:16,925 - INFO - VN ctest-vn-86738940 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 14:08:16,925 - DEBUG - Verifying the vn in opserver 2025-11-04 14:08:16,925 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-86738940 virtual network link through opserver 10.0.0.49 2025-11-04 14:08:16,925 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-11-04 14:08:16,935 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-86738940', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-86738940?flat'} 2025-11-04 14:08:16,936 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-86738940 is found in opserver 2025-11-04 14:08:16,947 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 14:08:16,951 - DEBUG - VRF ids for VN ctest-vn-86738940: {} 2025-11-04 14:08:17,007 - DEBUG - Services list from nova: [, , ] 2025-11-04 14:08:18,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4617-1) 2025-11-04 14:08:19,374 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4617-1) 2025-11-04 14:08:19,374 - INFO - Waiting for VM ctest-TestBasicPolicy-90747037-87792669 to be up.. 2025-11-04 14:08:19,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 14:08:24,527 - DEBUG - VM is in ACTIVE state now 2025-11-04 14:08:24,528 - INFO - VM name : ctest-TestBasicPolicy-90747037-87792669 2025-11-04 14:08:24,594 - DEBUG - VM ctest-TestBasicPolicy-90747037-87792669 ID is abc4db7d-b2e5-460b-b1db-df8d910d827b 2025-11-04 14:08:24,612 - DEBUG - VM ctest-TestBasicPolicy-90747037-87792669 launched on Node cn-jenkins-deploy-platform-ansible-os-4617-1 2025-11-04 14:08:24,677 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/abc4db7d-b2e5-460b-b1db-df8d910d827b 2025-11-04 14:08:24,684 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/39be40b7-b35a-4952-a0b2-8f6600f2232c 2025-11-04 14:08:27,945 - 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-11-04 14:08:27,945 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90747037-87792669 failed! 2025-11-04 14:08:27,999 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90747037:ctest-vn-54120813 is 9.41.251.65 and allocation pool is NOT set 2025-11-04 14:08:30,056 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.603 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.603/3.981/7.360/3.378 ms') 2025-11-04 14:08:30,056 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90747037-87792669 passed 2025-11-04 14:08:30,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:08:30,207 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90747037-87792669, IP 9.41.251.67, Port 22 2025-11-04 14:08:30,367 - DEBUG - VM ctest-TestBasicPolicy-90747037-87792669 is ready for SSH connections 2025-11-04 14:08:30,367 - INFO - Waiting for VM ctest-TestBasicPolicy-90747037-05025249 to be up.. 2025-11-04 14:08:30,434 - DEBUG - VM is in ACTIVE state now 2025-11-04 14:08:30,435 - INFO - VM name : ctest-TestBasicPolicy-90747037-05025249 2025-11-04 14:08:30,501 - DEBUG - VM ctest-TestBasicPolicy-90747037-05025249 ID is e67bd002-3627-4681-8eaa-b23dc88ef71e 2025-11-04 14:08:30,502 - DEBUG - VM ctest-TestBasicPolicy-90747037-05025249 launched on Node cn-jenkins-deploy-platform-ansible-os-4617-1 2025-11-04 14:08:30,569 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e67bd002-3627-4681-8eaa-b23dc88ef71e 2025-11-04 14:08:30,578 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/682e17eb-85e7-4e5e-91ab-c4eb82be867f 2025-11-04 14:08:31,820 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.791 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.791/2.356/3.922/1.565 ms') 2025-11-04 14:08:31,820 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90747037-05025249 passed 2025-11-04 14:08:31,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:08:31,971 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90747037-05025249, IP 222.117.147.195, Port 22 2025-11-04 14:08:32,037 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-04 14:08:32,108 - DEBUG - VM ctest-TestBasicPolicy-90747037-05025249 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-04 14:08:37,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:08:37,109 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90747037-05025249, IP 222.117.147.195, Port 22 2025-11-04 14:08:37,270 - DEBUG - VM ctest-TestBasicPolicy-90747037-05025249 is ready for SSH connections 2025-11-04 14:08:37,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:08:37,271 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.117.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 14:08:37,271 - DEBUG - ping -s 56 -c 3 -W 1 222.117.147.195 2025-11-04 14:08:41,363 - DEBUG - PING 222.117.147.195 (222.117.147.195): 56 data bytes 64 bytes from 222.117.147.195: seq=0 ttl=63 time=3.798 ms 64 bytes from 222.117.147.195: seq=1 ttl=63 time=0.882 ms 64 bytes from 222.117.147.195: seq=2 ttl=63 time=0.691 ms --- 222.117.147.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.691/1.790/3.798 ms 2025-11-04 14:08:41,363 - INFO - Ping to IP 222.117.147.195 from VM ctest-TestBasicPolicy-90747037-87792669 passed 2025-11-04 14:08:41,539 - DEBUG - Policy Update Response {"network-policy": {"uuid": "94c11d22-098a-4372-857c-3f3278910545", "href": "http://10.0.0.49:8082/network-policy/94c11d22-098a-4372-857c-3f3278910545"}} 2025-11-04 14:08:41,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:08:41,539 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.117.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 14:08:41,539 - DEBUG - ping -s 56 -c 3 -W 1 222.117.147.195 2025-11-04 14:08:44,767 - DEBUG - PING 222.117.147.195 (222.117.147.195): 56 data bytes --- 222.117.147.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 14:08:44,767 - WARNING - Ping to IP 222.117.147.195 from VM ctest-TestBasicPolicy-90747037-87792669 failed 2025-11-04 14:08:44,767 - INFO - Deleting VM ctest-TestBasicPolicy-90747037-05025249 2025-11-04 14:08:44,841 - INFO - Deleting VM ctest-TestBasicPolicy-90747037-87792669 2025-11-04 14:08:45,238 - INFO - Deleted policy ctest-policy-allow-all-69500780 2025-11-04 14:08:45,238 - INFO - Deleting VN ctest-vn-86738940 2025-11-04 14:08:45,324 - DEBUG - VN e52ddeea-39ad-4ffe-9e26-8a86c0bac607 still in use: Unable to complete operation on network e52ddeea-39ad-4ffe-9e26-8a86c0bac607. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0100608b-17cb-4010-9861-8d9fcf8902dc'] 2025-11-04 14:08:45,324 - WARNING - Deleting VN ctest-vn-86738940 failed..Will retry 2025-11-04 14:08:47,421 - DEBUG - Response for deleting network () 2025-11-04 14:08:47,421 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/77a2d10a-532d-4d51-b679-570c39717417 2025-11-04 14:08:47,427 - DEBUG - Response Code: 404 2025-11-04 14:08:47,427 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 14:08:47,432 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b51b614b-99f9-45a9-9401-e955e8c7bb95 2025-11-04 14:08:47,485 - DEBUG - Requesting: http://10.0.0.49:8082/project/688a3291-b444-4bad-ba35-e4b932025e83 2025-11-04 14:08:47,561 - INFO - Validated that VN ctest-vn-86738940 is not found in API Server 2025-11-04 14:08:47,573 - DEBUG - VN ctest-vn-86738940 is not present in Agent 10.0.0.49 2025-11-04 14:08:47,573 - INFO - Validated that VN ctest-vn-86738940 is not in any agent 2025-11-04 14:08:47,587 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86738940 info 2025-11-04 14:08:47,587 - INFO - Deleting VN ctest-vn-54120813 2025-11-04 14:08:47,693 - DEBUG - Response for deleting network () 2025-11-04 14:08:47,693 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5274a6bd-2d74-4b9c-b2f2-1fedb998c2ad 2025-11-04 14:08:47,699 - DEBUG - Response Code: 404 2025-11-04 14:08:47,699 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-11-04 14:08:47,704 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b51b614b-99f9-45a9-9401-e955e8c7bb95 2025-11-04 14:08:47,757 - DEBUG - Requesting: http://10.0.0.49:8082/project/688a3291-b444-4bad-ba35-e4b932025e83 2025-11-04 14:08:47,831 - INFO - Validated that VN ctest-vn-54120813 is not found in API Server 2025-11-04 14:08:47,841 - DEBUG - VN ctest-vn-54120813 is not present in Agent 10.0.0.49 2025-11-04 14:08:47,841 - INFO - Validated that VN ctest-vn-54120813 is not in any agent 2025-11-04 14:08:47,857 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54120813 info 2025-11-04 14:08:48,112 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 14:08:48,112 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-04 14:08:48,112 - INFO - -------------------------------------------------------------------------------- 2025-11-04 14:08:48,829 - INFO - Deleted project: ctest-TestBasicPolicy-90747037, ID : 688a3291-b444-4bad-ba35-e4b932025e83