2024-10-24 11:41:26,016 - INFO - Domain Default found not creating
2024-10-24 11:41:26,210 - INFO - Project ctest-TestRoutersBasic-76184836 not found, creating it
2024-10-24 11:41:26,727 - INFO - Created Project:ctest-TestRoutersBasic-76184836, ID : 6b26ff21-773a-4677-93ae-6053fb4b516a
2024-10-24 11:41:28,319 - INFO - ================================================================================
2024-10-24 11:41:28,320 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-24 11:41:28,320 - 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-10-24 11:41:28,584 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.6': '0'}} with
2024-10-24 11:41:28,584 - INFO - Initial checks done. Running the testcase now
2024-10-24 11:41:28,584 - INFO -
2024-10-24 11:41:29,455 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76184836
2024-10-24 11:41:29,593 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76184836
2024-10-24 11:41:29,980 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76184836', 'default']}
2024-10-24 11:41:30,320 - DEBUG - Response for create_network : {'network': {'id': '4ea48791-b1cf-4878-814b-33002c6dcb28', 'name': 'ctest-vn-50439609', 'tenant_id': '6b26ff21773a467793ae6053fb4b516a', 'project_id': '6b26ff21773a467793ae6053fb4b516a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76184836', 'ctest-vn-50439609'], 'port_security_enabled': True, 'description': ''}}
2024-10-24 11:41:30,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '86cd7f92-feff-440c-85c3-899716dd750c', 'name': '', 'tenant_id': '6b26ff21773a467793ae6053fb4b516a', 'network_id': '4ea48791-b1cf-4878-814b-33002c6dcb28', 'ip_version': 4, 'cidr': '206.250.125.0/26', 'allocation_pools': [{'start': '206.250.125.2', 'end': '206.250.125.62'}], 'gateway_ip': '206.250.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.250.125.2', 'tags': [], 'project_id': '6b26ff21773a467793ae6053fb4b516a'}}
2024-10-24 11:41:30,550 - INFO - Created VN ctest-vn-50439609
2024-10-24 11:41:30,612 - DEBUG - VN ctest-vn-50439609 UUID is 4ea48791-b1cf-4878-814b-33002c6dcb28
2024-10-24 11:41:31,005 - DEBUG - Response for create_network : {'network': {'id': '2a456d81-ad98-4f09-b178-cd25b7bab092', 'name': 'ctest-ext_vn-51407352', 'tenant_id': '6b26ff21773a467793ae6053fb4b516a', 'project_id': '6b26ff21773a467793ae6053fb4b516a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76184836', 'ctest-ext_vn-51407352'], 'port_security_enabled': True, 'description': ''}}
2024-10-24 11:41:31,216 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f652662b-7e29-4bf5-90a9-78125d60cf6d', 'name': '', 'tenant_id': '6b26ff21773a467793ae6053fb4b516a', 'network_id': '2a456d81-ad98-4f09-b178-cd25b7bab092', 'ip_version': 4, 'cidr': '11.143.43.192/26', 'allocation_pools': [{'start': '11.143.43.194', 'end': '11.143.43.254'}], 'gateway_ip': '11.143.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.143.43.194', 'tags': [], 'project_id': '6b26ff21773a467793ae6053fb4b516a'}}
2024-10-24 11:41:31,237 - INFO - Created VN ctest-ext_vn-51407352
2024-10-24 11:41:31,296 - DEBUG - VN ctest-ext_vn-51407352 UUID is 2a456d81-ad98-4f09-b178-cd25b7bab092
2024-10-24 11:41:31,484 - DEBUG - Services list from nova: [, , ]
2024-10-24 11:41:32,612 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2138-1)
2024-10-24 11:41:33,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2138-1)
2024-10-24 11:41:33,977 - INFO - Setting gateway for router 56dfc2a0-5c35-4b61-8966-03507c7d34ed to network 2a456d81-ad98-4f09-b178-cd25b7bab092
2024-10-24 11:41:34,062 - INFO - Adding interface with subnet_id 86cd7f92-feff-440c-85c3-899716dd750c, port_id None to router 56dfc2a0-5c35-4b61-8966-03507c7d34ed
2024-10-24 11:41:34,504 - INFO - Waiting for VM ctest-TestRoutersBasic-76184836-29929821 to be up..
2024-10-24 11:41:34,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-24 11:41:39,795 - DEBUG - VM is in ACTIVE state now
2024-10-24 11:41:39,795 - INFO - VM name : ctest-TestRoutersBasic-76184836-29929821
2024-10-24 11:41:39,894 - DEBUG - VM ctest-TestRoutersBasic-76184836-29929821 ID is b9d3f4c6-fd56-43c6-a0d4-d69ffa643a1b
2024-10-24 11:41:39,923 - DEBUG - VM ctest-TestRoutersBasic-76184836-29929821 launched on Node cn-jenkins-deploy-platform-ansible-os-2138-1
2024-10-24 11:41:40,030 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/b9d3f4c6-fd56-43c6-a0d4-d69ffa643a1b
2024-10-24 11:41:40,336 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/b9d3f4c6-fd56-43c6-a0d4-d69ffa643a1b
2024-10-24 11:41:40,377 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/b4479051-2e14-47c9-a1a7-6a6cb4ae47e3
2024-10-24 11:41:43,649 - 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 1011ms')
2024-10-24 11:41:43,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76184836-29929821 failed!
2024-10-24 11:41:43,716 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76184836:ctest-vn-50439609 is 206.250.125.1 and allocation pool is NOT set
2024-10-24 11:41:45,772 - 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=5.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.897 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.897/3.223/5.550/2.326 ms')
2024-10-24 11:41:45,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76184836-29929821 passed
2024-10-24 11:41:45,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 11:41:45,933 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76184836-29929821, IP 206.250.125.3, Port 22
2024-10-24 11:41:46,089 - DEBUG - VM ctest-TestRoutersBasic-76184836-29929821 is ready for SSH connections
2024-10-24 11:41:46,089 - INFO - Waiting for VM ctest-TestRoutersBasic-76184836-38972642 to be up..
2024-10-24 11:41:46,182 - DEBUG - VM is in ACTIVE state now
2024-10-24 11:41:46,183 - INFO - VM name : ctest-TestRoutersBasic-76184836-38972642
2024-10-24 11:41:46,269 - DEBUG - VM ctest-TestRoutersBasic-76184836-38972642 ID is ae48cd6c-8712-4124-81cd-0e086c40c8a3
2024-10-24 11:41:46,269 - DEBUG - VM ctest-TestRoutersBasic-76184836-38972642 launched on Node cn-jenkins-deploy-platform-ansible-os-2138-1
2024-10-24 11:41:46,363 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/ae48cd6c-8712-4124-81cd-0e086c40c8a3
2024-10-24 11:41:46,376 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/970f3a9e-a450-4836-bc7f-dce0d5539821
2024-10-24 11:41:47,637 - 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=4.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.93 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 = 1.927/3.421/4.916/1.494 ms')
2024-10-24 11:41:47,637 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76184836-38972642 passed
2024-10-24 11:41:47,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 11:41:47,805 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76184836-38972642, IP 11.143.43.195, Port 22
2024-10-24 11:41:47,964 - DEBUG - VM ctest-TestRoutersBasic-76184836-38972642 is ready for SSH connections
2024-10-24 11:41:47,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 11:41:47,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.143.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123
2024-10-24 11:41:47,965 - DEBUG - ping -s 56 -c 3 -W 1 11.143.43.195
2024-10-24 11:41:51,678 - DEBUG - PING 11.143.43.195 (11.143.43.195): 56 data bytes
64 bytes from 11.143.43.195: seq=0 ttl=62 time=4.794 ms
64 bytes from 11.143.43.195: seq=1 ttl=62 time=1.131 ms
64 bytes from 11.143.43.195: seq=2 ttl=62 time=0.972 ms
--- 11.143.43.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.972/2.299/4.794 ms
2024-10-24 11:41:51,679 - INFO - Ping to IP 11.143.43.195 from VM ctest-TestRoutersBasic-76184836-29929821 passed
2024-10-24 11:41:51,679 - INFO - Deleting interface with subnet_id 86cd7f92-feff-440c-85c3-899716dd750c, port_id None from router 56dfc2a0-5c35-4b61-8966-03507c7d34ed
2024-10-24 11:41:51,951 - INFO - Deleting VM ctest-TestRoutersBasic-76184836-38972642
2024-10-24 11:41:52,048 - INFO - Deleting VM ctest-TestRoutersBasic-76184836-29929821
2024-10-24 11:41:52,154 - INFO - Deleting VN ctest-ext_vn-51407352
2024-10-24 11:41:52,253 - DEBUG - VN 2a456d81-ad98-4f09-b178-cd25b7bab092 still in use: Unable to complete operation on network 2a456d81-ad98-4f09-b178-cd25b7bab092. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-38c73ff9-9189-4063-a91b-ebb2ebd05f20']
2024-10-24 11:41:52,254 - WARNING - Deleting VN ctest-ext_vn-51407352 failed..Will retry
2024-10-24 11:41:54,381 - DEBUG - Response for deleting network ()
2024-10-24 11:41:54,381 - INFO - Deleting VN ctest-vn-50439609
2024-10-24 11:41:54,512 - DEBUG - Response for deleting network ()
2024-10-24 11:41:54,770 - DEBUG - No XMPP flaps were noticed during the test
2024-10-24 11:41:54,771 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-10-24 11:41:54,771 - INFO - --------------------------------------------------------------------------------
2024-10-24 11:41:55,545 - INFO - Deleted project: ctest-TestRoutersBasic-76184836, ID : 6b26ff21-773a-4677-93ae-6053fb4b516a