2024-09-10 08:22:45,030 - INFO - Domain Default found not creating 2024-09-10 08:22:45,201 - INFO - Project ctest-TestBasicPolicy-88576972 not found, creating it 2024-09-10 08:22:45,687 - INFO - Created Project:ctest-TestBasicPolicy-88576972, ID : ae0968a9-f7db-4758-a19c-f78cab00e4bb 2024-09-10 08:22:47,221 - INFO - ================================================================================ 2024-09-10 08:22:47,222 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-10 08:22:47,222 - 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 2024-09-10 08:22:47,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2024-09-10 08:22:47,493 - INFO - Initial checks done. Running the testcase now 2024-09-10 08:22:47,493 - INFO - 2024-09-10 08:22:48,075 - DEBUG - Response for create_network : {'network': {'id': '57d94381-0315-4f8e-98ad-ea55981fd943', 'name': 'ctest-vn-54473477', 'tenant_id': 'ae0968a9f7db4758a19cf78cab00e4bb', 'project_id': 'ae0968a9f7db4758a19cf78cab00e4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88576972', 'ctest-vn-54473477'], 'port_security_enabled': True, 'description': ''}} 2024-09-10 08:22:48,236 - DEBUG - Response for create_subnet : {'subnet': {'id': '18139e31-2de0-4267-adeb-2c62ab73bd0c', 'name': '', 'tenant_id': 'ae0968a9f7db4758a19cf78cab00e4bb', 'network_id': '57d94381-0315-4f8e-98ad-ea55981fd943', 'ip_version': 4, 'cidr': '168.56.207.0/26', 'allocation_pools': [{'start': '168.56.207.2', 'end': '168.56.207.62'}], 'gateway_ip': '168.56.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.56.207.2', 'tags': [], 'project_id': 'ae0968a9f7db4758a19cf78cab00e4bb'}} 2024-09-10 08:22:48,259 - INFO - Created VN ctest-vn-54473477 2024-09-10 08:22:48,312 - DEBUG - VN ctest-vn-54473477 UUID is 57d94381-0315-4f8e-98ad-ea55981fd943 2024-09-10 08:22:48,617 - DEBUG - Response for create_network : {'network': {'id': '49112273-6720-4fa0-a6d5-ae2f378fa5a4', 'name': 'ctest-vn-83261944', 'tenant_id': 'ae0968a9f7db4758a19cf78cab00e4bb', 'project_id': 'ae0968a9f7db4758a19cf78cab00e4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88576972', 'ctest-vn-83261944'], 'port_security_enabled': True, 'description': ''}} 2024-09-10 08:22:48,820 - DEBUG - Response for create_subnet : {'subnet': {'id': '814b60fb-03ec-49f0-b46c-a18bf1d0147b', 'name': '', 'tenant_id': 'ae0968a9f7db4758a19cf78cab00e4bb', 'network_id': '49112273-6720-4fa0-a6d5-ae2f378fa5a4', 'ip_version': 4, 'cidr': '184.151.188.64/26', 'allocation_pools': [{'start': '184.151.188.66', 'end': '184.151.188.126'}], 'gateway_ip': '184.151.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.151.188.66', 'tags': [], 'project_id': 'ae0968a9f7db4758a19cf78cab00e4bb'}} 2024-09-10 08:22:48,843 - INFO - Created VN ctest-vn-83261944 2024-09-10 08:22:48,896 - DEBUG - VN ctest-vn-83261944 UUID is 49112273-6720-4fa0-a6d5-ae2f378fa5a4 2024-09-10 08:22:49,014 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-54473477, 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-88576972:ctest-vn-83261944, 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] 2024-09-10 08:22:49,313 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57d94381-0315-4f8e-98ad-ea55981fd943', 'name': 'ctest-vn-54473477', 'tenant_id': 'ae0968a9f7db4758a19cf78cab00e4bb', 'project_id': 'ae0968a9f7db4758a19cf78cab00e4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18139e31-2de0-4267-adeb-2c62ab73bd0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88576972', 'ctest-vn-54473477'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88576972', 'ctest-policy-allow-all-62827496']], 'subnet_ipam': [{'subnet_cidr': '168.56.207.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-10 08:22:49,550 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '49112273-6720-4fa0-a6d5-ae2f378fa5a4', 'name': 'ctest-vn-83261944', 'tenant_id': 'ae0968a9f7db4758a19cf78cab00e4bb', 'project_id': 'ae0968a9f7db4758a19cf78cab00e4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['814b60fb-03ec-49f0-b46c-a18bf1d0147b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88576972', 'ctest-vn-83261944'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88576972', 'ctest-policy-allow-all-62827496']], 'subnet_ipam': [{'subnet_cidr': '184.151.188.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-10 08:22:49,697 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-09-10 08:22:50,009 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-09-10 08:22:50,044 - DEBUG - Requesting: http://10.0.0.38:8082/domain/393c8b4a-8274-4d5f-ad11-4b837a7a76eb 2024-09-10 08:22:50,060 - DEBUG - Requesting: http://10.0.0.38:8082/project/ae0968a9-f7db-4758-a19c-f78cab00e4bb 2024-09-10 08:22:50,135 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/57d94381-0315-4f8e-98ad-ea55981fd943 2024-09-10 08:22:50,149 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/57d94381-0315-4f8e-98ad-ea55981fd943 2024-09-10 08:22:50,159 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f98c79c-42f0-41f3-8684-9ffbb598abb8 2024-09-10 08:22:50,168 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f98c79c-42f0-41f3-8684-9ffbb598abb8 2024-09-10 08:22:50,176 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/63d7ea81-fc12-45e1-b042-cc908233dbfe 2024-09-10 08:22:50,184 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-10 08:22:50,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/57d94381-0315-4f8e-98ad-ea55981fd943 2024-09-10 08:22:50,193 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f98c79c-42f0-41f3-8684-9ffbb598abb8 2024-09-10 08:22:50,206 - INFO - Verified VN network id 7 for VN 57d94381-0315-4f8e-98ad-ea55981fd943 2024-09-10 08:22:50,207 - INFO - Verifications in API Server for VN ctest-vn-54473477 passed 2024-09-10 08:22:50,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/57d94381-0315-4f8e-98ad-ea55981fd943 2024-09-10 08:22:50,217 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f98c79c-42f0-41f3-8684-9ffbb598abb8 2024-09-10 08:22:50,226 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f98c79c-42f0-41f3-8684-9ffbb598abb8 2024-09-10 08:22:50,235 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/63d7ea81-fc12-45e1-b042-cc908233dbfe 2024-09-10 08:22:50,250 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-54473477', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88576972', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6330164972627513230', 'uuid-lslong': '11001707118081333571'}, 'enable': 'true', 'created': '2024-09-10T08:22:48', 'last-modified': '2024-09-10T08:22:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962492'} 2024-09-10 08:22:50,257 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-10 08:22:50,257 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54473477 passed 2024-09-10 08:22:50,257 - DEBUG - ====Verifying policy data for ctest-vn-54473477 in API_Server ====== 2024-09-10 08:22:50,257 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-09-10 08:22:50,264 - DEBUG - Requesting: http://10.0.0.38:8082/domain/393c8b4a-8274-4d5f-ad11-4b837a7a76eb 2024-09-10 08:22:50,279 - DEBUG - Requesting: http://10.0.0.38:8082/project/ae0968a9-f7db-4758-a19c-f78cab00e4bb 2024-09-10 08:22:50,354 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/57d94381-0315-4f8e-98ad-ea55981fd943 2024-09-10 08:22:50,366 - DEBUG - ==>Verifying data for policy with id: 8bde769e-1e2d-40f2-9d71-d91f142675bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-88576972', 'ctest-policy-allow-all-62827496'] 2024-09-10 08:22:50,366 - INFO - VN ctest-vn-54473477 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-10 08:22:50,366 - DEBUG - Verifying the vn in opserver 2024-09-10 08:22:50,366 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-54473477 virtual network link through opserver 10.0.0.38 2024-09-10 08:22:50,367 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-09-10 08:22:50,671 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-09-10 08:22:50,733 - DEBUG - Response Code: 500 2024-09-10 08:22:53,734 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-54473477 virtual network link through opserver 10.0.0.38 2024-09-10 08:22:53,734 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-09-10 08:22:53,747 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-54473477', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-54473477?flat'} 2024-09-10 08:22:53,747 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-54473477 is found in opserver 2024-09-10 08:22:53,759 - DEBUG - Do not have enough data to verify VN in agent 2024-09-10 08:22:53,765 - DEBUG - VRF ids for VN ctest-vn-54473477: {} 2024-09-10 08:22:53,765 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-09-10 08:22:53,771 - DEBUG - Requesting: http://10.0.0.38:8082/domain/393c8b4a-8274-4d5f-ad11-4b837a7a76eb 2024-09-10 08:22:53,785 - DEBUG - Requesting: http://10.0.0.38:8082/project/ae0968a9-f7db-4758-a19c-f78cab00e4bb 2024-09-10 08:22:53,861 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/49112273-6720-4fa0-a6d5-ae2f378fa5a4 2024-09-10 08:22:53,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/49112273-6720-4fa0-a6d5-ae2f378fa5a4 2024-09-10 08:22:53,884 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80cbcf9f-ec8b-4343-88df-eaf41c2b7e2a 2024-09-10 08:22:53,892 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80cbcf9f-ec8b-4343-88df-eaf41c2b7e2a 2024-09-10 08:22:53,902 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/40611bd0-8b4c-45a3-bee9-dd0388b88c33 2024-09-10 08:22:53,911 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-10 08:22:53,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/49112273-6720-4fa0-a6d5-ae2f378fa5a4 2024-09-10 08:22:53,922 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80cbcf9f-ec8b-4343-88df-eaf41c2b7e2a 2024-09-10 08:22:53,936 - INFO - Verified VN network id 8 for VN 49112273-6720-4fa0-a6d5-ae2f378fa5a4 2024-09-10 08:22:53,937 - INFO - Verifications in API Server for VN ctest-vn-83261944 passed 2024-09-10 08:22:53,937 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/49112273-6720-4fa0-a6d5-ae2f378fa5a4 2024-09-10 08:22:53,946 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80cbcf9f-ec8b-4343-88df-eaf41c2b7e2a 2024-09-10 08:22:53,954 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80cbcf9f-ec8b-4343-88df-eaf41c2b7e2a 2024-09-10 08:22:53,962 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/40611bd0-8b4c-45a3-bee9-dd0388b88c33 2024-09-10 08:22:53,977 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-83261944', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88576972', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5265027318419574688', 'uuid-lslong': '12021706298154263972'}, 'enable': 'true', 'created': '2024-09-10T08:22:48', 'last-modified': '2024-09-10T08:22:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.451186'} 2024-09-10 08:22:53,984 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-10 08:22:53,984 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83261944 passed 2024-09-10 08:22:53,984 - DEBUG - ====Verifying policy data for ctest-vn-83261944 in API_Server ====== 2024-09-10 08:22:53,985 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-09-10 08:22:53,991 - DEBUG - Requesting: http://10.0.0.38:8082/domain/393c8b4a-8274-4d5f-ad11-4b837a7a76eb 2024-09-10 08:22:54,006 - DEBUG - Requesting: http://10.0.0.38:8082/project/ae0968a9-f7db-4758-a19c-f78cab00e4bb 2024-09-10 08:22:54,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/49112273-6720-4fa0-a6d5-ae2f378fa5a4 2024-09-10 08:22:54,085 - DEBUG - ==>Verifying data for policy with id: 8bde769e-1e2d-40f2-9d71-d91f142675bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-88576972', 'ctest-policy-allow-all-62827496'] 2024-09-10 08:22:54,085 - INFO - VN ctest-vn-83261944 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-10 08:22:54,085 - DEBUG - Verifying the vn in opserver 2024-09-10 08:22:54,085 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-83261944 virtual network link through opserver 10.0.0.38 2024-09-10 08:22:54,085 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-09-10 08:22:54,098 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-83261944', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-83261944?flat'} 2024-09-10 08:22:54,098 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-83261944 is found in opserver 2024-09-10 08:22:54,110 - DEBUG - Do not have enough data to verify VN in agent 2024-09-10 08:22:54,115 - DEBUG - VRF ids for VN ctest-vn-83261944: {} 2024-09-10 08:22:54,187 - DEBUG - Services list from nova: [, , ] 2024-09-10 08:22:55,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1881-1) 2024-09-10 08:22:56,554 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1881-1) 2024-09-10 08:22:56,555 - INFO - Waiting for VM ctest-TestBasicPolicy-88576972-58536659 to be up.. 2024-09-10 08:22:56,655 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-10 08:23:01,761 - DEBUG - VM is in ACTIVE state now 2024-09-10 08:23:01,761 - INFO - VM name : ctest-TestBasicPolicy-88576972-58536659 2024-09-10 08:23:01,851 - DEBUG - VM ctest-TestBasicPolicy-88576972-58536659 ID is c46443b8-47c5-4884-a6eb-68acbf5e9856 2024-09-10 08:23:01,870 - DEBUG - VM ctest-TestBasicPolicy-88576972-58536659 launched on Node cn-jenkins-deploy-platform-ansible-os-1881-1 2024-09-10 08:23:01,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c46443b8-47c5-4884-a6eb-68acbf5e9856 2024-09-10 08:23:01,965 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b7db7cfc-2ee3-4be7-b5f6-19d6a8395fd4 2024-09-10 08:23:05,236 - 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 1024ms') 2024-09-10 08:23:05,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88576972-58536659 failed! 2024-09-10 08:23:05,292 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88576972:ctest-vn-54473477 is 168.56.207.1 and allocation pool is NOT set 2024-09-10 08:23:07,355 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/3.792/7.169/3.377 ms') 2024-09-10 08:23:07,356 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88576972-58536659 passed 2024-09-10 08:23:07,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 08:23:07,517 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88576972-58536659, IP 168.56.207.3, Port 22 2024-09-10 08:23:07,676 - DEBUG - VM ctest-TestBasicPolicy-88576972-58536659 is ready for SSH connections 2024-09-10 08:23:07,676 - INFO - Waiting for VM ctest-TestBasicPolicy-88576972-02271086 to be up.. 2024-09-10 08:23:07,761 - DEBUG - VM is in ACTIVE state now 2024-09-10 08:23:07,762 - INFO - VM name : ctest-TestBasicPolicy-88576972-02271086 2024-09-10 08:23:07,859 - DEBUG - VM ctest-TestBasicPolicy-88576972-02271086 ID is 82b03c76-ed81-4ba5-b0dd-f6b515c30d15 2024-09-10 08:23:07,859 - DEBUG - VM ctest-TestBasicPolicy-88576972-02271086 launched on Node cn-jenkins-deploy-platform-ansible-os-1881-1 2024-09-10 08:23:07,949 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/82b03c76-ed81-4ba5-b0dd-f6b515c30d15 2024-09-10 08:23:07,959 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3691ddfe-bb5c-46ee-bbc8-e7bc6c5874aa 2024-09-10 08:23:09,193 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.729/3.035/1.305 ms') 2024-09-10 08:23:09,193 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88576972-02271086 passed 2024-09-10 08:23:09,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 08:23:09,345 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88576972-02271086, IP 184.151.188.67, Port 22 2024-09-10 08:23:09,500 - DEBUG - VM ctest-TestBasicPolicy-88576972-02271086 is ready for SSH connections 2024-09-10 08:23:09,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 08:23:09,500 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.151.188.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-09-10 08:23:09,500 - DEBUG - ping -s 56 -c 3 -W 1 184.151.188.67 2024-09-10 08:23:13,729 - DEBUG - PING 184.151.188.67 (184.151.188.67): 56 data bytes 64 bytes from 184.151.188.67: seq=0 ttl=63 time=3.885 ms 64 bytes from 184.151.188.67: seq=1 ttl=63 time=1.030 ms 64 bytes from 184.151.188.67: seq=2 ttl=63 time=0.953 ms --- 184.151.188.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/1.956/3.885 ms 2024-09-10 08:23:13,729 - INFO - Ping to IP 184.151.188.67 from VM ctest-TestBasicPolicy-88576972-58536659 passed 2024-09-10 08:23:13,916 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8bde769e-1e2d-40f2-9d71-d91f142675bb", "href": "http://10.0.0.38:8082/network-policy/8bde769e-1e2d-40f2-9d71-d91f142675bb"}} 2024-09-10 08:23:13,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 08:23:13,916 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.151.188.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-09-10 08:23:13,917 - DEBUG - ping -s 56 -c 3 -W 1 184.151.188.67 2024-09-10 08:23:17,232 - DEBUG - PING 184.151.188.67 (184.151.188.67): 56 data bytes --- 184.151.188.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-10 08:23:17,232 - WARNING - Ping to IP 184.151.188.67 from VM ctest-TestBasicPolicy-88576972-58536659 failed 2024-09-10 08:23:17,232 - INFO - Deleting VM ctest-TestBasicPolicy-88576972-02271086 2024-09-10 08:23:17,302 - INFO - Deleting VM ctest-TestBasicPolicy-88576972-58536659 2024-09-10 08:23:17,746 - INFO - Deleted policy ctest-policy-allow-all-62827496 2024-09-10 08:23:17,747 - INFO - Deleting VN ctest-vn-83261944 2024-09-10 08:23:17,795 - DEBUG - VN 49112273-6720-4fa0-a6d5-ae2f378fa5a4 still in use: Unable to complete operation on network 49112273-6720-4fa0-a6d5-ae2f378fa5a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6fae074a-2122-4ea3-aad0-53d8fee6c9fb'] 2024-09-10 08:23:17,795 - WARNING - Deleting VN ctest-vn-83261944 failed..Will retry 2024-09-10 08:23:19,909 - DEBUG - Response for deleting network () 2024-09-10 08:23:19,909 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80cbcf9f-ec8b-4343-88df-eaf41c2b7e2a 2024-09-10 08:23:19,917 - DEBUG - Response Code: 404 2024-09-10 08:23:19,917 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-09-10 08:23:19,924 - DEBUG - Requesting: http://10.0.0.38:8082/domain/393c8b4a-8274-4d5f-ad11-4b837a7a76eb 2024-09-10 08:23:19,978 - DEBUG - Requesting: http://10.0.0.38:8082/project/ae0968a9-f7db-4758-a19c-f78cab00e4bb 2024-09-10 08:23:20,052 - INFO - Validated that VN ctest-vn-83261944 is not found in API Server 2024-09-10 08:23:20,063 - DEBUG - VN ctest-vn-83261944 is not present in Agent 10.0.0.38 2024-09-10 08:23:20,064 - INFO - Validated that VN ctest-vn-83261944 is not in any agent 2024-09-10 08:23:20,081 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83261944 info 2024-09-10 08:23:20,081 - INFO - Deleting VN ctest-vn-54473477 2024-09-10 08:23:20,321 - DEBUG - Response for deleting network () 2024-09-10 08:23:20,321 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f98c79c-42f0-41f3-8684-9ffbb598abb8 2024-09-10 08:23:20,329 - DEBUG - Response Code: 404 2024-09-10 08:23:20,329 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-09-10 08:23:20,351 - DEBUG - Requesting: http://10.0.0.38:8082/domain/393c8b4a-8274-4d5f-ad11-4b837a7a76eb 2024-09-10 08:23:20,376 - DEBUG - Requesting: http://10.0.0.38:8082/project/ae0968a9-f7db-4758-a19c-f78cab00e4bb 2024-09-10 08:23:20,470 - INFO - Validated that VN ctest-vn-54473477 is not found in API Server 2024-09-10 08:23:20,482 - DEBUG - VN ctest-vn-54473477 is not present in Agent 10.0.0.38 2024-09-10 08:23:20,482 - INFO - Validated that VN ctest-vn-54473477 is not in any agent 2024-09-10 08:23:20,509 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54473477 info 2024-09-10 08:23:20,771 - DEBUG - No XMPP flaps were noticed during the test 2024-09-10 08:23:20,771 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2024-09-10 08:23:20,771 - INFO - -------------------------------------------------------------------------------- 2024-09-10 08:23:21,463 - INFO - Deleted project: ctest-TestBasicPolicy-88576972, ID : ae0968a9-f7db-4758-a19c-f78cab00e4bb