2024-11-03 19:56:46,346 - INFO - Domain Default found not creating
2024-11-03 19:56:46,494 - INFO - Project ctest-TestRoutersBasic-15635962 not found, creating it
2024-11-03 19:56:46,963 - INFO - Created Project:ctest-TestRoutersBasic-15635962, ID : fc083229-69da-47b0-a70c-3eee3fb1ac35
2024-11-03 19:56:48,482 - INFO - ================================================================================
2024-11-03 19:56:48,482 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-03 19:56:48,482 - 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-03 19:56:48,734 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.11': '0'}} with
2024-11-03 19:56:48,734 - INFO - Initial checks done. Running the testcase now
2024-11-03 19:56:48,735 - INFO -
2024-11-03 19:56:49,455 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15635962
2024-11-03 19:56:49,553 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15635962
2024-11-03 19:56:49,888 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15635962', 'default']}
2024-11-03 19:56:50,192 - DEBUG - Response for create_network : {'network': {'id': '800a7946-aa77-4100-a2d1-5de2819a6277', 'name': 'ctest-vn-94895308', 'tenant_id': 'fc08322969da47b0a70c3eee3fb1ac35', 'project_id': 'fc08322969da47b0a70c3eee3fb1ac35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15635962', 'ctest-vn-94895308'], 'port_security_enabled': True, 'description': ''}}
2024-11-03 19:56:50,366 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4c744fa-f4ba-430b-b6dc-9b3eb2c59b9d', 'name': '', 'tenant_id': 'fc08322969da47b0a70c3eee3fb1ac35', 'network_id': '800a7946-aa77-4100-a2d1-5de2819a6277', 'ip_version': 4, 'cidr': '73.31.68.64/26', 'allocation_pools': [{'start': '73.31.68.66', 'end': '73.31.68.126'}], 'gateway_ip': '73.31.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.31.68.66', 'tags': [], 'project_id': 'fc08322969da47b0a70c3eee3fb1ac35'}}
2024-11-03 19:56:50,386 - INFO - Created VN ctest-vn-94895308
2024-11-03 19:56:50,445 - DEBUG - VN ctest-vn-94895308 UUID is 800a7946-aa77-4100-a2d1-5de2819a6277
2024-11-03 19:56:50,841 - DEBUG - Response for create_network : {'network': {'id': '9a2ac190-e6af-4616-a77a-cb4bafdf1cd4', 'name': 'ctest-ext_vn-57803652', 'tenant_id': 'fc08322969da47b0a70c3eee3fb1ac35', 'project_id': 'fc08322969da47b0a70c3eee3fb1ac35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15635962', 'ctest-ext_vn-57803652'], 'port_security_enabled': True, 'description': ''}}
2024-11-03 19:56:51,007 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3fd957d-e6b1-4872-8c4a-4e40ba4b9d4a', 'name': '', 'tenant_id': 'fc08322969da47b0a70c3eee3fb1ac35', 'network_id': '9a2ac190-e6af-4616-a77a-cb4bafdf1cd4', 'ip_version': 4, 'cidr': '41.238.117.64/26', 'allocation_pools': [{'start': '41.238.117.66', 'end': '41.238.117.126'}], 'gateway_ip': '41.238.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.238.117.66', 'tags': [], 'project_id': 'fc08322969da47b0a70c3eee3fb1ac35'}}
2024-11-03 19:56:51,027 - INFO - Created VN ctest-ext_vn-57803652
2024-11-03 19:56:51,084 - DEBUG - VN ctest-ext_vn-57803652 UUID is 9a2ac190-e6af-4616-a77a-cb4bafdf1cd4
2024-11-03 19:56:51,256 - DEBUG - Services list from nova: [, , ]
2024-11-03 19:56:52,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2188-1)
2024-11-03 19:56:53,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2188-1)
2024-11-03 19:56:53,529 - INFO - Setting gateway for router 795fc2b7-d2a3-43a6-a1dc-a571125bf31c to network 9a2ac190-e6af-4616-a77a-cb4bafdf1cd4
2024-11-03 19:56:53,623 - INFO - Adding interface with subnet_id a4c744fa-f4ba-430b-b6dc-9b3eb2c59b9d, port_id None to router 795fc2b7-d2a3-43a6-a1dc-a571125bf31c
2024-11-03 19:56:54,053 - INFO - Waiting for VM ctest-TestRoutersBasic-15635962-51281107 to be up..
2024-11-03 19:56:54,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-03 19:56:59,280 - DEBUG - VM is in ACTIVE state now
2024-11-03 19:56:59,280 - INFO - VM name : ctest-TestRoutersBasic-15635962-51281107
2024-11-03 19:56:59,360 - DEBUG - VM ctest-TestRoutersBasic-15635962-51281107 ID is 80a30a82-3a08-4e68-9c8f-c8d05f264d88
2024-11-03 19:56:59,378 - DEBUG - VM ctest-TestRoutersBasic-15635962-51281107 launched on Node cn-jenkins-deploy-platform-ansible-os-2188-1
2024-11-03 19:56:59,455 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/80a30a82-3a08-4e68-9c8f-c8d05f264d88
2024-11-03 19:56:59,754 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/80a30a82-3a08-4e68-9c8f-c8d05f264d88
2024-11-03 19:56:59,794 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/cf1e6c2b-cd04-4eb8-9a56-31963668edd6
2024-11-03 19:57:03,055 - 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 1015ms')
2024-11-03 19:57:03,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15635962-51281107 failed!
2024-11-03 19:57:03,117 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15635962:ctest-vn-94895308 is 73.31.68.65 and allocation pool is NOT set
2024-11-03 19:57:05,173 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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.468/1.866/3.264/1.398 ms')
2024-11-03 19:57:05,173 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15635962-51281107 passed
2024-11-03 19:57:05,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-03 19:57:05,333 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15635962-51281107, IP 73.31.68.67, Port 22
2024-11-03 19:57:05,484 - DEBUG - VM ctest-TestRoutersBasic-15635962-51281107 is ready for SSH connections
2024-11-03 19:57:05,484 - INFO - Waiting for VM ctest-TestRoutersBasic-15635962-06623610 to be up..
2024-11-03 19:57:05,562 - DEBUG - VM is in ACTIVE state now
2024-11-03 19:57:05,563 - INFO - VM name : ctest-TestRoutersBasic-15635962-06623610
2024-11-03 19:57:05,637 - DEBUG - VM ctest-TestRoutersBasic-15635962-06623610 ID is b7589847-8020-4bbe-9a81-ed48d8bf8f50
2024-11-03 19:57:05,637 - DEBUG - VM ctest-TestRoutersBasic-15635962-06623610 launched on Node cn-jenkins-deploy-platform-ansible-os-2188-1
2024-11-03 19:57:05,710 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/b7589847-8020-4bbe-9a81-ed48d8bf8f50
2024-11-03 19:57:05,719 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/e00b8e74-4448-44ca-a25d-9aa245f6470f
2024-11-03 19:57:06,971 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.331 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.331/1.775/3.220/1.444 ms')
2024-11-03 19:57:06,971 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15635962-06623610 passed
2024-11-03 19:57:07,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-03 19:57:07,125 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15635962-06623610, IP 41.238.117.67, Port 22
2024-11-03 19:57:07,276 - DEBUG - VM ctest-TestRoutersBasic-15635962-06623610 is ready for SSH connections
2024-11-03 19:57:07,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-03 19:57:07,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.238.117.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2024-11-03 19:57:07,277 - DEBUG - ping -s 56 -c 3 -W 1 41.238.117.67
2024-11-03 19:57:11,231 - DEBUG - PING 41.238.117.67 (41.238.117.67): 56 data bytes
64 bytes from 41.238.117.67: seq=0 ttl=62 time=6.802 ms
64 bytes from 41.238.117.67: seq=1 ttl=62 time=0.924 ms
64 bytes from 41.238.117.67: seq=2 ttl=62 time=1.015 ms
--- 41.238.117.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.924/2.913/6.802 ms
2024-11-03 19:57:11,231 - INFO - Ping to IP 41.238.117.67 from VM ctest-TestRoutersBasic-15635962-51281107 passed
2024-11-03 19:57:11,231 - INFO - Deleting interface with subnet_id a4c744fa-f4ba-430b-b6dc-9b3eb2c59b9d, port_id None from router 795fc2b7-d2a3-43a6-a1dc-a571125bf31c
2024-11-03 19:57:11,474 - INFO - Deleting VM ctest-TestRoutersBasic-15635962-06623610
2024-11-03 19:57:11,535 - INFO - Deleting VM ctest-TestRoutersBasic-15635962-51281107
2024-11-03 19:57:11,617 - INFO - Deleting VN ctest-ext_vn-57803652
2024-11-03 19:57:11,687 - DEBUG - VN 9a2ac190-e6af-4616-a77a-cb4bafdf1cd4 still in use: Unable to complete operation on network 9a2ac190-e6af-4616-a77a-cb4bafdf1cd4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-796193d7-68c4-490f-bcf1-281537ef7012']
2024-11-03 19:57:11,687 - WARNING - Deleting VN ctest-ext_vn-57803652 failed..Will retry
2024-11-03 19:57:13,794 - DEBUG - Response for deleting network ()
2024-11-03 19:57:13,794 - INFO - Deleting VN ctest-vn-94895308
2024-11-03 19:57:13,893 - DEBUG - Response for deleting network ()
2024-11-03 19:57:14,146 - DEBUG - No XMPP flaps were noticed during the test
2024-11-03 19:57:14,147 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-03 19:57:14,147 - INFO - --------------------------------------------------------------------------------
2024-11-03 19:57:14,866 - INFO - Deleted project: ctest-TestRoutersBasic-15635962, ID : fc083229-69da-47b0-a70c-3eee3fb1ac35