2025-06-15 16:59:08,948 - INFO - Domain Default found not creating 2025-06-15 16:59:09,092 - INFO - Project ctest-TestBasicPolicy-29313750 not found, creating it 2025-06-15 16:59:09,553 - INFO - Created Project:ctest-TestBasicPolicy-29313750, ID : a5dd3b20-8356-4128-97ad-5181c416d4b5 2025-06-15 16:59:11,112 - INFO - ================================================================================ 2025-06-15 16:59:11,112 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-15 16:59:11,113 - 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-06-15 16:59:11,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-06-15 16:59:11,370 - INFO - Initial checks done. Running the testcase now 2025-06-15 16:59:11,370 - INFO - 2025-06-15 16:59:11,974 - DEBUG - Response for create_network : {'network': {'id': 'c67dba97-3633-4288-95bb-a01b5bf30456', 'name': 'ctest-vn-78568995', 'tenant_id': 'a5dd3b208356412897ad5181c416d4b5', 'project_id': 'a5dd3b208356412897ad5181c416d4b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29313750', 'ctest-vn-78568995'], 'port_security_enabled': True, 'description': ''}} 2025-06-15 16:59:12,204 - DEBUG - Response for create_subnet : {'subnet': {'id': '896a1ca2-97bf-4862-ad36-9979af8f7d63', 'name': '', 'tenant_id': 'a5dd3b208356412897ad5181c416d4b5', 'network_id': 'c67dba97-3633-4288-95bb-a01b5bf30456', 'ip_version': 4, 'cidr': '108.104.46.64/26', 'allocation_pools': [{'start': '108.104.46.66', 'end': '108.104.46.126'}], 'gateway_ip': '108.104.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.104.46.66', 'tags': [], 'project_id': 'a5dd3b208356412897ad5181c416d4b5'}} 2025-06-15 16:59:12,222 - INFO - Created VN ctest-vn-78568995 2025-06-15 16:59:12,276 - DEBUG - VN ctest-vn-78568995 UUID is c67dba97-3633-4288-95bb-a01b5bf30456 2025-06-15 16:59:12,573 - DEBUG - Response for create_network : {'network': {'id': '60855f1b-fcae-41e8-93c1-7a17d5659fca', 'name': 'ctest-vn-47525796', 'tenant_id': 'a5dd3b208356412897ad5181c416d4b5', 'project_id': 'a5dd3b208356412897ad5181c416d4b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29313750', 'ctest-vn-47525796'], 'port_security_enabled': True, 'description': ''}} 2025-06-15 16:59:12,799 - DEBUG - Response for create_subnet : {'subnet': {'id': '9606c945-a204-44f7-9502-70993b464b91', 'name': '', 'tenant_id': 'a5dd3b208356412897ad5181c416d4b5', 'network_id': '60855f1b-fcae-41e8-93c1-7a17d5659fca', 'ip_version': 4, 'cidr': '68.50.109.192/26', 'allocation_pools': [{'start': '68.50.109.194', 'end': '68.50.109.254'}], 'gateway_ip': '68.50.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.50.109.194', 'tags': [], 'project_id': 'a5dd3b208356412897ad5181c416d4b5'}} 2025-06-15 16:59:12,817 - INFO - Created VN ctest-vn-47525796 2025-06-15 16:59:12,868 - DEBUG - VN ctest-vn-47525796 UUID is 60855f1b-fcae-41e8-93c1-7a17d5659fca 2025-06-15 16:59:13,024 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-78568995, 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-29313750:ctest-vn-47525796, 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-06-15 16:59:13,332 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c67dba97-3633-4288-95bb-a01b5bf30456', 'name': 'ctest-vn-78568995', 'tenant_id': 'a5dd3b208356412897ad5181c416d4b5', 'project_id': 'a5dd3b208356412897ad5181c416d4b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['896a1ca2-97bf-4862-ad36-9979af8f7d63'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29313750', 'ctest-vn-78568995'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29313750', 'ctest-policy-allow-all-57092770']], 'subnet_ipam': [{'subnet_cidr': '108.104.46.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-15 16:59:13,563 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60855f1b-fcae-41e8-93c1-7a17d5659fca', 'name': 'ctest-vn-47525796', 'tenant_id': 'a5dd3b208356412897ad5181c416d4b5', 'project_id': 'a5dd3b208356412897ad5181c416d4b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9606c945-a204-44f7-9502-70993b464b91'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29313750', 'ctest-vn-47525796'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29313750', 'ctest-policy-allow-all-57092770']], 'subnet_ipam': [{'subnet_cidr': '68.50.109.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-15 16:59:13,724 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-15 16:59:14,062 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-15 16:59:14,089 - DEBUG - Requesting: http://10.0.0.57:8082/domain/6b473abd-5bdf-4243-bcee-dd99654edb4b 2025-06-15 16:59:14,102 - DEBUG - Requesting: http://10.0.0.57:8082/project/a5dd3b20-8356-4128-97ad-5181c416d4b5 2025-06-15 16:59:14,177 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c67dba97-3633-4288-95bb-a01b5bf30456 2025-06-15 16:59:14,189 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c67dba97-3633-4288-95bb-a01b5bf30456 2025-06-15 16:59:14,201 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f5bad3d1-4dcb-4927-9bbe-c35f5c93dcb4 2025-06-15 16:59:14,209 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f5bad3d1-4dcb-4927-9bbe-c35f5c93dcb4 2025-06-15 16:59:14,216 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/14b42504-d661-4b18-af7c-e84714a26704 2025-06-15 16:59:14,222 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-15 16:59:14,222 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c67dba97-3633-4288-95bb-a01b5bf30456 2025-06-15 16:59:14,232 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f5bad3d1-4dcb-4927-9bbe-c35f5c93dcb4 2025-06-15 16:59:14,245 - INFO - Verified VN network id 8 for VN c67dba97-3633-4288-95bb-a01b5bf30456 2025-06-15 16:59:14,246 - INFO - Verifications in API Server for VN ctest-vn-78568995 passed 2025-06-15 16:59:14,246 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c67dba97-3633-4288-95bb-a01b5bf30456 2025-06-15 16:59:14,255 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f5bad3d1-4dcb-4927-9bbe-c35f5c93dcb4 2025-06-15 16:59:14,263 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f5bad3d1-4dcb-4927-9bbe-c35f5c93dcb4 2025-06-15 16:59:14,269 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/14b42504-d661-4b18-af7c-e84714a26704 2025-06-15 16:59:14,281 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-78568995', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29313750', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14302793150210720392', 'uuid-lslong': '10789393371663369302'}, 'enable': 'true', 'created': '2025-06-15T16:59:11', 'last-modified': '2025-06-15T16:59:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979967'} 2025-06-15 16:59:14,288 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-15 16:59:14,288 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78568995 passed 2025-06-15 16:59:14,289 - DEBUG - ====Verifying policy data for ctest-vn-78568995 in API_Server ====== 2025-06-15 16:59:14,289 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-15 16:59:14,294 - DEBUG - Requesting: http://10.0.0.57:8082/domain/6b473abd-5bdf-4243-bcee-dd99654edb4b 2025-06-15 16:59:14,306 - DEBUG - Requesting: http://10.0.0.57:8082/project/a5dd3b20-8356-4128-97ad-5181c416d4b5 2025-06-15 16:59:14,382 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c67dba97-3633-4288-95bb-a01b5bf30456 2025-06-15 16:59:14,394 - DEBUG - ==>Verifying data for policy with id: 7d6826b4-d84e-489b-9eb6-b8367667ef13, fqn: ['default-domain', 'ctest-TestBasicPolicy-29313750', 'ctest-policy-allow-all-57092770'] 2025-06-15 16:59:14,394 - INFO - VN ctest-vn-78568995 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-15 16:59:14,394 - DEBUG - Verifying the vn in opserver 2025-06-15 16:59:14,394 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-78568995 virtual network link through opserver 10.0.0.57 2025-06-15 16:59:14,394 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-15 16:59:14,728 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-15 16:59:14,785 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-78568995', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-78568995?flat'} 2025-06-15 16:59:14,785 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-78568995 is found in opserver 2025-06-15 16:59:14,797 - DEBUG - Do not have enough data to verify VN in agent 2025-06-15 16:59:14,803 - DEBUG - VRF ids for VN ctest-vn-78568995: {} 2025-06-15 16:59:14,803 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-15 16:59:14,809 - DEBUG - Requesting: http://10.0.0.57:8082/domain/6b473abd-5bdf-4243-bcee-dd99654edb4b 2025-06-15 16:59:14,821 - DEBUG - Requesting: http://10.0.0.57:8082/project/a5dd3b20-8356-4128-97ad-5181c416d4b5 2025-06-15 16:59:14,894 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/60855f1b-fcae-41e8-93c1-7a17d5659fca 2025-06-15 16:59:14,908 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/60855f1b-fcae-41e8-93c1-7a17d5659fca 2025-06-15 16:59:14,919 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/272aef59-3834-4a9f-ace8-ab0c5e39ac54 2025-06-15 16:59:14,928 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/272aef59-3834-4a9f-ace8-ab0c5e39ac54 2025-06-15 16:59:14,936 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/12a309c0-994c-468e-b9dc-2caf2db61edd 2025-06-15 16:59:14,942 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-15 16:59:14,943 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/60855f1b-fcae-41e8-93c1-7a17d5659fca 2025-06-15 16:59:14,952 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/272aef59-3834-4a9f-ace8-ab0c5e39ac54 2025-06-15 16:59:14,967 - INFO - Verified VN network id 9 for VN 60855f1b-fcae-41e8-93c1-7a17d5659fca 2025-06-15 16:59:14,968 - INFO - Verifications in API Server for VN ctest-vn-47525796 passed 2025-06-15 16:59:14,968 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/60855f1b-fcae-41e8-93c1-7a17d5659fca 2025-06-15 16:59:14,977 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/272aef59-3834-4a9f-ace8-ab0c5e39ac54 2025-06-15 16:59:14,985 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/272aef59-3834-4a9f-ace8-ab0c5e39ac54 2025-06-15 16:59:14,992 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/12a309c0-994c-468e-b9dc-2caf2db61edd 2025-06-15 16:59:15,005 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-47525796', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29313750', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6955069773351633384', 'uuid-lslong': '10646925236863606730'}, 'enable': 'true', 'created': '2025-06-15T16:59:12', 'last-modified': '2025-06-15T16:59:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.468089'} 2025-06-15 16:59:15,011 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-15 16:59:15,011 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47525796 passed 2025-06-15 16:59:15,012 - DEBUG - ====Verifying policy data for ctest-vn-47525796 in API_Server ====== 2025-06-15 16:59:15,012 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-15 16:59:15,017 - DEBUG - Requesting: http://10.0.0.57:8082/domain/6b473abd-5bdf-4243-bcee-dd99654edb4b 2025-06-15 16:59:15,028 - DEBUG - Requesting: http://10.0.0.57:8082/project/a5dd3b20-8356-4128-97ad-5181c416d4b5 2025-06-15 16:59:15,098 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/60855f1b-fcae-41e8-93c1-7a17d5659fca 2025-06-15 16:59:15,108 - DEBUG - ==>Verifying data for policy with id: 7d6826b4-d84e-489b-9eb6-b8367667ef13, fqn: ['default-domain', 'ctest-TestBasicPolicy-29313750', 'ctest-policy-allow-all-57092770'] 2025-06-15 16:59:15,108 - INFO - VN ctest-vn-47525796 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-15 16:59:15,108 - DEBUG - Verifying the vn in opserver 2025-06-15 16:59:15,108 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-47525796 virtual network link through opserver 10.0.0.57 2025-06-15 16:59:15,108 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-15 16:59:15,118 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-47525796', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-47525796?flat'} 2025-06-15 16:59:15,118 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-47525796 is found in opserver 2025-06-15 16:59:15,129 - DEBUG - Do not have enough data to verify VN in agent 2025-06-15 16:59:15,134 - DEBUG - VRF ids for VN ctest-vn-47525796: {} 2025-06-15 16:59:15,190 - DEBUG - Services list from nova: [, , ] 2025-06-15 16:59:16,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3453-1) 2025-06-15 16:59:17,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3453-1) 2025-06-15 16:59:17,590 - INFO - Waiting for VM ctest-TestBasicPolicy-29313750-12674888 to be up.. 2025-06-15 16:59:17,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-15 16:59:22,751 - DEBUG - VM is in ACTIVE state now 2025-06-15 16:59:22,751 - INFO - VM name : ctest-TestBasicPolicy-29313750-12674888 2025-06-15 16:59:22,831 - DEBUG - VM ctest-TestBasicPolicy-29313750-12674888 ID is 51ad88bf-3568-4368-a90d-fc9e3a167489 2025-06-15 16:59:22,856 - DEBUG - VM ctest-TestBasicPolicy-29313750-12674888 launched on Node cn-jenkins-deploy-platform-ansible-os-3453-1 2025-06-15 16:59:22,958 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/51ad88bf-3568-4368-a90d-fc9e3a167489 2025-06-15 16:59:22,968 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/3f55f069-1241-43d3-a718-383c0be1e53f 2025-06-15 16:59:26,218 - 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 1011ms') 2025-06-15 16:59:26,218 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29313750-12674888 failed! 2025-06-15 16:59:26,276 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29313750:ctest-vn-78568995 is 108.104.46.65 and allocation pool is NOT set 2025-06-15 16:59:28,339 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.341 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.341/4.035/7.730/3.694 ms') 2025-06-15 16:59:28,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29313750-12674888 passed 2025-06-15 16:59:28,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 16:59:28,496 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29313750-12674888, IP 108.104.46.67, Port 22 2025-06-15 16:59:28,651 - DEBUG - VM ctest-TestBasicPolicy-29313750-12674888 is ready for SSH connections 2025-06-15 16:59:28,652 - INFO - Waiting for VM ctest-TestBasicPolicy-29313750-02886364 to be up.. 2025-06-15 16:59:28,728 - DEBUG - VM is in ACTIVE state now 2025-06-15 16:59:28,729 - INFO - VM name : ctest-TestBasicPolicy-29313750-02886364 2025-06-15 16:59:28,803 - DEBUG - VM ctest-TestBasicPolicy-29313750-02886364 ID is a58e9a53-e288-4491-acdc-2b449fc597f9 2025-06-15 16:59:28,803 - DEBUG - VM ctest-TestBasicPolicy-29313750-02886364 launched on Node cn-jenkins-deploy-platform-ansible-os-3453-1 2025-06-15 16:59:28,890 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a58e9a53-e288-4491-acdc-2b449fc597f9 2025-06-15 16:59:28,902 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/bd93b380-b5b6-4234-8158-d0e392e4a96f 2025-06-15 16:59:30,153 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.827/3.214/1.386 ms') 2025-06-15 16:59:30,154 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29313750-02886364 passed 2025-06-15 16:59:30,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 16:59:30,304 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29313750-02886364, IP 68.50.109.195, Port 22 2025-06-15 16:59:30,463 - DEBUG - VM ctest-TestBasicPolicy-29313750-02886364 is ready for SSH connections 2025-06-15 16:59:30,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 16:59:30,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.50.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-15 16:59:30,463 - DEBUG - ping -s 56 -c 3 -W 1 68.50.109.195 2025-06-15 16:59:34,158 - DEBUG - PING 68.50.109.195 (68.50.109.195): 56 data bytes 64 bytes from 68.50.109.195: seq=0 ttl=63 time=4.015 ms 64 bytes from 68.50.109.195: seq=1 ttl=63 time=0.800 ms 64 bytes from 68.50.109.195: seq=2 ttl=63 time=0.731 ms --- 68.50.109.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/1.848/4.015 ms 2025-06-15 16:59:34,158 - INFO - Ping to IP 68.50.109.195 from VM ctest-TestBasicPolicy-29313750-12674888 passed 2025-06-15 16:59:34,340 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7d6826b4-d84e-489b-9eb6-b8367667ef13", "href": "http://10.0.0.57:8082/network-policy/7d6826b4-d84e-489b-9eb6-b8367667ef13"}} 2025-06-15 16:59:34,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 16:59:34,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.50.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-15 16:59:34,340 - DEBUG - ping -s 56 -c 3 -W 1 68.50.109.195 2025-06-15 16:59:37,561 - DEBUG - PING 68.50.109.195 (68.50.109.195): 56 data bytes 64 bytes from 68.50.109.195: seq=0 ttl=63 time=1.281 ms --- 68.50.109.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.281/1.281/1.281 ms 2025-06-15 16:59:37,561 - WARNING - Ping to IP 68.50.109.195 from VM ctest-TestBasicPolicy-29313750-12674888 failed 2025-06-15 16:59:37,561 - INFO - Deleting VM ctest-TestBasicPolicy-29313750-02886364 2025-06-15 16:59:37,627 - INFO - Deleting VM ctest-TestBasicPolicy-29313750-12674888 2025-06-15 16:59:38,007 - INFO - Deleted policy ctest-policy-allow-all-57092770 2025-06-15 16:59:38,007 - INFO - Deleting VN ctest-vn-47525796 2025-06-15 16:59:38,044 - DEBUG - VN 60855f1b-fcae-41e8-93c1-7a17d5659fca still in use: Unable to complete operation on network 60855f1b-fcae-41e8-93c1-7a17d5659fca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6717672b-9320-428d-a36e-00a4f6df8310'] 2025-06-15 16:59:38,045 - WARNING - Deleting VN ctest-vn-47525796 failed..Will retry 2025-06-15 16:59:40,161 - DEBUG - Response for deleting network () 2025-06-15 16:59:40,161 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/272aef59-3834-4a9f-ace8-ab0c5e39ac54 2025-06-15 16:59:40,168 - DEBUG - Response Code: 404 2025-06-15 16:59:40,168 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-15 16:59:40,174 - DEBUG - Requesting: http://10.0.0.57:8082/domain/6b473abd-5bdf-4243-bcee-dd99654edb4b 2025-06-15 16:59:40,229 - DEBUG - Requesting: http://10.0.0.57:8082/project/a5dd3b20-8356-4128-97ad-5181c416d4b5 2025-06-15 16:59:40,304 - INFO - Validated that VN ctest-vn-47525796 is not found in API Server 2025-06-15 16:59:40,316 - DEBUG - VN ctest-vn-47525796 is not present in Agent 10.0.0.57 2025-06-15 16:59:40,316 - INFO - Validated that VN ctest-vn-47525796 is not in any agent 2025-06-15 16:59:40,332 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47525796 info 2025-06-15 16:59:40,332 - INFO - Deleting VN ctest-vn-78568995 2025-06-15 16:59:40,426 - DEBUG - Response for deleting network () 2025-06-15 16:59:40,426 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f5bad3d1-4dcb-4927-9bbe-c35f5c93dcb4 2025-06-15 16:59:40,432 - DEBUG - Response Code: 404 2025-06-15 16:59:40,432 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-15 16:59:40,439 - DEBUG - Requesting: http://10.0.0.57:8082/domain/6b473abd-5bdf-4243-bcee-dd99654edb4b 2025-06-15 16:59:40,493 - DEBUG - Requesting: http://10.0.0.57:8082/project/a5dd3b20-8356-4128-97ad-5181c416d4b5 2025-06-15 16:59:40,565 - INFO - Validated that VN ctest-vn-78568995 is not found in API Server 2025-06-15 16:59:40,578 - DEBUG - VN ctest-vn-78568995 is not present in Agent 10.0.0.57 2025-06-15 16:59:40,578 - INFO - Validated that VN ctest-vn-78568995 is not in any agent 2025-06-15 16:59:40,594 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78568995 info 2025-06-15 16:59:40,849 - DEBUG - No XMPP flaps were noticed during the test
2025-06-15 16:59:40,849 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-15 16:59:40,849 - INFO - -------------------------------------------------------------------------------- 2025-06-15 16:59:41,538 - INFO - Deleted project: ctest-TestBasicPolicy-29313750, ID : a5dd3b20-8356-4128-97ad-5181c416d4b5