2024-11-14 22:47:35,444 - INFO - Domain Default found not creating
2024-11-14 22:47:35,618 - INFO - Project ctest-TestRoutersBasic-11608915 not found, creating it
2024-11-14 22:47:36,135 - INFO - Created Project:ctest-TestRoutersBasic-11608915, ID : 08abf36b-48eb-49a9-986f-08ae05ebe995
2024-11-14 22:47:38,526 - INFO - ================================================================================
2024-11-14 22:47:38,527 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-14 22:47:38,527 - 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-14 22:47:38,788 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.7': '0'}} with
2024-11-14 22:47:38,788 - INFO - Initial checks done. Running the testcase now
2024-11-14 22:47:38,788 - INFO -
2024-11-14 22:47:39,603 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11608915
2024-11-14 22:47:39,709 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11608915
2024-11-14 22:47:40,061 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11608915', 'default']}
2024-11-14 22:47:40,434 - DEBUG - Response for create_network : {'network': {'id': '34c76ef5-ae13-403f-a61b-9f0adccb3b4e', 'name': 'ctest-vn-35063048', 'tenant_id': '08abf36b48eb49a9986f08ae05ebe995', 'project_id': '08abf36b48eb49a9986f08ae05ebe995', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11608915', 'ctest-vn-35063048'], 'port_security_enabled': True, 'description': ''}}
2024-11-14 22:47:40,685 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad0bddb3-aafb-46d2-a53c-2773d8715c43', 'name': '', 'tenant_id': '08abf36b48eb49a9986f08ae05ebe995', 'network_id': '34c76ef5-ae13-403f-a61b-9f0adccb3b4e', 'ip_version': 4, 'cidr': '21.143.150.0/26', 'allocation_pools': [{'start': '21.143.150.2', 'end': '21.143.150.62'}], 'gateway_ip': '21.143.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.143.150.2', 'tags': [], 'project_id': '08abf36b48eb49a9986f08ae05ebe995'}}
2024-11-14 22:47:40,710 - INFO - Created VN ctest-vn-35063048
2024-11-14 22:47:40,773 - DEBUG - VN ctest-vn-35063048 UUID is 34c76ef5-ae13-403f-a61b-9f0adccb3b4e
2024-11-14 22:47:41,150 - DEBUG - Response for create_network : {'network': {'id': '5e5807dd-6dad-451d-abbc-0dfb53184fcf', 'name': 'ctest-ext_vn-93920790', 'tenant_id': '08abf36b48eb49a9986f08ae05ebe995', 'project_id': '08abf36b48eb49a9986f08ae05ebe995', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11608915', 'ctest-ext_vn-93920790'], 'port_security_enabled': True, 'description': ''}}
2024-11-14 22:47:41,310 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcf601a6-9b39-4b67-b85a-01a685dff9d4', 'name': '', 'tenant_id': '08abf36b48eb49a9986f08ae05ebe995', 'network_id': '5e5807dd-6dad-451d-abbc-0dfb53184fcf', 'ip_version': 4, 'cidr': '16.95.180.192/26', 'allocation_pools': [{'start': '16.95.180.194', 'end': '16.95.180.254'}], 'gateway_ip': '16.95.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.95.180.194', 'tags': [], 'project_id': '08abf36b48eb49a9986f08ae05ebe995'}}
2024-11-14 22:47:41,334 - INFO - Created VN ctest-ext_vn-93920790
2024-11-14 22:47:41,393 - DEBUG - VN ctest-ext_vn-93920790 UUID is 5e5807dd-6dad-451d-abbc-0dfb53184fcf
2024-11-14 22:47:41,583 - DEBUG - Services list from nova: [, , ]
2024-11-14 22:47:42,740 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2305-1)
2024-11-14 22:47:44,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2305-1)
2024-11-14 22:47:44,159 - INFO - Setting gateway for router ed9b8a7e-4540-4bd2-9328-7331c62393dc to network 5e5807dd-6dad-451d-abbc-0dfb53184fcf
2024-11-14 22:47:44,228 - INFO - Adding interface with subnet_id ad0bddb3-aafb-46d2-a53c-2773d8715c43, port_id None to router ed9b8a7e-4540-4bd2-9328-7331c62393dc
2024-11-14 22:47:44,578 - INFO - Waiting for VM ctest-TestRoutersBasic-11608915-02937240 to be up..
2024-11-14 22:47:44,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-14 22:47:49,894 - DEBUG - VM is in ACTIVE state now
2024-11-14 22:47:49,895 - INFO - VM name : ctest-TestRoutersBasic-11608915-02937240
2024-11-14 22:47:49,976 - DEBUG - VM ctest-TestRoutersBasic-11608915-02937240 ID is 216a5db8-b146-4abc-a2ab-820fa0dff535
2024-11-14 22:47:49,995 - DEBUG - VM ctest-TestRoutersBasic-11608915-02937240 launched on Node cn-jenkins-deploy-platform-ansible-os-2305-1
2024-11-14 22:47:50,080 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/216a5db8-b146-4abc-a2ab-820fa0dff535
2024-11-14 22:47:50,418 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/216a5db8-b146-4abc-a2ab-820fa0dff535
2024-11-14 22:47:50,460 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/c5b76c09-df31-4c2e-a148-ace9d65ab22a
2024-11-14 22:47:53,735 - 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 1023ms')
2024-11-14 22:47:53,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11608915-02937240 failed!
2024-11-14 22:47:53,801 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11608915:ctest-vn-35063048 is 21.143.150.1 and allocation pool is NOT set
2024-11-14 22:47:55,863 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.523 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.523/1.844/3.166/1.321 ms')
2024-11-14 22:47:55,864 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11608915-02937240 passed
2024-11-14 22:47:56,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 22:47:56,025 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11608915-02937240, IP 21.143.150.3, Port 22
2024-11-14 22:47:56,181 - DEBUG - VM ctest-TestRoutersBasic-11608915-02937240 is ready for SSH connections
2024-11-14 22:47:56,181 - INFO - Waiting for VM ctest-TestRoutersBasic-11608915-34741184 to be up..
2024-11-14 22:47:56,275 - DEBUG - VM is in ACTIVE state now
2024-11-14 22:47:56,275 - INFO - VM name : ctest-TestRoutersBasic-11608915-34741184
2024-11-14 22:47:56,378 - DEBUG - VM ctest-TestRoutersBasic-11608915-34741184 ID is 78c90c41-b473-4c64-be3c-69489d2b67a7
2024-11-14 22:47:56,378 - DEBUG - VM ctest-TestRoutersBasic-11608915-34741184 launched on Node cn-jenkins-deploy-platform-ansible-os-2305-1
2024-11-14 22:47:56,462 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/78c90c41-b473-4c64-be3c-69489d2b67a7
2024-11-14 22:47:56,474 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/4e22b4df-aae8-4513-90f4-cf9644087a42
2024-11-14 22:47:57,741 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.846 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.846/2.165/3.484/1.319 ms')
2024-11-14 22:47:57,741 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11608915-34741184 passed
2024-11-14 22:47:57,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 22:47:57,901 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11608915-34741184, IP 16.95.180.195, Port 22
2024-11-14 22:47:58,067 - DEBUG - VM ctest-TestRoutersBasic-11608915-34741184 is ready for SSH connections
2024-11-14 22:47:58,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 22:47:58,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.95.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2024-11-14 22:47:58,067 - DEBUG - ping -s 56 -c 3 -W 1 16.95.180.195
2024-11-14 22:48:01,802 - DEBUG - PING 16.95.180.195 (16.95.180.195): 56 data bytes
64 bytes from 16.95.180.195: seq=0 ttl=62 time=7.509 ms
64 bytes from 16.95.180.195: seq=1 ttl=62 time=0.890 ms
64 bytes from 16.95.180.195: seq=2 ttl=62 time=0.989 ms
--- 16.95.180.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.890/3.129/7.509 ms
2024-11-14 22:48:01,802 - INFO - Ping to IP 16.95.180.195 from VM ctest-TestRoutersBasic-11608915-02937240 passed
2024-11-14 22:48:01,803 - INFO - Deleting interface with subnet_id ad0bddb3-aafb-46d2-a53c-2773d8715c43, port_id None from router ed9b8a7e-4540-4bd2-9328-7331c62393dc
2024-11-14 22:48:02,047 - INFO - Deleting VM ctest-TestRoutersBasic-11608915-34741184
2024-11-14 22:48:02,113 - INFO - Deleting VM ctest-TestRoutersBasic-11608915-02937240
2024-11-14 22:48:02,189 - INFO - Deleting VN ctest-ext_vn-93920790
2024-11-14 22:48:02,267 - DEBUG - VN 5e5807dd-6dad-451d-abbc-0dfb53184fcf still in use: Unable to complete operation on network 5e5807dd-6dad-451d-abbc-0dfb53184fcf. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5c339514-b683-4b2b-ae30-cda873333efe']
2024-11-14 22:48:02,267 - WARNING - Deleting VN ctest-ext_vn-93920790 failed..Will retry
2024-11-14 22:48:04,399 - DEBUG - Response for deleting network ()
2024-11-14 22:48:04,399 - INFO - Deleting VN ctest-vn-35063048
2024-11-14 22:48:04,528 - DEBUG - Response for deleting network ()
2024-11-14 22:48:04,788 - DEBUG - No XMPP flaps were noticed during the test
2024-11-14 22:48:04,788 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-14 22:48:04,788 - INFO - --------------------------------------------------------------------------------
2024-11-14 22:48:05,532 - INFO - Deleted project: ctest-TestRoutersBasic-11608915, ID : 08abf36b-48eb-49a9-986f-08ae05ebe995