2025-01-09 07:34:21,865 - INFO - Domain Default found not creating 2025-01-09 07:34:22,030 - INFO - Project ctest-TestBasicPolicy-54266114 not found, creating it 2025-01-09 07:34:22,368 - INFO - Created Project:ctest-TestBasicPolicy-54266114, ID : 42bf6b0a-fca2-429c-a65d-3aefdad45875 2025-01-09 07:34:23,864 - INFO - ================================================================================ 2025-01-09 07:34:23,864 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-09 07:34:23,864 - 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-09 07:34:24,126 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.31': '0'}} with 2025-01-09 07:34:24,126 - INFO - Initial checks done. Running the testcase now 2025-01-09 07:34:24,126 - INFO - 2025-01-09 07:34:24,666 - DEBUG - Response for create_network : {'network': {'id': 'a7c69592-65fa-4e4f-9653-4650a73e0cfd', 'name': 'ctest-vn-18409305', 'tenant_id': '42bf6b0afca2429ca65d3aefdad45875', 'project_id': '42bf6b0afca2429ca65d3aefdad45875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54266114', 'ctest-vn-18409305'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:34:24,868 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eeef87a8-10e4-407a-8f9f-c2efee009301', 'name': '', 'tenant_id': '42bf6b0afca2429ca65d3aefdad45875', 'network_id': 'a7c69592-65fa-4e4f-9653-4650a73e0cfd', 'ip_version': 4, 'cidr': '62.64.75.192/26', 'allocation_pools': [{'start': '62.64.75.194', 'end': '62.64.75.254'}], 'gateway_ip': '62.64.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.64.75.194', 'tags': [], 'project_id': '42bf6b0afca2429ca65d3aefdad45875'}} 2025-01-09 07:34:24,889 - INFO - Created VN ctest-vn-18409305 2025-01-09 07:34:24,903 - DEBUG - VN ctest-vn-18409305 UUID is a7c69592-65fa-4e4f-9653-4650a73e0cfd 2025-01-09 07:34:25,310 - DEBUG - Response for create_network : {'network': {'id': 'a550a3b8-100b-4912-aa64-df1b4450a23c', 'name': 'ctest-vn-80810225', 'tenant_id': '42bf6b0afca2429ca65d3aefdad45875', 'project_id': '42bf6b0afca2429ca65d3aefdad45875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54266114', 'ctest-vn-80810225'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:34:25,515 - DEBUG - Response for create_subnet : {'subnet': {'id': '88b075e4-b36b-40cc-b0dd-d17aa54c1a9a', 'name': '', 'tenant_id': '42bf6b0afca2429ca65d3aefdad45875', 'network_id': 'a550a3b8-100b-4912-aa64-df1b4450a23c', 'ip_version': 4, 'cidr': '83.3.133.192/26', 'allocation_pools': [{'start': '83.3.133.194', 'end': '83.3.133.254'}], 'gateway_ip': '83.3.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.3.133.194', 'tags': [], 'project_id': '42bf6b0afca2429ca65d3aefdad45875'}} 2025-01-09 07:34:25,562 - INFO - Created VN ctest-vn-80810225 2025-01-09 07:34:25,577 - DEBUG - VN ctest-vn-80810225 UUID is a550a3b8-100b-4912-aa64-df1b4450a23c 2025-01-09 07:34:25,652 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-18409305, 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-54266114:ctest-vn-80810225, 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-09 07:34:25,799 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a7c69592-65fa-4e4f-9653-4650a73e0cfd', 'name': 'ctest-vn-18409305', 'tenant_id': '42bf6b0afca2429ca65d3aefdad45875', 'project_id': '42bf6b0afca2429ca65d3aefdad45875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eeef87a8-10e4-407a-8f9f-c2efee009301'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54266114', 'ctest-vn-18409305'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54266114', 'ctest-policy-allow-all-57975758']], 'subnet_ipam': [{'subnet_cidr': '62.64.75.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:34:25,933 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a550a3b8-100b-4912-aa64-df1b4450a23c', 'name': 'ctest-vn-80810225', 'tenant_id': '42bf6b0afca2429ca65d3aefdad45875', 'project_id': '42bf6b0afca2429ca65d3aefdad45875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['88b075e4-b36b-40cc-b0dd-d17aa54c1a9a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54266114', 'ctest-vn-80810225'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54266114', 'ctest-policy-allow-all-57975758']], 'subnet_ipam': [{'subnet_cidr': '83.3.133.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:34:26,024 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-09 07:34:26,322 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-09 07:34:26,350 - DEBUG - Requesting: http://10.0.0.42:8082/domain/31c12e07-fc4b-4ec5-b298-cedca8c582a4 2025-01-09 07:34:26,385 - DEBUG - Requesting: http://10.0.0.42:8082/project/42bf6b0a-fca2-429c-a65d-3aefdad45875 2025-01-09 07:34:26,429 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/a7c69592-65fa-4e4f-9653-4650a73e0cfd 2025-01-09 07:34:26,442 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/a7c69592-65fa-4e4f-9653-4650a73e0cfd 2025-01-09 07:34:26,452 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fb1c3a02-0a7f-4ad1-bd1c-cc1c0257d0c5 2025-01-09 07:34:26,462 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fb1c3a02-0a7f-4ad1-bd1c-cc1c0257d0c5 2025-01-09 07:34:26,470 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/a08120a5-6338-4a7e-b860-bfe46d9c9089 2025-01-09 07:34:26,479 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 07:34:26,479 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/a7c69592-65fa-4e4f-9653-4650a73e0cfd 2025-01-09 07:34:26,490 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fb1c3a02-0a7f-4ad1-bd1c-cc1c0257d0c5 2025-01-09 07:34:26,506 - INFO - Verified VN network id 9 for VN a7c69592-65fa-4e4f-9653-4650a73e0cfd 2025-01-09 07:34:26,506 - INFO - Verifications in API Server for VN ctest-vn-18409305 passed 2025-01-09 07:34:26,506 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/a7c69592-65fa-4e4f-9653-4650a73e0cfd 2025-01-09 07:34:26,516 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fb1c3a02-0a7f-4ad1-bd1c-cc1c0257d0c5 2025-01-09 07:34:26,547 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fb1c3a02-0a7f-4ad1-bd1c-cc1c0257d0c5 2025-01-09 07:34:26,556 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/a08120a5-6338-4a7e-b860-bfe46d9c9089 2025-01-09 07:34:26,573 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-18409305', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54266114', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12089514705731341903', 'uuid-lslong': '10832078840973364477'}, 'enable': 'true', 'created': '2025-01-09T07:34:24', 'last-modified': '2025-01-09T07:34:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.790399'} 2025-01-09 07:34:26,582 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 07:34:26,582 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18409305 passed 2025-01-09 07:34:26,582 - DEBUG - ====Verifying policy data for ctest-vn-18409305 in API_Server ====== 2025-01-09 07:34:26,582 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-09 07:34:26,589 - DEBUG - Requesting: http://10.0.0.42:8082/domain/31c12e07-fc4b-4ec5-b298-cedca8c582a4 2025-01-09 07:34:26,608 - DEBUG - Requesting: http://10.0.0.42:8082/project/42bf6b0a-fca2-429c-a65d-3aefdad45875 2025-01-09 07:34:26,645 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/a7c69592-65fa-4e4f-9653-4650a73e0cfd 2025-01-09 07:34:26,658 - DEBUG - ==>Verifying data for policy with id: 04a65641-a86b-4b07-818b-9835a3f5836a, fqn: ['default-domain', 'ctest-TestBasicPolicy-54266114', 'ctest-policy-allow-all-57975758'] 2025-01-09 07:34:26,658 - INFO - VN ctest-vn-18409305 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 07:34:26,658 - DEBUG - Verifying the vn in opserver 2025-01-09 07:34:26,658 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-18409305 virtual network link through opserver 10.0.0.42 2025-01-09 07:34:26,658 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-01-09 07:34:26,956 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-01-09 07:34:27,018 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-18409305', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-18409305?flat'} 2025-01-09 07:34:27,018 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-18409305 is found in opserver 2025-01-09 07:34:27,029 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 07:34:27,036 - DEBUG - VRF ids for VN ctest-vn-18409305: {} 2025-01-09 07:34:27,036 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-09 07:34:27,043 - DEBUG - Requesting: http://10.0.0.42:8082/domain/31c12e07-fc4b-4ec5-b298-cedca8c582a4 2025-01-09 07:34:27,059 - DEBUG - Requesting: http://10.0.0.42:8082/project/42bf6b0a-fca2-429c-a65d-3aefdad45875 2025-01-09 07:34:27,095 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/a550a3b8-100b-4912-aa64-df1b4450a23c 2025-01-09 07:34:27,108 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/a550a3b8-100b-4912-aa64-df1b4450a23c 2025-01-09 07:34:27,119 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/e6ad76f0-5346-4871-b06f-65e90af0f64d 2025-01-09 07:34:27,127 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/e6ad76f0-5346-4871-b06f-65e90af0f64d 2025-01-09 07:34:27,135 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/041ac28a-cec3-4d34-9f5e-77e054ff23d6 2025-01-09 07:34:27,143 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 07:34:27,143 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/a550a3b8-100b-4912-aa64-df1b4450a23c 2025-01-09 07:34:27,159 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/e6ad76f0-5346-4871-b06f-65e90af0f64d 2025-01-09 07:34:27,177 - INFO - Verified VN network id 10 for VN a550a3b8-100b-4912-aa64-df1b4450a23c 2025-01-09 07:34:27,177 - INFO - Verifications in API Server for VN ctest-vn-80810225 passed 2025-01-09 07:34:27,177 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/a550a3b8-100b-4912-aa64-df1b4450a23c 2025-01-09 07:34:27,188 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/e6ad76f0-5346-4871-b06f-65e90af0f64d 2025-01-09 07:34:27,196 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/e6ad76f0-5346-4871-b06f-65e90af0f64d 2025-01-09 07:34:27,206 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/041ac28a-cec3-4d34-9f5e-77e054ff23d6 2025-01-09 07:34:27,220 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-80810225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54266114', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11912201025333446930', 'uuid-lslong': '12278183792322060860'}, 'enable': 'true', 'created': '2025-01-09T07:34:25', 'last-modified': '2025-01-09T07:34:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.306545'} 2025-01-09 07:34:27,227 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 07:34:27,227 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80810225 passed 2025-01-09 07:34:27,227 - DEBUG - ====Verifying policy data for ctest-vn-80810225 in API_Server ====== 2025-01-09 07:34:27,227 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-09 07:34:27,233 - DEBUG - Requesting: http://10.0.0.42:8082/domain/31c12e07-fc4b-4ec5-b298-cedca8c582a4 2025-01-09 07:34:27,246 - DEBUG - Requesting: http://10.0.0.42:8082/project/42bf6b0a-fca2-429c-a65d-3aefdad45875 2025-01-09 07:34:27,292 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/a550a3b8-100b-4912-aa64-df1b4450a23c 2025-01-09 07:34:27,303 - DEBUG - ==>Verifying data for policy with id: 04a65641-a86b-4b07-818b-9835a3f5836a, fqn: ['default-domain', 'ctest-TestBasicPolicy-54266114', 'ctest-policy-allow-all-57975758'] 2025-01-09 07:34:27,303 - INFO - VN ctest-vn-80810225 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 07:34:27,303 - DEBUG - Verifying the vn in opserver 2025-01-09 07:34:27,303 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-80810225 virtual network link through opserver 10.0.0.42 2025-01-09 07:34:27,303 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-01-09 07:34:27,314 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-80810225', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-80810225?flat'} 2025-01-09 07:34:27,314 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-80810225 is found in opserver 2025-01-09 07:34:27,327 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 07:34:27,332 - DEBUG - VRF ids for VN ctest-vn-80810225: {} 2025-01-09 07:34:27,392 - DEBUG - Services list from nova: [, , ] 2025-01-09 07:34:28,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2578-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2578-1) 2025-01-09 07:34:29,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2578-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2578-1) 2025-01-09 07:34:29,606 - INFO - Waiting for VM ctest-TestBasicPolicy-54266114-70352099 to be up.. 2025-01-09 07:34:29,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:34:34,785 - DEBUG - VM is in ACTIVE state now 2025-01-09 07:34:34,785 - INFO - VM name : ctest-TestBasicPolicy-54266114-70352099 2025-01-09 07:34:34,864 - DEBUG - VM ctest-TestBasicPolicy-54266114-70352099 ID is e4e278d4-c726-4e50-9bcc-1d412efd394c 2025-01-09 07:34:34,884 - DEBUG - VM ctest-TestBasicPolicy-54266114-70352099 launched on Node cn-jenkins-deploy-platform-ansible-os-2578-1 2025-01-09 07:34:34,959 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/e4e278d4-c726-4e50-9bcc-1d412efd394c 2025-01-09 07:34:34,969 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/cc402723-140e-477b-adf3-c0af8f36782e 2025-01-09 07:34:38,128 - 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 1023ms') 2025-01-09 07:34:38,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54266114-70352099 failed! 2025-01-09 07:34:38,144 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54266114:ctest-vn-18409305 is 62.64.75.193 and allocation pool is NOT set 2025-01-09 07:34:40,206 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 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.376/1.517/2.659/1.141 ms') 2025-01-09 07:34:40,206 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54266114-70352099 passed 2025-01-09 07:34:40,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:34:40,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54266114-70352099, IP 62.64.75.195, Port 22 2025-01-09 07:34:40,401 - DEBUG - VM ctest-TestBasicPolicy-54266114-70352099 is ready for SSH connections 2025-01-09 07:34:40,401 - INFO - Waiting for VM ctest-TestBasicPolicy-54266114-92144801 to be up.. 2025-01-09 07:34:40,481 - DEBUG - VM is in ACTIVE state now 2025-01-09 07:34:40,481 - INFO - VM name : ctest-TestBasicPolicy-54266114-92144801 2025-01-09 07:34:40,563 - DEBUG - VM ctest-TestBasicPolicy-54266114-92144801 ID is 6f52480e-5654-48a1-b337-690299c1adc1 2025-01-09 07:34:40,564 - DEBUG - VM ctest-TestBasicPolicy-54266114-92144801 launched on Node cn-jenkins-deploy-platform-ansible-os-2578-1 2025-01-09 07:34:40,653 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/6f52480e-5654-48a1-b337-690299c1adc1 2025-01-09 07:34:40,663 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/46c13796-3a3e-4ce3-bc4e-0dc1adfa91a8 2025-01-09 07:34:41,789 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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 = 2.161/2.727/3.293/0.566 ms') 2025-01-09 07:34:41,789 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54266114-92144801 passed 2025-01-09 07:34:41,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:34:41,821 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54266114-92144801, IP 83.3.133.195, Port 22 2025-01-09 07:34:41,981 - DEBUG - VM ctest-TestBasicPolicy-54266114-92144801 is ready for SSH connections 2025-01-09 07:34:41,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:34:41,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.3.133.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-01-09 07:34:41,981 - DEBUG - ping -s 56 -c 3 -W 1 83.3.133.195 2025-01-09 07:34:45,675 - DEBUG - PING 83.3.133.195 (83.3.133.195): 56 data bytes 64 bytes from 83.3.133.195: seq=0 ttl=63 time=4.324 ms 64 bytes from 83.3.133.195: seq=1 ttl=63 time=1.339 ms 64 bytes from 83.3.133.195: seq=2 ttl=63 time=1.176 ms --- 83.3.133.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.176/2.279/4.324 ms 2025-01-09 07:34:45,676 - INFO - Ping to IP 83.3.133.195 from VM ctest-TestBasicPolicy-54266114-70352099 passed 2025-01-09 07:34:45,741 - DEBUG - Policy Update Response {"network-policy": {"uuid": "04a65641-a86b-4b07-818b-9835a3f5836a", "href": "http://10.0.0.42:8082/network-policy/04a65641-a86b-4b07-818b-9835a3f5836a"}} 2025-01-09 07:34:45,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:34:45,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.3.133.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-01-09 07:34:45,741 - DEBUG - ping -s 56 -c 3 -W 1 83.3.133.195 2025-01-09 07:34:48,966 - DEBUG - PING 83.3.133.195 (83.3.133.195): 56 data bytes --- 83.3.133.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-09 07:34:48,966 - WARNING - Ping to IP 83.3.133.195 from VM ctest-TestBasicPolicy-54266114-70352099 failed 2025-01-09 07:34:48,966 - INFO - Deleting VM ctest-TestBasicPolicy-54266114-92144801 2025-01-09 07:34:49,041 - INFO - Deleting VM ctest-TestBasicPolicy-54266114-70352099 2025-01-09 07:34:49,453 - INFO - Deleted policy ctest-policy-allow-all-57975758 2025-01-09 07:34:49,454 - INFO - Deleting VN ctest-vn-80810225 2025-01-09 07:34:49,506 - DEBUG - VN a550a3b8-100b-4912-aa64-df1b4450a23c still in use: Unable to complete operation on network a550a3b8-100b-4912-aa64-df1b4450a23c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-15c16752-cf8d-4dee-a43d-70e9fb6be72b'] 2025-01-09 07:34:49,506 - WARNING - Deleting VN ctest-vn-80810225 failed..Will retry 2025-01-09 07:34:51,645 - DEBUG - Response for deleting network () 2025-01-09 07:34:51,645 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/e6ad76f0-5346-4871-b06f-65e90af0f64d 2025-01-09 07:34:51,655 - DEBUG - Response Code: 404 2025-01-09 07:34:51,655 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-09 07:34:51,662 - DEBUG - Requesting: http://10.0.0.42:8082/domain/31c12e07-fc4b-4ec5-b298-cedca8c582a4 2025-01-09 07:34:51,677 - DEBUG - Requesting: http://10.0.0.42:8082/project/42bf6b0a-fca2-429c-a65d-3aefdad45875 2025-01-09 07:34:51,724 - INFO - Validated that VN ctest-vn-80810225 is not found in API Server 2025-01-09 07:34:51,735 - DEBUG - VN ctest-vn-80810225 is not present in Agent 10.0.0.42 2025-01-09 07:34:51,735 - INFO - Validated that VN ctest-vn-80810225 is not in any agent 2025-01-09 07:34:51,753 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80810225 info 2025-01-09 07:34:51,753 - INFO - Deleting VN ctest-vn-18409305 2025-01-09 07:34:51,859 - DEBUG - Response for deleting network () 2025-01-09 07:34:51,859 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/fb1c3a02-0a7f-4ad1-bd1c-cc1c0257d0c5 2025-01-09 07:34:51,872 - DEBUG - Response Code: 404 2025-01-09 07:34:51,872 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-01-09 07:34:51,883 - DEBUG - Requesting: http://10.0.0.42:8082/domain/31c12e07-fc4b-4ec5-b298-cedca8c582a4 2025-01-09 07:34:51,896 - DEBUG - Requesting: http://10.0.0.42:8082/project/42bf6b0a-fca2-429c-a65d-3aefdad45875 2025-01-09 07:34:51,927 - INFO - Validated that VN ctest-vn-18409305 is not found in API Server 2025-01-09 07:34:51,938 - DEBUG - VN ctest-vn-18409305 is not present in Agent 10.0.0.42 2025-01-09 07:34:51,938 - INFO - Validated that VN ctest-vn-18409305 is not in any agent 2025-01-09 07:34:51,954 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18409305 info 2025-01-09 07:34:52,211 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 07:34:52,211 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-01-09 07:34:52,212 - INFO - -------------------------------------------------------------------------------- 2025-01-09 07:34:52,756 - INFO - Deleted project: ctest-TestBasicPolicy-54266114, ID : 42bf6b0a-fca2-429c-a65d-3aefdad45875