2025-01-02 01:59:20,762 - INFO - Reading existing Domain with UUID 89a6a7fa-b5bc-4ab0-88aa-35431bfe084f 2025-01-02 01:59:20,775 - INFO - Using existing domain ['admin_domain'](89a6a7fa-b5bc-4ab0-88aa-35431bfe084f) 2025-01-02 01:59:20,973 - INFO - Project ctest-TestRoutersBasic-74315607 not found, creating it 2025-01-02 01:59:21,515 - INFO - Created Project:ctest-TestRoutersBasic-74315607, ID : f1de0fba-788d-4233-87b2-d7584ae8fe36 2025-01-02 01:59:23,511 - INFO - ================================================================================ 2025-01-02 01:59:23,511 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-02 01:59:23,511 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-01-02 01:59:23,905 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.0.0.47': '0'}} with 2025-01-02 01:59:23,905 - INFO - Initial checks done. Running the testcase now 2025-01-02 01:59:23,905 - INFO - 2025-01-02 01:59:24,688 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74315607 2025-01-02 01:59:24,788 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74315607 2025-01-02 01:59:25,165 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-74315607', 'default']} 2025-01-02 01:59:25,673 - DEBUG - Response for create_network : {'network': {'id': '4b9346e4-45cd-4253-a6fd-8eab5b70744c', 'name': 'ctest-vn-70496437', 'tenant_id': 'f1de0fba788d423387b2d7584ae8fe36', 'project_id': 'f1de0fba788d423387b2d7584ae8fe36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-74315607', 'ctest-vn-70496437'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-01-02 01:59:25,945 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f3b9dfe-1717-428e-b8fd-f042bede5291', 'name': '', 'tenant_id': 'f1de0fba788d423387b2d7584ae8fe36', 'network_id': '4b9346e4-45cd-4253-a6fd-8eab5b70744c', 'ip_version': 4, 'cidr': '128.183.196.0/26', 'allocation_pools': [{'start': '128.183.196.2', 'end': '128.183.196.62'}], 'gateway_ip': '128.183.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-01-02T01:59:25.839260', 'updated_at': '2025-01-02T01:59:25.839260', 'dns_server_address': '128.183.196.2', 'tags': [], 'project_id': 'f1de0fba788d423387b2d7584ae8fe36'}} 2025-01-02 01:59:26,010 - INFO - Created VN ctest-vn-70496437 2025-01-02 01:59:26,112 - DEBUG - VN ctest-vn-70496437 UUID is 4b9346e4-45cd-4253-a6fd-8eab5b70744c 2025-01-02 01:59:26,662 - DEBUG - Response for create_network : {'network': {'id': '644362c4-1bb0-4730-91de-e7b84fb9e5e2', 'name': 'ctest-ext_vn-62354421', 'tenant_id': 'f1de0fba788d423387b2d7584ae8fe36', 'project_id': 'f1de0fba788d423387b2d7584ae8fe36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-74315607', 'ctest-ext_vn-62354421'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-01-02 01:59:26,933 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f9d67a6-bf40-47ec-9184-dd21fcdca575', 'name': '', 'tenant_id': 'f1de0fba788d423387b2d7584ae8fe36', 'network_id': '644362c4-1bb0-4730-91de-e7b84fb9e5e2', 'ip_version': 4, 'cidr': '212.24.226.192/26', 'allocation_pools': [{'start': '212.24.226.194', 'end': '212.24.226.254'}], 'gateway_ip': '212.24.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-01-02T01:59:26.821201', 'updated_at': '2025-01-02T01:59:26.821201', 'dns_server_address': '212.24.226.194', 'tags': [], 'project_id': 'f1de0fba788d423387b2d7584ae8fe36'}} 2025-01-02 01:59:27,002 - INFO - Created VN ctest-ext_vn-62354421 2025-01-02 01:59:27,056 - DEBUG - VN ctest-ext_vn-62354421 UUID is 644362c4-1bb0-4730-91de-e7b84fb9e5e2 2025-01-02 01:59:27,335 - DEBUG - Services list from nova: [, , ] 2025-01-02 01:59:28,928 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-461-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-461-1) 2025-01-02 01:59:30,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-461-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-461-1) 2025-01-02 01:59:30,937 - INFO - Setting gateway for router c79b0d8e-2056-46b5-add4-41cfb85ecc21 to network 644362c4-1bb0-4730-91de-e7b84fb9e5e2 2025-01-02 01:59:31,112 - INFO - Adding interface with subnet_id 0f3b9dfe-1717-428e-b8fd-f042bede5291, port_id None to router c79b0d8e-2056-46b5-add4-41cfb85ecc21 2025-01-02 01:59:31,797 - INFO - Waiting for VM ctest-TestRoutersBasic-74315607-60205100 to be up.. 2025-01-02 01:59:31,970 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 01:59:37,117 - DEBUG - VM is in ACTIVE state now 2025-01-02 01:59:37,117 - INFO - VM name : ctest-TestRoutersBasic-74315607-60205100 2025-01-02 01:59:37,254 - DEBUG - VM ctest-TestRoutersBasic-74315607-60205100 ID is 03060867-1162-4ba6-a460-92b586c55268 2025-01-02 01:59:37,292 - DEBUG - VM ctest-TestRoutersBasic-74315607-60205100 launched on Node cn-jenkins-deploy-platform-juju-os-461-1 2025-01-02 01:59:37,431 - DEBUG - Requesting: https://10.0.0.47:8082/virtual-machine/03060867-1162-4ba6-a460-92b586c55268 2025-01-02 01:59:37,778 - DEBUG - Requesting: https://10.0.0.47:8082/virtual-machine/03060867-1162-4ba6-a460-92b586c55268 2025-01-02 01:59:37,861 - DEBUG - Requesting: https://10.0.0.47:8082/virtual-machine-interface/0d45fa40-448f-43da-8a71-cc4388d540dd 2025-01-02 01:59:41,317 - 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 1015ms') 2025-01-02 01:59:41,317 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74315607-60205100 failed! 2025-01-02 01:59:41,376 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-74315607:ctest-vn-70496437 is 128.183.196.1 and allocation pool is NOT set 2025-01-02 01:59:43,478 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.507 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.507/1.605/2.704/1.098 ms') 2025-01-02 01:59:43,479 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74315607-60205100 passed 2025-01-02 01:59:43,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 01:59:43,720 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74315607-60205100, IP 128.183.196.3, Port 22 2025-01-02 01:59:44,074 - DEBUG - VM ctest-TestRoutersBasic-74315607-60205100 is ready for SSH connections 2025-01-02 01:59:44,074 - INFO - Waiting for VM ctest-TestRoutersBasic-74315607-95828117 to be up.. 2025-01-02 01:59:44,409 - DEBUG - VM is in ACTIVE state now 2025-01-02 01:59:44,409 - INFO - VM name : ctest-TestRoutersBasic-74315607-95828117 2025-01-02 01:59:44,677 - DEBUG - VM ctest-TestRoutersBasic-74315607-95828117 ID is d6d0ffd3-99ba-4c50-8dfa-0cb6b457a91b 2025-01-02 01:59:44,677 - DEBUG - VM ctest-TestRoutersBasic-74315607-95828117 launched on Node cn-jenkins-deploy-platform-juju-os-461-1 2025-01-02 01:59:44,996 - DEBUG - Requesting: https://10.0.0.47:8082/virtual-machine/d6d0ffd3-99ba-4c50-8dfa-0cb6b457a91b 2025-01-02 01:59:45,088 - DEBUG - Requesting: https://10.0.0.47:8082/virtual-machine-interface/800696f0-6b81-438f-8e2d-998d7875acf5 2025-01-02 01:59:46,841 - 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=12.6 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.676 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 0.676/6.623/12.570/5.947 ms') 2025-01-02 01:59:46,841 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74315607-95828117 passed 2025-01-02 01:59:47,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 01:59:47,120 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74315607-95828117, IP 212.24.226.195, Port 22 2025-01-02 01:59:47,455 - DEBUG - VM ctest-TestRoutersBasic-74315607-95828117 is ready for SSH connections 2025-01-02 01:59:47,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 01:59:47,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.24.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2025-01-02 01:59:47,455 - DEBUG - ping -s 56 -c 3 -W 1 212.24.226.195 2025-01-02 01:59:51,387 - DEBUG - PING 212.24.226.195 (212.24.226.195): 56 data bytes 64 bytes from 212.24.226.195: seq=0 ttl=62 time=9.926 ms 64 bytes from 212.24.226.195: seq=1 ttl=62 time=1.069 ms 64 bytes from 212.24.226.195: seq=2 ttl=62 time=1.298 ms --- 212.24.226.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.069/4.097/9.926 ms 2025-01-02 01:59:51,387 - INFO - Ping to IP 212.24.226.195 from VM ctest-TestRoutersBasic-74315607-60205100 passed 2025-01-02 01:59:51,387 - INFO - Deleting interface with subnet_id 0f3b9dfe-1717-428e-b8fd-f042bede5291, port_id None from router c79b0d8e-2056-46b5-add4-41cfb85ecc21 2025-01-02 01:59:52,142 - INFO - Deleting VM ctest-TestRoutersBasic-74315607-95828117 2025-01-02 01:59:52,365 - INFO - Deleting VM ctest-TestRoutersBasic-74315607-60205100 2025-01-02 01:59:52,541 - INFO - Deleting VN ctest-ext_vn-62354421 2025-01-02 01:59:52,888 - DEBUG - VN 644362c4-1bb0-4730-91de-e7b84fb9e5e2 still in use: Unable to complete operation on network 644362c4-1bb0-4730-91de-e7b84fb9e5e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1a078de-7601-4697-a41a-44a25b9a137a'] 2025-01-02 01:59:52,888 - WARNING - Deleting VN ctest-ext_vn-62354421 failed..Will retry 2025-01-02 01:59:55,152 - DEBUG - Response for deleting network () 2025-01-02 01:59:55,153 - INFO - Deleting VN ctest-vn-70496437 2025-01-02 01:59:55,439 - DEBUG - Response for deleting network () 2025-01-02 01:59:55,837 - DEBUG - No XMPP flaps were noticed during the test 2025-01-02 01:59:55,837 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32] 2025-01-02 01:59:55,838 - INFO - -------------------------------------------------------------------------------- 2025-01-02 01:59:56,725 - INFO - Deleted project: ctest-TestRoutersBasic-74315607, ID : f1de0fba-788d-4233-87b2-d7584ae8fe36