2025-04-17 11:48:02,595 - INFO - Domain Default found not creating
2025-04-17 11:48:02,792 - INFO - Project ctest-TestRoutersBasic-72104697 not found, creating it
2025-04-17 11:48:03,316 - INFO - Created Project:ctest-TestRoutersBasic-72104697, ID : 634aeca5-74e9-4b59-a7aa-62c5e00738e0
2025-04-17 11:48:05,781 - INFO - ================================================================================
2025-04-17 11:48:05,781 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-17 11:48:05,781 - 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-17 11:48:06,087 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-17 11:48:06,087 - INFO - Initial checks done. Running the testcase now
2025-04-17 11:48:06,088 - INFO -
2025-04-17 11:48:07,018 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72104697
2025-04-17 11:48:07,132 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72104697
2025-04-17 11:48:07,504 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72104697', 'default']}
2025-04-17 11:48:07,894 - DEBUG - Response for create_network : {'network': {'id': 'a63ff78f-667e-4904-829e-fbb205e78ac4', 'name': 'ctest-vn-97693851', 'tenant_id': '634aeca574e94b59a7aa62c5e00738e0', 'project_id': '634aeca574e94b59a7aa62c5e00738e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72104697', 'ctest-vn-97693851'], 'port_security_enabled': True, 'description': ''}}
2025-04-17 11:48:08,087 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d17be6f-4d7f-4a4b-adb5-77de0282bcd8', 'name': '', 'tenant_id': '634aeca574e94b59a7aa62c5e00738e0', 'network_id': 'a63ff78f-667e-4904-829e-fbb205e78ac4', 'ip_version': 4, 'cidr': '8.121.110.0/26', 'allocation_pools': [{'start': '8.121.110.2', 'end': '8.121.110.62'}], 'gateway_ip': '8.121.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.121.110.2', 'tags': [], 'project_id': '634aeca574e94b59a7aa62c5e00738e0'}}
2025-04-17 11:48:08,109 - INFO - Created VN ctest-vn-97693851
2025-04-17 11:48:08,168 - DEBUG - VN ctest-vn-97693851 UUID is a63ff78f-667e-4904-829e-fbb205e78ac4
2025-04-17 11:48:08,622 - DEBUG - Response for create_network : {'network': {'id': 'e26dcdcd-2930-4a5f-83e6-baa51630dc36', 'name': 'ctest-ext_vn-53689871', 'tenant_id': '634aeca574e94b59a7aa62c5e00738e0', 'project_id': '634aeca574e94b59a7aa62c5e00738e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72104697', 'ctest-ext_vn-53689871'], 'port_security_enabled': True, 'description': ''}}
2025-04-17 11:48:08,880 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c82bb259-99c0-4906-b4d2-041114897f94', 'name': '', 'tenant_id': '634aeca574e94b59a7aa62c5e00738e0', 'network_id': 'e26dcdcd-2930-4a5f-83e6-baa51630dc36', 'ip_version': 4, 'cidr': '84.173.1.64/26', 'allocation_pools': [{'start': '84.173.1.66', 'end': '84.173.1.126'}], 'gateway_ip': '84.173.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.173.1.66', 'tags': [], 'project_id': '634aeca574e94b59a7aa62c5e00738e0'}}
2025-04-17 11:48:08,902 - INFO - Created VN ctest-ext_vn-53689871
2025-04-17 11:48:08,956 - DEBUG - VN ctest-ext_vn-53689871 UUID is e26dcdcd-2930-4a5f-83e6-baa51630dc36
2025-04-17 11:48:09,198 - DEBUG - Services list from nova: [, , ]
2025-04-17 11:48:10,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3136-1)
2025-04-17 11:48:11,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3136-1)
2025-04-17 11:48:11,970 - INFO - Setting gateway for router 48794077-00ca-4d56-836a-f40206a97915 to network e26dcdcd-2930-4a5f-83e6-baa51630dc36
2025-04-17 11:48:12,048 - INFO - Adding interface with subnet_id 2d17be6f-4d7f-4a4b-adb5-77de0282bcd8, port_id None to router 48794077-00ca-4d56-836a-f40206a97915
2025-04-17 11:48:12,571 - INFO - Waiting for VM ctest-TestRoutersBasic-72104697-04574089 to be up..
2025-04-17 11:48:12,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-17 11:48:17,911 - DEBUG - VM is in ACTIVE state now
2025-04-17 11:48:17,912 - INFO - VM name : ctest-TestRoutersBasic-72104697-04574089
2025-04-17 11:48:18,022 - DEBUG - VM ctest-TestRoutersBasic-72104697-04574089 ID is d9605ab6-00a7-4415-9a34-826fe9a2707e
2025-04-17 11:48:18,051 - DEBUG - VM ctest-TestRoutersBasic-72104697-04574089 launched on Node cn-jenkins-deploy-platform-ansible-os-3136-1
2025-04-17 11:48:18,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d9605ab6-00a7-4415-9a34-826fe9a2707e
2025-04-17 11:48:18,565 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d9605ab6-00a7-4415-9a34-826fe9a2707e
2025-04-17 11:48:18,605 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c0132533-c122-4d9d-b7c9-2a77ec79f447
2025-04-17 11:48:21,899 - 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 1027ms')
2025-04-17 11:48:21,899 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72104697-04574089 failed!
2025-04-17 11:48:21,961 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72104697:ctest-vn-97693851 is 8.121.110.1 and allocation pool is NOT set
2025-04-17 11:48:24,036 - 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=9.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.66 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.662/5.661/9.660/3.999 ms')
2025-04-17 11:48:24,036 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72104697-04574089 passed
2025-04-17 11:48:24,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 11:48:24,218 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72104697-04574089, IP 8.121.110.3, Port 22
2025-04-17 11:48:24,298 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-04-17 11:48:24,420 - DEBUG - VM ctest-TestRoutersBasic-72104697-04574089 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-17 11:48:29,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 11:48:29,421 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72104697-04574089, IP 8.121.110.3, Port 22
2025-04-17 11:48:29,615 - DEBUG - VM ctest-TestRoutersBasic-72104697-04574089 is ready for SSH connections
2025-04-17 11:48:29,616 - INFO - Waiting for VM ctest-TestRoutersBasic-72104697-05093077 to be up..
2025-04-17 11:48:29,789 - DEBUG - VM is in ACTIVE state now
2025-04-17 11:48:29,789 - INFO - VM name : ctest-TestRoutersBasic-72104697-05093077
2025-04-17 11:48:29,932 - DEBUG - VM ctest-TestRoutersBasic-72104697-05093077 ID is 194b9bdd-d4b0-4939-8a95-d80bf99ddff2
2025-04-17 11:48:29,933 - DEBUG - VM ctest-TestRoutersBasic-72104697-05093077 launched on Node cn-jenkins-deploy-platform-ansible-os-3136-1
2025-04-17 11:48:30,075 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/194b9bdd-d4b0-4939-8a95-d80bf99ddff2
2025-04-17 11:48:30,094 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ef028915-4214-4f48-97f4-627841eded16
2025-04-17 11:48:31,393 - 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=4.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.711 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.711/2.575/4.440/1.864 ms')
2025-04-17 11:48:31,393 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72104697-05093077 passed
2025-04-17 11:48:31,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 11:48:31,573 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72104697-05093077, IP 84.173.1.67, Port 22
2025-04-17 11:48:31,756 - DEBUG - VM ctest-TestRoutersBasic-72104697-05093077 is ready for SSH connections
2025-04-17 11:48:31,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 11:48:31,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.173.1.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-17 11:48:31,757 - DEBUG - ping -s 56 -c 3 -W 1 84.173.1.67
2025-04-17 11:48:35,617 - DEBUG - PING 84.173.1.67 (84.173.1.67): 56 data bytes
64 bytes from 84.173.1.67: seq=0 ttl=62 time=7.092 ms
64 bytes from 84.173.1.67: seq=1 ttl=62 time=2.273 ms
64 bytes from 84.173.1.67: seq=2 ttl=62 time=1.449 ms
--- 84.173.1.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.449/3.604/7.092 ms
2025-04-17 11:48:35,617 - INFO - Ping to IP 84.173.1.67 from VM ctest-TestRoutersBasic-72104697-04574089 passed
2025-04-17 11:48:35,618 - INFO - Deleting interface with subnet_id 2d17be6f-4d7f-4a4b-adb5-77de0282bcd8, port_id None from router 48794077-00ca-4d56-836a-f40206a97915
2025-04-17 11:48:35,908 - INFO - Deleting VM ctest-TestRoutersBasic-72104697-05093077
2025-04-17 11:48:35,994 - INFO - Deleting VM ctest-TestRoutersBasic-72104697-04574089
2025-04-17 11:48:36,083 - INFO - Deleting VN ctest-ext_vn-53689871
2025-04-17 11:48:36,160 - DEBUG - VN e26dcdcd-2930-4a5f-83e6-baa51630dc36 still in use: Unable to complete operation on network e26dcdcd-2930-4a5f-83e6-baa51630dc36. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-15d203d0-c245-4f4a-ab30-66edd3b3ef1e']
2025-04-17 11:48:36,160 - WARNING - Deleting VN ctest-ext_vn-53689871 failed..Will retry
2025-04-17 11:48:38,358 - DEBUG - Response for deleting network ()
2025-04-17 11:48:38,358 - INFO - Deleting VN ctest-vn-97693851
2025-04-17 11:48:38,501 - DEBUG - Response for deleting network ()
2025-04-17 11:48:38,797 - DEBUG - No XMPP flaps were noticed during the test
2025-04-17 11:48:38,797 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2025-04-17 11:48:38,797 - INFO - --------------------------------------------------------------------------------
2025-04-17 11:48:39,687 - INFO - Deleted project: ctest-TestRoutersBasic-72104697, ID : 634aeca5-74e9-4b59-a7aa-62c5e00738e0