2025-10-08 13:30:51,204 - INFO - Domain Default found not creating
2025-10-08 13:30:51,343 - INFO - Project ctest-TestRoutersBasic-01983260 not found, creating it
2025-10-08 13:30:51,911 - INFO - Created Project:ctest-TestRoutersBasic-01983260, ID : 3ee4d87b-f417-4869-a50c-22f120a10502
2025-10-08 13:30:53,347 - INFO - ================================================================================
2025-10-08 13:30:53,347 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-08 13:30:53,347 - 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-10-08 13:30:54,628 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.131': {'10.20.0.14': '0', '10.20.0.25': '0'}} with
2025-10-08 13:30:54,629 - INFO - Initial checks done. Running the testcase now
2025-10-08 13:30:54,629 - INFO -
2025-10-08 13:30:55,359 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01983260
2025-10-08 13:30:55,421 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01983260
2025-10-08 13:30:55,743 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01983260', 'default']}
2025-10-08 13:30:56,167 - DEBUG - Response for create_network : {'network': {'id': '4fee1f01-eb0a-4de9-ade4-6bc1a400c477', 'name': 'ctest-vn-72566955', 'tenant_id': '3ee4d87bf4174869a50c22f120a10502', 'project_id': '3ee4d87bf4174869a50c22f120a10502', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01983260', 'ctest-vn-72566955'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 13:30:56,447 - DEBUG - Response for create_subnet : {'subnet': {'id': 'def00cfe-3e21-455e-9caa-829d3a4890a4', 'name': '', 'tenant_id': '3ee4d87bf4174869a50c22f120a10502', 'network_id': '4fee1f01-eb0a-4de9-ade4-6bc1a400c477', 'ip_version': 4, 'cidr': '158.237.129.0/26', 'allocation_pools': [{'start': '158.237.129.2', 'end': '158.237.129.62'}], 'gateway_ip': '158.237.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.237.129.2', 'tags': [], 'project_id': '3ee4d87bf4174869a50c22f120a10502'}}
2025-10-08 13:30:56,472 - INFO - Created VN ctest-vn-72566955
2025-10-08 13:30:56,487 - DEBUG - VN ctest-vn-72566955 UUID is 4fee1f01-eb0a-4de9-ade4-6bc1a400c477
2025-10-08 13:30:56,887 - DEBUG - Response for create_network : {'network': {'id': '1d146301-7630-4ce1-95b0-5bbbc2cebedd', 'name': 'ctest-ext_vn-41270520', 'tenant_id': '3ee4d87bf4174869a50c22f120a10502', 'project_id': '3ee4d87bf4174869a50c22f120a10502', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01983260', 'ctest-ext_vn-41270520'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 13:30:57,165 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfe1352e-ed89-45be-848b-40a236d8c339', 'name': '', 'tenant_id': '3ee4d87bf4174869a50c22f120a10502', 'network_id': '1d146301-7630-4ce1-95b0-5bbbc2cebedd', 'ip_version': 4, 'cidr': '64.133.168.0/26', 'allocation_pools': [{'start': '64.133.168.2', 'end': '64.133.168.62'}], 'gateway_ip': '64.133.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.133.168.2', 'tags': [], 'project_id': '3ee4d87bf4174869a50c22f120a10502'}}
2025-10-08 13:30:57,186 - INFO - Created VN ctest-ext_vn-41270520
2025-10-08 13:30:57,197 - DEBUG - VN ctest-ext_vn-41270520 UUID is 1d146301-7630-4ce1-95b0-5bbbc2cebedd
2025-10-08 13:30:57,319 - DEBUG - Services list from nova: [, , , ]
2025-10-08 13:30:58,313 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4234-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4234-2)
2025-10-08 13:30:59,590 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4234-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4234-1)
2025-10-08 13:30:59,726 - INFO - Setting gateway for router a45dad64-28f9-4f1c-a00b-4a398567d67d to network 1d146301-7630-4ce1-95b0-5bbbc2cebedd
2025-10-08 13:30:59,812 - INFO - Adding interface with subnet_id def00cfe-3e21-455e-9caa-829d3a4890a4, port_id None to router a45dad64-28f9-4f1c-a00b-4a398567d67d
2025-10-08 13:31:00,370 - INFO - Waiting for VM ctest-TestRoutersBasic-01983260-20348038 to be up..
2025-10-08 13:31:00,513 - DEBUG - VM is in ACTIVE state now
2025-10-08 13:31:00,514 - INFO - VM name : ctest-TestRoutersBasic-01983260-20348038
2025-10-08 13:31:00,632 - DEBUG - VM ctest-TestRoutersBasic-01983260-20348038 ID is 4b38b7b2-4ca5-4497-8fd2-8691f30abc7c
2025-10-08 13:31:00,659 - DEBUG - VM ctest-TestRoutersBasic-01983260-20348038 launched on Node an-jenkins-deploy-platform-ansible-os-4234-2
2025-10-08 13:31:00,814 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/4b38b7b2-4ca5-4497-8fd2-8691f30abc7c
2025-10-08 13:31:01,261 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/4b38b7b2-4ca5-4497-8fd2-8691f30abc7c
2025-10-08 13:31:01,349 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/74fe7c6e-2237-4119-b56a-833f3f84552c
2025-10-08 13:31:04,541 - 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 1006ms')
2025-10-08 13:31:04,541 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01983260-20348038 failed!
2025-10-08 13:31:04,555 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01983260:ctest-vn-72566955 is 158.237.129.1 and allocation pool is NOT set
2025-10-08 13:31:08,634 - 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 1017ms')
2025-10-08 13:31:08,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01983260-20348038 failed!
2025-10-08 13:31:08,647 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01983260:ctest-vn-72566955 is 158.237.129.1 and allocation pool is NOT set
2025-10-08 13:31:10,714 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.577 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.577/2.751/4.925/2.174 ms')
2025-10-08 13:31:10,714 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01983260-20348038 passed
2025-10-08 13:31:10,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 13:31:10,779 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01983260-20348038, IP 158.237.129.3, Port 22
2025-10-08 13:31:10,952 - DEBUG - VM ctest-TestRoutersBasic-01983260-20348038 is ready for SSH connections
2025-10-08 13:31:10,952 - INFO - Waiting for VM ctest-TestRoutersBasic-01983260-47623139 to be up..
2025-10-08 13:31:11,047 - DEBUG - VM is in ACTIVE state now
2025-10-08 13:31:11,047 - INFO - VM name : ctest-TestRoutersBasic-01983260-47623139
2025-10-08 13:31:11,122 - DEBUG - VM ctest-TestRoutersBasic-01983260-47623139 ID is 84adb6cb-bbbf-4337-b75b-fec12dd3e94b
2025-10-08 13:31:11,122 - DEBUG - VM ctest-TestRoutersBasic-01983260-47623139 launched on Node an-jenkins-deploy-platform-ansible-os-4234-1
2025-10-08 13:31:11,197 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/84adb6cb-bbbf-4337-b75b-fec12dd3e94b
2025-10-08 13:31:11,209 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/c802e908-5954-479f-8a58-0bae5d3ad573
2025-10-08 13:31:14,389 - 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=12.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 12.054/12.054/12.054/0.000 ms')
2025-10-08 13:31:14,389 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01983260-47623139 passed
2025-10-08 13:31:14,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 13:31:14,460 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01983260-47623139, IP 64.133.168.3, Port 22
2025-10-08 13:31:14,529 - 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-10-08 13:31:14,618 - DEBUG - VM ctest-TestRoutersBasic-01983260-47623139 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 13:31:19,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 13:31:19,619 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01983260-47623139, IP 64.133.168.3, Port 22
2025-10-08 13:31:19,792 - DEBUG - VM ctest-TestRoutersBasic-01983260-47623139 is ready for SSH connections
2025-10-08 13:31:19,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 13:31:19,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.133.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-10-08 13:31:19,792 - DEBUG - ping -s 56 -c 3 -W 1 64.133.168.3
2025-10-08 13:31:23,506 - DEBUG - PING 64.133.168.3 (64.133.168.3): 56 data bytes
64 bytes from 64.133.168.3: seq=0 ttl=62 time=10.424 ms
64 bytes from 64.133.168.3: seq=1 ttl=62 time=1.435 ms
64 bytes from 64.133.168.3: seq=2 ttl=62 time=1.934 ms
--- 64.133.168.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.435/4.597/10.424 ms
2025-10-08 13:31:23,506 - INFO - Ping to IP 64.133.168.3 from VM ctest-TestRoutersBasic-01983260-20348038 passed
2025-10-08 13:31:23,506 - INFO - Deleting interface with subnet_id def00cfe-3e21-455e-9caa-829d3a4890a4, port_id None from router a45dad64-28f9-4f1c-a00b-4a398567d67d
2025-10-08 13:31:23,869 - INFO - Deleting VM ctest-TestRoutersBasic-01983260-47623139
2025-10-08 13:31:24,023 - INFO - Deleting VM ctest-TestRoutersBasic-01983260-20348038
2025-10-08 13:31:24,149 - INFO - Deleting VN ctest-ext_vn-41270520
2025-10-08 13:31:24,347 - DEBUG - VN 1d146301-7630-4ce1-95b0-5bbbc2cebedd still in use: Unable to complete operation on network 1d146301-7630-4ce1-95b0-5bbbc2cebedd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-64c92b4b-76c0-4514-b3dd-3f4be287ba29']
2025-10-08 13:31:24,348 - WARNING - Deleting VN ctest-ext_vn-41270520 failed..Will retry
2025-10-08 13:31:26,529 - DEBUG - Response for deleting network ()
2025-10-08 13:31:26,529 - INFO - Deleting VN ctest-vn-72566955
2025-10-08 13:31:26,700 - DEBUG - Response for deleting network ()
2025-10-08 13:31:27,975 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 13:31:27,975 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-10-08 13:31:27,975 - INFO - --------------------------------------------------------------------------------
2025-10-08 13:31:28,719 - INFO - Deleted project: ctest-TestRoutersBasic-01983260, ID : 3ee4d87b-f417-4869-a50c-22f120a10502