2025-01-15 13:09:06,252 - INFO - Domain Default found not creating
2025-01-15 13:09:06,420 - INFO - Project ctest-TestRoutersBasic-97532533 not found, creating it
2025-01-15 13:09:06,901 - INFO - Created Project:ctest-TestRoutersBasic-97532533, ID : ea022f67-af7e-4eed-9871-d179d849128f
2025-01-15 13:09:08,403 - INFO - ================================================================================
2025-01-15 13:09:08,403 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-15 13:09:08,404 - 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-15 13:09:08,661 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.8': '0'}} with
2025-01-15 13:09:08,661 - INFO - Initial checks done. Running the testcase now
2025-01-15 13:09:08,661 - INFO -
2025-01-15 13:09:09,384 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97532533
2025-01-15 13:09:09,486 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97532533
2025-01-15 13:09:09,818 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97532533', 'default']}
2025-01-15 13:09:10,123 - DEBUG - Response for create_network : {'network': {'id': '8f13949b-bf1c-4f8e-80a9-8812db12d93c', 'name': 'ctest-vn-43311913', 'tenant_id': 'ea022f67af7e4eed9871d179d849128f', 'project_id': 'ea022f67af7e4eed9871d179d849128f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97532533', 'ctest-vn-43311913'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 13:09:10,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '69d0cffb-49a3-43b3-8048-b9ee43d07ae6', 'name': '', 'tenant_id': 'ea022f67af7e4eed9871d179d849128f', 'network_id': '8f13949b-bf1c-4f8e-80a9-8812db12d93c', 'ip_version': 4, 'cidr': '206.214.150.64/26', 'allocation_pools': [{'start': '206.214.150.66', 'end': '206.214.150.126'}], 'gateway_ip': '206.214.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.214.150.66', 'tags': [], 'project_id': 'ea022f67af7e4eed9871d179d849128f'}}
2025-01-15 13:09:10,370 - INFO - Created VN ctest-vn-43311913
2025-01-15 13:09:10,426 - DEBUG - VN ctest-vn-43311913 UUID is 8f13949b-bf1c-4f8e-80a9-8812db12d93c
2025-01-15 13:09:10,796 - DEBUG - Response for create_network : {'network': {'id': '2432b36b-d51a-4255-bbe2-3be5d4726d95', 'name': 'ctest-ext_vn-62573709', 'tenant_id': 'ea022f67af7e4eed9871d179d849128f', 'project_id': 'ea022f67af7e4eed9871d179d849128f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97532533', 'ctest-ext_vn-62573709'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 13:09:11,053 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1a739f4-d359-4b67-8399-e4f7a8de4cd6', 'name': '', 'tenant_id': 'ea022f67af7e4eed9871d179d849128f', 'network_id': '2432b36b-d51a-4255-bbe2-3be5d4726d95', 'ip_version': 4, 'cidr': '2.60.64.64/26', 'allocation_pools': [{'start': '2.60.64.66', 'end': '2.60.64.126'}], 'gateway_ip': '2.60.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.60.64.66', 'tags': [], 'project_id': 'ea022f67af7e4eed9871d179d849128f'}}
2025-01-15 13:09:11,078 - INFO - Created VN ctest-ext_vn-62573709
2025-01-15 13:09:11,134 - DEBUG - VN ctest-ext_vn-62573709 UUID is 2432b36b-d51a-4255-bbe2-3be5d4726d95
2025-01-15 13:09:11,299 - DEBUG - Services list from nova: [, , ]
2025-01-15 13:09:12,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2639-1)
2025-01-15 13:09:13,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2639-1)
2025-01-15 13:09:13,573 - INFO - Setting gateway for router 61b87243-32e6-449f-a933-3f54699eed07 to network 2432b36b-d51a-4255-bbe2-3be5d4726d95
2025-01-15 13:09:13,667 - INFO - Adding interface with subnet_id 69d0cffb-49a3-43b3-8048-b9ee43d07ae6, port_id None to router 61b87243-32e6-449f-a933-3f54699eed07
2025-01-15 13:09:14,167 - INFO - Waiting for VM ctest-TestRoutersBasic-97532533-10392087 to be up..
2025-01-15 13:09:14,372 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 13:09:19,455 - DEBUG - VM is in ACTIVE state now
2025-01-15 13:09:19,455 - INFO - VM name : ctest-TestRoutersBasic-97532533-10392087
2025-01-15 13:09:19,530 - DEBUG - VM ctest-TestRoutersBasic-97532533-10392087 ID is a99cdc0f-309f-4178-a7cd-4ca9fab46d58
2025-01-15 13:09:19,551 - DEBUG - VM ctest-TestRoutersBasic-97532533-10392087 launched on Node cn-jenkins-deploy-platform-ansible-os-2639-1
2025-01-15 13:09:19,643 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a99cdc0f-309f-4178-a7cd-4ca9fab46d58
2025-01-15 13:09:19,939 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a99cdc0f-309f-4178-a7cd-4ca9fab46d58
2025-01-15 13:09:19,975 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/df4ff769-5759-491d-aa35-78b917f7aeaa
2025-01-15 13:09:23,254 - 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 1019ms')
2025-01-15 13:09:23,254 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97532533-10392087 failed!
2025-01-15 13:09:23,310 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97532533:ctest-vn-43311913 is 206.214.150.65 and allocation pool is NOT set
2025-01-15 13:09:25,369 - 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=4.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.36 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 = 1.360/3.068/4.776/1.708 ms')
2025-01-15 13:09:25,369 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97532533-10392087 passed
2025-01-15 13:09:25,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 13:09:25,522 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97532533-10392087, IP 206.214.150.67, Port 22
2025-01-15 13:09:25,678 - DEBUG - VM ctest-TestRoutersBasic-97532533-10392087 is ready for SSH connections
2025-01-15 13:09:25,678 - INFO - Waiting for VM ctest-TestRoutersBasic-97532533-65753333 to be up..
2025-01-15 13:09:25,754 - DEBUG - VM is in ACTIVE state now
2025-01-15 13:09:25,754 - INFO - VM name : ctest-TestRoutersBasic-97532533-65753333
2025-01-15 13:09:25,835 - DEBUG - VM ctest-TestRoutersBasic-97532533-65753333 ID is 75bdb5e3-2dbb-4d7f-adf6-67fb668e22ba
2025-01-15 13:09:25,839 - DEBUG - VM ctest-TestRoutersBasic-97532533-65753333 launched on Node cn-jenkins-deploy-platform-ansible-os-2639-1
2025-01-15 13:09:25,917 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/75bdb5e3-2dbb-4d7f-adf6-67fb668e22ba
2025-01-15 13:09:25,926 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3d5b5dc9-628b-4b7b-9a6e-f4953d00b5c2
2025-01-15 13:09:27,181 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.957/3.453/1.495 ms')
2025-01-15 13:09:27,181 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97532533-65753333 passed
2025-01-15 13:09:27,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 13:09:27,330 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97532533-65753333, IP 2.60.64.67, Port 22
2025-01-15 13:09:27,489 - DEBUG - VM ctest-TestRoutersBasic-97532533-65753333 is ready for SSH connections
2025-01-15 13:09:27,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 13:09:27,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.60.64.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-01-15 13:09:27,489 - DEBUG - ping -s 56 -c 3 -W 1 2.60.64.67
2025-01-15 13:09:31,490 - DEBUG - PING 2.60.64.67 (2.60.64.67): 56 data bytes
64 bytes from 2.60.64.67: seq=0 ttl=62 time=5.651 ms
64 bytes from 2.60.64.67: seq=1 ttl=62 time=1.134 ms
64 bytes from 2.60.64.67: seq=2 ttl=62 time=0.793 ms
--- 2.60.64.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.793/2.526/5.651 ms
2025-01-15 13:09:31,490 - INFO - Ping to IP 2.60.64.67 from VM ctest-TestRoutersBasic-97532533-10392087 passed
2025-01-15 13:09:31,490 - INFO - Deleting interface with subnet_id 69d0cffb-49a3-43b3-8048-b9ee43d07ae6, port_id None from router 61b87243-32e6-449f-a933-3f54699eed07
2025-01-15 13:09:31,723 - INFO - Deleting VM ctest-TestRoutersBasic-97532533-65753333
2025-01-15 13:09:31,794 - INFO - Deleting VM ctest-TestRoutersBasic-97532533-10392087
2025-01-15 13:09:31,872 - INFO - Deleting VN ctest-ext_vn-62573709
2025-01-15 13:09:31,984 - DEBUG - VN 2432b36b-d51a-4255-bbe2-3be5d4726d95 still in use: Unable to complete operation on network 2432b36b-d51a-4255-bbe2-3be5d4726d95. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ea7da54f-6f3e-4573-934d-0f3193e193f1']
2025-01-15 13:09:31,984 - WARNING - Deleting VN ctest-ext_vn-62573709 failed..Will retry
2025-01-15 13:09:34,094 - DEBUG - Response for deleting network ()
2025-01-15 13:09:34,095 - INFO - Deleting VN ctest-vn-43311913
2025-01-15 13:09:34,213 - DEBUG - Response for deleting network ()
2025-01-15 13:09:34,469 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 13:09:34,469 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-15 13:09:34,469 - INFO - --------------------------------------------------------------------------------
2025-01-15 13:09:35,144 - INFO - Deleted project: ctest-TestRoutersBasic-97532533, ID : ea022f67-af7e-4eed-9871-d179d849128f