2024-11-07 09:24:47,731 - INFO - Domain Default found not creating
2024-11-07 09:24:47,911 - INFO - Project ctest-TestRoutersBasic-29712835 not found, creating it
2024-11-07 09:24:48,400 - INFO - Created Project:ctest-TestRoutersBasic-29712835, ID : 59ffcc13-d54b-45c4-822c-069337441259
2024-11-07 09:24:49,893 - INFO - ================================================================================
2024-11-07 09:24:49,894 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-07 09:24:49,894 - 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
2024-11-07 09:24:50,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.8': '0'}} with
2024-11-07 09:24:50,154 - INFO - Initial checks done. Running the testcase now
2024-11-07 09:24:50,154 - INFO -
2024-11-07 09:24:50,889 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29712835
2024-11-07 09:24:50,991 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29712835
2024-11-07 09:24:51,331 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29712835', 'default']}
2024-11-07 09:24:51,657 - DEBUG - Response for create_network : {'network': {'id': 'f376e40f-224e-4862-bb80-f7c0b8ac1620', 'name': 'ctest-vn-56156262', 'tenant_id': '59ffcc13d54b45c4822c069337441259', 'project_id': '59ffcc13d54b45c4822c069337441259', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29712835', 'ctest-vn-56156262'], 'port_security_enabled': True, 'description': ''}}
2024-11-07 09:24:51,900 - DEBUG - Response for create_subnet : {'subnet': {'id': '3207a575-f7cf-4655-99d2-4033a3c3d38b', 'name': '', 'tenant_id': '59ffcc13d54b45c4822c069337441259', 'network_id': 'f376e40f-224e-4862-bb80-f7c0b8ac1620', 'ip_version': 4, 'cidr': '63.173.140.192/26', 'allocation_pools': [{'start': '63.173.140.194', 'end': '63.173.140.254'}], 'gateway_ip': '63.173.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.173.140.194', 'tags': [], 'project_id': '59ffcc13d54b45c4822c069337441259'}}
2024-11-07 09:24:51,920 - INFO - Created VN ctest-vn-56156262
2024-11-07 09:24:51,982 - DEBUG - VN ctest-vn-56156262 UUID is f376e40f-224e-4862-bb80-f7c0b8ac1620
2024-11-07 09:24:52,910 - DEBUG - Response for create_network : {'network': {'id': 'fb8981b5-4a97-4e2c-a0ac-801294127f66', 'name': 'ctest-ext_vn-11664371', 'tenant_id': '59ffcc13d54b45c4822c069337441259', 'project_id': '59ffcc13d54b45c4822c069337441259', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29712835', 'ctest-ext_vn-11664371'], 'port_security_enabled': True, 'description': ''}}
2024-11-07 09:24:53,150 - DEBUG - Response for create_subnet : {'subnet': {'id': '9864a058-a06b-4ac3-8305-4cf51951b2c1', 'name': '', 'tenant_id': '59ffcc13d54b45c4822c069337441259', 'network_id': 'fb8981b5-4a97-4e2c-a0ac-801294127f66', 'ip_version': 4, 'cidr': '200.188.77.192/26', 'allocation_pools': [{'start': '200.188.77.194', 'end': '200.188.77.254'}], 'gateway_ip': '200.188.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.188.77.194', 'tags': [], 'project_id': '59ffcc13d54b45c4822c069337441259'}}
2024-11-07 09:24:53,173 - INFO - Created VN ctest-ext_vn-11664371
2024-11-07 09:24:53,230 - DEBUG - VN ctest-ext_vn-11664371 UUID is fb8981b5-4a97-4e2c-a0ac-801294127f66
2024-11-07 09:24:53,420 - DEBUG - Services list from nova: [, , ]
2024-11-07 09:24:54,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2215-1)
2024-11-07 09:24:55,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2215-1)
2024-11-07 09:24:55,923 - INFO - Setting gateway for router 3b077624-b98b-4b36-b36e-96914fbf0d91 to network fb8981b5-4a97-4e2c-a0ac-801294127f66
2024-11-07 09:24:55,974 - INFO - Adding interface with subnet_id 3207a575-f7cf-4655-99d2-4033a3c3d38b, port_id None to router 3b077624-b98b-4b36-b36e-96914fbf0d91
2024-11-07 09:24:56,301 - INFO - Waiting for VM ctest-TestRoutersBasic-29712835-32842577 to be up..
2024-11-07 09:24:56,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-07 09:25:01,736 - DEBUG - VM is in ACTIVE state now
2024-11-07 09:25:01,736 - INFO - VM name : ctest-TestRoutersBasic-29712835-32842577
2024-11-07 09:25:01,822 - DEBUG - VM ctest-TestRoutersBasic-29712835-32842577 ID is 0ea08e68-7985-41b4-8c1e-aeff3f22321e
2024-11-07 09:25:01,841 - DEBUG - VM ctest-TestRoutersBasic-29712835-32842577 launched on Node cn-jenkins-deploy-platform-ansible-os-2215-1
2024-11-07 09:25:01,918 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0ea08e68-7985-41b4-8c1e-aeff3f22321e
2024-11-07 09:25:02,210 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0ea08e68-7985-41b4-8c1e-aeff3f22321e
2024-11-07 09:25:02,246 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a236c3fd-857c-42cd-a17b-0898c6e90e7c
2024-11-07 09:25:05,518 - 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 1018ms')
2024-11-07 09:25:05,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29712835-32842577 failed!
2024-11-07 09:25:05,579 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29712835:ctest-vn-56156262 is 63.173.140.193 and allocation pool is NOT set
2024-11-07 09:25:07,639 - 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=3.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 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.378/1.863/3.349/1.485 ms')
2024-11-07 09:25:07,639 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29712835-32842577 passed
2024-11-07 09:25:07,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 09:25:07,795 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29712835-32842577, IP 63.173.140.195, Port 22
2024-11-07 09:25:07,964 - DEBUG - VM ctest-TestRoutersBasic-29712835-32842577 is ready for SSH connections
2024-11-07 09:25:07,964 - INFO - Waiting for VM ctest-TestRoutersBasic-29712835-52687436 to be up..
2024-11-07 09:25:08,057 - DEBUG - VM is in ACTIVE state now
2024-11-07 09:25:08,057 - INFO - VM name : ctest-TestRoutersBasic-29712835-52687436
2024-11-07 09:25:08,142 - DEBUG - VM ctest-TestRoutersBasic-29712835-52687436 ID is fcf5896e-e90c-4728-aac1-0d14d709dd5d
2024-11-07 09:25:08,142 - DEBUG - VM ctest-TestRoutersBasic-29712835-52687436 launched on Node cn-jenkins-deploy-platform-ansible-os-2215-1
2024-11-07 09:25:08,237 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fcf5896e-e90c-4728-aac1-0d14d709dd5d
2024-11-07 09:25:08,253 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0f326156-fb80-487c-9dcd-718be1be0765
2024-11-07 09:25:09,541 - 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=5.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.27 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.273/3.898/5.524/1.625 ms')
2024-11-07 09:25:09,541 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29712835-52687436 passed
2024-11-07 09:25:09,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 09:25:09,699 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29712835-52687436, IP 200.188.77.195, Port 22
2024-11-07 09:25:09,858 - DEBUG - VM ctest-TestRoutersBasic-29712835-52687436 is ready for SSH connections
2024-11-07 09:25:09,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 09:25:09,858 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.188.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2024-11-07 09:25:09,858 - DEBUG - ping -s 56 -c 3 -W 1 200.188.77.195
2024-11-07 09:25:13,550 - DEBUG - PING 200.188.77.195 (200.188.77.195): 56 data bytes
64 bytes from 200.188.77.195: seq=0 ttl=62 time=5.544 ms
64 bytes from 200.188.77.195: seq=1 ttl=62 time=0.868 ms
64 bytes from 200.188.77.195: seq=2 ttl=62 time=0.876 ms
--- 200.188.77.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.868/2.429/5.544 ms
2024-11-07 09:25:13,550 - INFO - Ping to IP 200.188.77.195 from VM ctest-TestRoutersBasic-29712835-32842577 passed
2024-11-07 09:25:13,550 - INFO - Deleting interface with subnet_id 3207a575-f7cf-4655-99d2-4033a3c3d38b, port_id None from router 3b077624-b98b-4b36-b36e-96914fbf0d91
2024-11-07 09:25:14,839 - INFO - Deleting VM ctest-TestRoutersBasic-29712835-52687436
2024-11-07 09:25:14,918 - INFO - Deleting VM ctest-TestRoutersBasic-29712835-32842577
2024-11-07 09:25:14,992 - INFO - Deleting VN ctest-ext_vn-11664371
2024-11-07 09:25:15,059 - DEBUG - VN fb8981b5-4a97-4e2c-a0ac-801294127f66 still in use: Unable to complete operation on network fb8981b5-4a97-4e2c-a0ac-801294127f66. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dccaf431-e81c-416a-9831-28645bb0b740']
2024-11-07 09:25:15,059 - WARNING - Deleting VN ctest-ext_vn-11664371 failed..Will retry
2024-11-07 09:25:17,177 - DEBUG - Response for deleting network ()
2024-11-07 09:25:17,177 - INFO - Deleting VN ctest-vn-56156262
2024-11-07 09:25:17,286 - DEBUG - Response for deleting network ()
2024-11-07 09:25:17,542 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 09:25:17,542 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2024-11-07 09:25:17,542 - INFO - --------------------------------------------------------------------------------
2024-11-07 09:25:18,447 - INFO - Deleted project: ctest-TestRoutersBasic-29712835, ID : 59ffcc13-d54b-45c4-822c-069337441259