2024-10-19 13:25:01,623 - INFO - Domain Default found not creating
2024-10-19 13:25:01,818 - INFO - Project ctest-TestRoutersBasic-30017186 not found, creating it
2024-10-19 13:25:02,524 - INFO - Created Project:ctest-TestRoutersBasic-30017186, ID : a3da1570-7f34-40ea-ba52-ef5fd31f3f8a
2024-10-19 13:25:04,819 - INFO - ================================================================================
2024-10-19 13:25:04,819 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-19 13:25:04,819 - 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-19 13:25:06,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.17': '0', '10.20.0.7': '0'}, '10.0.0.37': {'10.20.0.17': '0', '10.20.0.7': '0'}} with
2024-10-19 13:25:06,129 - INFO - Initial checks done. Running the testcase now
2024-10-19 13:25:06,129 - INFO -
2024-10-19 13:25:06,882 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30017186
2024-10-19 13:25:06,952 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30017186
2024-10-19 13:25:07,365 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30017186', 'default']}
2024-10-19 13:25:07,908 - DEBUG - Response for create_network : {'network': {'id': '0fb7179c-efce-415e-9c49-40a590fa7e7c', 'name': 'ctest-vn-53473423', 'tenant_id': 'a3da15707f3440eaba52ef5fd31f3f8a', 'project_id': 'a3da15707f3440eaba52ef5fd31f3f8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30017186', 'ctest-vn-53473423'], 'port_security_enabled': True, 'description': ''}}
2024-10-19 13:25:08,235 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b4988f7-38fb-4405-ad8c-34e9f0d37e33', 'name': '', 'tenant_id': 'a3da15707f3440eaba52ef5fd31f3f8a', 'network_id': '0fb7179c-efce-415e-9c49-40a590fa7e7c', 'ip_version': 4, 'cidr': '50.23.185.0/26', 'allocation_pools': [{'start': '50.23.185.2', 'end': '50.23.185.62'}], 'gateway_ip': '50.23.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.23.185.2', 'tags': [], 'project_id': 'a3da15707f3440eaba52ef5fd31f3f8a'}}
2024-10-19 13:25:08,270 - INFO - Created VN ctest-vn-53473423
2024-10-19 13:25:08,297 - DEBUG - VN ctest-vn-53473423 UUID is 0fb7179c-efce-415e-9c49-40a590fa7e7c
2024-10-19 13:25:08,905 - DEBUG - Response for create_network : {'network': {'id': '6c280050-a6eb-4787-8544-1368dee80386', 'name': 'ctest-ext_vn-91446183', 'tenant_id': 'a3da15707f3440eaba52ef5fd31f3f8a', 'project_id': 'a3da15707f3440eaba52ef5fd31f3f8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30017186', 'ctest-ext_vn-91446183'], 'port_security_enabled': True, 'description': ''}}
2024-10-19 13:25:09,281 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7d340b6-44f3-4dc8-8a90-9ac91de19c79', 'name': '', 'tenant_id': 'a3da15707f3440eaba52ef5fd31f3f8a', 'network_id': '6c280050-a6eb-4787-8544-1368dee80386', 'ip_version': 4, 'cidr': '22.164.164.0/26', 'allocation_pools': [{'start': '22.164.164.2', 'end': '22.164.164.62'}], 'gateway_ip': '22.164.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.164.164.2', 'tags': [], 'project_id': 'a3da15707f3440eaba52ef5fd31f3f8a'}}
2024-10-19 13:25:09,308 - INFO - Created VN ctest-ext_vn-91446183
2024-10-19 13:25:09,328 - DEBUG - VN ctest-ext_vn-91446183 UUID is 6c280050-a6eb-4787-8544-1368dee80386
2024-10-19 13:25:09,485 - DEBUG - Services list from nova: [, , , ]
2024-10-19 13:25:10,624 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2117-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2117-2)
2024-10-19 13:25:12,164 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2117-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2117-1)
2024-10-19 13:25:12,323 - INFO - Setting gateway for router d1589f0e-cc1a-4982-81d5-653b9df45343 to network 6c280050-a6eb-4787-8544-1368dee80386
2024-10-19 13:25:12,463 - INFO - Adding interface with subnet_id 5b4988f7-38fb-4405-ad8c-34e9f0d37e33, port_id None to router d1589f0e-cc1a-4982-81d5-653b9df45343
2024-10-19 13:25:13,536 - INFO - Waiting for VM ctest-TestRoutersBasic-30017186-37866286 to be up..
2024-10-19 13:25:13,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-19 13:25:18,897 - DEBUG - VM is in ACTIVE state now
2024-10-19 13:25:18,897 - INFO - VM name : ctest-TestRoutersBasic-30017186-37866286
2024-10-19 13:25:19,004 - DEBUG - VM ctest-TestRoutersBasic-30017186-37866286 ID is 0f4dd751-dfaa-477a-923d-6706a6054dc6
2024-10-19 13:25:19,029 - DEBUG - VM ctest-TestRoutersBasic-30017186-37866286 launched on Node an-jenkins-deploy-platform-ansible-os-2117-2
2024-10-19 13:25:19,137 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/0f4dd751-dfaa-477a-923d-6706a6054dc6
2024-10-19 13:25:19,465 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/0f4dd751-dfaa-477a-923d-6706a6054dc6
2024-10-19 13:25:19,507 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/51dbad05-636c-4c3c-aadc-51817097e6e7
2024-10-19 13:25:22,772 - 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 1022ms')
2024-10-19 13:25:22,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30017186-37866286 failed!
2024-10-19 13:25:22,797 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30017186:ctest-vn-53473423 is 50.23.185.1 and allocation pool is NOT set
2024-10-19 13:25:24,858 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.694 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.694/2.059/3.425/1.365 ms')
2024-10-19 13:25:24,858 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30017186-37866286 passed
2024-10-19 13:25:24,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 13:25:24,984 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30017186-37866286, IP 50.23.185.3, Port 22
2024-10-19 13:25:25,154 - DEBUG - VM ctest-TestRoutersBasic-30017186-37866286 is ready for SSH connections
2024-10-19 13:25:25,155 - INFO - Waiting for VM ctest-TestRoutersBasic-30017186-02852555 to be up..
2024-10-19 13:25:25,261 - DEBUG - VM is in ACTIVE state now
2024-10-19 13:25:25,261 - INFO - VM name : ctest-TestRoutersBasic-30017186-02852555
2024-10-19 13:25:25,361 - DEBUG - VM ctest-TestRoutersBasic-30017186-02852555 ID is afa63805-0899-425e-bc91-1e67b759c1fe
2024-10-19 13:25:25,362 - DEBUG - VM ctest-TestRoutersBasic-30017186-02852555 launched on Node an-jenkins-deploy-platform-ansible-os-2117-1
2024-10-19 13:25:25,454 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/afa63805-0899-425e-bc91-1e67b759c1fe
2024-10-19 13:25:25,469 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/6ab2bc9e-94b8-4a70-a752-df8d9f2ab282
2024-10-19 13:25:26,709 - 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=13.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.314 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.314/6.637/12.961/6.323 ms')
2024-10-19 13:25:26,709 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30017186-02852555 passed
2024-10-19 13:25:26,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 13:25:26,836 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30017186-02852555, IP 22.164.164.3, Port 22
2024-10-19 13:25:27,005 - DEBUG - VM ctest-TestRoutersBasic-30017186-02852555 is ready for SSH connections
2024-10-19 13:25:27,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 13:25:27,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.164.164.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123
2024-10-19 13:25:27,005 - DEBUG - ping -s 56 -c 3 -W 1 22.164.164.3
2024-10-19 13:25:30,678 - DEBUG - PING 22.164.164.3 (22.164.164.3): 56 data bytes
64 bytes from 22.164.164.3: seq=0 ttl=62 time=11.135 ms
64 bytes from 22.164.164.3: seq=1 ttl=62 time=1.542 ms
64 bytes from 22.164.164.3: seq=2 ttl=62 time=1.173 ms
--- 22.164.164.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.173/4.616/11.135 ms
2024-10-19 13:25:30,678 - INFO - Ping to IP 22.164.164.3 from VM ctest-TestRoutersBasic-30017186-37866286 passed
2024-10-19 13:25:30,678 - INFO - Deleting interface with subnet_id 5b4988f7-38fb-4405-ad8c-34e9f0d37e33, port_id None from router d1589f0e-cc1a-4982-81d5-653b9df45343
2024-10-19 13:25:31,275 - INFO - Deleting VM ctest-TestRoutersBasic-30017186-02852555
2024-10-19 13:25:31,378 - INFO - Deleting VM ctest-TestRoutersBasic-30017186-37866286
2024-10-19 13:25:31,460 - INFO - Deleting VN ctest-ext_vn-91446183
2024-10-19 13:25:31,609 - DEBUG - VN 6c280050-a6eb-4787-8544-1368dee80386 still in use: Unable to complete operation on network 6c280050-a6eb-4787-8544-1368dee80386. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-710b7d5b-04b2-4de2-9ef3-587c80f01887']
2024-10-19 13:25:31,609 - WARNING - Deleting VN ctest-ext_vn-91446183 failed..Will retry
2024-10-19 13:25:33,870 - DEBUG - Response for deleting network ()
2024-10-19 13:25:33,870 - INFO - Deleting VN ctest-vn-53473423
2024-10-19 13:25:34,131 - DEBUG - Response for deleting network ()
2024-10-19 13:25:35,459 - DEBUG - No XMPP flaps were noticed during the test
2024-10-19 13:25:35,459 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2024-10-19 13:25:35,459 - INFO - --------------------------------------------------------------------------------
2024-10-19 13:25:36,363 - INFO - Deleted project: ctest-TestRoutersBasic-30017186, ID : a3da1570-7f34-40ea-ba52-ef5fd31f3f8a