2025-05-08 02:18:48,459 - INFO - Domain Default found not creating 2025-05-08 02:18:48,593 - INFO - Project ctest-TestBasicPolicy-01750319 not found, creating it 2025-05-08 02:18:49,064 - INFO - Created Project:ctest-TestBasicPolicy-01750319, ID : bcd71257-50b2-4f26-997c-3866e20e955b 2025-05-08 02:18:50,353 - INFO - ================================================================================ 2025-05-08 02:18:50,353 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-08 02:18:50,353 - 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-08 02:18:50,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.18': '0'}} with 2025-05-08 02:18:50,607 - INFO - Initial checks done. Running the testcase now 2025-05-08 02:18:50,607 - INFO - 2025-05-08 02:18:51,262 - DEBUG - Response for create_network : {'network': {'id': 'c8fdc5cf-664d-420f-8cef-47af43da79ae', 'name': 'ctest-vn-69679444', 'tenant_id': 'bcd7125750b24f26997c3866e20e955b', 'project_id': 'bcd7125750b24f26997c3866e20e955b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01750319', 'ctest-vn-69679444'], 'port_security_enabled': True, 'description': ''}} 2025-05-08 02:18:51,684 - DEBUG - Response for create_subnet : {'subnet': {'id': '56f756e8-0459-41a7-8905-c9a5566d664b', 'name': '', 'tenant_id': 'bcd7125750b24f26997c3866e20e955b', 'network_id': 'c8fdc5cf-664d-420f-8cef-47af43da79ae', 'ip_version': 4, 'cidr': '95.157.105.192/26', 'allocation_pools': [{'start': '95.157.105.194', 'end': '95.157.105.254'}], 'gateway_ip': '95.157.105.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.157.105.194', 'tags': [], 'project_id': 'bcd7125750b24f26997c3866e20e955b'}} 2025-05-08 02:18:51,714 - INFO - Created VN ctest-vn-69679444 2025-05-08 02:18:51,812 - DEBUG - VN ctest-vn-69679444 UUID is c8fdc5cf-664d-420f-8cef-47af43da79ae 2025-05-08 02:18:52,429 - DEBUG - Response for create_network : {'network': {'id': 'dde2776f-9b18-413c-b211-0117ccef7fdf', 'name': 'ctest-vn-80320753', 'tenant_id': 'bcd7125750b24f26997c3866e20e955b', 'project_id': 'bcd7125750b24f26997c3866e20e955b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01750319', 'ctest-vn-80320753'], 'port_security_enabled': True, 'description': ''}} 2025-05-08 02:18:52,630 - DEBUG - Response for create_subnet : {'subnet': {'id': '98c8dfe2-e4b6-4581-b174-8b03cb788cf3', 'name': '', 'tenant_id': 'bcd7125750b24f26997c3866e20e955b', 'network_id': 'dde2776f-9b18-413c-b211-0117ccef7fdf', 'ip_version': 4, 'cidr': '151.147.195.64/26', 'allocation_pools': [{'start': '151.147.195.66', 'end': '151.147.195.126'}], 'gateway_ip': '151.147.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.147.195.66', 'tags': [], 'project_id': 'bcd7125750b24f26997c3866e20e955b'}} 2025-05-08 02:18:52,646 - INFO - Created VN ctest-vn-80320753 2025-05-08 02:18:52,696 - DEBUG - VN ctest-vn-80320753 UUID is dde2776f-9b18-413c-b211-0117ccef7fdf 2025-05-08 02:18:52,813 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-69679444, 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-01750319:ctest-vn-80320753, 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-08 02:18:53,126 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c8fdc5cf-664d-420f-8cef-47af43da79ae', 'name': 'ctest-vn-69679444', 'tenant_id': 'bcd7125750b24f26997c3866e20e955b', 'project_id': 'bcd7125750b24f26997c3866e20e955b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56f756e8-0459-41a7-8905-c9a5566d664b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01750319', 'ctest-vn-69679444'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01750319', 'ctest-policy-allow-all-96838059']], 'subnet_ipam': [{'subnet_cidr': '95.157.105.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-08 02:18:53,408 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dde2776f-9b18-413c-b211-0117ccef7fdf', 'name': 'ctest-vn-80320753', 'tenant_id': 'bcd7125750b24f26997c3866e20e955b', 'project_id': 'bcd7125750b24f26997c3866e20e955b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['98c8dfe2-e4b6-4581-b174-8b03cb788cf3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01750319', 'ctest-vn-80320753'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01750319', 'ctest-policy-allow-all-96838059']], 'subnet_ipam': [{'subnet_cidr': '151.147.195.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-08 02:18:53,569 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-08 02:18:53,844 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-08 02:18:53,874 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c43aaa1d-bd19-4865-a667-7accb5b556be 2025-05-08 02:18:53,889 - DEBUG - Requesting: http://10.0.0.27:8082/project/bcd71257-50b2-4f26-997c-3866e20e955b 2025-05-08 02:18:53,972 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c8fdc5cf-664d-420f-8cef-47af43da79ae 2025-05-08 02:18:53,984 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c8fdc5cf-664d-420f-8cef-47af43da79ae 2025-05-08 02:18:53,996 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/15297a2f-22fe-44f6-872a-0607ceb62a4b 2025-05-08 02:18:54,005 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/15297a2f-22fe-44f6-872a-0607ceb62a4b 2025-05-08 02:18:54,011 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/277e477e-194b-4c0b-b069-72d5b595513c 2025-05-08 02:18:54,017 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-08 02:18:54,017 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c8fdc5cf-664d-420f-8cef-47af43da79ae 2025-05-08 02:18:54,025 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/15297a2f-22fe-44f6-872a-0607ceb62a4b 2025-05-08 02:18:54,040 - INFO - Verified VN network id 9 for VN c8fdc5cf-664d-420f-8cef-47af43da79ae 2025-05-08 02:18:54,040 - INFO - Verifications in API Server for VN ctest-vn-69679444 passed 2025-05-08 02:18:54,040 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c8fdc5cf-664d-420f-8cef-47af43da79ae 2025-05-08 02:18:54,050 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/15297a2f-22fe-44f6-872a-0607ceb62a4b 2025-05-08 02:18:54,056 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/15297a2f-22fe-44f6-872a-0607ceb62a4b 2025-05-08 02:18:54,063 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/277e477e-194b-4c0b-b069-72d5b595513c 2025-05-08 02:18:54,075 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-69679444', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01750319', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14482949471258624527', 'uuid-lslong': '10155414502826998190'}, 'enable': 'true', 'created': '2025-05-08T02:18:51', 'last-modified': '2025-05-08T02:18:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980020'} 2025-05-08 02:18:54,081 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-08 02:18:54,081 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69679444 passed 2025-05-08 02:18:54,081 - DEBUG - ====Verifying policy data for ctest-vn-69679444 in API_Server ====== 2025-05-08 02:18:54,082 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-08 02:18:54,088 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c43aaa1d-bd19-4865-a667-7accb5b556be 2025-05-08 02:18:54,100 - DEBUG - Requesting: http://10.0.0.27:8082/project/bcd71257-50b2-4f26-997c-3866e20e955b 2025-05-08 02:18:54,175 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c8fdc5cf-664d-420f-8cef-47af43da79ae 2025-05-08 02:18:54,195 - DEBUG - ==>Verifying data for policy with id: 2d5e1dd0-9b51-4d9c-ad9e-4f7bfe8b2336, fqn: ['default-domain', 'ctest-TestBasicPolicy-01750319', 'ctest-policy-allow-all-96838059'] 2025-05-08 02:18:54,195 - INFO - VN ctest-vn-69679444 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-08 02:18:54,195 - DEBUG - Verifying the vn in opserver 2025-05-08 02:18:54,195 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-69679444 virtual network link through opserver 10.0.0.27 2025-05-08 02:18:54,195 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-05-08 02:18:54,472 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-05-08 02:18:54,542 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-69679444', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-69679444?flat'} 2025-05-08 02:18:54,542 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-69679444 is found in opserver 2025-05-08 02:18:54,553 - DEBUG - Do not have enough data to verify VN in agent 2025-05-08 02:18:54,559 - DEBUG - VRF ids for VN ctest-vn-69679444: {} 2025-05-08 02:18:54,559 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-08 02:18:54,565 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c43aaa1d-bd19-4865-a667-7accb5b556be 2025-05-08 02:18:54,576 - DEBUG - Requesting: http://10.0.0.27:8082/project/bcd71257-50b2-4f26-997c-3866e20e955b 2025-05-08 02:18:54,655 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dde2776f-9b18-413c-b211-0117ccef7fdf 2025-05-08 02:18:54,667 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dde2776f-9b18-413c-b211-0117ccef7fdf 2025-05-08 02:18:54,677 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a16e3105-6d6c-4f10-9006-fc754fd6d44d 2025-05-08 02:18:54,684 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a16e3105-6d6c-4f10-9006-fc754fd6d44d 2025-05-08 02:18:54,691 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/465e89dc-bedf-4076-99cd-52f66a74acaa 2025-05-08 02:18:54,698 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-08 02:18:54,698 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dde2776f-9b18-413c-b211-0117ccef7fdf 2025-05-08 02:18:54,706 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a16e3105-6d6c-4f10-9006-fc754fd6d44d 2025-05-08 02:18:54,719 - INFO - Verified VN network id 10 for VN dde2776f-9b18-413c-b211-0117ccef7fdf 2025-05-08 02:18:54,719 - INFO - Verifications in API Server for VN ctest-vn-80320753 passed 2025-05-08 02:18:54,719 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dde2776f-9b18-413c-b211-0117ccef7fdf 2025-05-08 02:18:54,728 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a16e3105-6d6c-4f10-9006-fc754fd6d44d 2025-05-08 02:18:54,734 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a16e3105-6d6c-4f10-9006-fc754fd6d44d 2025-05-08 02:18:54,742 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/465e89dc-bedf-4076-99cd-52f66a74acaa 2025-05-08 02:18:54,752 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-80320753', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01750319', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15988472948345815356', 'uuid-lslong': '12831038015089377247'}, 'enable': 'true', 'created': '2025-05-08T02:18:52', 'last-modified': '2025-05-08T02:18:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.406772'} 2025-05-08 02:18:54,758 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-08 02:18:54,758 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80320753 passed 2025-05-08 02:18:54,758 - DEBUG - ====Verifying policy data for ctest-vn-80320753 in API_Server ====== 2025-05-08 02:18:54,758 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-08 02:18:54,764 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c43aaa1d-bd19-4865-a667-7accb5b556be 2025-05-08 02:18:54,776 - DEBUG - Requesting: http://10.0.0.27:8082/project/bcd71257-50b2-4f26-997c-3866e20e955b 2025-05-08 02:18:54,854 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dde2776f-9b18-413c-b211-0117ccef7fdf 2025-05-08 02:18:54,866 - DEBUG - ==>Verifying data for policy with id: 2d5e1dd0-9b51-4d9c-ad9e-4f7bfe8b2336, fqn: ['default-domain', 'ctest-TestBasicPolicy-01750319', 'ctest-policy-allow-all-96838059'] 2025-05-08 02:18:54,866 - INFO - VN ctest-vn-80320753 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-08 02:18:54,866 - DEBUG - Verifying the vn in opserver 2025-05-08 02:18:54,866 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-80320753 virtual network link through opserver 10.0.0.27 2025-05-08 02:18:54,866 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-05-08 02:18:54,876 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-80320753', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-80320753?flat'} 2025-05-08 02:18:54,876 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-80320753 is found in opserver 2025-05-08 02:18:54,887 - DEBUG - Do not have enough data to verify VN in agent 2025-05-08 02:18:54,892 - DEBUG - VRF ids for VN ctest-vn-80320753: {} 2025-05-08 02:18:54,947 - DEBUG - Services list from nova: [, , ] 2025-05-08 02:18:55,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3285-1) 2025-05-08 02:18:57,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3285-1) 2025-05-08 02:18:57,007 - INFO - Waiting for VM ctest-TestBasicPolicy-01750319-64352950 to be up.. 2025-05-08 02:18:57,081 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-08 02:19:02,151 - DEBUG - VM is in ACTIVE state now 2025-05-08 02:19:02,151 - INFO - VM name : ctest-TestBasicPolicy-01750319-64352950 2025-05-08 02:19:02,229 - DEBUG - VM ctest-TestBasicPolicy-01750319-64352950 ID is feeebb14-dd0e-4f59-8a0d-927af489fe35 2025-05-08 02:19:02,249 - DEBUG - VM ctest-TestBasicPolicy-01750319-64352950 launched on Node cn-jenkins-deploy-platform-ansible-os-3285-1 2025-05-08 02:19:02,326 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/feeebb14-dd0e-4f59-8a0d-927af489fe35 2025-05-08 02:19:02,336 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f29b2993-62d3-463c-b868-8e5581d24489 2025-05-08 02:19:05,603 - 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 1027ms') 2025-05-08 02:19:05,603 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01750319-64352950 failed! 2025-05-08 02:19:05,661 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01750319:ctest-vn-69679444 is 95.157.105.193 and allocation pool is NOT set 2025-05-08 02:19:07,729 - 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=3.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.575 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.575/2.055/3.535/1.480 ms') 2025-05-08 02:19:07,729 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01750319-64352950 passed 2025-05-08 02:19:07,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:19:07,881 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01750319-64352950, IP 95.157.105.195, Port 22 2025-05-08 02:19:08,033 - DEBUG - VM ctest-TestBasicPolicy-01750319-64352950 is ready for SSH connections 2025-05-08 02:19:08,033 - INFO - Waiting for VM ctest-TestBasicPolicy-01750319-67353415 to be up.. 2025-05-08 02:19:08,103 - DEBUG - VM is in ACTIVE state now 2025-05-08 02:19:08,103 - INFO - VM name : ctest-TestBasicPolicy-01750319-67353415 2025-05-08 02:19:08,175 - DEBUG - VM ctest-TestBasicPolicy-01750319-67353415 ID is b4781535-e50f-474f-85aa-2cb30a2dc90e 2025-05-08 02:19:08,175 - DEBUG - VM ctest-TestBasicPolicy-01750319-67353415 launched on Node cn-jenkins-deploy-platform-ansible-os-3285-1 2025-05-08 02:19:08,242 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b4781535-e50f-474f-85aa-2cb30a2dc90e 2025-05-08 02:19:08,251 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f0d1d32f-b239-4be0-9471-7b6da8de0467 2025-05-08 02:19:09,484 - 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=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.639/2.812/1.172 ms') 2025-05-08 02:19:09,484 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01750319-67353415 passed 2025-05-08 02:19:09,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:19:09,633 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01750319-67353415, IP 151.147.195.67, Port 22 2025-05-08 02:19:09,784 - DEBUG - VM ctest-TestBasicPolicy-01750319-67353415 is ready for SSH connections 2025-05-08 02:19:09,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:19:09,784 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.147.195.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-05-08 02:19:09,785 - DEBUG - ping -s 56 -c 3 -W 1 151.147.195.67 2025-05-08 02:19:13,931 - DEBUG - PING 151.147.195.67 (151.147.195.67): 56 data bytes 64 bytes from 151.147.195.67: seq=0 ttl=63 time=3.364 ms 64 bytes from 151.147.195.67: seq=1 ttl=63 time=0.802 ms 64 bytes from 151.147.195.67: seq=2 ttl=63 time=0.833 ms --- 151.147.195.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.666/3.364 ms 2025-05-08 02:19:13,931 - INFO - Ping to IP 151.147.195.67 from VM ctest-TestBasicPolicy-01750319-64352950 passed 2025-05-08 02:19:14,104 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2d5e1dd0-9b51-4d9c-ad9e-4f7bfe8b2336", "href": "http://10.0.0.27:8082/network-policy/2d5e1dd0-9b51-4d9c-ad9e-4f7bfe8b2336"}} 2025-05-08 02:19:14,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:19:14,105 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.147.195.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-05-08 02:19:14,105 - DEBUG - ping -s 56 -c 3 -W 1 151.147.195.67 2025-05-08 02:19:17,310 - DEBUG - PING 151.147.195.67 (151.147.195.67): 56 data bytes --- 151.147.195.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-08 02:19:17,310 - WARNING - Ping to IP 151.147.195.67 from VM ctest-TestBasicPolicy-01750319-64352950 failed 2025-05-08 02:19:17,310 - INFO - Deleting VM ctest-TestBasicPolicy-01750319-67353415 2025-05-08 02:19:17,372 - INFO - Deleting VM ctest-TestBasicPolicy-01750319-64352950 2025-05-08 02:19:17,720 - INFO - Deleted policy ctest-policy-allow-all-96838059 2025-05-08 02:19:17,720 - INFO - Deleting VN ctest-vn-80320753 2025-05-08 02:19:17,763 - DEBUG - VN dde2776f-9b18-413c-b211-0117ccef7fdf still in use: Unable to complete operation on network dde2776f-9b18-413c-b211-0117ccef7fdf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f2a6f77-8625-40a7-aa86-c1d00ebde37f'] 2025-05-08 02:19:17,763 - WARNING - Deleting VN ctest-vn-80320753 failed..Will retry 2025-05-08 02:19:19,877 - DEBUG - Response for deleting network () 2025-05-08 02:19:19,877 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a16e3105-6d6c-4f10-9006-fc754fd6d44d 2025-05-08 02:19:19,886 - DEBUG - Response Code: 404 2025-05-08 02:19:19,886 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-08 02:19:19,892 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c43aaa1d-bd19-4865-a667-7accb5b556be 2025-05-08 02:19:19,948 - DEBUG - Requesting: http://10.0.0.27:8082/project/bcd71257-50b2-4f26-997c-3866e20e955b 2025-05-08 02:19:20,024 - INFO - Validated that VN ctest-vn-80320753 is not found in API Server 2025-05-08 02:19:20,036 - DEBUG - VN ctest-vn-80320753 is not present in Agent 10.0.0.27 2025-05-08 02:19:20,036 - INFO - Validated that VN ctest-vn-80320753 is not in any agent 2025-05-08 02:19:20,052 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80320753 info 2025-05-08 02:19:20,052 - INFO - Deleting VN ctest-vn-69679444 2025-05-08 02:19:20,169 - DEBUG - Response for deleting network () 2025-05-08 02:19:20,170 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/15297a2f-22fe-44f6-872a-0607ceb62a4b 2025-05-08 02:19:20,179 - DEBUG - Response Code: 404 2025-05-08 02:19:20,179 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-08 02:19:20,186 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c43aaa1d-bd19-4865-a667-7accb5b556be 2025-05-08 02:19:20,242 - DEBUG - Requesting: http://10.0.0.27:8082/project/bcd71257-50b2-4f26-997c-3866e20e955b 2025-05-08 02:19:20,317 - INFO - Validated that VN ctest-vn-69679444 is not found in API Server 2025-05-08 02:19:20,327 - DEBUG - VN ctest-vn-69679444 is not present in Agent 10.0.0.27 2025-05-08 02:19:20,327 - INFO - Validated that VN ctest-vn-69679444 is not in any agent 2025-05-08 02:19:20,342 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69679444 info 2025-05-08 02:19:20,599 - DEBUG - No XMPP flaps were noticed during the test
2025-05-08 02:19:20,599 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-05-08 02:19:20,599 - INFO - -------------------------------------------------------------------------------- 2025-05-08 02:19:21,262 - INFO - Deleted project: ctest-TestBasicPolicy-01750319, ID : bcd71257-50b2-4f26-997c-3866e20e955b