2025-03-30 13:04:26,333 - INFO - Reading existing Domain with UUID f4a21949-0bc4-43c9-bfc5-978f0e37ae13 2025-03-30 13:04:26,346 - INFO - Using existing domain ['admin_domain'](f4a21949-0bc4-43c9-bfc5-978f0e37ae13) 2025-03-30 13:04:26,560 - INFO - Project ctest-TestRoutersBasic-50252936 not found, creating it 2025-03-30 13:04:27,132 - INFO - Created Project:ctest-TestRoutersBasic-50252936, ID : e65f7a53-8765-466e-a702-97795c275dc0 2025-03-30 13:04:28,886 - INFO - ================================================================================ 2025-03-30 13:04:28,886 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-30 13:04:28,886 - 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-03-30 13:04:29,271 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with 2025-03-30 13:04:29,271 - INFO - Initial checks done. Running the testcase now 2025-03-30 13:04:29,271 - INFO - 2025-03-30 13:04:30,065 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50252936 2025-03-30 13:04:30,165 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50252936 2025-03-30 13:04:30,505 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-50252936', 'default']} 2025-03-30 13:04:31,326 - DEBUG - Response for create_network : {'network': {'id': 'dd07024d-fbaf-4c1c-8dd6-d57af1dffed4', 'name': 'ctest-vn-78716593', 'tenant_id': 'e65f7a538765466ea70297795c275dc0', 'project_id': 'e65f7a538765466ea70297795c275dc0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-50252936', 'ctest-vn-78716593'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-03-30 13:04:31,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '864e19bf-aabb-4c63-a26c-4a26b3632904', 'name': '', 'tenant_id': 'e65f7a538765466ea70297795c275dc0', 'network_id': 'dd07024d-fbaf-4c1c-8dd6-d57af1dffed4', 'ip_version': 4, 'cidr': '178.1.199.0/26', 'allocation_pools': [{'start': '178.1.199.2', 'end': '178.1.199.62'}], 'gateway_ip': '178.1.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-03-30T13:04:31.454519', 'updated_at': '2025-03-30T13:04:31.454519', 'dns_server_address': '178.1.199.2', 'tags': [], 'project_id': 'e65f7a538765466ea70297795c275dc0'}} 2025-03-30 13:04:31,640 - INFO - Created VN ctest-vn-78716593 2025-03-30 13:04:31,697 - DEBUG - VN ctest-vn-78716593 UUID is dd07024d-fbaf-4c1c-8dd6-d57af1dffed4 2025-03-30 13:04:32,274 - DEBUG - Response for create_network : {'network': {'id': '2d615313-1c91-4b96-bf1a-78d850853f56', 'name': 'ctest-ext_vn-94064108', 'tenant_id': 'e65f7a538765466ea70297795c275dc0', 'project_id': 'e65f7a538765466ea70297795c275dc0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-50252936', 'ctest-ext_vn-94064108'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-03-30 13:04:32,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '0632dbf9-42be-41af-a43e-dabe9303d192', 'name': '', 'tenant_id': 'e65f7a538765466ea70297795c275dc0', 'network_id': '2d615313-1c91-4b96-bf1a-78d850853f56', 'ip_version': 4, 'cidr': '96.84.213.0/26', 'allocation_pools': [{'start': '96.84.213.2', 'end': '96.84.213.62'}], 'gateway_ip': '96.84.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-03-30T13:04:32.405386', 'updated_at': '2025-03-30T13:04:32.405386', 'dns_server_address': '96.84.213.2', 'tags': [], 'project_id': 'e65f7a538765466ea70297795c275dc0'}} 2025-03-30 13:04:32,571 - INFO - Created VN ctest-ext_vn-94064108 2025-03-30 13:04:32,629 - DEBUG - VN ctest-ext_vn-94064108 UUID is 2d615313-1c91-4b96-bf1a-78d850853f56 2025-03-30 13:04:32,906 - DEBUG - Services list from nova: [, , ] 2025-03-30 13:04:34,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-493-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-493-1) 2025-03-30 13:04:36,583 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-493-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-493-1) 2025-03-30 13:04:36,762 - INFO - Setting gateway for router d5c4864b-66ad-4b7b-a03b-a1be527a6ed7 to network 2d615313-1c91-4b96-bf1a-78d850853f56 2025-03-30 13:04:36,922 - INFO - Adding interface with subnet_id 864e19bf-aabb-4c63-a26c-4a26b3632904, port_id None to router d5c4864b-66ad-4b7b-a03b-a1be527a6ed7 2025-03-30 13:04:37,616 - INFO - Waiting for VM ctest-TestRoutersBasic-50252936-12130977 to be up.. 2025-03-30 13:04:37,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-30 13:04:42,998 - DEBUG - VM is in ACTIVE state now 2025-03-30 13:04:42,998 - INFO - VM name : ctest-TestRoutersBasic-50252936-12130977 2025-03-30 13:04:43,149 - DEBUG - VM ctest-TestRoutersBasic-50252936-12130977 ID is 81e88cd7-09e0-40ca-893f-cd9ec5d48434 2025-03-30 13:04:43,177 - DEBUG - VM ctest-TestRoutersBasic-50252936-12130977 launched on Node cn-jenkins-deploy-platform-juju-os-493-1 2025-03-30 13:04:43,346 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/81e88cd7-09e0-40ca-893f-cd9ec5d48434 2025-03-30 13:04:43,707 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/81e88cd7-09e0-40ca-893f-cd9ec5d48434 2025-03-30 13:04:43,802 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/397969ba-87f5-4e25-9531-35bb5df65fc7 2025-03-30 13:04:47,327 - 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-03-30 13:04:47,327 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50252936-12130977 failed! 2025-03-30 13:04:47,385 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-50252936:ctest-vn-78716593 is 178.1.199.1 and allocation pool is NOT set 2025-03-30 13:04:49,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=5.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.761 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 = 0.761/3.104/5.448/2.343 ms') 2025-03-30 13:04:49,478 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50252936-12130977 passed 2025-03-30 13:04:49,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:04:49,649 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50252936-12130977, IP 178.1.199.3, Port 22 2025-03-30 13:04:49,875 - DEBUG - VM ctest-TestRoutersBasic-50252936-12130977 is ready for SSH connections 2025-03-30 13:04:49,875 - INFO - Waiting for VM ctest-TestRoutersBasic-50252936-17381811 to be up.. 2025-03-30 13:04:50,027 - DEBUG - VM is in ACTIVE state now 2025-03-30 13:04:50,027 - INFO - VM name : ctest-TestRoutersBasic-50252936-17381811 2025-03-30 13:04:50,174 - DEBUG - VM ctest-TestRoutersBasic-50252936-17381811 ID is 4ddc4961-0467-431b-88ff-c14cfa5a640b 2025-03-30 13:04:50,174 - DEBUG - VM ctest-TestRoutersBasic-50252936-17381811 launched on Node cn-jenkins-deploy-platform-juju-os-493-1 2025-03-30 13:04:50,324 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/4ddc4961-0467-431b-88ff-c14cfa5a640b 2025-03-30 13:04:50,382 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/796045a7-87ff-42bb-abb5-143fcdeaadfa 2025-03-30 13:04:51,839 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/1.841/3.166/1.324 ms') 2025-03-30 13:04:51,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50252936-17381811 passed 2025-03-30 13:04:51,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:04:51,993 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50252936-17381811, IP 96.84.213.3, Port 22 2025-03-30 13:04:52,212 - DEBUG - VM ctest-TestRoutersBasic-50252936-17381811 is ready for SSH connections 2025-03-30 13:04:52,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:04:52,212 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.84.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-30 13:04:52,212 - DEBUG - ping -s 56 -c 3 -W 1 96.84.213.3 2025-03-30 13:04:55,901 - DEBUG - PING 96.84.213.3 (96.84.213.3): 56 data bytes 64 bytes from 96.84.213.3: seq=0 ttl=62 time=7.783 ms 64 bytes from 96.84.213.3: seq=1 ttl=62 time=0.944 ms 64 bytes from 96.84.213.3: seq=2 ttl=62 time=0.851 ms --- 96.84.213.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/3.192/7.783 ms 2025-03-30 13:04:55,901 - INFO - Ping to IP 96.84.213.3 from VM ctest-TestRoutersBasic-50252936-12130977 passed 2025-03-30 13:04:55,902 - INFO - Deleting interface with subnet_id 864e19bf-aabb-4c63-a26c-4a26b3632904, port_id None from router d5c4864b-66ad-4b7b-a03b-a1be527a6ed7 2025-03-30 13:04:56,311 - INFO - Deleting VM ctest-TestRoutersBasic-50252936-17381811 2025-03-30 13:04:56,464 - INFO - Deleting VM ctest-TestRoutersBasic-50252936-12130977 2025-03-30 13:04:56,570 - INFO - Deleting VN ctest-ext_vn-94064108 2025-03-30 13:04:56,773 - DEBUG - VN 2d615313-1c91-4b96-bf1a-78d850853f56 still in use: Unable to complete operation on network 2d615313-1c91-4b96-bf1a-78d850853f56. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2e559c88-d245-4d80-8d70-127b793eb1a3'] 2025-03-30 13:04:56,773 - WARNING - Deleting VN ctest-ext_vn-94064108 failed..Will retry 2025-03-30 13:04:58,965 - DEBUG - Response for deleting network () 2025-03-30 13:04:58,965 - INFO - Deleting VN ctest-vn-78716593 2025-03-30 13:04:59,163 - DEBUG - Response for deleting network () 2025-03-30 13:04:59,551 - DEBUG - No XMPP flaps were noticed during the test
2025-03-30 13:04:59,551 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-03-30 13:04:59,551 - INFO - -------------------------------------------------------------------------------- 2025-03-30 13:05:00,374 - INFO - Deleted project: ctest-TestRoutersBasic-50252936, ID : e65f7a53-8765-466e-a702-97795c275dc0