2025-01-07 11:39:31,607 - INFO - Domain Default found not creating
2025-01-07 11:39:31,784 - INFO - Project ctest-TestRoutersBasic-68875931 not found, creating it
2025-01-07 11:39:32,276 - INFO - Created Project:ctest-TestRoutersBasic-68875931, ID : 8b9ea2ea-3b8e-4de4-a27d-da1a8d8c8a0e
2025-01-07 11:39:33,859 - INFO - ================================================================================
2025-01-07 11:39:33,859 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-07 11:39:33,859 - 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
2025-01-07 11:39:34,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.5': '0'}} with
2025-01-07 11:39:34,119 - INFO - Initial checks done. Running the testcase now
2025-01-07 11:39:34,119 - INFO -
2025-01-07 11:39:34,840 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68875931
2025-01-07 11:39:34,938 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68875931
2025-01-07 11:39:35,266 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68875931', 'default']}
2025-01-07 11:39:35,583 - DEBUG - Response for create_network : {'network': {'id': 'f7a079ae-ee64-465e-b212-3b5ace7e631f', 'name': 'ctest-vn-73910541', 'tenant_id': '8b9ea2ea3b8e4de4a27dda1a8d8c8a0e', 'project_id': '8b9ea2ea3b8e4de4a27dda1a8d8c8a0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68875931', 'ctest-vn-73910541'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 11:39:35,809 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b911c050-f3f2-4885-922c-37451aa30ada', 'name': '', 'tenant_id': '8b9ea2ea3b8e4de4a27dda1a8d8c8a0e', 'network_id': 'f7a079ae-ee64-465e-b212-3b5ace7e631f', 'ip_version': 4, 'cidr': '70.3.148.128/26', 'allocation_pools': [{'start': '70.3.148.130', 'end': '70.3.148.190'}], 'gateway_ip': '70.3.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.3.148.130', 'tags': [], 'project_id': '8b9ea2ea3b8e4de4a27dda1a8d8c8a0e'}}
2025-01-07 11:39:35,847 - INFO - Created VN ctest-vn-73910541
2025-01-07 11:39:35,902 - DEBUG - VN ctest-vn-73910541 UUID is f7a079ae-ee64-465e-b212-3b5ace7e631f
2025-01-07 11:39:36,237 - DEBUG - Response for create_network : {'network': {'id': '306ca2d2-d4f7-4772-92d7-3c9df7ebcf12', 'name': 'ctest-ext_vn-84798322', 'tenant_id': '8b9ea2ea3b8e4de4a27dda1a8d8c8a0e', 'project_id': '8b9ea2ea3b8e4de4a27dda1a8d8c8a0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68875931', 'ctest-ext_vn-84798322'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 11:39:36,457 - DEBUG - Response for create_subnet : {'subnet': {'id': '938baaca-9d38-4c91-be84-68f0d4605e87', 'name': '', 'tenant_id': '8b9ea2ea3b8e4de4a27dda1a8d8c8a0e', 'network_id': '306ca2d2-d4f7-4772-92d7-3c9df7ebcf12', 'ip_version': 4, 'cidr': '117.106.43.128/26', 'allocation_pools': [{'start': '117.106.43.130', 'end': '117.106.43.190'}], 'gateway_ip': '117.106.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.106.43.130', 'tags': [], 'project_id': '8b9ea2ea3b8e4de4a27dda1a8d8c8a0e'}}
2025-01-07 11:39:36,475 - INFO - Created VN ctest-ext_vn-84798322
2025-01-07 11:39:36,534 - DEBUG - VN ctest-ext_vn-84798322 UUID is 306ca2d2-d4f7-4772-92d7-3c9df7ebcf12
2025-01-07 11:39:36,715 - DEBUG - Services list from nova: [, , ]
2025-01-07 11:39:37,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2548-1)
2025-01-07 11:39:38,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2548-1)
2025-01-07 11:39:39,077 - INFO - Setting gateway for router fd7f8eb7-ed16-4c1a-8793-54b26fa6e24a to network 306ca2d2-d4f7-4772-92d7-3c9df7ebcf12
2025-01-07 11:39:39,165 - INFO - Adding interface with subnet_id b911c050-f3f2-4885-922c-37451aa30ada, port_id None to router fd7f8eb7-ed16-4c1a-8793-54b26fa6e24a
2025-01-07 11:39:39,568 - INFO - Waiting for VM ctest-TestRoutersBasic-68875931-54465006 to be up..
2025-01-07 11:39:39,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-07 11:39:44,836 - DEBUG - VM is in ACTIVE state now
2025-01-07 11:39:44,836 - INFO - VM name : ctest-TestRoutersBasic-68875931-54465006
2025-01-07 11:39:44,929 - DEBUG - VM ctest-TestRoutersBasic-68875931-54465006 ID is e2b3a948-0291-47f2-90ea-03219c411025
2025-01-07 11:39:44,952 - DEBUG - VM ctest-TestRoutersBasic-68875931-54465006 launched on Node cn-jenkins-deploy-platform-ansible-os-2548-1
2025-01-07 11:39:45,037 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/e2b3a948-0291-47f2-90ea-03219c411025
2025-01-07 11:39:45,345 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/e2b3a948-0291-47f2-90ea-03219c411025
2025-01-07 11:39:45,387 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/d9fdfcfd-d414-4213-aee8-8256eca2e5f9
2025-01-07 11:39:48,651 - 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 1014ms')
2025-01-07 11:39:48,651 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68875931-54465006 failed!
2025-01-07 11:39:48,706 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68875931:ctest-vn-73910541 is 70.3.148.129 and allocation pool is NOT set
2025-01-07 11:39:50,773 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.72 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.724/2.841/2.959/0.117 ms')
2025-01-07 11:39:50,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68875931-54465006 passed
2025-01-07 11:39:50,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:39:50,926 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68875931-54465006, IP 70.3.148.131, Port 22
2025-01-07 11:39:51,097 - DEBUG - VM ctest-TestRoutersBasic-68875931-54465006 is ready for SSH connections
2025-01-07 11:39:51,097 - INFO - Waiting for VM ctest-TestRoutersBasic-68875931-80607230 to be up..
2025-01-07 11:39:51,180 - DEBUG - VM is in ACTIVE state now
2025-01-07 11:39:51,180 - INFO - VM name : ctest-TestRoutersBasic-68875931-80607230
2025-01-07 11:39:51,261 - DEBUG - VM ctest-TestRoutersBasic-68875931-80607230 ID is fb34006b-acef-477d-8127-d03d79734ca5
2025-01-07 11:39:51,262 - DEBUG - VM ctest-TestRoutersBasic-68875931-80607230 launched on Node cn-jenkins-deploy-platform-ansible-os-2548-1
2025-01-07 11:39:51,353 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/fb34006b-acef-477d-8127-d03d79734ca5
2025-01-07 11:39:51,365 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/26951ae0-dc48-4b62-aa4f-c70fd3c451cd
2025-01-07 11:39:52,633 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 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.475/1.668/2.862/1.193 ms')
2025-01-07 11:39:52,634 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68875931-80607230 passed
2025-01-07 11:39:52,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:39:52,790 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68875931-80607230, IP 117.106.43.131, Port 22
2025-01-07 11:39:52,946 - DEBUG - VM ctest-TestRoutersBasic-68875931-80607230 is ready for SSH connections
2025-01-07 11:39:52,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:39:52,946 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.106.43.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123
2025-01-07 11:39:52,946 - DEBUG - ping -s 56 -c 3 -W 1 117.106.43.131
2025-01-07 11:39:56,635 - DEBUG - PING 117.106.43.131 (117.106.43.131): 56 data bytes
64 bytes from 117.106.43.131: seq=0 ttl=62 time=6.241 ms
64 bytes from 117.106.43.131: seq=1 ttl=62 time=0.884 ms
64 bytes from 117.106.43.131: seq=2 ttl=62 time=0.909 ms
--- 117.106.43.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.884/2.678/6.241 ms
2025-01-07 11:39:56,635 - INFO - Ping to IP 117.106.43.131 from VM ctest-TestRoutersBasic-68875931-54465006 passed
2025-01-07 11:39:56,635 - INFO - Deleting interface with subnet_id b911c050-f3f2-4885-922c-37451aa30ada, port_id None from router fd7f8eb7-ed16-4c1a-8793-54b26fa6e24a
2025-01-07 11:39:56,853 - INFO - Deleting VM ctest-TestRoutersBasic-68875931-80607230
2025-01-07 11:39:56,919 - INFO - Deleting VM ctest-TestRoutersBasic-68875931-54465006
2025-01-07 11:39:57,015 - INFO - Deleting VN ctest-ext_vn-84798322
2025-01-07 11:39:57,095 - DEBUG - VN 306ca2d2-d4f7-4772-92d7-3c9df7ebcf12 still in use: Unable to complete operation on network 306ca2d2-d4f7-4772-92d7-3c9df7ebcf12. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f6cfcebd-2629-4c0f-94e7-4197ab8e5b3d']
2025-01-07 11:39:57,095 - WARNING - Deleting VN ctest-ext_vn-84798322 failed..Will retry
2025-01-07 11:39:59,203 - DEBUG - Response for deleting network ()
2025-01-07 11:39:59,203 - INFO - Deleting VN ctest-vn-73910541
2025-01-07 11:39:59,322 - DEBUG - Response for deleting network ()
2025-01-07 11:39:59,575 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 11:39:59,576 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-07 11:39:59,576 - INFO - --------------------------------------------------------------------------------
2025-01-07 11:40:00,276 - INFO - Deleted project: ctest-TestRoutersBasic-68875931, ID : 8b9ea2ea-3b8e-4de4-a27d-da1a8d8c8a0e