2024-11-08 14:21:51,007 - INFO - Domain Default found not creating
2024-11-08 14:21:51,181 - INFO - Project ctest-TestRoutersBasic-97773332 not found, creating it
2024-11-08 14:21:51,706 - INFO - Created Project:ctest-TestRoutersBasic-97773332, ID : 92d08de6-6dde-4bd2-9693-d298d515e2b7
2024-11-08 14:21:53,431 - INFO - ================================================================================
2024-11-08 14:21:53,431 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-08 14:21:53,431 - 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-08 14:21:53,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.29': '0'}} with
2024-11-08 14:21:53,685 - INFO - Initial checks done. Running the testcase now
2024-11-08 14:21:53,685 - INFO -
2024-11-08 14:21:54,418 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97773332
2024-11-08 14:21:54,515 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97773332
2024-11-08 14:21:54,867 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97773332', 'default']}
2024-11-08 14:21:55,200 - DEBUG - Response for create_network : {'network': {'id': '1477657d-2787-4f5e-a382-1742271caf18', 'name': 'ctest-vn-55928667', 'tenant_id': '92d08de66dde4bd29693d298d515e2b7', 'project_id': '92d08de66dde4bd29693d298d515e2b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97773332', 'ctest-vn-55928667'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 14:21:55,427 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb7eff12-6ffb-4851-8d95-b2128f4ebb66', 'name': '', 'tenant_id': '92d08de66dde4bd29693d298d515e2b7', 'network_id': '1477657d-2787-4f5e-a382-1742271caf18', 'ip_version': 4, 'cidr': '121.177.98.192/26', 'allocation_pools': [{'start': '121.177.98.194', 'end': '121.177.98.254'}], 'gateway_ip': '121.177.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.177.98.194', 'tags': [], 'project_id': '92d08de66dde4bd29693d298d515e2b7'}}
2024-11-08 14:21:55,450 - INFO - Created VN ctest-vn-55928667
2024-11-08 14:21:55,507 - DEBUG - VN ctest-vn-55928667 UUID is 1477657d-2787-4f5e-a382-1742271caf18
2024-11-08 14:21:55,864 - DEBUG - Response for create_network : {'network': {'id': 'df7330c5-daed-4d9c-999b-2bc7ef87eb7e', 'name': 'ctest-ext_vn-58825988', 'tenant_id': '92d08de66dde4bd29693d298d515e2b7', 'project_id': '92d08de66dde4bd29693d298d515e2b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97773332', 'ctest-ext_vn-58825988'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 14:21:56,100 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebd08961-fcdd-48c3-8203-903e81fb9161', 'name': '', 'tenant_id': '92d08de66dde4bd29693d298d515e2b7', 'network_id': 'df7330c5-daed-4d9c-999b-2bc7ef87eb7e', 'ip_version': 4, 'cidr': '217.82.18.192/26', 'allocation_pools': [{'start': '217.82.18.194', 'end': '217.82.18.254'}], 'gateway_ip': '217.82.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.82.18.194', 'tags': [], 'project_id': '92d08de66dde4bd29693d298d515e2b7'}}
2024-11-08 14:21:56,121 - INFO - Created VN ctest-ext_vn-58825988
2024-11-08 14:21:56,179 - DEBUG - VN ctest-ext_vn-58825988 UUID is df7330c5-daed-4d9c-999b-2bc7ef87eb7e
2024-11-08 14:21:56,362 - DEBUG - Services list from nova: [, , ]
2024-11-08 14:21:57,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2229-1)
2024-11-08 14:21:58,630 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2229-1)
2024-11-08 14:21:58,725 - INFO - Setting gateway for router 23241b0a-33b2-4c00-be60-8b5b6532d854 to network df7330c5-daed-4d9c-999b-2bc7ef87eb7e
2024-11-08 14:21:58,822 - INFO - Adding interface with subnet_id eb7eff12-6ffb-4851-8d95-b2128f4ebb66, port_id None to router 23241b0a-33b2-4c00-be60-8b5b6532d854
2024-11-08 14:21:59,337 - INFO - Waiting for VM ctest-TestRoutersBasic-97773332-07513670 to be up..
2024-11-08 14:21:59,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-08 14:22:04,660 - DEBUG - VM is in ACTIVE state now
2024-11-08 14:22:04,660 - INFO - VM name : ctest-TestRoutersBasic-97773332-07513670
2024-11-08 14:22:04,762 - DEBUG - VM ctest-TestRoutersBasic-97773332-07513670 ID is 70183c14-7f5e-4785-b6be-00218538aa2f
2024-11-08 14:22:04,785 - DEBUG - VM ctest-TestRoutersBasic-97773332-07513670 launched on Node cn-jenkins-deploy-platform-ansible-os-2229-1
2024-11-08 14:22:04,876 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/70183c14-7f5e-4785-b6be-00218538aa2f
2024-11-08 14:22:05,188 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/70183c14-7f5e-4785-b6be-00218538aa2f
2024-11-08 14:22:05,224 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/4fd6e94d-6e08-4744-8698-772194068a6a
2024-11-08 14:22:08,514 - 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 1027ms')
2024-11-08 14:22:08,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97773332-07513670 failed!
2024-11-08 14:22:08,575 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97773332:ctest-vn-55928667 is 121.177.98.193 and allocation pool is NOT set
2024-11-08 14:22:10,634 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.549 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.549/1.918/3.288/1.369 ms')
2024-11-08 14:22:10,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97773332-07513670 passed
2024-11-08 14:22:10,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 14:22:10,751 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97773332-07513670, IP 121.177.98.195, Port 22
2024-11-08 14:22:10,907 - DEBUG - VM ctest-TestRoutersBasic-97773332-07513670 is ready for SSH connections
2024-11-08 14:22:10,907 - INFO - Waiting for VM ctest-TestRoutersBasic-97773332-89153080 to be up..
2024-11-08 14:22:10,999 - DEBUG - VM is in ACTIVE state now
2024-11-08 14:22:10,999 - INFO - VM name : ctest-TestRoutersBasic-97773332-89153080
2024-11-08 14:22:11,087 - DEBUG - VM ctest-TestRoutersBasic-97773332-89153080 ID is c82ca5ba-6e77-4275-af45-56689ca5afd2
2024-11-08 14:22:11,087 - DEBUG - VM ctest-TestRoutersBasic-97773332-89153080 launched on Node cn-jenkins-deploy-platform-ansible-os-2229-1
2024-11-08 14:22:11,177 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c82ca5ba-6e77-4275-af45-56689ca5afd2
2024-11-08 14:22:11,188 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c5b88e15-dd80-4ed0-bb65-3edeeb3cde59
2024-11-08 14:22:12,443 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/2.066/3.638/1.572 ms')
2024-11-08 14:22:12,444 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97773332-89153080 passed
2024-11-08 14:22:12,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 14:22:12,603 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97773332-89153080, IP 217.82.18.195, Port 22
2024-11-08 14:22:12,776 - DEBUG - VM ctest-TestRoutersBasic-97773332-89153080 is ready for SSH connections
2024-11-08 14:22:12,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 14:22:12,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.82.18.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2024-11-08 14:22:12,777 - DEBUG - ping -s 56 -c 3 -W 1 217.82.18.195
2024-11-08 14:22:16,470 - DEBUG - PING 217.82.18.195 (217.82.18.195): 56 data bytes
64 bytes from 217.82.18.195: seq=0 ttl=62 time=4.846 ms
64 bytes from 217.82.18.195: seq=1 ttl=62 time=1.233 ms
64 bytes from 217.82.18.195: seq=2 ttl=62 time=1.392 ms
--- 217.82.18.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.233/2.490/4.846 ms
2024-11-08 14:22:16,470 - INFO - Ping to IP 217.82.18.195 from VM ctest-TestRoutersBasic-97773332-07513670 passed
2024-11-08 14:22:16,470 - INFO - Deleting interface with subnet_id eb7eff12-6ffb-4851-8d95-b2128f4ebb66, port_id None from router 23241b0a-33b2-4c00-be60-8b5b6532d854
2024-11-08 14:22:16,678 - INFO - Deleting VM ctest-TestRoutersBasic-97773332-89153080
2024-11-08 14:22:16,740 - INFO - Deleting VM ctest-TestRoutersBasic-97773332-07513670
2024-11-08 14:22:16,814 - INFO - Deleting VN ctest-ext_vn-58825988
2024-11-08 14:22:16,897 - DEBUG - VN df7330c5-daed-4d9c-999b-2bc7ef87eb7e still in use: Unable to complete operation on network df7330c5-daed-4d9c-999b-2bc7ef87eb7e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c9e668f3-7f33-48bd-9bf4-5d09f737cb9c']
2024-11-08 14:22:16,897 - WARNING - Deleting VN ctest-ext_vn-58825988 failed..Will retry
2024-11-08 14:22:19,019 - DEBUG - Response for deleting network ()
2024-11-08 14:22:19,019 - INFO - Deleting VN ctest-vn-55928667
2024-11-08 14:22:19,144 - DEBUG - Response for deleting network ()
2024-11-08 14:22:19,411 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 14:22:19,411 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-08 14:22:19,411 - INFO - --------------------------------------------------------------------------------
2024-11-08 14:22:20,162 - INFO - Deleted project: ctest-TestRoutersBasic-97773332, ID : 92d08de6-6dde-4bd2-9693-d298d515e2b7