2025-05-08 17:23:52,344 - INFO - Domain Default found not creating
2025-05-08 17:23:52,481 - INFO - Project ctest-TestRoutersBasic-01832396 not found, creating it
2025-05-08 17:23:52,923 - INFO - Created Project:ctest-TestRoutersBasic-01832396, ID : 585b50fc-d8f7-4335-86da-f625fc59bdbb
2025-05-08 17:23:54,476 - INFO - ================================================================================
2025-05-08 17:23:54,476 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-08 17:23:54,476 - 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-05-08 17:23:54,732 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with
2025-05-08 17:23:54,732 - INFO - Initial checks done. Running the testcase now
2025-05-08 17:23:54,732 - INFO -
2025-05-08 17:23:55,504 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01832396
2025-05-08 17:23:55,601 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01832396
2025-05-08 17:23:55,941 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01832396', 'default']}
2025-05-08 17:23:56,252 - DEBUG - Response for create_network : {'network': {'id': 'ee13810f-396a-4db4-a388-8a72de92d489', 'name': 'ctest-vn-52343511', 'tenant_id': '585b50fcd8f7433586daf625fc59bdbb', 'project_id': '585b50fcd8f7433586daf625fc59bdbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01832396', 'ctest-vn-52343511'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 17:23:56,471 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf350232-732b-45c1-b6cc-0ace6d2ec172', 'name': '', 'tenant_id': '585b50fcd8f7433586daf625fc59bdbb', 'network_id': 'ee13810f-396a-4db4-a388-8a72de92d489', 'ip_version': 4, 'cidr': '118.213.254.128/26', 'allocation_pools': [{'start': '118.213.254.130', 'end': '118.213.254.190'}], 'gateway_ip': '118.213.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.213.254.130', 'tags': [], 'project_id': '585b50fcd8f7433586daf625fc59bdbb'}}
2025-05-08 17:23:56,488 - INFO - Created VN ctest-vn-52343511
2025-05-08 17:23:56,545 - DEBUG - VN ctest-vn-52343511 UUID is ee13810f-396a-4db4-a388-8a72de92d489
2025-05-08 17:23:56,904 - DEBUG - Response for create_network : {'network': {'id': '8ceecb6a-006b-4e03-a300-2639efc8683b', 'name': 'ctest-ext_vn-98752581', 'tenant_id': '585b50fcd8f7433586daf625fc59bdbb', 'project_id': '585b50fcd8f7433586daf625fc59bdbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01832396', 'ctest-ext_vn-98752581'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 17:23:57,120 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbe0f39b-1785-4904-b778-263f36889775', 'name': '', 'tenant_id': '585b50fcd8f7433586daf625fc59bdbb', 'network_id': '8ceecb6a-006b-4e03-a300-2639efc8683b', 'ip_version': 4, 'cidr': '212.84.209.192/26', 'allocation_pools': [{'start': '212.84.209.194', 'end': '212.84.209.254'}], 'gateway_ip': '212.84.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.84.209.194', 'tags': [], 'project_id': '585b50fcd8f7433586daf625fc59bdbb'}}
2025-05-08 17:23:57,137 - INFO - Created VN ctest-ext_vn-98752581
2025-05-08 17:23:57,193 - DEBUG - VN ctest-ext_vn-98752581 UUID is 8ceecb6a-006b-4e03-a300-2639efc8683b
2025-05-08 17:23:57,404 - DEBUG - Services list from nova: [, , ]
2025-05-08 17:23:58,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3291-1)
2025-05-08 17:23:59,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3291-1)
2025-05-08 17:23:59,778 - INFO - Setting gateway for router ca775dbd-c317-457a-81e0-b127e71b6671 to network 8ceecb6a-006b-4e03-a300-2639efc8683b
2025-05-08 17:23:59,862 - INFO - Adding interface with subnet_id bf350232-732b-45c1-b6cc-0ace6d2ec172, port_id None to router ca775dbd-c317-457a-81e0-b127e71b6671
2025-05-08 17:24:00,235 - INFO - Waiting for VM ctest-TestRoutersBasic-01832396-44772341 to be up..
2025-05-08 17:24:00,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-08 17:24:05,473 - DEBUG - VM is in ACTIVE state now
2025-05-08 17:24:05,473 - INFO - VM name : ctest-TestRoutersBasic-01832396-44772341
2025-05-08 17:24:05,555 - DEBUG - VM ctest-TestRoutersBasic-01832396-44772341 ID is eaae0cf6-fef2-4a1f-ad89-f76741766085
2025-05-08 17:24:05,574 - DEBUG - VM ctest-TestRoutersBasic-01832396-44772341 launched on Node cn-jenkins-deploy-platform-ansible-os-3291-1
2025-05-08 17:24:05,650 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/eaae0cf6-fef2-4a1f-ad89-f76741766085
2025-05-08 17:24:05,983 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/eaae0cf6-fef2-4a1f-ad89-f76741766085
2025-05-08 17:24:06,014 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/9f5cc49f-ba78-4c4f-a8c2-25a56b4f4583
2025-05-08 17:24:09,279 - 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-05-08 17:24:09,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01832396-44772341 failed!
2025-05-08 17:24:09,333 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01832396:ctest-vn-52343511 is 118.213.254.129 and allocation pool is NOT set
2025-05-08 17:24:11,396 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.695 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.695/2.256/3.817/1.561 ms')
2025-05-08 17:24:11,396 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01832396-44772341 passed
2025-05-08 17:24:11,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:24:11,549 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01832396-44772341, IP 118.213.254.131, Port 22
2025-05-08 17:24:11,619 - 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-05-08 17:24:11,698 - DEBUG - VM ctest-TestRoutersBasic-01832396-44772341 is NOT ready for SSH connections, VM status: ACTIVE
2025-05-08 17:24:16,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:24:16,698 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01832396-44772341, IP 118.213.254.131, Port 22
2025-05-08 17:24:16,853 - DEBUG - VM ctest-TestRoutersBasic-01832396-44772341 is ready for SSH connections
2025-05-08 17:24:16,853 - INFO - Waiting for VM ctest-TestRoutersBasic-01832396-02000654 to be up..
2025-05-08 17:24:16,930 - DEBUG - VM is in ACTIVE state now
2025-05-08 17:24:16,930 - INFO - VM name : ctest-TestRoutersBasic-01832396-02000654
2025-05-08 17:24:17,005 - DEBUG - VM ctest-TestRoutersBasic-01832396-02000654 ID is d3bf7055-67ae-4f51-b361-a514551df21d
2025-05-08 17:24:17,005 - DEBUG - VM ctest-TestRoutersBasic-01832396-02000654 launched on Node cn-jenkins-deploy-platform-ansible-os-3291-1
2025-05-08 17:24:17,075 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d3bf7055-67ae-4f51-b361-a514551df21d
2025-05-08 17:24:17,084 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/04aa3e6c-8ab1-4beb-abdd-cbe5823774b6
2025-05-08 17:24:18,322 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.342 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.342/1.608/2.874/1.266 ms')
2025-05-08 17:24:18,322 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01832396-02000654 passed
2025-05-08 17:24:18,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:24:18,477 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01832396-02000654, IP 212.84.209.195, Port 22
2025-05-08 17:24:18,632 - DEBUG - VM ctest-TestRoutersBasic-01832396-02000654 is ready for SSH connections
2025-05-08 17:24:18,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:24:18,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.84.209.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-05-08 17:24:18,633 - DEBUG - ping -s 56 -c 3 -W 1 212.84.209.195
2025-05-08 17:24:22,718 - DEBUG - PING 212.84.209.195 (212.84.209.195): 56 data bytes
64 bytes from 212.84.209.195: seq=0 ttl=62 time=7.862 ms
64 bytes from 212.84.209.195: seq=1 ttl=62 time=0.782 ms
64 bytes from 212.84.209.195: seq=2 ttl=62 time=0.798 ms
--- 212.84.209.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.782/3.147/7.862 ms
2025-05-08 17:24:22,718 - INFO - Ping to IP 212.84.209.195 from VM ctest-TestRoutersBasic-01832396-44772341 passed
2025-05-08 17:24:22,718 - INFO - Deleting interface with subnet_id bf350232-732b-45c1-b6cc-0ace6d2ec172, port_id None from router ca775dbd-c317-457a-81e0-b127e71b6671
2025-05-08 17:24:22,923 - INFO - Deleting VM ctest-TestRoutersBasic-01832396-02000654
2025-05-08 17:24:23,006 - INFO - Deleting VM ctest-TestRoutersBasic-01832396-44772341
2025-05-08 17:24:23,091 - INFO - Deleting VN ctest-ext_vn-98752581
2025-05-08 17:24:23,151 - DEBUG - VN 8ceecb6a-006b-4e03-a300-2639efc8683b still in use: Unable to complete operation on network 8ceecb6a-006b-4e03-a300-2639efc8683b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bf6d9696-94d8-4543-9965-9fa67ed43615']
2025-05-08 17:24:23,152 - WARNING - Deleting VN ctest-ext_vn-98752581 failed..Will retry
2025-05-08 17:24:25,264 - DEBUG - Response for deleting network ()
2025-05-08 17:24:25,265 - INFO - Deleting VN ctest-vn-52343511
2025-05-08 17:24:25,370 - DEBUG - Response for deleting network ()
2025-05-08 17:24:25,635 - DEBUG - No XMPP flaps were noticed during the test
2025-05-08 17:24:25,635 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-05-08 17:24:25,635 - INFO - --------------------------------------------------------------------------------
2025-05-08 17:24:26,364 - INFO - Deleted project: ctest-TestRoutersBasic-01832396, ID : 585b50fc-d8f7-4335-86da-f625fc59bdbb