2025-01-03 07:38:38,289 - INFO - Domain Default found not creating 2025-01-03 07:38:38,431 - INFO - Project ctest-TestBasicPolicy-81011318 not found, creating it 2025-01-03 07:38:38,881 - INFO - Created Project:ctest-TestBasicPolicy-81011318, ID : b5d01469-3f71-4267-8ebf-837afdfc7f2c 2025-01-03 07:38:40,377 - INFO - ================================================================================ 2025-01-03 07:38:40,377 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-03 07:38:40,377 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-01-03 07:38:40,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.8': '0'}} with 2025-01-03 07:38:40,631 - INFO - Initial checks done. Running the testcase now 2025-01-03 07:38:40,631 - INFO - 2025-01-03 07:38:41,195 - DEBUG - Response for create_network : {'network': {'id': 'f47146d8-1821-4539-ae30-76054938a263', 'name': 'ctest-vn-37024117', 'tenant_id': 'b5d014693f7142678ebf837afdfc7f2c', 'project_id': 'b5d014693f7142678ebf837afdfc7f2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81011318', 'ctest-vn-37024117'], 'port_security_enabled': True, 'description': ''}} 2025-01-03 07:38:41,392 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fec2368-d7c1-42f6-a4c8-487aa06034b9', 'name': '', 'tenant_id': 'b5d014693f7142678ebf837afdfc7f2c', 'network_id': 'f47146d8-1821-4539-ae30-76054938a263', 'ip_version': 4, 'cidr': '197.189.33.64/26', 'allocation_pools': [{'start': '197.189.33.66', 'end': '197.189.33.126'}], 'gateway_ip': '197.189.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.189.33.66', 'tags': [], 'project_id': 'b5d014693f7142678ebf837afdfc7f2c'}} 2025-01-03 07:38:41,411 - INFO - Created VN ctest-vn-37024117 2025-01-03 07:38:41,462 - DEBUG - VN ctest-vn-37024117 UUID is f47146d8-1821-4539-ae30-76054938a263 2025-01-03 07:38:41,759 - DEBUG - Response for create_network : {'network': {'id': 'bd7f523f-432f-4d6b-9eb5-3d48c7763081', 'name': 'ctest-vn-97039343', 'tenant_id': 'b5d014693f7142678ebf837afdfc7f2c', 'project_id': 'b5d014693f7142678ebf837afdfc7f2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81011318', 'ctest-vn-97039343'], 'port_security_enabled': True, 'description': ''}} 2025-01-03 07:38:41,979 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffa7f92b-f0f8-4801-bb13-ab1ee8061a62', 'name': '', 'tenant_id': 'b5d014693f7142678ebf837afdfc7f2c', 'network_id': 'bd7f523f-432f-4d6b-9eb5-3d48c7763081', 'ip_version': 4, 'cidr': '27.56.138.64/26', 'allocation_pools': [{'start': '27.56.138.66', 'end': '27.56.138.126'}], 'gateway_ip': '27.56.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.56.138.66', 'tags': [], 'project_id': 'b5d014693f7142678ebf837afdfc7f2c'}} 2025-01-03 07:38:41,995 - INFO - Created VN ctest-vn-97039343 2025-01-03 07:38:42,046 - DEBUG - VN ctest-vn-97039343 UUID is bd7f523f-432f-4d6b-9eb5-3d48c7763081 2025-01-03 07:38:42,159 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-37024117, 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-81011318:ctest-vn-97039343, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-01-03 07:38:42,452 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f47146d8-1821-4539-ae30-76054938a263', 'name': 'ctest-vn-37024117', 'tenant_id': 'b5d014693f7142678ebf837afdfc7f2c', 'project_id': 'b5d014693f7142678ebf837afdfc7f2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2fec2368-d7c1-42f6-a4c8-487aa06034b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81011318', 'ctest-vn-37024117'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81011318', 'ctest-policy-allow-all-85539835']], 'subnet_ipam': [{'subnet_cidr': '197.189.33.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-03 07:38:42,679 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bd7f523f-432f-4d6b-9eb5-3d48c7763081', 'name': 'ctest-vn-97039343', 'tenant_id': 'b5d014693f7142678ebf837afdfc7f2c', 'project_id': 'b5d014693f7142678ebf837afdfc7f2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ffa7f92b-f0f8-4801-bb13-ab1ee8061a62'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81011318', 'ctest-vn-97039343'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81011318', 'ctest-policy-allow-all-85539835']], 'subnet_ipam': [{'subnet_cidr': '27.56.138.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-03 07:38:42,826 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-03 07:38:43,125 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-03 07:38:43,154 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2939800b-34fe-46d3-bb1c-22a63b59c17b 2025-01-03 07:38:43,167 - DEBUG - Requesting: http://10.0.0.23:8082/project/b5d01469-3f71-4267-8ebf-837afdfc7f2c 2025-01-03 07:38:43,240 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f47146d8-1821-4539-ae30-76054938a263 2025-01-03 07:38:43,252 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f47146d8-1821-4539-ae30-76054938a263 2025-01-03 07:38:43,261 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/559644ba-f272-43db-a9a2-010f0aaf9321 2025-01-03 07:38:43,268 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/559644ba-f272-43db-a9a2-010f0aaf9321 2025-01-03 07:38:43,276 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/eeae5d65-9a32-4562-b405-cd889bda964f 2025-01-03 07:38:43,282 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-03 07:38:43,282 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f47146d8-1821-4539-ae30-76054938a263 2025-01-03 07:38:43,291 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/559644ba-f272-43db-a9a2-010f0aaf9321 2025-01-03 07:38:43,304 - INFO - Verified VN network id 9 for VN f47146d8-1821-4539-ae30-76054938a263 2025-01-03 07:38:43,304 - INFO - Verifications in API Server for VN ctest-vn-37024117 passed 2025-01-03 07:38:43,304 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f47146d8-1821-4539-ae30-76054938a263 2025-01-03 07:38:43,313 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/559644ba-f272-43db-a9a2-010f0aaf9321 2025-01-03 07:38:43,320 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/559644ba-f272-43db-a9a2-010f0aaf9321 2025-01-03 07:38:43,326 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/eeae5d65-9a32-4562-b405-cd889bda964f 2025-01-03 07:38:43,340 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-37024117', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81011318', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17613937511554434361', 'uuid-lslong': '12551661926556934755'}, 'enable': 'true', 'created': '2025-01-03T07:38:41', 'last-modified': '2025-01-03T07:38:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907422'} 2025-01-03 07:38:43,346 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-03 07:38:43,346 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37024117 passed 2025-01-03 07:38:43,347 - DEBUG - ====Verifying policy data for ctest-vn-37024117 in API_Server ====== 2025-01-03 07:38:43,347 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-03 07:38:43,352 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2939800b-34fe-46d3-bb1c-22a63b59c17b 2025-01-03 07:38:43,362 - DEBUG - Requesting: http://10.0.0.23:8082/project/b5d01469-3f71-4267-8ebf-837afdfc7f2c 2025-01-03 07:38:43,431 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f47146d8-1821-4539-ae30-76054938a263 2025-01-03 07:38:43,441 - DEBUG - ==>Verifying data for policy with id: aecf04d7-7915-4ccc-a9b0-256582b35c40, fqn: ['default-domain', 'ctest-TestBasicPolicy-81011318', 'ctest-policy-allow-all-85539835'] 2025-01-03 07:38:43,441 - INFO - VN ctest-vn-37024117 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-03 07:38:43,441 - DEBUG - Verifying the vn in opserver 2025-01-03 07:38:43,441 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-37024117 virtual network link through opserver 10.0.0.23 2025-01-03 07:38:43,441 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-01-03 07:38:43,730 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-01-03 07:38:44,066 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-37024117', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-37024117?flat'} 2025-01-03 07:38:44,067 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-37024117 is found in opserver 2025-01-03 07:38:44,078 - DEBUG - Do not have enough data to verify VN in agent 2025-01-03 07:38:44,084 - DEBUG - VRF ids for VN ctest-vn-37024117: {} 2025-01-03 07:38:44,084 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-03 07:38:44,090 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2939800b-34fe-46d3-bb1c-22a63b59c17b 2025-01-03 07:38:44,105 - DEBUG - Requesting: http://10.0.0.23:8082/project/b5d01469-3f71-4267-8ebf-837afdfc7f2c 2025-01-03 07:38:44,178 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bd7f523f-432f-4d6b-9eb5-3d48c7763081 2025-01-03 07:38:44,190 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bd7f523f-432f-4d6b-9eb5-3d48c7763081 2025-01-03 07:38:44,199 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39e12642-8d2e-4abc-a806-d8e324a962ed 2025-01-03 07:38:44,206 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39e12642-8d2e-4abc-a806-d8e324a962ed 2025-01-03 07:38:44,213 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/048d1b05-ea56-4524-bd72-fd8352e78e97 2025-01-03 07:38:44,219 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-03 07:38:44,219 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bd7f523f-432f-4d6b-9eb5-3d48c7763081 2025-01-03 07:38:44,229 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39e12642-8d2e-4abc-a806-d8e324a962ed 2025-01-03 07:38:44,242 - INFO - Verified VN network id 10 for VN bd7f523f-432f-4d6b-9eb5-3d48c7763081 2025-01-03 07:38:44,242 - INFO - Verifications in API Server for VN ctest-vn-97039343 passed 2025-01-03 07:38:44,242 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bd7f523f-432f-4d6b-9eb5-3d48c7763081 2025-01-03 07:38:44,251 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39e12642-8d2e-4abc-a806-d8e324a962ed 2025-01-03 07:38:44,258 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39e12642-8d2e-4abc-a806-d8e324a962ed 2025-01-03 07:38:44,265 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/048d1b05-ea56-4524-bd72-fd8352e78e97 2025-01-03 07:38:44,276 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-97039343', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81011318', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13654723026874223979', 'uuid-lslong': '11436114211570593921'}, 'enable': 'true', 'created': '2025-01-03T07:38:41', 'last-modified': '2025-01-03T07:38:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.618629'} 2025-01-03 07:38:44,282 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-03 07:38:44,282 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97039343 passed 2025-01-03 07:38:44,283 - DEBUG - ====Verifying policy data for ctest-vn-97039343 in API_Server ====== 2025-01-03 07:38:44,283 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-03 07:38:44,288 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2939800b-34fe-46d3-bb1c-22a63b59c17b 2025-01-03 07:38:44,301 - DEBUG - Requesting: http://10.0.0.23:8082/project/b5d01469-3f71-4267-8ebf-837afdfc7f2c 2025-01-03 07:38:44,375 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bd7f523f-432f-4d6b-9eb5-3d48c7763081 2025-01-03 07:38:44,384 - DEBUG - ==>Verifying data for policy with id: aecf04d7-7915-4ccc-a9b0-256582b35c40, fqn: ['default-domain', 'ctest-TestBasicPolicy-81011318', 'ctest-policy-allow-all-85539835'] 2025-01-03 07:38:44,384 - INFO - VN ctest-vn-97039343 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-03 07:38:44,384 - DEBUG - Verifying the vn in opserver 2025-01-03 07:38:44,384 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-97039343 virtual network link through opserver 10.0.0.23 2025-01-03 07:38:44,384 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-01-03 07:38:44,394 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-97039343', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-97039343?flat'} 2025-01-03 07:38:44,394 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-97039343 is found in opserver 2025-01-03 07:38:44,406 - DEBUG - Do not have enough data to verify VN in agent 2025-01-03 07:38:44,411 - DEBUG - VRF ids for VN ctest-vn-97039343: {} 2025-01-03 07:38:44,464 - DEBUG - Services list from nova: [, , ] 2025-01-03 07:38:45,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2518-1) 2025-01-03 07:38:46,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2518-1) 2025-01-03 07:38:46,640 - INFO - Waiting for VM ctest-TestBasicPolicy-81011318-47802307 to be up.. 2025-01-03 07:38:46,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-03 07:38:51,785 - DEBUG - VM is in ACTIVE state now 2025-01-03 07:38:51,785 - INFO - VM name : ctest-TestBasicPolicy-81011318-47802307 2025-01-03 07:38:51,862 - DEBUG - VM ctest-TestBasicPolicy-81011318-47802307 ID is 0d7da0cd-f153-46aa-b88d-465e07cb2a2e 2025-01-03 07:38:51,885 - DEBUG - VM ctest-TestBasicPolicy-81011318-47802307 launched on Node cn-jenkins-deploy-platform-ansible-os-2518-1 2025-01-03 07:38:51,961 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/0d7da0cd-f153-46aa-b88d-465e07cb2a2e 2025-01-03 07:38:51,969 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/1f902ae4-8cc2-4036-a653-46ed19ade283 2025-01-03 07:38:55,229 - 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-01-03 07:38:55,229 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81011318-47802307 failed! 2025-01-03 07:38:55,282 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81011318:ctest-vn-37024117 is 197.189.33.65 and allocation pool is NOT set 2025-01-03 07:38:57,343 - 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=2.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/1.491/2.497/1.006 ms') 2025-01-03 07:38:57,343 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81011318-47802307 passed 2025-01-03 07:38:57,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-03 07:38:57,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81011318-47802307, IP 197.189.33.67, Port 22 2025-01-03 07:38:57,649 - DEBUG - VM ctest-TestBasicPolicy-81011318-47802307 is ready for SSH connections 2025-01-03 07:38:57,649 - INFO - Waiting for VM ctest-TestBasicPolicy-81011318-27844104 to be up.. 2025-01-03 07:38:57,744 - DEBUG - VM is in ACTIVE state now 2025-01-03 07:38:57,745 - INFO - VM name : ctest-TestBasicPolicy-81011318-27844104 2025-01-03 07:38:57,818 - DEBUG - VM ctest-TestBasicPolicy-81011318-27844104 ID is 8803ee3a-ab1a-48ae-904e-ccee69974dec 2025-01-03 07:38:57,818 - DEBUG - VM ctest-TestBasicPolicy-81011318-27844104 launched on Node cn-jenkins-deploy-platform-ansible-os-2518-1 2025-01-03 07:38:57,896 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8803ee3a-ab1a-48ae-904e-ccee69974dec 2025-01-03 07:38:57,905 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b5d0daa2-5807-4eb6-a414-5ef9cf56d817 2025-01-03 07:38:59,143 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/1.763/3.084/1.321 ms') 2025-01-03 07:38:59,143 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81011318-27844104 passed 2025-01-03 07:38:59,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-03 07:38:59,294 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81011318-27844104, IP 27.56.138.67, Port 22 2025-01-03 07:38:59,464 - DEBUG - VM ctest-TestBasicPolicy-81011318-27844104 is ready for SSH connections 2025-01-03 07:38:59,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-03 07:38:59,464 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.56.138.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-03 07:38:59,464 - DEBUG - ping -s 56 -c 3 -W 1 27.56.138.67 2025-01-03 07:39:03,151 - DEBUG - PING 27.56.138.67 (27.56.138.67): 56 data bytes 64 bytes from 27.56.138.67: seq=0 ttl=63 time=3.157 ms 64 bytes from 27.56.138.67: seq=1 ttl=63 time=0.822 ms 64 bytes from 27.56.138.67: seq=2 ttl=63 time=0.770 ms --- 27.56.138.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/1.583/3.157 ms 2025-01-03 07:39:03,151 - INFO - Ping to IP 27.56.138.67 from VM ctest-TestBasicPolicy-81011318-47802307 passed 2025-01-03 07:39:03,341 - DEBUG - Policy Update Response {"network-policy": {"uuid": "aecf04d7-7915-4ccc-a9b0-256582b35c40", "href": "http://10.0.0.23:8082/network-policy/aecf04d7-7915-4ccc-a9b0-256582b35c40"}} 2025-01-03 07:39:03,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-03 07:39:03,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.56.138.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-03 07:39:03,342 - DEBUG - ping -s 56 -c 3 -W 1 27.56.138.67 2025-01-03 07:39:06,539 - DEBUG - PING 27.56.138.67 (27.56.138.67): 56 data bytes --- 27.56.138.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-03 07:39:06,539 - WARNING - Ping to IP 27.56.138.67 from VM ctest-TestBasicPolicy-81011318-47802307 failed 2025-01-03 07:39:06,540 - INFO - Deleting VM ctest-TestBasicPolicy-81011318-27844104 2025-01-03 07:39:06,604 - INFO - Deleting VM ctest-TestBasicPolicy-81011318-47802307 2025-01-03 07:39:06,964 - INFO - Deleted policy ctest-policy-allow-all-85539835 2025-01-03 07:39:06,964 - INFO - Deleting VN ctest-vn-97039343 2025-01-03 07:39:07,015 - DEBUG - VN bd7f523f-432f-4d6b-9eb5-3d48c7763081 still in use: Unable to complete operation on network bd7f523f-432f-4d6b-9eb5-3d48c7763081. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-09a8e6e9-6fe4-4c48-a4fe-03e1ae779151'] 2025-01-03 07:39:07,015 - WARNING - Deleting VN ctest-vn-97039343 failed..Will retry 2025-01-03 07:39:09,130 - DEBUG - Response for deleting network () 2025-01-03 07:39:09,131 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39e12642-8d2e-4abc-a806-d8e324a962ed 2025-01-03 07:39:09,137 - DEBUG - Response Code: 404 2025-01-03 07:39:09,137 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-03 07:39:09,144 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2939800b-34fe-46d3-bb1c-22a63b59c17b 2025-01-03 07:39:09,199 - DEBUG - Requesting: http://10.0.0.23:8082/project/b5d01469-3f71-4267-8ebf-837afdfc7f2c 2025-01-03 07:39:09,284 - INFO - Validated that VN ctest-vn-97039343 is not found in API Server 2025-01-03 07:39:09,296 - DEBUG - VN ctest-vn-97039343 is not present in Agent 10.0.0.23 2025-01-03 07:39:09,296 - INFO - Validated that VN ctest-vn-97039343 is not in any agent 2025-01-03 07:39:09,311 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97039343 info 2025-01-03 07:39:09,311 - INFO - Deleting VN ctest-vn-37024117 2025-01-03 07:39:09,410 - DEBUG - Response for deleting network () 2025-01-03 07:39:09,410 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/559644ba-f272-43db-a9a2-010f0aaf9321 2025-01-03 07:39:09,417 - DEBUG - Response Code: 404 2025-01-03 07:39:09,417 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-03 07:39:09,424 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2939800b-34fe-46d3-bb1c-22a63b59c17b 2025-01-03 07:39:09,479 - DEBUG - Requesting: http://10.0.0.23:8082/project/b5d01469-3f71-4267-8ebf-837afdfc7f2c 2025-01-03 07:39:09,555 - INFO - Validated that VN ctest-vn-37024117 is not found in API Server 2025-01-03 07:39:09,565 - DEBUG - VN ctest-vn-37024117 is not present in Agent 10.0.0.23 2025-01-03 07:39:09,565 - INFO - Validated that VN ctest-vn-37024117 is not in any agent 2025-01-03 07:39:09,579 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37024117 info 2025-01-03 07:39:09,839 - DEBUG - No XMPP flaps were noticed during the test 2025-01-03 07:39:09,839 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-01-03 07:39:09,839 - INFO - -------------------------------------------------------------------------------- 2025-01-03 07:39:10,498 - INFO - Deleted project: ctest-TestBasicPolicy-81011318, ID : b5d01469-3f71-4267-8ebf-837afdfc7f2c