2025-10-08 12:49:00,440 - INFO - Domain Default found not creating
2025-10-08 12:49:00,578 - INFO - Project ctest-TestRoutersBasic-55110005 not found, creating it
2025-10-08 12:49:01,018 - INFO - Created Project:ctest-TestRoutersBasic-55110005, ID : 52eb2b55-4e3d-4116-ac51-0f71b8d96652
2025-10-08 12:49:02,373 - INFO - ================================================================================
2025-10-08 12:49:02,373 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-08 12:49:02,373 - 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 12:49:02,626 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-08 12:49:02,627 - INFO - Initial checks done. Running the testcase now
2025-10-08 12:49:02,627 - INFO -
2025-10-08 12:49:03,305 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55110005
2025-10-08 12:49:03,398 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55110005
2025-10-08 12:49:03,713 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55110005', 'default']}
2025-10-08 12:49:03,994 - DEBUG - Response for create_network : {'network': {'id': '9bbe1177-337a-4d36-b366-48c76362e4ec', 'name': 'ctest-vn-57647775', 'tenant_id': '52eb2b554e3d4116ac510f71b8d96652', 'project_id': '52eb2b554e3d4116ac510f71b8d96652', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55110005', 'ctest-vn-57647775'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 12:49:04,185 - DEBUG - Response for create_subnet : {'subnet': {'id': '12bd9332-25a9-4601-bbc4-b04920798387', 'name': '', 'tenant_id': '52eb2b554e3d4116ac510f71b8d96652', 'network_id': '9bbe1177-337a-4d36-b366-48c76362e4ec', 'ip_version': 4, 'cidr': '23.35.26.192/26', 'allocation_pools': [{'start': '23.35.26.194', 'end': '23.35.26.254'}], 'gateway_ip': '23.35.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.35.26.194', 'tags': [], 'project_id': '52eb2b554e3d4116ac510f71b8d96652'}}
2025-10-08 12:49:04,201 - INFO - Created VN ctest-vn-57647775
2025-10-08 12:49:04,254 - DEBUG - VN ctest-vn-57647775 UUID is 9bbe1177-337a-4d36-b366-48c76362e4ec
2025-10-08 12:49:04,591 - DEBUG - Response for create_network : {'network': {'id': '8318a475-5ce5-41af-9380-114803c9cb72', 'name': 'ctest-ext_vn-34301757', 'tenant_id': '52eb2b554e3d4116ac510f71b8d96652', 'project_id': '52eb2b554e3d4116ac510f71b8d96652', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55110005', 'ctest-ext_vn-34301757'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 12:49:04,745 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd04f1b9a-48d5-4f76-b8ae-05ec3cd5a65e', 'name': '', 'tenant_id': '52eb2b554e3d4116ac510f71b8d96652', 'network_id': '8318a475-5ce5-41af-9380-114803c9cb72', 'ip_version': 4, 'cidr': '107.50.130.192/26', 'allocation_pools': [{'start': '107.50.130.194', 'end': '107.50.130.254'}], 'gateway_ip': '107.50.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.50.130.194', 'tags': [], 'project_id': '52eb2b554e3d4116ac510f71b8d96652'}}
2025-10-08 12:49:04,763 - INFO - Created VN ctest-ext_vn-34301757
2025-10-08 12:49:04,814 - DEBUG - VN ctest-ext_vn-34301757 UUID is 8318a475-5ce5-41af-9380-114803c9cb72
2025-10-08 12:49:05,017 - DEBUG - Services list from nova: [, , ]
2025-10-08 12:49:05,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4233-1)
2025-10-08 12:49:07,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4233-1)
2025-10-08 12:49:07,130 - INFO - Setting gateway for router 48c53cfc-d74f-4ef1-aa9f-5879001162d5 to network 8318a475-5ce5-41af-9380-114803c9cb72
2025-10-08 12:49:07,186 - INFO - Adding interface with subnet_id 12bd9332-25a9-4601-bbc4-b04920798387, port_id None to router 48c53cfc-d74f-4ef1-aa9f-5879001162d5
2025-10-08 12:49:07,486 - INFO - Waiting for VM ctest-TestRoutersBasic-55110005-87365178 to be up..
2025-10-08 12:49:07,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 12:49:12,669 - DEBUG - VM is in ACTIVE state now
2025-10-08 12:49:12,670 - INFO - VM name : ctest-TestRoutersBasic-55110005-87365178
2025-10-08 12:49:12,753 - DEBUG - VM ctest-TestRoutersBasic-55110005-87365178 ID is 0adbc23b-d490-448e-b70f-596c671bd4e1
2025-10-08 12:49:12,770 - DEBUG - VM ctest-TestRoutersBasic-55110005-87365178 launched on Node cn-jenkins-deploy-platform-ansible-os-4233-1
2025-10-08 12:49:12,834 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0adbc23b-d490-448e-b70f-596c671bd4e1
2025-10-08 12:49:13,122 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0adbc23b-d490-448e-b70f-596c671bd4e1
2025-10-08 12:49:13,162 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e67c5db0-53c3-419a-8eda-71c89795c129
2025-10-08 12:49:16,415 - 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-10-08 12:49:16,415 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55110005-87365178 failed!
2025-10-08 12:49:16,470 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55110005:ctest-vn-57647775 is 23.35.26.193 and allocation pool is NOT set
2025-10-08 12:49:18,533 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.611 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.611/2.148/3.685/1.537 ms')
2025-10-08 12:49:18,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55110005-87365178 passed
2025-10-08 12:49:18,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 12:49:18,682 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55110005-87365178, IP 23.35.26.195, Port 22
2025-10-08 12:49:18,741 - 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 12:49:18,808 - DEBUG - VM ctest-TestRoutersBasic-55110005-87365178 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 12:49:23,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 12:49:23,809 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55110005-87365178, IP 23.35.26.195, Port 22
2025-10-08 12:49:23,961 - DEBUG - VM ctest-TestRoutersBasic-55110005-87365178 is ready for SSH connections
2025-10-08 12:49:23,961 - INFO - Waiting for VM ctest-TestRoutersBasic-55110005-30342587 to be up..
2025-10-08 12:49:24,031 - DEBUG - VM is in ACTIVE state now
2025-10-08 12:49:24,031 - INFO - VM name : ctest-TestRoutersBasic-55110005-30342587
2025-10-08 12:49:24,102 - DEBUG - VM ctest-TestRoutersBasic-55110005-30342587 ID is 6284b4b1-7723-44fd-96a0-217e37ad3420
2025-10-08 12:49:24,103 - DEBUG - VM ctest-TestRoutersBasic-55110005-30342587 launched on Node cn-jenkins-deploy-platform-ansible-os-4233-1
2025-10-08 12:49:24,179 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6284b4b1-7723-44fd-96a0-217e37ad3420
2025-10-08 12:49:24,187 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7a002804-1237-4d42-8dd4-2a0d3abcc254
2025-10-08 12:49:25,413 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 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.345/1.967/3.590/1.622 ms')
2025-10-08 12:49:25,413 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55110005-30342587 passed
2025-10-08 12:49:25,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 12:49:25,566 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55110005-30342587, IP 107.50.130.195, Port 22
2025-10-08 12:49:25,721 - DEBUG - VM ctest-TestRoutersBasic-55110005-30342587 is ready for SSH connections
2025-10-08 12:49:25,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 12:49:25,721 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.50.130.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-08 12:49:25,721 - DEBUG - ping -s 56 -c 3 -W 1 107.50.130.195
2025-10-08 12:49:29,775 - DEBUG - PING 107.50.130.195 (107.50.130.195): 56 data bytes
64 bytes from 107.50.130.195: seq=0 ttl=62 time=6.510 ms
64 bytes from 107.50.130.195: seq=1 ttl=62 time=0.870 ms
64 bytes from 107.50.130.195: seq=2 ttl=62 time=0.793 ms
--- 107.50.130.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.793/2.724/6.510 ms
2025-10-08 12:49:29,776 - INFO - Ping to IP 107.50.130.195 from VM ctest-TestRoutersBasic-55110005-87365178 passed
2025-10-08 12:49:29,776 - INFO - Deleting interface with subnet_id 12bd9332-25a9-4601-bbc4-b04920798387, port_id None from router 48c53cfc-d74f-4ef1-aa9f-5879001162d5
2025-10-08 12:49:29,946 - INFO - Deleting VM ctest-TestRoutersBasic-55110005-30342587
2025-10-08 12:49:30,021 - INFO - Deleting VM ctest-TestRoutersBasic-55110005-87365178
2025-10-08 12:49:30,108 - INFO - Deleting VN ctest-ext_vn-34301757
2025-10-08 12:49:30,169 - DEBUG - VN 8318a475-5ce5-41af-9380-114803c9cb72 still in use: Unable to complete operation on network 8318a475-5ce5-41af-9380-114803c9cb72. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-49fc73fb-e07e-4763-8a6d-23f1eef5954b']
2025-10-08 12:49:30,169 - WARNING - Deleting VN ctest-ext_vn-34301757 failed..Will retry
2025-10-08 12:49:32,256 - DEBUG - Response for deleting network ()
2025-10-08 12:49:32,256 - INFO - Deleting VN ctest-vn-57647775
2025-10-08 12:49:32,349 - DEBUG - Response for deleting network ()
2025-10-08 12:49:32,606 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 12:49:32,606 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-10-08 12:49:32,606 - INFO - --------------------------------------------------------------------------------
2025-10-08 12:49:33,267 - INFO - Deleted project: ctest-TestRoutersBasic-55110005, ID : 52eb2b55-4e3d-4116-ac51-0f71b8d96652