2025-04-25 09:18:57,025 - INFO - Domain Default found not creating
2025-04-25 09:18:57,138 - INFO - Project ctest-TestRoutersBasic-96679314 not found, creating it
2025-04-25 09:18:57,598 - INFO - Created Project:ctest-TestRoutersBasic-96679314, ID : 20cfa724-deb2-4735-8fd8-4486ec96722f
2025-04-25 09:18:58,794 - INFO - ================================================================================
2025-04-25 09:18:58,794 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-25 09:18:58,794 - 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-04-25 09:18:59,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-04-25 09:18:59,048 - INFO - Initial checks done. Running the testcase now
2025-04-25 09:18:59,048 - INFO -
2025-04-25 09:18:59,657 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96679314
2025-04-25 09:18:59,755 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96679314
2025-04-25 09:19:00,079 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96679314', 'default']}
2025-04-25 09:19:00,352 - DEBUG - Response for create_network : {'network': {'id': 'a699efe2-031c-4356-87a1-a00cb66f52f7', 'name': 'ctest-vn-23489758', 'tenant_id': '20cfa724deb247358fd84486ec96722f', 'project_id': '20cfa724deb247358fd84486ec96722f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96679314', 'ctest-vn-23489758'], 'port_security_enabled': True, 'description': ''}}
2025-04-25 09:19:00,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c9b5ea3-01f4-49bd-8438-f9b9a385ef43', 'name': '', 'tenant_id': '20cfa724deb247358fd84486ec96722f', 'network_id': 'a699efe2-031c-4356-87a1-a00cb66f52f7', 'ip_version': 4, 'cidr': '215.184.124.64/26', 'allocation_pools': [{'start': '215.184.124.66', 'end': '215.184.124.126'}], 'gateway_ip': '215.184.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.184.124.66', 'tags': [], 'project_id': '20cfa724deb247358fd84486ec96722f'}}
2025-04-25 09:19:00,533 - INFO - Created VN ctest-vn-23489758
2025-04-25 09:19:00,591 - DEBUG - VN ctest-vn-23489758 UUID is a699efe2-031c-4356-87a1-a00cb66f52f7
2025-04-25 09:19:00,923 - DEBUG - Response for create_network : {'network': {'id': 'db867bed-6d06-46ea-aee7-f4dd441cc31b', 'name': 'ctest-ext_vn-56858456', 'tenant_id': '20cfa724deb247358fd84486ec96722f', 'project_id': '20cfa724deb247358fd84486ec96722f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96679314', 'ctest-ext_vn-56858456'], 'port_security_enabled': True, 'description': ''}}
2025-04-25 09:19:01,116 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bef2a60-7c6d-40d8-8c85-f80dc18b36c5', 'name': '', 'tenant_id': '20cfa724deb247358fd84486ec96722f', 'network_id': 'db867bed-6d06-46ea-aee7-f4dd441cc31b', 'ip_version': 4, 'cidr': '33.127.104.0/26', 'allocation_pools': [{'start': '33.127.104.2', 'end': '33.127.104.62'}], 'gateway_ip': '33.127.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.127.104.2', 'tags': [], 'project_id': '20cfa724deb247358fd84486ec96722f'}}
2025-04-25 09:19:01,136 - INFO - Created VN ctest-ext_vn-56858456
2025-04-25 09:19:01,187 - DEBUG - VN ctest-ext_vn-56858456 UUID is db867bed-6d06-46ea-aee7-f4dd441cc31b
2025-04-25 09:19:01,359 - DEBUG - Services list from nova: [, , ]
2025-04-25 09:19:02,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3214-1)
2025-04-25 09:19:03,341 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3214-1)
2025-04-25 09:19:03,414 - INFO - Setting gateway for router daa4265b-6a4c-4721-a9a1-85b0315f61ba to network db867bed-6d06-46ea-aee7-f4dd441cc31b
2025-04-25 09:19:03,473 - INFO - Adding interface with subnet_id 1c9b5ea3-01f4-49bd-8438-f9b9a385ef43, port_id None to router daa4265b-6a4c-4721-a9a1-85b0315f61ba
2025-04-25 09:19:03,764 - INFO - Waiting for VM ctest-TestRoutersBasic-96679314-57169379 to be up..
2025-04-25 09:19:03,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-25 09:19:09,018 - DEBUG - VM is in ACTIVE state now
2025-04-25 09:19:09,018 - INFO - VM name : ctest-TestRoutersBasic-96679314-57169379
2025-04-25 09:19:09,091 - DEBUG - VM ctest-TestRoutersBasic-96679314-57169379 ID is 7acc1fa3-9304-4db3-99c9-ab9c92a0da79
2025-04-25 09:19:09,106 - DEBUG - VM ctest-TestRoutersBasic-96679314-57169379 launched on Node cn-jenkins-deploy-platform-ansible-os-3214-1
2025-04-25 09:19:09,167 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7acc1fa3-9304-4db3-99c9-ab9c92a0da79
2025-04-25 09:19:09,422 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7acc1fa3-9304-4db3-99c9-ab9c92a0da79
2025-04-25 09:19:09,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/47c3a8c6-24fb-4f3a-a1d4-a7d5793428a9
2025-04-25 09:19:12,699 - 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=2 ttl=63 time=7.28 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 7.284/7.284/7.284/0.000 ms')
2025-04-25 09:19:12,699 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96679314-57169379 passed
2025-04-25 09:19:12,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 09:19:12,851 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96679314-57169379, IP 215.184.124.67, Port 22
2025-04-25 09:19:13,002 - DEBUG - VM ctest-TestRoutersBasic-96679314-57169379 is ready for SSH connections
2025-04-25 09:19:13,002 - INFO - Waiting for VM ctest-TestRoutersBasic-96679314-82535511 to be up..
2025-04-25 09:19:13,066 - DEBUG - VM is in ACTIVE state now
2025-04-25 09:19:13,066 - INFO - VM name : ctest-TestRoutersBasic-96679314-82535511
2025-04-25 09:19:13,121 - DEBUG - VM ctest-TestRoutersBasic-96679314-82535511 ID is 325877a8-371b-4830-ad32-c758e40e49b1
2025-04-25 09:19:13,121 - DEBUG - VM ctest-TestRoutersBasic-96679314-82535511 launched on Node cn-jenkins-deploy-platform-ansible-os-3214-1
2025-04-25 09:19:13,175 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/325877a8-371b-4830-ad32-c758e40e49b1
2025-04-25 09:19:13,182 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7c78491a-731d-42cf-acb9-48c748f558d4
2025-04-25 09:19:14,403 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.962/3.494/1.532 ms')
2025-04-25 09:19:14,404 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96679314-82535511 passed
2025-04-25 09:19:14,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 09:19:14,559 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96679314-82535511, IP 33.127.104.3, Port 22
2025-04-25 09:19:14,714 - DEBUG - VM ctest-TestRoutersBasic-96679314-82535511 is ready for SSH connections
2025-04-25 09:19:14,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 09:19:14,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.127.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-25 09:19:14,715 - DEBUG - ping -s 56 -c 3 -W 1 33.127.104.3
2025-04-25 09:19:18,587 - DEBUG - PING 33.127.104.3 (33.127.104.3): 56 data bytes
64 bytes from 33.127.104.3: seq=0 ttl=62 time=5.911 ms
64 bytes from 33.127.104.3: seq=1 ttl=62 time=0.765 ms
64 bytes from 33.127.104.3: seq=2 ttl=62 time=0.793 ms
--- 33.127.104.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.765/2.489/5.911 ms
2025-04-25 09:19:18,587 - INFO - Ping to IP 33.127.104.3 from VM ctest-TestRoutersBasic-96679314-57169379 passed
2025-04-25 09:19:18,587 - INFO - Deleting interface with subnet_id 1c9b5ea3-01f4-49bd-8438-f9b9a385ef43, port_id None from router daa4265b-6a4c-4721-a9a1-85b0315f61ba
2025-04-25 09:19:18,746 - INFO - Deleting VM ctest-TestRoutersBasic-96679314-82535511
2025-04-25 09:19:18,810 - INFO - Deleting VM ctest-TestRoutersBasic-96679314-57169379
2025-04-25 09:19:18,871 - INFO - Deleting VN ctest-ext_vn-56858456
2025-04-25 09:19:18,926 - DEBUG - VN db867bed-6d06-46ea-aee7-f4dd441cc31b still in use: Unable to complete operation on network db867bed-6d06-46ea-aee7-f4dd441cc31b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a18cd672-cd68-42d5-8e86-7b8c7b354e92']
2025-04-25 09:19:18,926 - WARNING - Deleting VN ctest-ext_vn-56858456 failed..Will retry
2025-04-25 09:19:21,017 - DEBUG - Response for deleting network ()
2025-04-25 09:19:21,017 - INFO - Deleting VN ctest-vn-23489758
2025-04-25 09:19:21,097 - DEBUG - Response for deleting network ()
2025-04-25 09:19:21,347 - DEBUG - No XMPP flaps were noticed during the test
2025-04-25 09:19:21,348 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-04-25 09:19:21,348 - INFO - --------------------------------------------------------------------------------
2025-04-25 09:19:21,939 - INFO - Deleted project: ctest-TestRoutersBasic-96679314, ID : 20cfa724-deb2-4735-8fd8-4486ec96722f