2025-04-14 11:24:00,216 - INFO - Domain Default found not creating 2025-04-14 11:24:00,410 - INFO - Project ctest-TestBasicPolicy-65632027 not found, creating it 2025-04-14 11:24:00,929 - INFO - Created Project:ctest-TestBasicPolicy-65632027, ID : 2634638b-4427-425b-bd15-6d74b030ae33 2025-04-14 11:24:03,101 - INFO - ================================================================================ 2025-04-14 11:24:03,101 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-14 11:24:03,101 - 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-04-14 11:24:03,365 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-04-14 11:24:03,365 - INFO - Initial checks done. Running the testcase now 2025-04-14 11:24:03,365 - INFO - 2025-04-14 11:24:04,001 - DEBUG - Response for create_network : {'network': {'id': 'd4ccaac2-4314-441a-b4d3-109600ea0548', 'name': 'ctest-vn-31004241', 'tenant_id': '2634638b4427425bbd156d74b030ae33', 'project_id': '2634638b4427425bbd156d74b030ae33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65632027', 'ctest-vn-31004241'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 11:24:04,216 - DEBUG - Response for create_subnet : {'subnet': {'id': '19fcd312-82b1-4f42-b7fa-de1b5b49122a', 'name': '', 'tenant_id': '2634638b4427425bbd156d74b030ae33', 'network_id': 'd4ccaac2-4314-441a-b4d3-109600ea0548', 'ip_version': 4, 'cidr': '66.126.37.192/26', 'allocation_pools': [{'start': '66.126.37.194', 'end': '66.126.37.254'}], 'gateway_ip': '66.126.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.126.37.194', 'tags': [], 'project_id': '2634638b4427425bbd156d74b030ae33'}} 2025-04-14 11:24:04,239 - INFO - Created VN ctest-vn-31004241 2025-04-14 11:24:04,295 - DEBUG - VN ctest-vn-31004241 UUID is d4ccaac2-4314-441a-b4d3-109600ea0548 2025-04-14 11:24:04,638 - DEBUG - Response for create_network : {'network': {'id': 'b2867e9e-693b-44bd-9f8b-26998f0d0cf7', 'name': 'ctest-vn-41162133', 'tenant_id': '2634638b4427425bbd156d74b030ae33', 'project_id': '2634638b4427425bbd156d74b030ae33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65632027', 'ctest-vn-41162133'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 11:24:04,888 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d6ef283-b6dc-4c05-87b4-805fde50bdd6', 'name': '', 'tenant_id': '2634638b4427425bbd156d74b030ae33', 'network_id': 'b2867e9e-693b-44bd-9f8b-26998f0d0cf7', 'ip_version': 4, 'cidr': '49.91.104.128/26', 'allocation_pools': [{'start': '49.91.104.130', 'end': '49.91.104.190'}], 'gateway_ip': '49.91.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.91.104.130', 'tags': [], 'project_id': '2634638b4427425bbd156d74b030ae33'}} 2025-04-14 11:24:04,911 - INFO - Created VN ctest-vn-41162133 2025-04-14 11:24:04,967 - DEBUG - VN ctest-vn-41162133 UUID is b2867e9e-693b-44bd-9f8b-26998f0d0cf7 2025-04-14 11:24:05,108 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-31004241, 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-65632027:ctest-vn-41162133, 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-04-14 11:24:05,452 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4ccaac2-4314-441a-b4d3-109600ea0548', 'name': 'ctest-vn-31004241', 'tenant_id': '2634638b4427425bbd156d74b030ae33', 'project_id': '2634638b4427425bbd156d74b030ae33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['19fcd312-82b1-4f42-b7fa-de1b5b49122a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65632027', 'ctest-vn-31004241'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65632027', 'ctest-policy-allow-all-36810027']], 'subnet_ipam': [{'subnet_cidr': '66.126.37.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 11:24:05,712 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b2867e9e-693b-44bd-9f8b-26998f0d0cf7', 'name': 'ctest-vn-41162133', 'tenant_id': '2634638b4427425bbd156d74b030ae33', 'project_id': '2634638b4427425bbd156d74b030ae33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9d6ef283-b6dc-4c05-87b4-805fde50bdd6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65632027', 'ctest-vn-41162133'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65632027', 'ctest-policy-allow-all-36810027']], 'subnet_ipam': [{'subnet_cidr': '49.91.104.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 11:24:05,900 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-14 11:24:06,251 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-14 11:24:06,285 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84d1dce4-a45b-4b89-9d52-153918f22131 2025-04-14 11:24:06,302 - DEBUG - Requesting: http://10.0.0.38:8082/project/2634638b-4427-425b-bd15-6d74b030ae33 2025-04-14 11:24:06,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4ccaac2-4314-441a-b4d3-109600ea0548 2025-04-14 11:24:06,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4ccaac2-4314-441a-b4d3-109600ea0548 2025-04-14 11:24:06,411 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/056d003b-820e-4f8e-83f9-8934aba13e62 2025-04-14 11:24:06,423 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/056d003b-820e-4f8e-83f9-8934aba13e62 2025-04-14 11:24:06,432 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e8fbda58-6605-4624-b15b-b9fc81f5e2e3 2025-04-14 11:24:06,442 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 11:24:06,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4ccaac2-4314-441a-b4d3-109600ea0548 2025-04-14 11:24:06,454 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/056d003b-820e-4f8e-83f9-8934aba13e62 2025-04-14 11:24:06,472 - INFO - Verified VN network id 8 for VN d4ccaac2-4314-441a-b4d3-109600ea0548 2025-04-14 11:24:06,472 - INFO - Verifications in API Server for VN ctest-vn-31004241 passed 2025-04-14 11:24:06,472 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4ccaac2-4314-441a-b4d3-109600ea0548 2025-04-14 11:24:06,486 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/056d003b-820e-4f8e-83f9-8934aba13e62 2025-04-14 11:24:06,496 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/056d003b-820e-4f8e-83f9-8934aba13e62 2025-04-14 11:24:06,505 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e8fbda58-6605-4624-b15b-b9fc81f5e2e3 2025-04-14 11:24:06,522 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-31004241', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65632027', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15333818582615475226', 'uuid-lslong': '13029776383359452488'}, 'enable': 'true', 'created': '2025-04-14T11:24:03', 'last-modified': '2025-04-14T11:24:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.106184'} 2025-04-14 11:24:06,530 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 11:24:06,530 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31004241 passed 2025-04-14 11:24:06,531 - DEBUG - ====Verifying policy data for ctest-vn-31004241 in API_Server ====== 2025-04-14 11:24:06,531 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-14 11:24:06,538 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84d1dce4-a45b-4b89-9d52-153918f22131 2025-04-14 11:24:06,553 - DEBUG - Requesting: http://10.0.0.38:8082/project/2634638b-4427-425b-bd15-6d74b030ae33 2025-04-14 11:24:06,637 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4ccaac2-4314-441a-b4d3-109600ea0548 2025-04-14 11:24:06,650 - DEBUG - ==>Verifying data for policy with id: e6e48976-9ac0-4c2b-9d02-ba4f27debe1d, fqn: ['default-domain', 'ctest-TestBasicPolicy-65632027', 'ctest-policy-allow-all-36810027'] 2025-04-14 11:24:06,650 - INFO - VN ctest-vn-31004241 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 11:24:06,650 - DEBUG - Verifying the vn in opserver 2025-04-14 11:24:06,650 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-31004241 virtual network link through opserver 10.0.0.38 2025-04-14 11:24:06,650 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-14 11:24:06,997 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-14 11:24:07,069 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-31004241', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-31004241?flat'} 2025-04-14 11:24:07,069 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-31004241 is found in opserver 2025-04-14 11:24:07,084 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 11:24:07,091 - DEBUG - VRF ids for VN ctest-vn-31004241: {} 2025-04-14 11:24:07,091 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-14 11:24:07,100 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84d1dce4-a45b-4b89-9d52-153918f22131 2025-04-14 11:24:07,117 - DEBUG - Requesting: http://10.0.0.38:8082/project/2634638b-4427-425b-bd15-6d74b030ae33 2025-04-14 11:24:07,202 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2867e9e-693b-44bd-9f8b-26998f0d0cf7 2025-04-14 11:24:07,221 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2867e9e-693b-44bd-9f8b-26998f0d0cf7 2025-04-14 11:24:07,237 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/026f3d07-a7a1-40d7-8059-21351acbf801 2025-04-14 11:24:07,247 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/026f3d07-a7a1-40d7-8059-21351acbf801 2025-04-14 11:24:07,256 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2d02a4c3-9327-4c44-a94c-ddada5da5e07 2025-04-14 11:24:07,267 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 11:24:07,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2867e9e-693b-44bd-9f8b-26998f0d0cf7 2025-04-14 11:24:07,283 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/026f3d07-a7a1-40d7-8059-21351acbf801 2025-04-14 11:24:07,315 - INFO - Verified VN network id 9 for VN b2867e9e-693b-44bd-9f8b-26998f0d0cf7 2025-04-14 11:24:07,315 - INFO - Verifications in API Server for VN ctest-vn-41162133 passed 2025-04-14 11:24:07,315 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2867e9e-693b-44bd-9f8b-26998f0d0cf7 2025-04-14 11:24:07,330 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/026f3d07-a7a1-40d7-8059-21351acbf801 2025-04-14 11:24:07,340 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/026f3d07-a7a1-40d7-8059-21351acbf801 2025-04-14 11:24:07,350 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2d02a4c3-9327-4c44-a94c-ddada5da5e07 2025-04-14 11:24:07,367 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-41162133', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65632027', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12864108604465824957', 'uuid-lslong': '11496324914765171959'}, 'enable': 'true', 'created': '2025-04-14T11:24:04', 'last-modified': '2025-04-14T11:24:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.684559'} 2025-04-14 11:24:07,375 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 11:24:07,375 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41162133 passed 2025-04-14 11:24:07,375 - DEBUG - ====Verifying policy data for ctest-vn-41162133 in API_Server ====== 2025-04-14 11:24:07,375 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-14 11:24:07,382 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84d1dce4-a45b-4b89-9d52-153918f22131 2025-04-14 11:24:07,397 - DEBUG - Requesting: http://10.0.0.38:8082/project/2634638b-4427-425b-bd15-6d74b030ae33 2025-04-14 11:24:07,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2867e9e-693b-44bd-9f8b-26998f0d0cf7 2025-04-14 11:24:07,488 - DEBUG - ==>Verifying data for policy with id: e6e48976-9ac0-4c2b-9d02-ba4f27debe1d, fqn: ['default-domain', 'ctest-TestBasicPolicy-65632027', 'ctest-policy-allow-all-36810027'] 2025-04-14 11:24:07,488 - INFO - VN ctest-vn-41162133 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 11:24:07,488 - DEBUG - Verifying the vn in opserver 2025-04-14 11:24:07,488 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-41162133 virtual network link through opserver 10.0.0.38 2025-04-14 11:24:07,488 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-14 11:24:07,503 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-41162133', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-41162133?flat'} 2025-04-14 11:24:07,504 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-41162133 is found in opserver 2025-04-14 11:24:07,518 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 11:24:07,524 - DEBUG - VRF ids for VN ctest-vn-41162133: {} 2025-04-14 11:24:07,587 - DEBUG - Services list from nova: [, , ] 2025-04-14 11:24:08,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3093-1) 2025-04-14 11:24:10,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3093-1) 2025-04-14 11:24:10,275 - INFO - Waiting for VM ctest-TestBasicPolicy-65632027-94246282 to be up.. 2025-04-14 11:24:10,394 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 11:24:15,488 - DEBUG - VM is in ACTIVE state now 2025-04-14 11:24:15,488 - INFO - VM name : ctest-TestBasicPolicy-65632027-94246282 2025-04-14 11:24:15,578 - DEBUG - VM ctest-TestBasicPolicy-65632027-94246282 ID is 14bff333-0cb9-4538-857a-4111f47d088e 2025-04-14 11:24:15,601 - DEBUG - VM ctest-TestBasicPolicy-65632027-94246282 launched on Node cn-jenkins-deploy-platform-ansible-os-3093-1 2025-04-14 11:24:15,697 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/14bff333-0cb9-4538-857a-4111f47d088e 2025-04-14 11:24:15,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1fbe95fd-068b-4981-87d2-ac355ec469e3 2025-04-14 11:24:18,977 - 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 1013ms') 2025-04-14 11:24:18,978 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65632027-94246282 failed! 2025-04-14 11:24:19,036 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65632027:ctest-vn-31004241 is 66.126.37.193 and allocation pool is NOT set 2025-04-14 11:24:21,098 - 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=11.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.01 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 = 2.005/6.701/11.398/4.696 ms') 2025-04-14 11:24:21,098 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65632027-94246282 passed 2025-04-14 11:24:21,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:24:21,256 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65632027-94246282, IP 66.126.37.195, Port 22 2025-04-14 11:24:21,322 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-04-14 11:24:21,426 - DEBUG - VM ctest-TestBasicPolicy-65632027-94246282 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-14 11:24:26,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:24:26,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65632027-94246282, IP 66.126.37.195, Port 22 2025-04-14 11:24:26,584 - DEBUG - VM ctest-TestBasicPolicy-65632027-94246282 is ready for SSH connections 2025-04-14 11:24:26,584 - INFO - Waiting for VM ctest-TestBasicPolicy-65632027-03197378 to be up.. 2025-04-14 11:24:26,675 - DEBUG - VM is in ACTIVE state now 2025-04-14 11:24:26,675 - INFO - VM name : ctest-TestBasicPolicy-65632027-03197378 2025-04-14 11:24:26,767 - DEBUG - VM ctest-TestBasicPolicy-65632027-03197378 ID is b097235d-2632-46b3-8e66-1b835ddd4b1c 2025-04-14 11:24:26,767 - DEBUG - VM ctest-TestBasicPolicy-65632027-03197378 launched on Node cn-jenkins-deploy-platform-ansible-os-3093-1 2025-04-14 11:24:26,883 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b097235d-2632-46b3-8e66-1b835ddd4b1c 2025-04-14 11:24:26,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5c319555-1bbb-4eaa-b029-f44bfe1b179e 2025-04-14 11:24:28,169 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.797/3.191/1.393 ms') 2025-04-14 11:24:28,170 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65632027-03197378 passed 2025-04-14 11:24:28,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:24:28,328 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65632027-03197378, IP 49.91.104.131, Port 22 2025-04-14 11:24:28,487 - DEBUG - VM ctest-TestBasicPolicy-65632027-03197378 is ready for SSH connections 2025-04-14 11:24:28,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:24:28,488 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.91.104.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-14 11:24:28,488 - DEBUG - ping -s 56 -c 3 -W 1 49.91.104.131 2025-04-14 11:24:32,645 - DEBUG - PING 49.91.104.131 (49.91.104.131): 56 data bytes 64 bytes from 49.91.104.131: seq=0 ttl=63 time=4.231 ms 64 bytes from 49.91.104.131: seq=1 ttl=63 time=0.967 ms 64 bytes from 49.91.104.131: seq=2 ttl=63 time=0.963 ms --- 49.91.104.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/2.053/4.231 ms 2025-04-14 11:24:32,645 - INFO - Ping to IP 49.91.104.131 from VM ctest-TestBasicPolicy-65632027-94246282 passed 2025-04-14 11:24:32,835 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e6e48976-9ac0-4c2b-9d02-ba4f27debe1d", "href": "http://10.0.0.38:8082/network-policy/e6e48976-9ac0-4c2b-9d02-ba4f27debe1d"}} 2025-04-14 11:24:32,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:24:32,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.91.104.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-14 11:24:32,836 - DEBUG - ping -s 56 -c 3 -W 1 49.91.104.131 2025-04-14 11:24:36,115 - DEBUG - PING 49.91.104.131 (49.91.104.131): 56 data bytes 64 bytes from 49.91.104.131: seq=0 ttl=63 time=2.498 ms --- 49.91.104.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.498/2.498/2.498 ms 2025-04-14 11:24:36,116 - WARNING - Ping to IP 49.91.104.131 from VM ctest-TestBasicPolicy-65632027-94246282 failed 2025-04-14 11:24:36,116 - INFO - Deleting VM ctest-TestBasicPolicy-65632027-03197378 2025-04-14 11:24:36,202 - INFO - Deleting VM ctest-TestBasicPolicy-65632027-94246282 2025-04-14 11:24:36,734 - INFO - Deleted policy ctest-policy-allow-all-36810027 2025-04-14 11:24:36,734 - INFO - Deleting VN ctest-vn-41162133 2025-04-14 11:24:36,792 - DEBUG - VN b2867e9e-693b-44bd-9f8b-26998f0d0cf7 still in use: Unable to complete operation on network b2867e9e-693b-44bd-9f8b-26998f0d0cf7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad9ff496-443f-42a1-9ebe-ede5c41d7f96'] 2025-04-14 11:24:36,792 - WARNING - Deleting VN ctest-vn-41162133 failed..Will retry 2025-04-14 11:24:38,925 - DEBUG - Response for deleting network () 2025-04-14 11:24:38,925 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/026f3d07-a7a1-40d7-8059-21351acbf801 2025-04-14 11:24:38,935 - DEBUG - Response Code: 404 2025-04-14 11:24:38,935 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-14 11:24:38,941 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84d1dce4-a45b-4b89-9d52-153918f22131 2025-04-14 11:24:38,999 - DEBUG - Requesting: http://10.0.0.38:8082/project/2634638b-4427-425b-bd15-6d74b030ae33 2025-04-14 11:24:39,077 - INFO - Validated that VN ctest-vn-41162133 is not found in API Server 2025-04-14 11:24:39,092 - DEBUG - VN ctest-vn-41162133 is not present in Agent 10.0.0.38 2025-04-14 11:24:39,092 - INFO - Validated that VN ctest-vn-41162133 is not in any agent 2025-04-14 11:24:39,117 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41162133 info 2025-04-14 11:24:39,118 - INFO - Deleting VN ctest-vn-31004241 2025-04-14 11:24:39,255 - DEBUG - Response for deleting network () 2025-04-14 11:24:39,255 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/056d003b-820e-4f8e-83f9-8934aba13e62 2025-04-14 11:24:39,267 - DEBUG - Response Code: 404 2025-04-14 11:24:39,267 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-14 11:24:39,274 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84d1dce4-a45b-4b89-9d52-153918f22131 2025-04-14 11:24:39,330 - DEBUG - Requesting: http://10.0.0.38:8082/project/2634638b-4427-425b-bd15-6d74b030ae33 2025-04-14 11:24:39,416 - INFO - Validated that VN ctest-vn-31004241 is not found in API Server 2025-04-14 11:24:39,431 - DEBUG - VN ctest-vn-31004241 is not present in Agent 10.0.0.38 2025-04-14 11:24:39,431 - INFO - Validated that VN ctest-vn-31004241 is not in any agent 2025-04-14 11:24:39,452 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31004241 info 2025-04-14 11:24:39,714 - DEBUG - No XMPP flaps were noticed during the test 2025-04-14 11:24:39,714 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-04-14 11:24:39,714 - INFO - -------------------------------------------------------------------------------- 2025-04-14 11:24:40,459 - INFO - Deleted project: ctest-TestBasicPolicy-65632027, ID : 2634638b-4427-425b-bd15-6d74b030ae33