2024-08-20 08:25:50,893 - INFO - Domain Default found not creating
2024-08-20 08:25:51,067 - INFO - Project ctest-TestRoutersBasic-19009299 not found, creating it
2024-08-20 08:25:51,562 - INFO - Created Project:ctest-TestRoutersBasic-19009299, ID : 0e7a6347-9303-426b-ad7b-0f13d6322b51
2024-08-20 08:25:53,181 - INFO - ================================================================================
2024-08-20 08:25:53,182 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-08-20 08:25:53,182 - 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-08-20 08:25:53,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.21': '0'}} with
2024-08-20 08:25:53,441 - INFO - Initial checks done. Running the testcase now
2024-08-20 08:25:53,441 - INFO -
2024-08-20 08:25:54,152 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19009299
2024-08-20 08:25:54,247 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19009299
2024-08-20 08:25:54,571 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19009299', 'default']}
2024-08-20 08:25:54,860 - DEBUG - Response for create_network : {'network': {'id': '096d8626-c34b-4eac-bedc-b41f5a00d03d', 'name': 'ctest-vn-97649501', 'tenant_id': '0e7a63479303426bad7b0f13d6322b51', 'project_id': '0e7a63479303426bad7b0f13d6322b51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19009299', 'ctest-vn-97649501'], 'port_security_enabled': True, 'description': ''}}
2024-08-20 08:25:55,014 - DEBUG - Response for create_subnet : {'subnet': {'id': '36263690-9fec-4613-91bc-0f89ccb43dd7', 'name': '', 'tenant_id': '0e7a63479303426bad7b0f13d6322b51', 'network_id': '096d8626-c34b-4eac-bedc-b41f5a00d03d', 'ip_version': 4, 'cidr': '75.226.63.128/26', 'allocation_pools': [{'start': '75.226.63.130', 'end': '75.226.63.190'}], 'gateway_ip': '75.226.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.226.63.130', 'tags': [], 'project_id': '0e7a63479303426bad7b0f13d6322b51'}}
2024-08-20 08:25:55,033 - INFO - Created VN ctest-vn-97649501
2024-08-20 08:25:55,083 - DEBUG - VN ctest-vn-97649501 UUID is 096d8626-c34b-4eac-bedc-b41f5a00d03d
2024-08-20 08:25:55,400 - DEBUG - Response for create_network : {'network': {'id': '74b32166-ee0b-42eb-8995-93eba15444fb', 'name': 'ctest-ext_vn-31435195', 'tenant_id': '0e7a63479303426bad7b0f13d6322b51', 'project_id': '0e7a63479303426bad7b0f13d6322b51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19009299', 'ctest-ext_vn-31435195'], 'port_security_enabled': True, 'description': ''}}
2024-08-20 08:25:55,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e41fc38-9c7e-46e5-bcd5-f7b7191e07c5', 'name': '', 'tenant_id': '0e7a63479303426bad7b0f13d6322b51', 'network_id': '74b32166-ee0b-42eb-8995-93eba15444fb', 'ip_version': 4, 'cidr': '49.209.157.192/26', 'allocation_pools': [{'start': '49.209.157.194', 'end': '49.209.157.254'}], 'gateway_ip': '49.209.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.209.157.194', 'tags': [], 'project_id': '0e7a63479303426bad7b0f13d6322b51'}}
2024-08-20 08:25:55,585 - INFO - Created VN ctest-ext_vn-31435195
2024-08-20 08:25:55,635 - DEBUG - VN ctest-ext_vn-31435195 UUID is 74b32166-ee0b-42eb-8995-93eba15444fb
2024-08-20 08:25:55,805 - DEBUG - Services list from nova: [, , ]
2024-08-20 08:25:56,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1672-1)
2024-08-20 08:25:57,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1672-1)
2024-08-20 08:25:58,039 - INFO - Setting gateway for router b9f89125-8466-405c-bb17-b492df84a14f to network 74b32166-ee0b-42eb-8995-93eba15444fb
2024-08-20 08:25:58,126 - INFO - Adding interface with subnet_id 36263690-9fec-4613-91bc-0f89ccb43dd7, port_id None to router b9f89125-8466-405c-bb17-b492df84a14f
2024-08-20 08:25:58,600 - INFO - Waiting for VM ctest-TestRoutersBasic-19009299-50098822 to be up..
2024-08-20 08:25:58,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-08-20 08:26:03,848 - DEBUG - VM is in ACTIVE state now
2024-08-20 08:26:03,848 - INFO - VM name : ctest-TestRoutersBasic-19009299-50098822
2024-08-20 08:26:03,925 - DEBUG - VM ctest-TestRoutersBasic-19009299-50098822 ID is 27d55b1e-924d-4ff0-b220-376fe264677a
2024-08-20 08:26:03,945 - DEBUG - VM ctest-TestRoutersBasic-19009299-50098822 launched on Node cn-jenkins-deploy-platform-ansible-os-1672-1
2024-08-20 08:26:04,026 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/27d55b1e-924d-4ff0-b220-376fe264677a
2024-08-20 08:26:04,345 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/27d55b1e-924d-4ff0-b220-376fe264677a
2024-08-20 08:26:04,379 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/6675a61f-8e3f-41bc-a01c-294a3cf94a7d
2024-08-20 08:26:07,723 - 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 1032ms')
2024-08-20 08:26:07,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19009299-50098822 failed!
2024-08-20 08:26:07,779 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19009299:ctest-vn-97649501 is 75.226.63.129 and allocation pool is NOT set
2024-08-20 08:26:09,835 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.651 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.651/1.765/2.879/1.114 ms')
2024-08-20 08:26:09,835 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19009299-50098822 passed
2024-08-20 08:26:09,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-20 08:26:09,991 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19009299-50098822, IP 75.226.63.131, Port 22
2024-08-20 08:26:10,151 - DEBUG - VM ctest-TestRoutersBasic-19009299-50098822 is ready for SSH connections
2024-08-20 08:26:10,151 - INFO - Waiting for VM ctest-TestRoutersBasic-19009299-20717101 to be up..
2024-08-20 08:26:10,240 - DEBUG - VM is in ACTIVE state now
2024-08-20 08:26:10,241 - INFO - VM name : ctest-TestRoutersBasic-19009299-20717101
2024-08-20 08:26:10,320 - DEBUG - VM ctest-TestRoutersBasic-19009299-20717101 ID is dc5ff4d9-1349-4100-b3da-2b2ce81a1374
2024-08-20 08:26:10,320 - DEBUG - VM ctest-TestRoutersBasic-19009299-20717101 launched on Node cn-jenkins-deploy-platform-ansible-os-1672-1
2024-08-20 08:26:10,393 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/dc5ff4d9-1349-4100-b3da-2b2ce81a1374
2024-08-20 08:26:10,402 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/52da1509-947c-4ab5-8355-e04fe593574d
2024-08-20 08:26:11,651 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.346 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.346/1.529/2.713/1.183 ms')
2024-08-20 08:26:11,651 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19009299-20717101 passed
2024-08-20 08:26:11,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-20 08:26:11,799 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19009299-20717101, IP 49.209.157.195, Port 22
2024-08-20 08:26:11,954 - DEBUG - VM ctest-TestRoutersBasic-19009299-20717101 is ready for SSH connections
2024-08-20 08:26:11,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-20 08:26:11,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.209.157.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-08-20 08:26:11,954 - DEBUG - ping -s 56 -c 3 -W 1 49.209.157.195
2024-08-20 08:26:15,633 - DEBUG - PING 49.209.157.195 (49.209.157.195): 56 data bytes
64 bytes from 49.209.157.195: seq=0 ttl=62 time=4.837 ms
64 bytes from 49.209.157.195: seq=1 ttl=62 time=0.834 ms
64 bytes from 49.209.157.195: seq=2 ttl=62 time=0.832 ms
--- 49.209.157.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.832/2.167/4.837 ms
2024-08-20 08:26:15,633 - INFO - Ping to IP 49.209.157.195 from VM ctest-TestRoutersBasic-19009299-50098822 passed
2024-08-20 08:26:15,633 - INFO - Deleting interface with subnet_id 36263690-9fec-4613-91bc-0f89ccb43dd7, port_id None from router b9f89125-8466-405c-bb17-b492df84a14f
2024-08-20 08:26:15,854 - INFO - Deleting VM ctest-TestRoutersBasic-19009299-20717101
2024-08-20 08:26:15,919 - INFO - Deleting VM ctest-TestRoutersBasic-19009299-50098822
2024-08-20 08:26:16,004 - INFO - Deleting VN ctest-ext_vn-31435195
2024-08-20 08:26:16,085 - DEBUG - VN 74b32166-ee0b-42eb-8995-93eba15444fb still in use: Unable to complete operation on network 74b32166-ee0b-42eb-8995-93eba15444fb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-de258af2-00cc-4700-9243-e2fece6c762c']
2024-08-20 08:26:16,085 - WARNING - Deleting VN ctest-ext_vn-31435195 failed..Will retry
2024-08-20 08:26:18,204 - DEBUG - Response for deleting network ()
2024-08-20 08:26:18,204 - INFO - Deleting VN ctest-vn-97649501
2024-08-20 08:26:18,308 - DEBUG - Response for deleting network ()
2024-08-20 08:26:18,560 - DEBUG - No XMPP flaps were noticed during the test
2024-08-20 08:26:18,560 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-08-20 08:26:18,560 - INFO - --------------------------------------------------------------------------------
2024-08-20 08:26:19,236 - INFO - Deleted project: ctest-TestRoutersBasic-19009299, ID : 0e7a6347-9303-426b-ad7b-0f13d6322b51