2025-10-27 07:53:02,627 - INFO - Domain Default found not creating
2025-10-27 07:53:02,786 - INFO - Project ctest-TestRoutersBasic-75579982 not found, creating it
2025-10-27 07:53:03,263 - INFO - Created Project:ctest-TestRoutersBasic-75579982, ID : 88af515b-c80b-406f-a206-1740a26be0dc
2025-10-27 07:53:04,836 - INFO - ================================================================================
2025-10-27 07:53:04,836 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-27 07:53:04,836 - 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-27 07:53:05,094 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-10-27 07:53:05,094 - INFO - Initial checks done. Running the testcase now
2025-10-27 07:53:05,094 - INFO -
2025-10-27 07:53:05,877 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75579982
2025-10-27 07:53:05,978 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75579982
2025-10-27 07:53:06,315 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75579982', 'default']}
2025-10-27 07:53:06,614 - DEBUG - Response for create_network : {'network': {'id': 'd861b31b-048f-454d-bbae-15ad870fac92', 'name': 'ctest-vn-74128650', 'tenant_id': '88af515bc80b406fa2061740a26be0dc', 'project_id': '88af515bc80b406fa2061740a26be0dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75579982', 'ctest-vn-74128650'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 07:53:06,837 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4eb5499-48e6-4ec6-98f4-c870f476a67f', 'name': '', 'tenant_id': '88af515bc80b406fa2061740a26be0dc', 'network_id': 'd861b31b-048f-454d-bbae-15ad870fac92', 'ip_version': 4, 'cidr': '162.240.89.0/26', 'allocation_pools': [{'start': '162.240.89.2', 'end': '162.240.89.62'}], 'gateway_ip': '162.240.89.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.240.89.2', 'tags': [], 'project_id': '88af515bc80b406fa2061740a26be0dc'}}
2025-10-27 07:53:06,859 - INFO - Created VN ctest-vn-74128650
2025-10-27 07:53:06,914 - DEBUG - VN ctest-vn-74128650 UUID is d861b31b-048f-454d-bbae-15ad870fac92
2025-10-27 07:53:07,259 - DEBUG - Response for create_network : {'network': {'id': 'dbb41484-1328-402e-a056-593f3f9ca6f9', 'name': 'ctest-ext_vn-64212206', 'tenant_id': '88af515bc80b406fa2061740a26be0dc', 'project_id': '88af515bc80b406fa2061740a26be0dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75579982', 'ctest-ext_vn-64212206'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 07:53:07,461 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa2443fa-e64b-4fef-b26d-bb20cf73b882', 'name': '', 'tenant_id': '88af515bc80b406fa2061740a26be0dc', 'network_id': 'dbb41484-1328-402e-a056-593f3f9ca6f9', 'ip_version': 4, 'cidr': '123.173.255.0/26', 'allocation_pools': [{'start': '123.173.255.2', 'end': '123.173.255.62'}], 'gateway_ip': '123.173.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.173.255.2', 'tags': [], 'project_id': '88af515bc80b406fa2061740a26be0dc'}}
2025-10-27 07:53:07,479 - INFO - Created VN ctest-ext_vn-64212206
2025-10-27 07:53:07,530 - DEBUG - VN ctest-ext_vn-64212206 UUID is dbb41484-1328-402e-a056-593f3f9ca6f9
2025-10-27 07:53:07,697 - DEBUG - Services list from nova: [, , ]
2025-10-27 07:53:08,796 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4495-1)
2025-10-27 07:53:10,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4495-1)
2025-10-27 07:53:10,097 - INFO - Setting gateway for router 7b9f67a8-07d3-4ba9-b6c4-ebb3399f9d72 to network dbb41484-1328-402e-a056-593f3f9ca6f9
2025-10-27 07:53:10,177 - INFO - Adding interface with subnet_id b4eb5499-48e6-4ec6-98f4-c870f476a67f, port_id None to router 7b9f67a8-07d3-4ba9-b6c4-ebb3399f9d72
2025-10-27 07:53:10,595 - INFO - Waiting for VM ctest-TestRoutersBasic-75579982-61632656 to be up..
2025-10-27 07:53:10,787 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 07:53:15,874 - DEBUG - VM is in ACTIVE state now
2025-10-27 07:53:15,874 - INFO - VM name : ctest-TestRoutersBasic-75579982-61632656
2025-10-27 07:53:15,957 - DEBUG - VM ctest-TestRoutersBasic-75579982-61632656 ID is 8b0d2235-288f-40e0-a586-4e136590b19c
2025-10-27 07:53:15,977 - DEBUG - VM ctest-TestRoutersBasic-75579982-61632656 launched on Node cn-jenkins-deploy-platform-ansible-os-4495-1
2025-10-27 07:53:16,050 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8b0d2235-288f-40e0-a586-4e136590b19c
2025-10-27 07:53:16,471 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8b0d2235-288f-40e0-a586-4e136590b19c
2025-10-27 07:53:16,512 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/42ec0091-2777-4ef3-bb06-cb9e4446b3a1
2025-10-27 07:53:19,784 - 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 1022ms')
2025-10-27 07:53:19,784 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75579982-61632656 failed!
2025-10-27 07:53:19,842 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75579982:ctest-vn-74128650 is 162.240.89.1 and allocation pool is NOT set
2025-10-27 07:53:21,903 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/1.837/3.254/1.417 ms')
2025-10-27 07:53:21,903 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75579982-61632656 passed
2025-10-27 07:53:22,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 07:53:22,054 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75579982-61632656, IP 162.240.89.3, Port 22
2025-10-27 07:53:22,213 - DEBUG - VM ctest-TestRoutersBasic-75579982-61632656 is ready for SSH connections
2025-10-27 07:53:22,213 - INFO - Waiting for VM ctest-TestRoutersBasic-75579982-63530178 to be up..
2025-10-27 07:53:22,290 - DEBUG - VM is in ACTIVE state now
2025-10-27 07:53:22,290 - INFO - VM name : ctest-TestRoutersBasic-75579982-63530178
2025-10-27 07:53:22,362 - DEBUG - VM ctest-TestRoutersBasic-75579982-63530178 ID is abc44d5f-c69a-4f7d-9de0-c4908ece8304
2025-10-27 07:53:22,362 - DEBUG - VM ctest-TestRoutersBasic-75579982-63530178 launched on Node cn-jenkins-deploy-platform-ansible-os-4495-1
2025-10-27 07:53:22,435 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/abc44d5f-c69a-4f7d-9de0-c4908ece8304
2025-10-27 07:53:22,443 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/15b8c2a8-88d7-4445-bc87-fc333da25011
2025-10-27 07:53:23,679 - 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=4.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.05 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 = 1.053/2.760/4.468/1.707 ms')
2025-10-27 07:53:23,679 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75579982-63530178 passed
2025-10-27 07:53:23,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 07:53:23,826 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75579982-63530178, IP 123.173.255.3, Port 22
2025-10-27 07:53:23,892 - 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-10-27 07:53:23,966 - DEBUG - VM ctest-TestRoutersBasic-75579982-63530178 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-27 07:53:28,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 07:53:28,967 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75579982-63530178, IP 123.173.255.3, Port 22
2025-10-27 07:53:29,121 - DEBUG - VM ctest-TestRoutersBasic-75579982-63530178 is ready for SSH connections
2025-10-27 07:53:29,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 07:53:29,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.173.255.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-27 07:53:29,122 - DEBUG - ping -s 56 -c 3 -W 1 123.173.255.3
2025-10-27 07:53:32,886 - DEBUG - PING 123.173.255.3 (123.173.255.3): 56 data bytes
64 bytes from 123.173.255.3: seq=0 ttl=62 time=5.223 ms
64 bytes from 123.173.255.3: seq=1 ttl=62 time=1.138 ms
64 bytes from 123.173.255.3: seq=2 ttl=62 time=1.030 ms
--- 123.173.255.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.030/2.463/5.223 ms
2025-10-27 07:53:32,887 - INFO - Ping to IP 123.173.255.3 from VM ctest-TestRoutersBasic-75579982-61632656 passed
2025-10-27 07:53:32,887 - INFO - Deleting interface with subnet_id b4eb5499-48e6-4ec6-98f4-c870f476a67f, port_id None from router 7b9f67a8-07d3-4ba9-b6c4-ebb3399f9d72
2025-10-27 07:53:33,098 - INFO - Deleting VM ctest-TestRoutersBasic-75579982-63530178
2025-10-27 07:53:33,185 - INFO - Deleting VM ctest-TestRoutersBasic-75579982-61632656
2025-10-27 07:53:33,266 - INFO - Deleting VN ctest-ext_vn-64212206
2025-10-27 07:53:33,354 - DEBUG - VN dbb41484-1328-402e-a056-593f3f9ca6f9 still in use: Unable to complete operation on network dbb41484-1328-402e-a056-593f3f9ca6f9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-68633610-e2cd-4cac-b3e5-03b71045152f']
2025-10-27 07:53:33,354 - WARNING - Deleting VN ctest-ext_vn-64212206 failed..Will retry
2025-10-27 07:53:35,465 - DEBUG - Response for deleting network ()
2025-10-27 07:53:35,465 - INFO - Deleting VN ctest-vn-74128650
2025-10-27 07:53:35,559 - DEBUG - Response for deleting network ()
2025-10-27 07:53:35,819 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 07:53:35,819 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-27 07:53:35,819 - INFO - --------------------------------------------------------------------------------
2025-10-27 07:53:36,537 - INFO - Deleted project: ctest-TestRoutersBasic-75579982, ID : 88af515b-c80b-406f-a206-1740a26be0dc