2025-08-26 08:01:01,723 - INFO - Domain Default found not creating
2025-08-26 08:01:01,873 - INFO - Project ctest-TestRoutersBasic-97915893 not found, creating it
2025-08-26 08:01:02,363 - INFO - Created Project:ctest-TestRoutersBasic-97915893, ID : 94998e63-8891-4555-ab4d-9ce20381c258
2025-08-26 08:01:03,915 - INFO - ================================================================================
2025-08-26 08:01:03,915 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-26 08:01:03,915 - 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-08-26 08:01:04,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-26 08:01:04,177 - INFO - Initial checks done. Running the testcase now
2025-08-26 08:01:04,177 - INFO -
2025-08-26 08:01:04,969 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97915893
2025-08-26 08:01:05,071 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97915893
2025-08-26 08:01:05,422 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97915893', 'default']}
2025-08-26 08:01:05,762 - DEBUG - Response for create_network : {'network': {'id': '04afc8ab-e0e7-432c-9bbb-d44fbb459ac1', 'name': 'ctest-vn-61333634', 'tenant_id': '94998e6388914555ab4d9ce20381c258', 'project_id': '94998e6388914555ab4d9ce20381c258', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97915893', 'ctest-vn-61333634'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 08:01:05,941 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e94dccf1-6357-4e63-b08d-c7095f57f9d7', 'name': '', 'tenant_id': '94998e6388914555ab4d9ce20381c258', 'network_id': '04afc8ab-e0e7-432c-9bbb-d44fbb459ac1', 'ip_version': 4, 'cidr': '205.53.26.64/26', 'allocation_pools': [{'start': '205.53.26.66', 'end': '205.53.26.126'}], 'gateway_ip': '205.53.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.53.26.66', 'tags': [], 'project_id': '94998e6388914555ab4d9ce20381c258'}}
2025-08-26 08:01:05,961 - INFO - Created VN ctest-vn-61333634
2025-08-26 08:01:06,015 - DEBUG - VN ctest-vn-61333634 UUID is 04afc8ab-e0e7-432c-9bbb-d44fbb459ac1
2025-08-26 08:01:06,356 - DEBUG - Response for create_network : {'network': {'id': '542d9aea-ddb1-46fa-a716-d09463a602ad', 'name': 'ctest-ext_vn-57985325', 'tenant_id': '94998e6388914555ab4d9ce20381c258', 'project_id': '94998e6388914555ab4d9ce20381c258', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97915893', 'ctest-ext_vn-57985325'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 08:01:06,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ecaf86f-205a-4b9d-ab0f-0b86ac3e7be9', 'name': '', 'tenant_id': '94998e6388914555ab4d9ce20381c258', 'network_id': '542d9aea-ddb1-46fa-a716-d09463a602ad', 'ip_version': 4, 'cidr': '213.207.232.128/26', 'allocation_pools': [{'start': '213.207.232.130', 'end': '213.207.232.190'}], 'gateway_ip': '213.207.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.207.232.130', 'tags': [], 'project_id': '94998e6388914555ab4d9ce20381c258'}}
2025-08-26 08:01:06,546 - INFO - Created VN ctest-ext_vn-57985325
2025-08-26 08:01:06,602 - DEBUG - VN ctest-ext_vn-57985325 UUID is 542d9aea-ddb1-46fa-a716-d09463a602ad
2025-08-26 08:01:06,770 - DEBUG - Services list from nova: [, , ]
2025-08-26 08:01:07,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3936-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3936-1)
2025-08-26 08:01:09,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3936-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3936-1)
2025-08-26 08:01:09,270 - INFO - Setting gateway for router 56d4eee1-990a-43a5-984c-0594a4eab584 to network 542d9aea-ddb1-46fa-a716-d09463a602ad
2025-08-26 08:01:09,330 - INFO - Adding interface with subnet_id e94dccf1-6357-4e63-b08d-c7095f57f9d7, port_id None to router 56d4eee1-990a-43a5-984c-0594a4eab584
2025-08-26 08:01:09,729 - INFO - Waiting for VM ctest-TestRoutersBasic-97915893-24994375 to be up..
2025-08-26 08:01:09,906 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-26 08:01:15,001 - DEBUG - VM is in ACTIVE state now
2025-08-26 08:01:15,001 - INFO - VM name : ctest-TestRoutersBasic-97915893-24994375
2025-08-26 08:01:15,107 - DEBUG - VM ctest-TestRoutersBasic-97915893-24994375 ID is 2f1ec8db-2632-4e30-989c-a11735033bfd
2025-08-26 08:01:15,130 - DEBUG - VM ctest-TestRoutersBasic-97915893-24994375 launched on Node cn-jenkins-deploy-platform-ansible-os-3936-1
2025-08-26 08:01:15,223 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2f1ec8db-2632-4e30-989c-a11735033bfd
2025-08-26 08:01:15,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2f1ec8db-2632-4e30-989c-a11735033bfd
2025-08-26 08:01:15,600 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f739a0c1-b8cd-46a5-9603-0cc3986afba9
2025-08-26 08:01:18,872 - 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 1011ms')
2025-08-26 08:01:18,872 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97915893-24994375 failed!
2025-08-26 08:01:18,931 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97915893:ctest-vn-61333634 is 205.53.26.65 and allocation pool is NOT set
2025-08-26 08:01:20,995 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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.418/2.057/3.697/1.639 ms')
2025-08-26 08:01:20,995 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97915893-24994375 passed
2025-08-26 08:01:21,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 08:01:21,171 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97915893-24994375, IP 205.53.26.67, Port 22
2025-08-26 08:01:21,341 - DEBUG - VM ctest-TestRoutersBasic-97915893-24994375 is ready for SSH connections
2025-08-26 08:01:21,341 - INFO - Waiting for VM ctest-TestRoutersBasic-97915893-79436226 to be up..
2025-08-26 08:01:21,421 - DEBUG - VM is in ACTIVE state now
2025-08-26 08:01:21,421 - INFO - VM name : ctest-TestRoutersBasic-97915893-79436226
2025-08-26 08:01:21,497 - DEBUG - VM ctest-TestRoutersBasic-97915893-79436226 ID is ab3fc94b-ddb0-4b64-8cbd-3e3ccdf11723
2025-08-26 08:01:21,497 - DEBUG - VM ctest-TestRoutersBasic-97915893-79436226 launched on Node cn-jenkins-deploy-platform-ansible-os-3936-1
2025-08-26 08:01:21,574 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ab3fc94b-ddb0-4b64-8cbd-3e3ccdf11723
2025-08-26 08:01:21,582 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/624aadc3-7d7d-4f1a-808e-dcfef0578c9a
2025-08-26 08:01:22,833 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.56 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 = 2.562/3.073/3.584/0.511 ms')
2025-08-26 08:01:22,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97915893-79436226 passed
2025-08-26 08:01:22,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 08:01:22,991 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97915893-79436226, IP 213.207.232.131, Port 22
2025-08-26 08:01:23,050 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-08-26 08:01:23,125 - DEBUG - VM ctest-TestRoutersBasic-97915893-79436226 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 08:01:28,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 08:01:28,126 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97915893-79436226, IP 213.207.232.131, Port 22
2025-08-26 08:01:28,292 - DEBUG - VM ctest-TestRoutersBasic-97915893-79436226 is ready for SSH connections
2025-08-26 08:01:28,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 08:01:28,292 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.207.232.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-26 08:01:28,292 - DEBUG - ping -s 56 -c 3 -W 1 213.207.232.131
2025-08-26 08:01:31,979 - DEBUG - PING 213.207.232.131 (213.207.232.131): 56 data bytes
64 bytes from 213.207.232.131: seq=0 ttl=62 time=5.497 ms
64 bytes from 213.207.232.131: seq=1 ttl=62 time=0.828 ms
64 bytes from 213.207.232.131: seq=2 ttl=62 time=0.993 ms
--- 213.207.232.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.828/2.439/5.497 ms
2025-08-26 08:01:31,979 - INFO - Ping to IP 213.207.232.131 from VM ctest-TestRoutersBasic-97915893-24994375 passed
2025-08-26 08:01:31,979 - INFO - Deleting interface with subnet_id e94dccf1-6357-4e63-b08d-c7095f57f9d7, port_id None from router 56d4eee1-990a-43a5-984c-0594a4eab584
2025-08-26 08:01:32,194 - INFO - Deleting VM ctest-TestRoutersBasic-97915893-79436226
2025-08-26 08:01:32,279 - INFO - Deleting VM ctest-TestRoutersBasic-97915893-24994375
2025-08-26 08:01:32,387 - INFO - Deleting VN ctest-ext_vn-57985325
2025-08-26 08:01:32,482 - DEBUG - VN 542d9aea-ddb1-46fa-a716-d09463a602ad still in use: Unable to complete operation on network 542d9aea-ddb1-46fa-a716-d09463a602ad. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6f3032b9-6e64-4adf-b962-6099029b1f6c']
2025-08-26 08:01:32,482 - WARNING - Deleting VN ctest-ext_vn-57985325 failed..Will retry
2025-08-26 08:01:34,599 - DEBUG - Response for deleting network ()
2025-08-26 08:01:34,599 - INFO - Deleting VN ctest-vn-61333634
2025-08-26 08:01:34,701 - DEBUG - Response for deleting network ()
2025-08-26 08:01:34,956 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 08:01:34,956 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-08-26 08:01:34,956 - INFO - --------------------------------------------------------------------------------
2025-08-26 08:01:35,678 - INFO - Deleted project: ctest-TestRoutersBasic-97915893, ID : 94998e63-8891-4555-ab4d-9ce20381c258