2025-01-03 21:41:15,111 - INFO - Domain Default found not creating
2025-01-03 21:41:15,248 - INFO - Project ctest-TestRoutersBasic-55371522 not found, creating it
2025-01-03 21:41:15,711 - INFO - Created Project:ctest-TestRoutersBasic-55371522, ID : cfefbc04-f81b-4d07-84c7-e9f58cf2c3b4
2025-01-03 21:41:17,247 - INFO - ================================================================================
2025-01-03 21:41:17,248 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-03 21:41:17,248 - 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-03 21:41:17,501 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.19': '0'}} with
2025-01-03 21:41:17,501 - INFO - Initial checks done. Running the testcase now
2025-01-03 21:41:17,502 - INFO -
2025-01-03 21:41:18,225 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55371522
2025-01-03 21:41:18,324 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55371522
2025-01-03 21:41:18,656 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55371522', 'default']}
2025-01-03 21:41:18,949 - DEBUG - Response for create_network : {'network': {'id': '8123b4c8-94ca-4d3f-83f7-ee8d0eb2491e', 'name': 'ctest-vn-99191080', 'tenant_id': 'cfefbc04f81b4d0784c7e9f58cf2c3b4', 'project_id': 'cfefbc04f81b4d0784c7e9f58cf2c3b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55371522', 'ctest-vn-99191080'], 'port_security_enabled': True, 'description': ''}}
2025-01-03 21:41:19,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a1ba359-bdf4-4282-b522-0d70542e50d4', 'name': '', 'tenant_id': 'cfefbc04f81b4d0784c7e9f58cf2c3b4', 'network_id': '8123b4c8-94ca-4d3f-83f7-ee8d0eb2491e', 'ip_version': 4, 'cidr': '98.20.235.192/26', 'allocation_pools': [{'start': '98.20.235.194', 'end': '98.20.235.254'}], 'gateway_ip': '98.20.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.20.235.194', 'tags': [], 'project_id': 'cfefbc04f81b4d0784c7e9f58cf2c3b4'}}
2025-01-03 21:41:19,131 - INFO - Created VN ctest-vn-99191080
2025-01-03 21:41:19,183 - DEBUG - VN ctest-vn-99191080 UUID is 8123b4c8-94ca-4d3f-83f7-ee8d0eb2491e
2025-01-03 21:41:19,512 - DEBUG - Response for create_network : {'network': {'id': 'b54128a9-a79f-4aab-bd8b-cb591be84b01', 'name': 'ctest-ext_vn-88062575', 'tenant_id': 'cfefbc04f81b4d0784c7e9f58cf2c3b4', 'project_id': 'cfefbc04f81b4d0784c7e9f58cf2c3b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55371522', 'ctest-ext_vn-88062575'], 'port_security_enabled': True, 'description': ''}}
2025-01-03 21:41:19,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fa47c44-af41-4cd3-96c8-eb8775daea57', 'name': '', 'tenant_id': 'cfefbc04f81b4d0784c7e9f58cf2c3b4', 'network_id': 'b54128a9-a79f-4aab-bd8b-cb591be84b01', 'ip_version': 4, 'cidr': '94.133.233.128/26', 'allocation_pools': [{'start': '94.133.233.130', 'end': '94.133.233.190'}], 'gateway_ip': '94.133.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.133.233.130', 'tags': [], 'project_id': 'cfefbc04f81b4d0784c7e9f58cf2c3b4'}}
2025-01-03 21:41:19,686 - INFO - Created VN ctest-ext_vn-88062575
2025-01-03 21:41:19,739 - DEBUG - VN ctest-ext_vn-88062575 UUID is b54128a9-a79f-4aab-bd8b-cb591be84b01
2025-01-03 21:41:19,907 - DEBUG - Services list from nova: [, , ]
2025-01-03 21:41:20,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2521-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2521-1)
2025-01-03 21:41:22,136 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2521-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2521-1)
2025-01-03 21:41:22,213 - INFO - Setting gateway for router cff2d63c-803a-4373-b550-a0e3213698d0 to network b54128a9-a79f-4aab-bd8b-cb591be84b01
2025-01-03 21:41:22,288 - INFO - Adding interface with subnet_id 4a1ba359-bdf4-4282-b522-0d70542e50d4, port_id None to router cff2d63c-803a-4373-b550-a0e3213698d0
2025-01-03 21:41:22,671 - INFO - Waiting for VM ctest-TestRoutersBasic-55371522-19629529 to be up..
2025-01-03 21:41:22,850 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-03 21:41:27,931 - DEBUG - VM is in ACTIVE state now
2025-01-03 21:41:27,931 - INFO - VM name : ctest-TestRoutersBasic-55371522-19629529
2025-01-03 21:41:28,011 - DEBUG - VM ctest-TestRoutersBasic-55371522-19629529 ID is a698cb7f-03e9-4d4e-938a-3e15d9493170
2025-01-03 21:41:28,031 - DEBUG - VM ctest-TestRoutersBasic-55371522-19629529 launched on Node cn-jenkins-deploy-platform-ansible-os-2521-1
2025-01-03 21:41:28,110 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/a698cb7f-03e9-4d4e-938a-3e15d9493170
2025-01-03 21:41:28,407 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/a698cb7f-03e9-4d4e-938a-3e15d9493170
2025-01-03 21:41:28,441 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/cd8363eb-18dd-4607-bf48-6f1acfb89dc5
2025-01-03 21:41:31,693 - 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 1007ms')
2025-01-03 21:41:31,693 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55371522-19629529 failed!
2025-01-03 21:41:31,751 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55371522:ctest-vn-99191080 is 98.20.235.193 and allocation pool is NOT set
2025-01-03 21:41:33,812 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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.475/1.683/2.891/1.208 ms')
2025-01-03 21:41:33,813 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55371522-19629529 passed
2025-01-03 21:41:33,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-03 21:41:33,979 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55371522-19629529, IP 98.20.235.195, Port 22
2025-01-03 21:41:34,139 - DEBUG - VM ctest-TestRoutersBasic-55371522-19629529 is ready for SSH connections
2025-01-03 21:41:34,139 - INFO - Waiting for VM ctest-TestRoutersBasic-55371522-43390022 to be up..
2025-01-03 21:41:34,232 - DEBUG - VM is in ACTIVE state now
2025-01-03 21:41:34,233 - INFO - VM name : ctest-TestRoutersBasic-55371522-43390022
2025-01-03 21:41:34,318 - DEBUG - VM ctest-TestRoutersBasic-55371522-43390022 ID is 1ffbe02f-16f8-4e2a-9851-6267d392168c
2025-01-03 21:41:34,318 - DEBUG - VM ctest-TestRoutersBasic-55371522-43390022 launched on Node cn-jenkins-deploy-platform-ansible-os-2521-1
2025-01-03 21:41:34,402 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/1ffbe02f-16f8-4e2a-9851-6267d392168c
2025-01-03 21:41:34,413 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/85452ee9-3bfb-4285-8d1a-55a1d219db3b
2025-01-03 21:41:35,664 - 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=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.463/1.634/2.806/1.171 ms')
2025-01-03 21:41:35,665 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55371522-43390022 passed
2025-01-03 21:41:35,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-03 21:41:35,819 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55371522-43390022, IP 94.133.233.131, Port 22
2025-01-03 21:41:35,995 - DEBUG - VM ctest-TestRoutersBasic-55371522-43390022 is ready for SSH connections
2025-01-03 21:41:35,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-03 21:41:35,995 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.133.233.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123
2025-01-03 21:41:35,995 - DEBUG - ping -s 56 -c 3 -W 1 94.133.233.131
2025-01-03 21:41:39,749 - DEBUG - PING 94.133.233.131 (94.133.233.131): 56 data bytes
64 bytes from 94.133.233.131: seq=0 ttl=62 time=7.616 ms
64 bytes from 94.133.233.131: seq=1 ttl=62 time=1.272 ms
64 bytes from 94.133.233.131: seq=2 ttl=62 time=1.170 ms
--- 94.133.233.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.170/3.352/7.616 ms
2025-01-03 21:41:39,749 - INFO - Ping to IP 94.133.233.131 from VM ctest-TestRoutersBasic-55371522-19629529 passed
2025-01-03 21:41:39,750 - INFO - Deleting interface with subnet_id 4a1ba359-bdf4-4282-b522-0d70542e50d4, port_id None from router cff2d63c-803a-4373-b550-a0e3213698d0
2025-01-03 21:41:39,949 - INFO - Deleting VM ctest-TestRoutersBasic-55371522-43390022
2025-01-03 21:41:40,019 - INFO - Deleting VM ctest-TestRoutersBasic-55371522-19629529
2025-01-03 21:41:40,097 - INFO - Deleting VN ctest-ext_vn-88062575
2025-01-03 21:41:40,160 - DEBUG - VN b54128a9-a79f-4aab-bd8b-cb591be84b01 still in use: Unable to complete operation on network b54128a9-a79f-4aab-bd8b-cb591be84b01. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d05812f8-585c-4e35-94e6-18f669de646a']
2025-01-03 21:41:40,160 - WARNING - Deleting VN ctest-ext_vn-88062575 failed..Will retry
2025-01-03 21:41:42,265 - DEBUG - Response for deleting network ()
2025-01-03 21:41:42,265 - INFO - Deleting VN ctest-vn-99191080
2025-01-03 21:41:42,381 - DEBUG - Response for deleting network ()
2025-01-03 21:41:42,642 - DEBUG - No XMPP flaps were noticed during the test
2025-01-03 21:41:42,642 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-03 21:41:42,642 - INFO - --------------------------------------------------------------------------------
2025-01-03 21:41:43,325 - INFO - Deleted project: ctest-TestRoutersBasic-55371522, ID : cfefbc04-f81b-4d07-84c7-e9f58cf2c3b4