2025-03-27 15:00:04,773 - INFO - Domain Default found not creating
2025-03-27 15:00:04,944 - INFO - Project ctest-TestRoutersBasic-88410970 not found, creating it
2025-03-27 15:00:05,493 - INFO - Created Project:ctest-TestRoutersBasic-88410970, ID : 002f159d-2f0d-47a8-bccf-8525003c2b16
2025-03-27 15:00:07,038 - INFO - ================================================================================
2025-03-27 15:00:07,038 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-27 15:00:07,038 - 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-03-27 15:00:07,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.23': '0'}} with
2025-03-27 15:00:07,299 - INFO - Initial checks done. Running the testcase now
2025-03-27 15:00:07,299 - INFO -
2025-03-27 15:00:08,039 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88410970
2025-03-27 15:00:08,138 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88410970
2025-03-27 15:00:08,486 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88410970', 'default']}
2025-03-27 15:00:08,826 - DEBUG - Response for create_network : {'network': {'id': 'b314043e-d74f-41e9-b45d-8e76fb4ea4b5', 'name': 'ctest-vn-92373857', 'tenant_id': '002f159d2f0d47a8bccf8525003c2b16', 'project_id': '002f159d2f0d47a8bccf8525003c2b16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88410970', 'ctest-vn-92373857'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 15:00:09,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '48eb8a24-eecc-4cbb-888d-d9bc4f1622b4', 'name': '', 'tenant_id': '002f159d2f0d47a8bccf8525003c2b16', 'network_id': 'b314043e-d74f-41e9-b45d-8e76fb4ea4b5', 'ip_version': 4, 'cidr': '219.132.52.64/26', 'allocation_pools': [{'start': '219.132.52.66', 'end': '219.132.52.126'}], 'gateway_ip': '219.132.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.132.52.66', 'tags': [], 'project_id': '002f159d2f0d47a8bccf8525003c2b16'}}
2025-03-27 15:00:09,040 - INFO - Created VN ctest-vn-92373857
2025-03-27 15:00:09,094 - DEBUG - VN ctest-vn-92373857 UUID is b314043e-d74f-41e9-b45d-8e76fb4ea4b5
2025-03-27 15:00:09,472 - DEBUG - Response for create_network : {'network': {'id': '1cae1df6-e5a9-49fa-b03a-ff06a5142218', 'name': 'ctest-ext_vn-84565056', 'tenant_id': '002f159d2f0d47a8bccf8525003c2b16', 'project_id': '002f159d2f0d47a8bccf8525003c2b16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88410970', 'ctest-ext_vn-84565056'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 15:00:09,666 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afe8b55a-f40f-48dd-8eb5-47be636f8266', 'name': '', 'tenant_id': '002f159d2f0d47a8bccf8525003c2b16', 'network_id': '1cae1df6-e5a9-49fa-b03a-ff06a5142218', 'ip_version': 4, 'cidr': '210.248.250.192/26', 'allocation_pools': [{'start': '210.248.250.194', 'end': '210.248.250.254'}], 'gateway_ip': '210.248.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.248.250.194', 'tags': [], 'project_id': '002f159d2f0d47a8bccf8525003c2b16'}}
2025-03-27 15:00:09,688 - INFO - Created VN ctest-ext_vn-84565056
2025-03-27 15:00:09,746 - DEBUG - VN ctest-ext_vn-84565056 UUID is 1cae1df6-e5a9-49fa-b03a-ff06a5142218
2025-03-27 15:00:09,923 - DEBUG - Services list from nova: [, , ]
2025-03-27 15:00:10,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2974-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2974-1)
2025-03-27 15:00:12,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2974-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2974-1)
2025-03-27 15:00:12,348 - INFO - Setting gateway for router 9a6cd1c3-eb2c-4a67-b086-c4fa67d2d977 to network 1cae1df6-e5a9-49fa-b03a-ff06a5142218
2025-03-27 15:00:12,425 - INFO - Adding interface with subnet_id 48eb8a24-eecc-4cbb-888d-d9bc4f1622b4, port_id None to router 9a6cd1c3-eb2c-4a67-b086-c4fa67d2d977
2025-03-27 15:00:12,873 - INFO - Waiting for VM ctest-TestRoutersBasic-88410970-64863898 to be up..
2025-03-27 15:00:13,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-27 15:00:18,211 - DEBUG - VM is in ACTIVE state now
2025-03-27 15:00:18,211 - INFO - VM name : ctest-TestRoutersBasic-88410970-64863898
2025-03-27 15:00:18,301 - DEBUG - VM ctest-TestRoutersBasic-88410970-64863898 ID is 39126fea-e253-4786-88d7-c67e5315b1ab
2025-03-27 15:00:18,336 - DEBUG - VM ctest-TestRoutersBasic-88410970-64863898 launched on Node cn-jenkins-deploy-platform-ansible-os-2974-1
2025-03-27 15:00:18,418 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/39126fea-e253-4786-88d7-c67e5315b1ab
2025-03-27 15:00:18,717 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/39126fea-e253-4786-88d7-c67e5315b1ab
2025-03-27 15:00:18,751 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/7bee8bfe-1522-4aff-bbaf-3bf9ca44e972
2025-03-27 15:00:22,010 - 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')
2025-03-27 15:00:22,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88410970-64863898 failed!
2025-03-27 15:00:22,074 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88410970:ctest-vn-92373857 is 219.132.52.65 and allocation pool is NOT set
2025-03-27 15:00:24,138 - 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=8.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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 = 2.537/5.569/8.602/3.032 ms')
2025-03-27 15:00:24,138 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88410970-64863898 passed
2025-03-27 15:00:24,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 15:00:24,298 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88410970-64863898, IP 219.132.52.67, Port 22
2025-03-27 15:00:24,454 - DEBUG - VM ctest-TestRoutersBasic-88410970-64863898 is ready for SSH connections
2025-03-27 15:00:24,454 - INFO - Waiting for VM ctest-TestRoutersBasic-88410970-31830543 to be up..
2025-03-27 15:00:24,558 - DEBUG - VM is in ACTIVE state now
2025-03-27 15:00:24,558 - INFO - VM name : ctest-TestRoutersBasic-88410970-31830543
2025-03-27 15:00:24,646 - DEBUG - VM ctest-TestRoutersBasic-88410970-31830543 ID is 0570a246-5c6c-4173-971c-41f314855d26
2025-03-27 15:00:24,647 - DEBUG - VM ctest-TestRoutersBasic-88410970-31830543 launched on Node cn-jenkins-deploy-platform-ansible-os-2974-1
2025-03-27 15:00:24,734 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/0570a246-5c6c-4173-971c-41f314855d26
2025-03-27 15:00:24,746 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/6bef23ce-a593-4cb7-a40e-d9f1548c7fa9
2025-03-27 15:00:26,013 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.808 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.808/2.305/3.802/1.497 ms')
2025-03-27 15:00:26,014 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88410970-31830543 passed
2025-03-27 15:00:26,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 15:00:26,170 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88410970-31830543, IP 210.248.250.195, Port 22
2025-03-27 15:00:26,333 - DEBUG - VM ctest-TestRoutersBasic-88410970-31830543 is ready for SSH connections
2025-03-27 15:00:26,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 15:00:26,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.248.250.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2025-03-27 15:00:26,333 - DEBUG - ping -s 56 -c 3 -W 1 210.248.250.195
2025-03-27 15:00:30,364 - DEBUG - PING 210.248.250.195 (210.248.250.195): 56 data bytes
64 bytes from 210.248.250.195: seq=0 ttl=62 time=5.297 ms
64 bytes from 210.248.250.195: seq=1 ttl=62 time=1.058 ms
64 bytes from 210.248.250.195: seq=2 ttl=62 time=1.274 ms
--- 210.248.250.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.058/2.543/5.297 ms
2025-03-27 15:00:30,364 - INFO - Ping to IP 210.248.250.195 from VM ctest-TestRoutersBasic-88410970-64863898 passed
2025-03-27 15:00:30,364 - INFO - Deleting interface with subnet_id 48eb8a24-eecc-4cbb-888d-d9bc4f1622b4, port_id None from router 9a6cd1c3-eb2c-4a67-b086-c4fa67d2d977
2025-03-27 15:00:30,615 - INFO - Deleting VM ctest-TestRoutersBasic-88410970-31830543
2025-03-27 15:00:30,700 - INFO - Deleting VM ctest-TestRoutersBasic-88410970-64863898
2025-03-27 15:00:30,810 - INFO - Deleting VN ctest-ext_vn-84565056
2025-03-27 15:00:30,907 - DEBUG - VN 1cae1df6-e5a9-49fa-b03a-ff06a5142218 still in use: Unable to complete operation on network 1cae1df6-e5a9-49fa-b03a-ff06a5142218. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1ecf2035-b4e3-40ca-af01-a205025d758b']
2025-03-27 15:00:30,907 - WARNING - Deleting VN ctest-ext_vn-84565056 failed..Will retry
2025-03-27 15:00:33,044 - DEBUG - Response for deleting network ()
2025-03-27 15:00:33,045 - INFO - Deleting VN ctest-vn-92373857
2025-03-27 15:00:33,173 - DEBUG - Response for deleting network ()
2025-03-27 15:00:33,433 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 15:00:33,433 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-27 15:00:33,433 - INFO - --------------------------------------------------------------------------------
2025-03-27 15:00:34,163 - INFO - Deleted project: ctest-TestRoutersBasic-88410970, ID : 002f159d-2f0d-47a8-bccf-8525003c2b16