2025-11-04 14:07:26,421 - INFO - Domain Default found not creating 2025-11-04 14:07:26,660 - INFO - Project ctest-TestRoutersBasic-62228617 not found, creating it 2025-11-04 14:07:27,100 - INFO - Created Project:ctest-TestRoutersBasic-62228617, ID : 51135e78-1ca1-4b6c-ad7a-a88b469dfddf 2025-11-04 14:07:28,667 - INFO - ================================================================================ 2025-11-04 14:07:28,667 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-04 14:07:28,667 - 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-11-04 14:07:28,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-11-04 14:07:28,924 - INFO - Initial checks done. Running the testcase now 2025-11-04 14:07:28,924 - INFO - 2025-11-04 14:07:29,704 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62228617 2025-11-04 14:07:29,799 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62228617 2025-11-04 14:07:30,119 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62228617', 'default']} 2025-11-04 14:07:30,410 - DEBUG - Response for create_network : {'network': {'id': 'a21ef737-f774-411a-8eb1-5942fb26507b', 'name': 'ctest-vn-42880667', 'tenant_id': '51135e781ca14b6cad7aa88b469dfddf', 'project_id': '51135e781ca14b6cad7aa88b469dfddf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62228617', 'ctest-vn-42880667'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 14:07:30,574 - DEBUG - Response for create_subnet : {'subnet': {'id': '4014a0f2-79d5-4449-a4d6-696daf29b14f', 'name': '', 'tenant_id': '51135e781ca14b6cad7aa88b469dfddf', 'network_id': 'a21ef737-f774-411a-8eb1-5942fb26507b', 'ip_version': 4, 'cidr': '47.170.186.64/26', 'allocation_pools': [{'start': '47.170.186.66', 'end': '47.170.186.126'}], 'gateway_ip': '47.170.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.170.186.66', 'tags': [], 'project_id': '51135e781ca14b6cad7aa88b469dfddf'}} 2025-11-04 14:07:30,592 - INFO - Created VN ctest-vn-42880667 2025-11-04 14:07:30,643 - DEBUG - VN ctest-vn-42880667 UUID is a21ef737-f774-411a-8eb1-5942fb26507b 2025-11-04 14:07:30,981 - DEBUG - Response for create_network : {'network': {'id': '8a2d2f12-5da4-4325-9486-cfad0f161d1d', 'name': 'ctest-ext_vn-47701944', 'tenant_id': '51135e781ca14b6cad7aa88b469dfddf', 'project_id': '51135e781ca14b6cad7aa88b469dfddf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62228617', 'ctest-ext_vn-47701944'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 14:07:31,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '736fad94-dfa2-4461-841c-8604c1100927', 'name': '', 'tenant_id': '51135e781ca14b6cad7aa88b469dfddf', 'network_id': '8a2d2f12-5da4-4325-9486-cfad0f161d1d', 'ip_version': 4, 'cidr': '188.101.78.192/26', 'allocation_pools': [{'start': '188.101.78.194', 'end': '188.101.78.254'}], 'gateway_ip': '188.101.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.101.78.194', 'tags': [], 'project_id': '51135e781ca14b6cad7aa88b469dfddf'}} 2025-11-04 14:07:31,207 - INFO - Created VN ctest-ext_vn-47701944 2025-11-04 14:07:31,263 - DEBUG - VN ctest-ext_vn-47701944 UUID is 8a2d2f12-5da4-4325-9486-cfad0f161d1d 2025-11-04 14:07:31,467 - DEBUG - Services list from nova: [, , ] 2025-11-04 14:07:32,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4617-1) 2025-11-04 14:07:33,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4617-1) 2025-11-04 14:07:33,831 - INFO - Setting gateway for router a732832f-4be9-458c-89e2-dbba36a48247 to network 8a2d2f12-5da4-4325-9486-cfad0f161d1d 2025-11-04 14:07:33,905 - INFO - Adding interface with subnet_id 4014a0f2-79d5-4449-a4d6-696daf29b14f, port_id None to router a732832f-4be9-458c-89e2-dbba36a48247 2025-11-04 14:07:34,256 - INFO - Waiting for VM ctest-TestRoutersBasic-62228617-48308087 to be up.. 2025-11-04 14:07:34,412 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 14:07:39,482 - DEBUG - VM is in ACTIVE state now 2025-11-04 14:07:39,482 - INFO - VM name : ctest-TestRoutersBasic-62228617-48308087 2025-11-04 14:07:39,555 - DEBUG - VM ctest-TestRoutersBasic-62228617-48308087 ID is e070ce02-00c3-47a6-a460-0e07aacc7a17 2025-11-04 14:07:39,575 - DEBUG - VM ctest-TestRoutersBasic-62228617-48308087 launched on Node cn-jenkins-deploy-platform-ansible-os-4617-1 2025-11-04 14:07:39,646 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e070ce02-00c3-47a6-a460-0e07aacc7a17 2025-11-04 14:07:39,977 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e070ce02-00c3-47a6-a460-0e07aacc7a17 2025-11-04 14:07:40,010 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/efbdbff5-d4c6-430d-8df2-eaa5ca14929d 2025-11-04 14:07:43,265 - 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 1019ms') 2025-11-04 14:07:43,265 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62228617-48308087 failed! 2025-11-04 14:07:43,319 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62228617:ctest-vn-42880667 is 47.170.186.65 and allocation pool is NOT set 2025-11-04 14:07:45,385 - 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=4.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.39 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 = 2.385/3.488/4.592/1.103 ms') 2025-11-04 14:07:45,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62228617-48308087 passed 2025-11-04 14:07:45,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:07:45,539 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62228617-48308087, IP 47.170.186.67, Port 22 2025-11-04 14:07:45,698 - DEBUG - VM ctest-TestRoutersBasic-62228617-48308087 is ready for SSH connections 2025-11-04 14:07:45,698 - INFO - Waiting for VM ctest-TestRoutersBasic-62228617-86066684 to be up.. 2025-11-04 14:07:45,769 - DEBUG - VM is in ACTIVE state now 2025-11-04 14:07:45,769 - INFO - VM name : ctest-TestRoutersBasic-62228617-86066684 2025-11-04 14:07:45,844 - DEBUG - VM ctest-TestRoutersBasic-62228617-86066684 ID is 09ef3f4e-a09d-41f8-b554-f7f7abf9d157 2025-11-04 14:07:45,844 - DEBUG - VM ctest-TestRoutersBasic-62228617-86066684 launched on Node cn-jenkins-deploy-platform-ansible-os-4617-1 2025-11-04 14:07:45,928 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/09ef3f4e-a09d-41f8-b554-f7f7abf9d157 2025-11-04 14:07:45,936 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a5fddb0e-9d9d-4f3e-86fd-d013df19c617 2025-11-04 14:07:47,174 - 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.551 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.551/1.869/3.187/1.318 ms') 2025-11-04 14:07:47,174 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62228617-86066684 passed 2025-11-04 14:07:47,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:07:47,323 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62228617-86066684, IP 188.101.78.195, Port 22 2025-11-04 14:07:47,478 - DEBUG - VM ctest-TestRoutersBasic-62228617-86066684 is ready for SSH connections 2025-11-04 14:07:47,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:07:47,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.101.78.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 14:07:47,479 - DEBUG - ping -s 56 -c 3 -W 1 188.101.78.195 2025-11-04 14:07:51,223 - DEBUG - PING 188.101.78.195 (188.101.78.195): 56 data bytes 64 bytes from 188.101.78.195: seq=0 ttl=62 time=8.008 ms 64 bytes from 188.101.78.195: seq=1 ttl=62 time=0.907 ms 64 bytes from 188.101.78.195: seq=2 ttl=62 time=0.810 ms --- 188.101.78.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/3.241/8.008 ms 2025-11-04 14:07:51,223 - INFO - Ping to IP 188.101.78.195 from VM ctest-TestRoutersBasic-62228617-48308087 passed 2025-11-04 14:07:51,223 - INFO - Deleting interface with subnet_id 4014a0f2-79d5-4449-a4d6-696daf29b14f, port_id None from router a732832f-4be9-458c-89e2-dbba36a48247 2025-11-04 14:07:51,418 - INFO - Deleting VM ctest-TestRoutersBasic-62228617-86066684 2025-11-04 14:07:51,489 - INFO - Deleting VM ctest-TestRoutersBasic-62228617-48308087 2025-11-04 14:07:51,565 - INFO - Deleting VN ctest-ext_vn-47701944 2025-11-04 14:07:51,631 - DEBUG - VN 8a2d2f12-5da4-4325-9486-cfad0f161d1d still in use: Unable to complete operation on network 8a2d2f12-5da4-4325-9486-cfad0f161d1d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-549bf4c1-c750-4200-b80c-fff3d63e8820'] 2025-11-04 14:07:51,631 - WARNING - Deleting VN ctest-ext_vn-47701944 failed..Will retry 2025-11-04 14:07:53,727 - DEBUG - Response for deleting network () 2025-11-04 14:07:53,727 - INFO - Deleting VN ctest-vn-42880667 2025-11-04 14:07:53,824 - DEBUG - Response for deleting network () 2025-11-04 14:07:54,083 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 14:07:54,084 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-04 14:07:54,084 - INFO - -------------------------------------------------------------------------------- 2025-11-04 14:07:54,782 - INFO - Deleted project: ctest-TestRoutersBasic-62228617, ID : 51135e78-1ca1-4b6c-ad7a-a88b469dfddf