2025-08-27 09:35:48,879 - INFO - Domain Default found not creating
2025-08-27 09:35:49,046 - INFO - Project ctest-TestRoutersBasic-87241869 not found, creating it
2025-08-27 09:35:49,507 - INFO - Created Project:ctest-TestRoutersBasic-87241869, ID : d25ce3bd-bbe2-4c4b-a728-99187cb733ed
2025-08-27 09:35:50,992 - INFO - ================================================================================
2025-08-27 09:35:50,992 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-27 09:35:50,992 - 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-27 09:35:51,247 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-27 09:35:51,247 - INFO - Initial checks done. Running the testcase now
2025-08-27 09:35:51,247 - INFO -
2025-08-27 09:35:51,972 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87241869
2025-08-27 09:35:52,073 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87241869
2025-08-27 09:35:52,396 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87241869', 'default']}
2025-08-27 09:35:52,693 - DEBUG - Response for create_network : {'network': {'id': '61c5c82f-6e01-4b21-9604-334f8e8ab96f', 'name': 'ctest-vn-81432545', 'tenant_id': 'd25ce3bdbbe24c4ba72899187cb733ed', 'project_id': 'd25ce3bdbbe24c4ba72899187cb733ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87241869', 'ctest-vn-81432545'], 'port_security_enabled': True, 'description': ''}}
2025-08-27 09:35:52,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '22063789-0ddd-44b0-86ee-0aeaaa842b49', 'name': '', 'tenant_id': 'd25ce3bdbbe24c4ba72899187cb733ed', 'network_id': '61c5c82f-6e01-4b21-9604-334f8e8ab96f', 'ip_version': 4, 'cidr': '166.159.225.0/26', 'allocation_pools': [{'start': '166.159.225.2', 'end': '166.159.225.62'}], 'gateway_ip': '166.159.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.159.225.2', 'tags': [], 'project_id': 'd25ce3bdbbe24c4ba72899187cb733ed'}}
2025-08-27 09:35:52,966 - INFO - Created VN ctest-vn-81432545
2025-08-27 09:35:53,020 - DEBUG - VN ctest-vn-81432545 UUID is 61c5c82f-6e01-4b21-9604-334f8e8ab96f
2025-08-27 09:35:53,318 - DEBUG - Response for create_network : {'network': {'id': '32c1cdd6-d0e6-45e6-9103-0a9f0b85cfb5', 'name': 'ctest-ext_vn-95025448', 'tenant_id': 'd25ce3bdbbe24c4ba72899187cb733ed', 'project_id': 'd25ce3bdbbe24c4ba72899187cb733ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87241869', 'ctest-ext_vn-95025448'], 'port_security_enabled': True, 'description': ''}}
2025-08-27 09:35:53,522 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1403aa5-6aa0-4a07-94f4-a47f72d7ab10', 'name': '', 'tenant_id': 'd25ce3bdbbe24c4ba72899187cb733ed', 'network_id': '32c1cdd6-d0e6-45e6-9103-0a9f0b85cfb5', 'ip_version': 4, 'cidr': '72.147.186.0/26', 'allocation_pools': [{'start': '72.147.186.2', 'end': '72.147.186.62'}], 'gateway_ip': '72.147.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.147.186.2', 'tags': [], 'project_id': 'd25ce3bdbbe24c4ba72899187cb733ed'}}
2025-08-27 09:35:53,540 - INFO - Created VN ctest-ext_vn-95025448
2025-08-27 09:35:53,592 - DEBUG - VN ctest-ext_vn-95025448 UUID is 32c1cdd6-d0e6-45e6-9103-0a9f0b85cfb5
2025-08-27 09:35:53,775 - DEBUG - Services list from nova: [, , ]
2025-08-27 09:35:54,833 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3947-1)
2025-08-27 09:35:56,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3947-1)
2025-08-27 09:35:56,106 - INFO - Setting gateway for router a6227db0-813e-4c58-b9d4-9cba9062ad0b to network 32c1cdd6-d0e6-45e6-9103-0a9f0b85cfb5
2025-08-27 09:35:56,166 - INFO - Adding interface with subnet_id 22063789-0ddd-44b0-86ee-0aeaaa842b49, port_id None to router a6227db0-813e-4c58-b9d4-9cba9062ad0b
2025-08-27 09:35:56,616 - INFO - Waiting for VM ctest-TestRoutersBasic-87241869-84265201 to be up..
2025-08-27 09:35:56,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-27 09:36:01,830 - DEBUG - VM is in ACTIVE state now
2025-08-27 09:36:01,830 - INFO - VM name : ctest-TestRoutersBasic-87241869-84265201
2025-08-27 09:36:01,918 - DEBUG - VM ctest-TestRoutersBasic-87241869-84265201 ID is dbc44b58-58d2-4cbc-8c91-b83a3463969d
2025-08-27 09:36:01,940 - DEBUG - VM ctest-TestRoutersBasic-87241869-84265201 launched on Node cn-jenkins-deploy-platform-ansible-os-3947-1
2025-08-27 09:36:02,021 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dbc44b58-58d2-4cbc-8c91-b83a3463969d
2025-08-27 09:36:02,323 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dbc44b58-58d2-4cbc-8c91-b83a3463969d
2025-08-27 09:36:02,363 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/78434de7-226b-403d-9acb-66d8dc66b940
2025-08-27 09:36:05,625 - 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 1021ms')
2025-08-27 09:36:05,625 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87241869-84265201 failed!
2025-08-27 09:36:05,680 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87241869:ctest-vn-81432545 is 166.159.225.1 and allocation pool is NOT set
2025-08-27 09:36:07,755 - 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=2.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.72 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 = 2.717/2.850/2.984/0.133 ms')
2025-08-27 09:36:07,755 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87241869-84265201 passed
2025-08-27 09:36:07,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-27 09:36:07,908 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87241869-84265201, IP 166.159.225.3, Port 22
2025-08-27 09:36:07,974 - 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-08-27 09:36:08,099 - DEBUG - VM ctest-TestRoutersBasic-87241869-84265201 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-27 09:36:13,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-27 09:36:13,100 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87241869-84265201, IP 166.159.225.3, Port 22
2025-08-27 09:36:13,279 - DEBUG - VM ctest-TestRoutersBasic-87241869-84265201 is ready for SSH connections
2025-08-27 09:36:13,279 - INFO - Waiting for VM ctest-TestRoutersBasic-87241869-64030402 to be up..
2025-08-27 09:36:13,378 - DEBUG - VM is in ACTIVE state now
2025-08-27 09:36:13,378 - INFO - VM name : ctest-TestRoutersBasic-87241869-64030402
2025-08-27 09:36:13,465 - DEBUG - VM ctest-TestRoutersBasic-87241869-64030402 ID is 2792f643-bb8e-481d-bdff-98473ae63c4d
2025-08-27 09:36:13,465 - DEBUG - VM ctest-TestRoutersBasic-87241869-64030402 launched on Node cn-jenkins-deploy-platform-ansible-os-3947-1
2025-08-27 09:36:13,563 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2792f643-bb8e-481d-bdff-98473ae63c4d
2025-08-27 09:36:13,572 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5f96b503-5efd-4c77-94a6-b25dce2160f5
2025-08-27 09:36:14,821 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/1.984/3.449/1.464 ms')
2025-08-27 09:36:14,821 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87241869-64030402 passed
2025-08-27 09:36:14,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-27 09:36:14,968 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87241869-64030402, IP 72.147.186.3, Port 22
2025-08-27 09:36:15,128 - DEBUG - VM ctest-TestRoutersBasic-87241869-64030402 is ready for SSH connections
2025-08-27 09:36:15,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-27 09:36:15,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.147.186.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-27 09:36:15,128 - DEBUG - ping -s 56 -c 3 -W 1 72.147.186.3
2025-08-27 09:36:18,845 - DEBUG - PING 72.147.186.3 (72.147.186.3): 56 data bytes
64 bytes from 72.147.186.3: seq=0 ttl=62 time=7.270 ms
64 bytes from 72.147.186.3: seq=1 ttl=62 time=1.008 ms
64 bytes from 72.147.186.3: seq=2 ttl=62 time=1.410 ms
--- 72.147.186.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.008/3.229/7.270 ms
2025-08-27 09:36:18,845 - INFO - Ping to IP 72.147.186.3 from VM ctest-TestRoutersBasic-87241869-84265201 passed
2025-08-27 09:36:18,845 - INFO - Deleting interface with subnet_id 22063789-0ddd-44b0-86ee-0aeaaa842b49, port_id None from router a6227db0-813e-4c58-b9d4-9cba9062ad0b
2025-08-27 09:36:19,062 - INFO - Deleting VM ctest-TestRoutersBasic-87241869-64030402
2025-08-27 09:36:19,135 - INFO - Deleting VM ctest-TestRoutersBasic-87241869-84265201
2025-08-27 09:36:19,231 - INFO - Deleting VN ctest-ext_vn-95025448
2025-08-27 09:36:19,320 - DEBUG - VN 32c1cdd6-d0e6-45e6-9103-0a9f0b85cfb5 still in use: Unable to complete operation on network 32c1cdd6-d0e6-45e6-9103-0a9f0b85cfb5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-512b170e-2b3f-4477-b8f5-f82b67ae0076']
2025-08-27 09:36:19,321 - WARNING - Deleting VN ctest-ext_vn-95025448 failed..Will retry
2025-08-27 09:36:21,430 - DEBUG - Response for deleting network ()
2025-08-27 09:36:21,430 - INFO - Deleting VN ctest-vn-81432545
2025-08-27 09:36:21,547 - DEBUG - Response for deleting network ()
2025-08-27 09:36:21,803 - DEBUG - No XMPP flaps were noticed during the test
2025-08-27 09:36:21,803 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-08-27 09:36:21,803 - INFO - --------------------------------------------------------------------------------
2025-08-27 09:36:22,495 - INFO - Deleted project: ctest-TestRoutersBasic-87241869, ID : d25ce3bd-bbe2-4c4b-a728-99187cb733ed